]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typo in _dl_tlsdesc_resolve_hold.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ab260039
OB
12013-11-26 Ondřej Bílka <neleai@seznam.cz>
2 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3
d1d9eaf4
OB
42013-11-26 Ondřej Bílka <neleai@seznam.cz>
5 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6 * rt/aio.h: Likewise.
7 * sysdeps/gnu/bits/utmp.h: Likewise.
8 * sysdeps/gnu/bits/utmpx.h: Likewise.
9 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
32 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
34 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51
a7624ed9
CD
522013-11-25 Carlos O'Donell <carlos@redhat.com>
53
54 [BZ #16245]
55 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
56 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57
63cfe52b
JM
582013-11-25 Joseph Myers <joseph@codesourcery.com>
59
60 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
62 Likewise.
63
41e8926a
AZ
642013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
67 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
68 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
69 (__fesetround): Remove define.
70 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
71 rounding and exceptions handling.
72 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
73 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
74 (__fe_nomask_env): Likewise.
75 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
76 __fegetround instead of fegetround.
77 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
78 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
79
6851bd4d
RM
802013-11-21 Roland McGrath <roland@hack.frob.com>
81
070906ff
RM
82 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
83 it's there.
84
6851bd4d
RM
85 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
86
84ae135d
MI
872013-11-21 Meador Inge <meadori@codesourcery.com>
88
89 [BZ #11157]
90 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
91 (encrypt_r): Likewise.
92 * malloc/obstack.h (obstack_free): Likewise.
93 * posix/unistd.h (encrypt): Likewise.
94
daf75146
GM
952013-11-21 Guy Martin <gmsoft@tuxicoman.be>
96
97 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
98 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
99 DL_CALL_DT_FINI() that call the functions directly.
100 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
101 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
102 * elf/dl-fini.c: Likewise.
103
10ad46bc
OB
1042013-11-20 Ondřej Bílka <neleai@seznam.cz>
105
106 * malloc/hooks.c (memalign_check): Add alignment rounding.
107 * malloc/malloc.c (_mid_memalign): New function.
108 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
109 Implement by calling _mid_memalign.
110 * manual/probes.texi (Memory Allocation Probes): Remove
111 memory_valloc_retry and memory_pvalloc_retry.
112
f3fd2628
SP
1132013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
114
4712799f
SP
115 * locale/programs/locarchive.c (open_archive): Add const
116 qualifier to ARCHIVEFNAME and copy default fname to
117 DEFAULT_FNAME.
118
0417b20f
SP
119 [BZ #15601]
120 * libio/tst-widetext.input: Rename Oriya to Odia.
121 * locale/iso-639.def: Likewise.
122
f3fd2628
SP
123 * manual/probes.texi (Mathematical Function Probes): Add
124 documentation for sin, cos, asin and acos probes.
125 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
126 (__sin32): Add slowasin probe.
127 (__cos32): Add slowacos probe.
128 (__mpsin): Add slowsin probe.
129 (__mpcos): Add slowcos probe.
130
73c1ce4f
JM
1312013-11-19 Joseph Myers <joseph@codesourcery.com>
132
133 [BZ #15483]
134 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
135 thread-local __sim_exceptions_thread and global
136 __sim_exceptions_global.
137 (__sim_disabled_exceptions): Change to thread-local
138 __sim_disabled_exceptions_thread and global
139 __sim_disabled_exceptions_global.
140 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
141 and global __sim_round_mode_global.
142 (__simulate_exceptions): Use thread-local floating-point state and
143 set global state from it as needed.
144 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
145 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
146 __sim_round_mode_thread.
147 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
148 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
149 and global __sim_exceptions_global.
150 (__sim_disabled_exceptions): Change to thread-local
151 __sim_disabled_exceptions_thread and global
152 __sim_disabled_exceptions_global.
153 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
154 and global __sim_round_mode_global.
155 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
156 (SIM_SET_GLOBAL): Likewise.
157 * sysdeps/powerpc/soft-fp/sfp-machine.h
158 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
159 __sim_round_mode_thread.
160 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
161 __sim_disabled_exceptions_thread.
162 (__sim_exceptions): Change to __sim_exceptions_thread.
163 (__sim_disabled_exceptions): Change to
164 __sim_disabled_exceptions_thread.
165 (__sim_round_mode): Change to __sim_round_mode_thread.
166 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
167 thread-local floating-point state and set global state from it as
168 needed.
169 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
170 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
171 (__sim_disabled_exceptions): Remove extern declaration.
172 (feenableexcept): Use thread-local floating-point state and set
173 global state from it as needed.
174 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
175 extern declaration.
176 (__sim_disabled_exceptions): Likewise.
177 (__sim_round_mode): Likewise.
178 (__fegetenv): Use thread-local floating-point state.
179 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
180 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
181 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
182 floating-point state and set global state from it as needed.
183 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
184 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
185 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
186 Likewise.
187 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
188 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
189 Likewise.
190 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
191 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
192 Use __sim_round_mode_thread.
193 * math/test-fenv-tls.c: New file.
194 * math/Makefile (tests): Add test-fenv-tls.
195 ($(objpfx)test-fenv-tls): Depend on
196 $(common-objpfx)nptl/libpthread.so.
197
b5449b12
AS
1982013-11-19 Andreas Schwab <schwab@suse.de>
199
200 * locale/programs/locale.c (show_info): Decode wordarray elements.
201 * locale/categories.def (LC_MONETARY): Add element for
202 _NL_MONETARY_CRNCYSTR.
203 * locale/C-monetary.c (conversion_rate): New variable.
204 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
205 element.
206
e186536b
CM
2072013-11-18 Chris Metcalf <cmetcalf@tilera.com>
208
209 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
210 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
211
5c349950
PP
2122013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
213
214 * elf/Makefile (tst-auxv): New test.
215 * elf/tst-auxv.c: New
216 * elf/rtld.c (dl_main): Adjust AT_EXECFN
217
699df45b
JM
2182013-11-18 Joseph Myers <joseph@codesourcery.com>
219
220 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
221 (hidden_proto): Caller changed.
222 (hidden_tls_proto): New macro.
223 (libc_hidden_tls_proto): Likewise.
224 (rtld_hidden_tls_proto): Likewise.
225 (libm_hidden_tls_proto): Likewise.
226 (libresolv_hidden_tls_proto): Likewise.
227 (librt_hidden_tls_proto): Likewise.
228 (libdl_hidden_tls_proto): Likewise.
229 (libnss_files_hidden_tls_proto): Likewise.
230 (libnsl_hidden_tls_proto): Likewise.
231 (libnss_nisplus_hidden_tls_proto): Likewise.
232 (libutil_hidden_tls_proto): Likewise.
233
b7589107
OB
2342013-11-18 Ondřej Bílka <neleai@seznam.cz>
235
236 [BZ #10253]
237 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
238 (decompose_rpath): Defer expansion to fillin_rpath.
239 (_dl_init_paths): Pass linkmap to fillin_rpath.
240
250c23bd
RS
2412013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
242
243 * benchtests/Makefile: Add strsep.
244 * benchtests/bench-strsep.c: New file: strsep benchtest.
245 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
246
a7931fcf
AS
2472013-11-18 Andreas Schwab <schwab@suse.de>
248
249 * locale/programs/locale.c (show_info) [case byte]: Check for
250 '\377' instead of '\177'.
251 * locale/C-monetary.c (not_available): Always use "\377".
252 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
253 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
254 detect unavailable sign_posn locale elements.
255 * locale/localeconv.c (__localeconv): For grouping and
256 mon_grouping handle "\177" and "\377" like no grouping.
257 (INT_ELEM): New macro. Use it to set all numeric members.
258 * locale/programs/ld-monetary.c (monetary_read)
259 <tok_mon_grouping>: Normalize single -1 to the empty string.
260 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
261 Likewise.
262
728dab0e
OB
2632013-11-07 Ondřej Bílka <neleai@seznam.cz>
264
265 [BZ #16055]
266 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
267 when we match (nil).
268 * stdio-common/tst-sscanf.c (struct test): Add testcase.
269
66294491
JM
2702013-11-16 Joseph Myers <joseph@codesourcery.com>
271
ce665817
JM
272 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
273 (NO_TEST_INLINE): Update value.
274 (ERRNO_UNCHANGED): Likewise.
275 (ERRNO_EDOM): Likewise.
276 (ERRNO_ERANGE): Likewise.
277 (IGNORE_RESULT): Likewise.
278 (check_float_internal): Check signs of NaN results if
279 TEST_NAN_SIGN used.
280 (check_complex): Pass TEST_NAN_SIGN flag through to second
281 check_float_internal call.
282 (copysign_test_data): Add tests with quiet NaNs as second
283 argument. Use TEST_NAN_SIGN.
284 (fabs_test_data): Add test of negative quiet NaN argument. Use
285 TEST_NAN_SIGN.
286 (signbit_test_data): Add tests of quiet NaN argument.
287 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
288
ee1466a9
JM
289 * math/gen-libm-test.pl (show_exceptions): Take extra argument
290 $ignore_result.
291 (parse_args): Handle function results specified as IGNORE.
292 * math/libm-test.inc (IGNORE_RESULT): New macro.
293 (check_float_internal): Do not check numerical result if flag
294 IGNORE_RESULT set.
295 (check_complex): Pass through IGNORE_RESULT to second
296 check_float_internal call.
297 (check_int): Do not check numerical result if flag IGNORE_RESULT
298 set.
299 (check_long): Likewise.
300 (check_bool): Likewise.
301 (check_longlong): Likewise.
302 (lrint_test_data): Add tests of infinite and NaN arguments.
303 (lrint_tonearest_test_data): Likewise.
304 (lrint_towardzero_test_data): Likewise.
305 (lrint_downward_test_data): Likewise.
306 (lrint_upward_test_data): Likewise.
307 (llrint_test_data): Likewise.
308 (llrint_tonearest_test_data): Likewise.
309 (llrint_towardzero_test_data): Likewise.
310 (llrint_downward_test_data): Likewise.
311 (llrint_upward_test_data): Likewise.
312 (lround_test_data): Likewise.
313 (llround_test_data): Likewise.
314
14407b7e
JM
315 * math/libm-test.inc (NO_TEST_INLINE): New macro.
316 (ERRNO_UNCHANGED): Update value.
317 (ERRNO_EDOM): Likewise.
318 (ERRNO_ERANGE): Likewise.
319 (NO_TEST_INLINE_FLOAT): New macro.
320 (NO_TEST_INLINE_DOUBLE): Likewise.
321 (enable_test): New function.
322 (RUN_TEST_f_f): Check enable_test before running test.
323 (RUN_TEST_2_f): Likewise.
324 (RUN_TEST_fff_f): Likewise.
325 (RUN_TEST_c_f): Likewise.
326 (RUN_TEST_f_f1): Likewise.
327 (RUN_TEST_fF_f1): Likewise.
328 (RUN_TEST_fI_f1): Likewise.
329 (RUN_TEST_ffI_f1): Likewise.
330 (RUN_TEST_c_c): Likewise.
331 (RUN_TEST_cc_c): Likewise.
332 (RUN_TEST_f_i): Likewise.
333 (RUN_TEST_f_i_tg): Likewise.
334 (RUN_TEST_ff_i_tg): Likewise.
335 (RUN_TEST_f_b): Likewise.
336 (RUN_TEST_f_b_tg): Likewise.
337 (RUN_TEST_f_l): Likewise.
338 (RUN_TEST_f_L): Likewise.
339 (RUN_TEST_fFF_11): Likewise.
340 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
341 conditionals.
342 (cosh_test_data): Likewise.
343 (exp_test_data): Likewise.
344 (expm1_test_data): Likewise.
345 (hypot_test_data): Likewise.
346 (pow_test_data): Likewise.
347 (sinh_test_data): Likewise.
348 (tanh_test_data): Likewise.
349 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
350 flags argument.
351
ca07f197
JM
352 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
353 tests with quiet NaN input and output.
354 (acosh_test_data): Likewise.
355 (asin_test_data): Likewise.
356 (asinh_test_data): Likewise.
357 (atan_test_data): Likewise.
358 (atanh_test_data): Likewise.
359 (atan2_test_data): Likewise.
360 (cbrt_test_data): Likewise.
361 (cos_test_data): Likewise.
362 (cosh_test_data): Likewise.
363 (erf_test_data): Likewise.
364 (erfc_test_data): Likewise.
365 (exp_test_data): Likewise.
366 (exp10_test_data): Likewise.
367 (exp2_test_data): Likewise.
368 (expm1_test_data): Likewise.
369 (hypot_test_data): Likewise.
370 (j0_test_data): Likewise.
371 (j1_test_data): Likewise.
372 (jn_test_data): Likewise.
373 (lgamma_test_data): Likewise.
374 (log_test_data): Likewise.
375 (log10_test_data): Likewise.
376 (log1p_test_data): Likewise.
377 (log2_test_data): Likewise.
378 (pow_test_data): Likewise.
379 (scalb_test_data): Likewise.
380 (sin_test_data): Likewise.
381 (sincos_test_data): Likewise.
382 (sinh_test_data): Likewise.
383 (tan_test_data): Likewise.
384 (tanh_test_data): Likewise.
385 (tgamma_test_data): Likewise.
386 (y0_test_data): Likewise.
387 (y1_test_data): Likewise.
388 (yn_test_data): Likewise.
389
66294491
JM
390 [BZ #16167]
391 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
392 argument being NaN and avoid computations with second argument in
393 that case.
394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
396 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
397
1820b143
CL
3982013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
399
400 * locale/iso-639.def: Add Chitwani Tharu (the).
401
714bd261
AS
4022013-11-14 Andreas Schwab <schwab@suse.de>
403
404 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
405 word instead of empty string.
406
7ab44563
AZ
4072013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
408
409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
410 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
412 (__fe_nomask_env): Likewise.
413
e8470ea2
SE
4142013-11-13 Steve Ellcey <sellcey@mips.com>
415
416 * benchtests/bench-timing.h: Include time.h.
417
17c1d9f0
L
4182013-11-13 H.J. Lu <hongjiu.lu@intel.com>
419
420 [BZ #15997]
421 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
422 to 3.4.0 for x32.
423 * sysdeps/unix/sysv/linux/configure: Regenerated.
424
9310c284
JM
4252013-11-13 Joseph Myers <joseph@codesourcery.com>
426
427 [BZ #16151]
428 * stdlib/strtod_l.c (round_and_return): Do not consider
429 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
430 exponent one less than half the least subnormal exponent.
431 * stdlib/test-strtod-round-data: Add more tests.
432 * stdlib/tst-strtod-round.c (tests): Regenerated.
433
7a2ad8cf
AZ
4342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
435
436 [BZ #14143]
437 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
438 (__fe_mask_env): Likewise.
439 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
440 libm_hidden_proto and add function prototype.
441 (__fe_mask_env): Add function prototype.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
443 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
445 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
447 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
448
50727aa7
MS
4492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
450
b2f386c1 451 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
452 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
453
a615be46
MS
4542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
455
456 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
457 of htab_find_slot().
458
7ddace62
DM
4592013-11-11 David S. Miller <davem@davemloft.net>
460
461 [BZ #16150]
462 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
463 symbol in the non-vis3 case in static builds.
464 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
465 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
466 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
467 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
468
9182aa67
JK
4692013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
470
471 [BZ #387]
472 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
473 it is empty.
474
450a2e2d
AZ
4752013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476
b2f386c1
SP
477 * benchtests/Makefile: Add bench-strtod.
478 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 479
8ec3f656
AS
4802013-11-11 Andreas Schwab <schwab@suse.de>
481
482 [BZ #16153]
483 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
484 terminating NUL in key length.
485
76a9b998
AZ
4862013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
487
488 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
489 Add artificial ODP entry for vDSO symbol for PPC64.
490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
491 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
492
e4368156
OB
4932013-11-07 Ondřej Bílka <neleai@seznam.cz>
494
495 [BZ #15374]
496 * nss/getent.c (services_keys): Recognize services starting with digit.
497
8d6bb57c
DM
4982013-11-06 David S. Miller <davem@davemloft.net>
499
500 [BZ #15985]
501 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
502 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
503
e256c421
WN
5042013-11-06 Will Newton <will.newton@linaro.org>
505
506 * manual/memory.texi (Malloc Examples): Remove register
507 keyword from examples.
508
f6e12daa 5092013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 510
f6e12daa 511 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 512
9d880655
AS
5132013-11-04 Joseph Myers <joseph@codesourcery.com>
514
515 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
516 depending on [__GCC_IEC_559 > 0].
517 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
518 depending on [__GCC_IEC_559_COMPLEX > 0].
519
ae129d3c
CL
5202013-11-03 Chris Leonard <cjl@sugarlabs.org>
521
522 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
523 to iso-639.def.
524
4a15c2a4 5252013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
526
527 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
528
8b35e35d
OB
5292013-11-01 Ondřej Bílka <neleai@seznam.cz>
530
531 [BZ #16112]
532 * malloc/malloc (malloc_info): Do not handle first bin as
533 special case.
534
1d70fd6c
CL
5352013-11-01 Chris Leonard <cjl@sugarlabs.org>
536
537 * locale/iso-639.def: Add Central Nahuatl (nhn).
538
8c5c2600
BH
5392013-11-01 Bruno Haible <bruno@clisp.org>
540
541 [BZ #7003]
542 * manual/math.texi (BSD Random): Specify range upper bound as
543 in POSIX.
544
da5579c2
CL
5452013-10-31 Chris Leonard <cjl@sugarlabs.org>
546
547 * locale/iso-639.def: Add Meadow Mari (mhr).
548
5d30d853
OB
5492013-10-31 Ondřej Bílka <neleai@seznam.cz>
550
551 [BZ #14752], [BZ #15763]
552 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
553 Validate name.
554 * rt/tst_shm.c: Add test for escaping directory.
555
a4966c61
AS
5562013-10-31 Andreas Schwab <schwab@suse.de>
557
8a43e768 558 [BZ #15917]
a4966c61
AS
559 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
560 followed by 'x' as part of digit sequence.
561 * stdio-common/tst-sscanf.c (double_tests2): New tests.
562
28d708c4
MAP
5632013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
564
565 [BZ #16037]
566 * configure.ac: allow GNU Make 4.0 and greater.
567 * configure: Regenerated.
568
a56ee40b
WN
5692013-10-30 Will Newton <will.newton@linaro.org>
570
571 [BZ #16038]
572 * malloc/hooks.c (memalign_check): Limit alignment to the
573 maximum representable power of two.
574 * malloc/malloc.c (__libc_memalign): Likewise.
575 * malloc/tst-memalign.c (do_test): Add test for very
576 large alignment values.
577 * malloc/tst-posix_memalign.c (do_test): Likewise.
578
c6e4925d
OB
5792013-10-30 Ondřej Bílka <neleai@seznam.cz>
580
581 [BZ #11087]
582 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
583 (munmap_chunk): Likewise.
584 (mremap_chunk): Likewise.
585
5862013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 587
8a43e768 588 [BZ #15799]
bbea82f7
OB
589 * stdlib/div.c (div): Remove obsolete code.
590 * stdlib/ldiv.c (ldiv): Likewise.
591 * stdlib/lldiv.c (lldiv): Likewise.
592
977f4b31
SP
5932013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
594
595 [BZ #16071]
596 * nss/nss_files/files-XXX.c (get_contents_ret): New
597 enumerator.
598 (get_contents): New function.
599 (internal_getent): Use it. Expand size of LINEBUFLEN.
600
cb8a6dbd
MF
6012013-10-30 Mike Frysinger <vapier@gentoo.org>
602
603 * configure.in: Moved to ...
604 * configure.ac: ... here. Change reference to configure.in
605 to configure.ac.
606 * sysdeps/arm/preconfigure.ac: ... here.
607 configure.in to configure.ac.
608 * sysdeps/gnu/configure.in: Moved to ...
609 * sysdeps/gnu/configure.ac: ... here.
610 * sysdeps/i386/configure.in: Moved to ...
611 * sysdeps/i386/configure.ac: ... here.
612 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
613 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
614 * sysdeps/mach/configure.in: Moved to ...
615 * sysdeps/mach/configure.ac: ... here.
616 * sysdeps/mach/hurd/configure.in: Moved to ...
617 * sysdeps/mach/hurd/configure.ac: ... here.
618 * sysdeps/powerpc/configure.in: Moved to ...
619 * sysdeps/powerpc/configure.ac: ... here.
620 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
621 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
622 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
623 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
624 * sysdeps/s390/s390-32/configure.in: Moved to ...
625 * sysdeps/s390/s390-32/configure.ac: ... here.
626 * sysdeps/s390/s390-64/configure.in: Moved to ...
627 * sysdeps/s390/s390-64/configure.ac: ... here.
628 * sysdeps/sh/configure.in: Moved to ...
629 * sysdeps/sh/configure.ac: ... here.
630 * sysdeps/sparc/configure.in: Moved to ...
631 * sysdeps/sparc/configure.ac: ... here.
632 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
633 * sysdeps/unix/sysv/linux/configure.ac: ... here.
634 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
635 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
636 * sysdeps/x86_64/configure.in: Moved to ...
637 * sysdeps/x86_64/configure.ac: ... here.
638 * sysdeps/x86_64/preconfigure.in: Moved to ...
639 * sysdeps/x86_64/preconfigure.ac: ... here.
640 * aclocal.m4: Change reference to configure.in to configure.ac.
641 * config.h.in: Likewise.
642 * manual/install.texi: Likewise.
643 * manual/maint.texi: Likewise.
644 * Makefile: Likewise.
645 * malloc/Makefile: Likewise.
646 * nscd/Makefile: Likewise.
647 * Makeconfig: Change reference to configure.in and
648 preconfigure.in to configure.ac and preconfigure.ac
649 respectively.
650 * INSTALL: Regenerated.
651 * configure: Likewise.
652 * sysdeps/gnu/configure: Likewise.
653 * sysdeps/i386/configure: Likewise.
654 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
655 * sysdeps/mach/configure: Likewise.
656 * sysdeps/mach/hurd/configure: Likewise.
657 * sysdeps/powerpc/configure: Likewise.
658 * sysdeps/powerpc/powerpc32/configure: Likewise.
659 * sysdeps/powerpc/powerpc64/configure: Likewise.
660 * sysdeps/s390/s390-32/configure: Likewise.
661 * sysdeps/s390/s390-64/configure: Likewise.
662 * sysdeps/sh/configure: Likewise.
663 * sysdeps/sparc/configure: Likewise.
664 * sysdeps/unix/sysv/linux/configure: Likewise.
665 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
666 * sysdeps/x86_64/configure: Likewise.
667 * sysdeps/x86_64/preconfigure: Likewise.
668
36a4953a
AS
6692013-10-29 Andreas Schwab <schwab@suse.de>
670
671 * stdio-common/Makefile (tst-swscanf-ENV): Define.
672
c79a1204
SP
6732013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
674
dfa1b402
SP
675 * benchtests/pow-inputs: Add new inputs.
676
54f73d9c
SP
677 * benchtests/exp-inputs: Add new inputs.
678
c79a1204
SP
679 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
680 conditional check for return value.
681 (__cos32): Likewise.
682
67beb545 6832013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
684
685 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
686 to provide a boost for large inputs with word alignment.
687 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
688 implementation based on optimized PPC64 strcpy.
689 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
690 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
691 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
692 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
693
151659f6
OB
6942013-10-25 Ondřej Bílka <neleai@seznam.cz>
695
482a077e 696 [BZ #2801]
151659f6
OB
697 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
698
10b0f26b
OB
6992013-10-25 Ondřej Bílka <neleai@seznam.cz>
700
701 [BZ #14876]
702 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
703 * time/tst-strptime.c (day_tests): Add testcase.
704
ca42d35e
OB
7052013-10-25 Ondřej Bílka <neleai@seznam.cz>
706
482a077e 707 [BZ #14029]
ca42d35e
OB
708 * manual/pattern.texi: Acknowledge that fnmatch can fail.
709
52e6d801
FB
7102013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
711
712 [BZ #16074]
713 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
714 MAP_FAILED on error.
715
7cbcdb36
SP
7162013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
717
718 [BZ #16072]
719 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
720 heap for large requests.
721
894f3f10
AM
7222013-10-25 Aurelien Jarno <aurelien@aurel32.net>
723
724 [BZ #9954]
725 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
726 result if the result has no associated interface.
727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
728 interface for all 127.X.Y.Z addresses.
729
b85545a6
CL
7302013-10-24 Chris Leonard <cjl@sugarlabs.org>
731
732 * locale/iso-639.def: Add Ligurian (lij)
733
d1f23d46
OB
7342013-10-21 Ondřej Bílka <neleai@seznam.cz>
735
736 [BZ #15825]
737 * sunrpc/rpc_main.c: Document rpcgen -5.
738
4db5b08f
MS
7392013-10-19 Michael Stahl <mstahl@redhat.com>
740
741 * elf/rtld.c (do_preload): Print the reason why preloading failed.
742
a471e96a
OB
7432013-10-19 Ondřej Bílka <neleai@seznam.cz>
744
d1f23d46 745 [BZ #10278]
a471e96a
OB
746 * posix/glob.c: Match only directories when trailing slash is present.
747 * posix/tst-gnuglob.c (my_opendir): Do not open files.
748 (main): Add testcase.
749
45c30c61
OB
7502013-10-19 Ondřej Bílka <neleai@seznam.cz>
751
752 [BZ #15670]
753 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
754
484c12fb
CD
7552013-10-18 Carlos O'Donell <carlos@redhat.com>
756
3d7dc513
CD
757 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
758 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
759 AUTH_DES and cindex for FIPS 140-2.
760 (DES Encryption): Add cindex FIPS 46-3.
761
484c12fb
CD
762 * locale/locarchive.h (struct locarhandle): Add fname.
763 * locale/programs/localedef.c (main): Pass ARGV[remaining]
764 if an optional argument was specified to --list-archive,
765 otherwise NULL.
766 * locale/programs/locarchive.c (show_archive_content): Take new
767 argument fname and pass it via ah.fname to open_archive.
768 * locale/programs/localedef.h: Update decl.
769 (open_archive): If AH->fname is non-null, open that file
770 rather than the default file name, and don't ignore ENOENT.
771 (create_archive): Set AH.fname to NULL.
772 (delete_locales_from_archive): Likewise.
773 (add_locales_to_archive): Likewise.
774 * locale/programs/locfile.c (write_all_categories): Likewise.
775
3c8325fb
JM
7762013-10-18 Joseph Myers <joseph@codesourcery.com>
777 Aldy Hernandez <aldyh@redhat.com>
778
779 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
780 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
781 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
782 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
783 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
787 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
788 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
789 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
790 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
791 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
792 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
793 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
794 Likewise.
795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
796 Likewise.
797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
798 Likewise.
799 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
800 Likewise.
801 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
802 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
803 Likewise.
804 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
805 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
806 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
807 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
808 Likewise.
809 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
810 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
811 * sysdeps/powerpc/preconfigure: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
813 Likewise.
814 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
815 Replace contents of file by #include of <fenv_libc.h>.
816 * sysdeps/powerpc/soft-fp/sfp-machine.h
817 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
818 and <sys/prctl.h>.
819 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
832 Allow copysignl PLT reference to be missing.
833
5abe0682
RS
8342013-10-18 Richard Sandiford <richard@codesourcery.com>
835 Joseph Myers <joseph@codesourcery.com
836
837 [BZ #15948]
838 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
839 single character.
840 (add_to_tablewc): Assert sequence of wide characters is nonempty.
841
c7738d08
SP
8422013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
843
844 * elf/tst-tls-dlinfo.c: Don't include tls.h.
845 * elf/tst-tls1.c: Likewise.
846 * elf/tst-tls10.h: Likewise.
847 * elf/tst-tls14.c: Likewise.
848 * elf/tst-tls2.c: Likewise.
849 * elf/tst-tls3.c: Likewise.
850 * elf/tst-tls4.c: Likewise.
851 * elf/tst-tls5.c: Likewise.
852 * elf/tst-tls6.c: Likewise.
853 * elf/tst-tls7.c: Likewise.
854 * elf/tst-tls8.c: Likewise.
855 * elf/tst-tls9.c: Likewise.
856 * elf/tst-tlsmod1.c: Likewise.
857 * elf/tst-tlsmod13.c: Likewise.
858 * elf/tst-tlsmod13a.c: Likewise.
859 * elf/tst-tlsmod14a.c: Likewise.
860 * elf/tst-tlsmod16a.c: Likewise.
861 * elf/tst-tlsmod16b.c: Likewise.
862 * elf/tst-tlsmod2.c: Likewise.
863 * elf/tst-tlsmod3.c: Likewise.
864 * elf/tst-tlsmod4.c: Likewise.
865 * elf/tst-tlsmod5.c: Likewise.
866 * elf/tst-tlsmod6.c: Likewise.
867
0bfcf2c7
OB
8682013-10-18 Ondřej Bílka <neleai@seznam.cz>
869
870 [BZ #12486]
871 * malloc/malloc.c: remove checks for statistics.
872
264aad1e
OB
8732013-10-17 Ondřej Bílka <neleai@seznam.cz>
874
875 [BZ #15277]
876 * inet/inet_net.c (inet_network): Detect additional invalid strings.
877 * inet/tst-network.c: Add testcase.
878
b957ced8
AS
8792013-10-17 Andreas Schwab <schwab@suse.de>
880
881 [BZ #15218]
882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
883 to determine canonical name.
884
c5d5d574
OB
8852013-10-17 Ondřej Bílka <neleai@seznam.cz>
886
887 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
888 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
890 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
892 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
894 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
897 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
900 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
910 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
911 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
914 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
915 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
916 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
919 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
920 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
921 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
923 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
924 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
925 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
927 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
928 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
931 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
933 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
934 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
935 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
936 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
937 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
938 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
939 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
942 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
944 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
945
e5c2c2d0
JM
9462013-10-17 Joseph Myers <joseph@codesourcery.com>
947
948 [BZ #16041]
949 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
950 make result into a quiet NaN.
951
51ca9e29
JM
9522013-10-16 Joseph Myers <joseph@codesourcery.com>
953
954 * soft-fp/adddf3.c: Fix horizontal whitespace.
955 * soft-fp/addsf3.c: Likewise.
956 * soft-fp/addtf3.c: Likewise.
957 * soft-fp/divdf3.c: Likewise.
958 * soft-fp/divsf3.c: Likewise.
959 * soft-fp/divtf3.c: Likewise.
960 * soft-fp/double.h: Likewise.
961 * soft-fp/eqdf2.c: Likewise.
962 * soft-fp/eqsf2.c: Likewise.
963 * soft-fp/eqtf2.c: Likewise.
964 * soft-fp/extenddftf2.c: Likewise.
965 * soft-fp/extended.h: Likewise.
966 * soft-fp/extendsfdf2.c: Likewise.
967 * soft-fp/extendsftf2.c: Likewise.
968 * soft-fp/extendxftf2.c: Likewise.
969 * soft-fp/fixdfdi.c: Likewise.
970 * soft-fp/fixdfsi.c: Likewise.
971 * soft-fp/fixdfti.c: Likewise.
972 * soft-fp/fixsfdi.c: Likewise.
973 * soft-fp/fixsfsi.c: Likewise.
974 * soft-fp/fixsfti.c: Likewise.
975 * soft-fp/fixtfdi.c: Likewise.
976 * soft-fp/fixtfsi.c: Likewise.
977 * soft-fp/fixtfti.c: Likewise.
978 * soft-fp/fixunsdfdi.c: Likewise.
979 * soft-fp/fixunsdfsi.c: Likewise.
980 * soft-fp/fixunsdfti.c: Likewise.
981 * soft-fp/fixunssfdi.c: Likewise.
982 * soft-fp/fixunssfsi.c: Likewise.
983 * soft-fp/fixunssfti.c: Likewise.
984 * soft-fp/fixunstfdi.c: Likewise.
985 * soft-fp/fixunstfsi.c: Likewise.
986 * soft-fp/fixunstfti.c: Likewise.
987 * soft-fp/floatdidf.c: Likewise.
988 * soft-fp/floatdisf.c: Likewise.
989 * soft-fp/floatditf.c: Likewise.
990 * soft-fp/floatsidf.c: Likewise.
991 * soft-fp/floatsisf.c: Likewise.
992 * soft-fp/floatsitf.c: Likewise.
993 * soft-fp/floattidf.c: Likewise.
994 * soft-fp/floattisf.c: Likewise.
995 * soft-fp/floattitf.c: Likewise.
996 * soft-fp/floatundidf.c: Likewise.
997 * soft-fp/floatundisf.c: Likewise.
998 * soft-fp/floatunditf.c: Likewise.
999 * soft-fp/floatunsidf.c: Likewise.
1000 * soft-fp/floatunsisf.c: Likewise.
1001 * soft-fp/floatunsitf.c: Likewise.
1002 * soft-fp/floatuntidf.c: Likewise.
1003 * soft-fp/floatuntisf.c: Likewise.
1004 * soft-fp/floatuntitf.c: Likewise.
1005 * soft-fp/fmadf4.c: Likewise.
1006 * soft-fp/fmasf4.c: Likewise.
1007 * soft-fp/fmatf4.c: Likewise.
1008 * soft-fp/gedf2.c: Likewise.
1009 * soft-fp/gesf2.c: Likewise.
1010 * soft-fp/getf2.c: Likewise.
1011 * soft-fp/ledf2.c: Likewise.
1012 * soft-fp/lesf2.c: Likewise.
1013 * soft-fp/letf2.c: Likewise.
1014 * soft-fp/muldf3.c: Likewise.
1015 * soft-fp/mulsf3.c: Likewise.
1016 * soft-fp/multf3.c: Likewise.
1017 * soft-fp/negdf2.c: Likewise.
1018 * soft-fp/negsf2.c: Likewise.
1019 * soft-fp/negtf2.c: Likewise.
1020 * soft-fp/op-1.h: Likewise.
1021 * soft-fp/op-2.h: Likewise.
1022 * soft-fp/op-4.h: Likewise.
1023 * soft-fp/op-8.h: Likewise.
1024 * soft-fp/op-common.h: Likewise.
1025 * soft-fp/quad.h: Likewise.
1026 * soft-fp/single.h: Likewise.
1027 * soft-fp/soft-fp.h: Likewise.
1028 * soft-fp/sqrtdf2.c: Likewise.
1029 * soft-fp/sqrtsf2.c: Likewise.
1030 * soft-fp/sqrttf2.c: Likewise.
1031 * soft-fp/subdf3.c: Likewise.
1032 * soft-fp/subsf3.c: Likewise.
1033 * soft-fp/subtf3.c: Likewise.
1034 * soft-fp/truncdfsf2.c: Likewise.
1035 * soft-fp/trunctfdf2.c: Likewise.
1036 * soft-fp/trunctfsf2.c: Likewise.
1037 * soft-fp/trunctfxf2.c: Likewise.
1038 * soft-fp/unorddf2.c: Likewise.
1039 * soft-fp/unordsf2.c: Likewise.
1040 * soft-fp/unordtf2.c: Likewise.
1041
9ebb0332
JM
10422013-10-15 Joseph Myers <joseph@codesourcery.com>
1043
1044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1045 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1046
4b1a6d8b
OB
10472013-10-15 Ondřej Bílka <neleai@seznam.cz>
1048
1049 * elf/dl-libc.c: Clear initfini list after freeing.
1050
1e145589
JM
10512013-10-14 Joseph Myers <joseph@codesourcery.com>
1052
1053 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1054 * soft-fp/addsf3.c: Likewise.
1055 * soft-fp/addtf3.c: Likewise.
1056 * soft-fp/divdf3.c: Likewise.
1057 * soft-fp/divsf3.c: Likewise.
1058 * soft-fp/divtf3.c: Likewise.
1059 * soft-fp/double.h: Likewise.
1060 * soft-fp/eqdf2.c: Likewise.
1061 * soft-fp/eqsf2.c: Likewise.
1062 * soft-fp/eqtf2.c: Likewise.
1063 * soft-fp/extenddftf2.c: Likewise.
1064 * soft-fp/extended.h: Likewise.
1065 * soft-fp/extendsfdf2.c: Likewise.
1066 * soft-fp/extendsftf2.c: Likewise.
1067 * soft-fp/extendxftf2.c: Likewise.
1068 * soft-fp/fixdfdi.c: Likewise.
1069 * soft-fp/fixdfsi.c: Likewise.
1070 * soft-fp/fixdfti.c: Likewise.
1071 * soft-fp/fixsfdi.c: Likewise.
1072 * soft-fp/fixsfsi.c: Likewise.
1073 * soft-fp/fixsfti.c: Likewise.
1074 * soft-fp/fixtfdi.c: Likewise.
1075 * soft-fp/fixtfsi.c: Likewise.
1076 * soft-fp/fixtfti.c: Likewise.
1077 * soft-fp/fixunsdfdi.c: Likewise.
1078 * soft-fp/fixunsdfsi.c: Likewise.
1079 * soft-fp/fixunsdfti.c: Likewise.
1080 * soft-fp/fixunssfdi.c: Likewise.
1081 * soft-fp/fixunssfsi.c: Likewise.
1082 * soft-fp/fixunssfti.c: Likewise.
1083 * soft-fp/fixunstfdi.c: Likewise.
1084 * soft-fp/fixunstfsi.c: Likewise.
1085 * soft-fp/fixunstfti.c: Likewise.
1086 * soft-fp/floatdidf.c: Likewise.
1087 * soft-fp/floatdisf.c: Likewise.
1088 * soft-fp/floatditf.c: Likewise.
1089 * soft-fp/floatsidf.c: Likewise.
1090 * soft-fp/floatsisf.c: Likewise.
1091 * soft-fp/floatsitf.c: Likewise.
1092 * soft-fp/floattidf.c: Likewise.
1093 * soft-fp/floattisf.c: Likewise.
1094 * soft-fp/floattitf.c: Likewise.
1095 * soft-fp/floatundidf.c: Likewise.
1096 * soft-fp/floatundisf.c: Likewise.
1097 * soft-fp/floatunsidf.c: Likewise.
1098 * soft-fp/floatunsisf.c: Likewise.
1099 * soft-fp/floatuntidf.c: Likewise.
1100 * soft-fp/floatuntisf.c: Likewise.
1101 * soft-fp/floatuntitf.c: Likewise.
1102 * soft-fp/fmadf4.c: Likewise.
1103 * soft-fp/fmasf4.c: Likewise.
1104 * soft-fp/fmatf4.c: Likewise.
1105 * soft-fp/gedf2.c: Likewise.
1106 * soft-fp/gesf2.c: Likewise.
1107 * soft-fp/getf2.c: Likewise.
1108 * soft-fp/ledf2.c: Likewise.
1109 * soft-fp/lesf2.c: Likewise.
1110 * soft-fp/letf2.c: Likewise.
1111 * soft-fp/muldf3.c: Likewise.
1112 * soft-fp/mulsf3.c: Likewise.
1113 * soft-fp/multf3.c: Likewise.
1114 * soft-fp/negdf2.c: Likewise.
1115 * soft-fp/negsf2.c: Likewise.
1116 * soft-fp/negtf2.c: Likewise.
1117 * soft-fp/op-1.h: Likewise.
1118 * soft-fp/op-2.h: Likewise.
1119 * soft-fp/op-4.h: Likewise.
1120 * soft-fp/op-8.h: Likewise.
1121 * soft-fp/op-common.h: Likewise.
1122 * soft-fp/quad.h: Likewise.
1123 * soft-fp/single.h: Likewise.
1124 * soft-fp/soft-fp.h: Likewise.
1125 * soft-fp/sqrtdf2.c: Likewise.
1126 * soft-fp/sqrtsf2.c: Likewise.
1127 * soft-fp/sqrttf2.c: Likewise.
1128 * soft-fp/subdf3.c: Likewise.
1129 * soft-fp/subsf3.c: Likewise.
1130 * soft-fp/subtf3.c: Likewise.
1131 * soft-fp/truncdfsf2.c: Likewise.
1132 * soft-fp/trunctfdf2.c: Likewise.
1133 * soft-fp/trunctfsf2.c: Likewise.
1134 * soft-fp/trunctfxf2.c: Likewise.
1135 * soft-fp/unorddf2.c: Likewise.
1136 * soft-fp/unordsf2.c: Likewise.
1137 * soft-fp/unordtf2.c: Likewise.
1138
17c48a60
OB
11392013-10-14 Ondřej Bílka <neleai@seznam.cz>
1140
1141 [BZ #15672]
1142 * misc/error.c (error_tail): Fix possible buffer overflow.
1143
cabba934
OB
11442013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1145
1146 [BZ #13028]
1147 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1148 address.
1149
94bf958a
PM
11502013-10-14 P. J. McDermott <pj@pehjota.net>
1151
1152 [BZ #832]
1153 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1154 testing pipefail option.
1155
71b4dea7
JM
11562013-10-12 Joseph Myers <joseph@codesourcery.com>
1157
1158 * soft-fp/double.h: Indent preprocessor directives inside #if.
1159 * soft-fp/extended.h: Likewise.
1160 * soft-fp/op-2.h: Likewise.
1161 * soft-fp/op-4.h: Likewise.
1162 * soft-fp/op-common.h: Likewise.
1163 * soft-fp/quad.h: Likewise.
1164 * soft-fp/single.h: Likewise.
1165 * soft-fp/soft-fp.h: Likewise.
1166
55602758
YC
11672013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1168
1169 * iconv/iconv_prog.c: Fix typos.
1170 * stdio-common/psiginfo-data.h: Likewise.
1171
9cd83302
RT
11722013-10-12 Reuben Thomas <rrt@sc3d.org>
1173
1174 [BZ #15764]
1175 * locale/setlocale.c: Fix typo.
1176
99fd9f47
JM
11772013-10-12 Joseph Myers <joseph@codesourcery.com>
1178
b7ea74f0
JM
1179 [BZ #16036]
1180 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1181 signaling NaN arguments.
1182 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1183 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1184
8a509447
JM
1185 [BZ #14910]
1186 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1187 unordered operands.
1188 * soft-fp/gesf2.c (__gesf2): Likewise.
1189 * soft-fp/getf2.c (__getf2): Likewise.
1190 * soft-fp/ledf2.c (__ledf2): Likewise.
1191 * soft-fp/lesf2.c (__lesf2): Likewise.
1192 * soft-fp/letf2.c (__letf2): Likewise.
1193
98998e9f
JM
1194 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1195 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1196 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1197 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1198 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1199 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1200 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1201 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1202 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1203 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1204 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1205 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1206 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1207 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1208 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1209 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1210 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1211 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1212 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1213 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1214 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1215 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1216 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1217 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1218 * soft-fp/floattidf.c (__floattidf): Likewise.
1219 * soft-fp/floattisf.c (__floattisf): Likewise.
1220 * soft-fp/floattitf.c (__floattitf): Likewise.
1221 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1222 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1223 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1224 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1225 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1226 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1227 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1228 * soft-fp/gesf2.c (__gesf2): Likewise.
1229 * soft-fp/getf2.c (__getf2): Likewise.
1230 * soft-fp/ledf2.c (__ledf2): Likewise.
1231 * soft-fp/lesf2.c (__lesf2): Likewise.
1232 * soft-fp/letf2.c (__letf2): Likewise.
1233
8edc4a11
JM
1234 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1235 Undefine and redefine.
1236 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1237 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1238 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1239 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1240 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1241 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1242 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1243 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1244 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1245 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1246 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1247 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1248 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1249 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1250 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1251
8399acaf
JM
1252 [BZ #16032]
1253 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1254 without decrementing exponent if mantissa >= that for the
1255 denominator, not >.
1256 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1257 denominator, not >. Decrement exponent in < case instead of
1258 incrementing in >= case.
1259 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1260 without decrementing exponent if mantissa >= that for the
1261 denominator, not >.
1262
99fd9f47
JM
1263 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1264 computing saturated result for unsigned overflow.
1265
10e1cf6b
SP
12662013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1267 Jeff Law <law@redhat.com>
1268
1269 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1270 (atan2Mp): Add systemtap probe marker.
1271 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1272 (__ieee754_log): Add systemtap probe marker.
1273 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1274 (atanMp): Add systemtap probe marker.
1275 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1276 (tanMp): Add systemtap probe marker.
1277 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1278 (__slowexp): Add systemtap probe marker.
1279 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1280 (__slowpow): Add systemtap probe marker.
1281 * manual/probes.texi: Document probes.
1282
3d110c7c
EB
12832013-10-11 Eric Biggers <ebiggers3@gmail.com>
1284
1285 [BZ #15362]
1286 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1287 written.
1288 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1289 written.
1290 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1291 written to buffer but not flushed.
1292 * libio/iofwrite_u.c: Likewise.
1293 * libio/iopadn.c: Return bytes returned even if EOF was
1294 encountered.
1295 * libio/iowpadn.c: Likewise.
1296 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1297 if _IO_padn does not write the whole buffer.
1298 [!COMPILE_WPRINTF] (PAD): Likewise.
1299
75b4202a
DM
13002013-10-10 David S. Miller <davem@davemloft.net>
1301
1302 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1303 directory block.
1304
6c6352e6
JM
13052013-10-10 Joseph Myers <joseph@codesourcery.com>
1306
33b853c3
JM
1307 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1308 instead of FSF address.
1309 * soft-fp/fixdfti.c: Likewise.
1310 * soft-fp/fixsfti.c: Likewise.
1311 * soft-fp/fixtfti.c: Likewise.
1312 * soft-fp/fixunsdfti.c: Likewise.
1313 * soft-fp/fixunssfti.c: Likewise.
1314 * soft-fp/fixunstfti.c: Likewise.
1315 * soft-fp/floattidf.c: Likewise.
1316 * soft-fp/floattisf.c: Likewise.
1317 * soft-fp/floattitf.c: Likewise.
1318 * soft-fp/floatuntidf.c: Likewise.
1319 * soft-fp/floatuntisf.c: Likewise.
1320 * soft-fp/floatuntitf.c: Likewise.
1321 * soft-fp/trunctfxf2.c: Likewise.
1322
6c6352e6
JM
1323 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1324 * soft-fp/fixdfti.c: Likewise.
1325 * soft-fp/fixsfti.c: Likewise.
1326 * soft-fp/fixtfti.c: Likewise.
1327 * soft-fp/fixunsdfti.c: Likewise.
1328 * soft-fp/fixunssfti.c: Likewise.
1329 * soft-fp/fixunstfti.c: Likewise.
1330 * soft-fp/floattidf.c: Likewise.
1331 * soft-fp/floattisf.c: Likewise.
1332 * soft-fp/floattitf.c: Likewise.
1333 * soft-fp/floatuntidf.c: Likewise.
1334 * soft-fp/floatuntisf.c: Likewise.
1335 * soft-fp/floatuntitf.c: Likewise.
1336 * soft-fp/trunctfxf2.c: Likewise.
1337
3bf78b71
DM
13382013-10-10 David S. Miller <davem@davemloft.net>
1339
1340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1341
6f10289e
JM
13422013-10-10 Joseph Myers <joseph@codsourcery.com>
1343
bd878fc0
JM
1344 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1345 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1346 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1347 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1348 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1349 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1350 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1351
6f10289e
JM
1352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1353 for NaNs before doing comparisons on argument.
1354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1355 Likewise.
1356
321e2684
WN
13572013-10-10 Will Newton <will.newton@linaro.org>
1358
1359 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1360 passed to _int_memalign does not overflow.
1361
40fefba1
TR
13622013-10-10 Torvald Riegel <triegel@redhat.com>
1363
1364 * scripts/bench.pl: Add include-sources directive.
1365 * benchtests/README: Update documentation.
1366
2ae21ed2
JM
13672013-10-10 Joseph Myers <joseph@codesourcery.com>
1368
dcc2dd3f
JM
1369 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1370 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1371 instead of FP_INIT_ROUNDMODE.
1372 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1373 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1374
2ae21ed2
JM
1375 [BZ #16034]
1376 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1377 copy class of input value.
1378 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1379 not handle exceptions.
1380 * soft-fp/negsf2.c (__negsf2): Likewise.
1381 * soft-fp/negtf2.c (__negtf2): Likewise.
1382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1383
cb8f9562
JM
13842013-10-09 Joseph Myers <joseph@codesourcery.com>
1385
1386 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1387 semicolon. From Linux kernel.
1388
5b60c59d
AB
13892013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1390
1391 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1392
b86835ca
YC
13932013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1394
1395 [BZ #156]
1396 * manual/socket.texi: Added statement about buffer
1397 for gethostbyname2_r.
1398
e7044ea7
OB
13992013-10-08 Ondřej Bílka <neleai@seznam.cz>
1400
1401 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1402 Use .p2align directive instead, throughout.
1403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1404 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1405 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1408 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1409 * sysdeps/x86_64/strchr.S: Likewise.
1410 * sysdeps/x86_64/strrchr.S: Likewise.
1411
09544cbc
SP
14122013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
88576635
SP
1414 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1415
e7b2d1dd
SP
1416 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1417
09544cbc
SP
1418 * sysdeps/generic/math_private.h (__mpsin1): Remove
1419 declaration.
1420 (__mpcos1): Likewise.
1421 (__mpsin): New argument __range_reduce.
1422 (__mpcos): Likewise.
1423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1424 (slow): Use __mpsin and __mpcos.
1425 (slow1): Likewise.
1426 (slow2): Likewise.
1427 (sloww): Likewise.
1428 (sloww1): Likewise.
1429 (sloww2): Likewise.
1430 (bsloww): Likewise.
1431 (bsloww1): Likewise.
1432 (bsloww2): Likewise.
1433 (cslow2): Likewise.
1434 (csloww): Likewise.
1435 (csloww1): Likewise.
1436 (csloww2): Likewise.
1437 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1438 range_reduce. Merge in __mpsin1.
1439 (__mpcos): Likewise.
1440 (__mpsin1): Remove.
1441 (__mpcos1): Likewise.
1442
7602d070
JM
14432013-10-07 Joseph Myers <joseph@codesourcery.com>
1444
1445 * locale/loadlocale.c (_nl_intern_locale_data): Use
1446 LOCFILE_ALIGNED_P.
1447 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1448 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1449 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1450 obstack data is appropriately aligned.
1451 (obstack_int32_grow_fast): Likewise.
1452 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1453 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1454 (add_locale_uint32_array): Likewise.
1455
a357259b
SP
14562013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
1458 * benchtests/Makefile: Remove ARGLIST and RET variables.
1459 ($(objpfx)bench-%.c): Pass only function name to the script.
1460 * benchtests/README: Update documentation.
1461 * benchtests/acos-inputs: Add new directives.
1462 * benchtests/acosh-inputs: Likewise.
1463 * benchtests/asin-inputs: Likewise.
1464 * benchtests/asinh-inputs: Likewise.
1465 * benchtests/atan-inputs: Likewise.
1466 * benchtests/atanh-inputs: Likewise.
1467 * benchtests/cos-inputs: Likewise.
1468 * benchtests/cosh-inputs: Likewise.
1469 * benchtests/exp-inputs: Likewise.
1470 * benchtests/log-inputs: Likewise.
1471 * benchtests/pow-inputs: Likewise.
1472 * benchtests/rint-inputs: Likewise.
1473 * benchtests/sin-inputs: Likewise.
1474 * benchtests/sinh-inputs: Likewise.
1475 * benchtests/tan-inputs: Likewise.
1476 * benchtests/tanh-inputs: Likewise.
1477 * scripts/bench.pl: Add support for new directives.
1478
9ec1b13d
AM
14792013-10-07 Alan Modra <amodra@gmail.com>
1480
1481 * README: Fix careless merge.
1482
8b7d57cd
AM
14832013-10-05 Alan Modra <amodra@gmail.com>
1484
1485 * NEWS: Mention powerpc64le support and bugs fixed.
1486 * README: Both big-endian and little-endian powerpc64 supported.
1487
7b7bab13
ST
14882013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1489
1490 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1491 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1492 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1493 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1494
d39baad1
RA
14952013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1496
1497 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1498 match prototype.
1499
cd78f7e7
JM
15002013-10-04 Joseph Myers <joseph@codesourcery.com>
1501
29d73d86
JM
1502 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1503 Move -mhard-float appending from
1504 ports/sysdeps/powerpc/powerpc32/Makefile.
1505 [$(with-fp) = yes] (ASFLAGS): Likewise.
1506 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1507 * sysdeps/powerpc/nofpu: Move directory from
1508 ports/sysdeps/powerpc/nofpu.
1509 * sysdeps/powerpc/soft-fp: Move directory from
1510 ports/sysdeps/powerpc/soft-fp.
1511 * sysdeps/powerpc/powerpc32/405: Move directory from
1512 ports/sysdeps/powerpc/powerpc32/405.
1513 * sysdeps/powerpc/powerpc32/440: Move directory from
1514 ports/sysdeps/powerpc/powerpc32/440.
1515 * sysdeps/powerpc/powerpc32/464: Move directory from
1516 ports/sysdeps/powerpc/powerpc32/464.
1517 * sysdeps/powerpc/powerpc32/476: Move directory from
1518 ports/sysdeps/powerpc/powerpc32/476.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1520 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1528 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1529 * README: Update for powerpc-*-linux-gnu software floating point
1530 support in libc.
1531
e246b347
JM
1532 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1533 case to powerpc/powerpc32*.
1534 * sysdeps/unix/sysv/linux/configure: Regenerated.
1535
89c2003e
JM
1536 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1537 (_FPU_MASK_OM): Define as 0x04.
1538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1540 0x00c10080.
1541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1542 0x0000003c.
1543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1544
cd78f7e7
JM
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1546 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1547 getcontext_e500.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1549 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1550 setcontext_e500.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1552 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1553 and setcontext_e500.
1554
c755294d
CL
15552013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1556
1557 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1558
e16d221c
SP
15592013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1560
1561 * manual/threads.texi (Default Thread Attributes): Fix typo.
1562
215c7d43
WN
15632013-10-04 Will Newton <will.newton@linaro.org>
1564
1565 * malloc/Makefile: Add tst-memalign.
1566 * malloc/tst-memalign.c: New file.
1567
27d0461b
WN
1568 * malloc/tst-posix_memalign.c: Add comments.
1569 (do_test): Add comments and call free on all potentially
1570 allocated pointers. Add space after cast.
1571
1bc92709
WN
1572 * malloc/tst-pvalloc.c: Add comments.
1573 (do_test): Add comments and call free on all potentially
1574 allocated pointers. Remove duplicate check for NULL pointer.
1575 Add space after cast.
1576
66a9be9d
WN
1577 * malloc/tst-valloc.c: Add comments.
1578 (do_test): Add comments and call free on all potentially
1579 allocated pointers. Remove duplicate check for NULL pointer.
1580 Add space after cast.
1581
4cb81307
AM
15822013-10-04 Alan Modra <amodra@gmail.com>
1583
1584 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1585 Use stdint types in rather than __attribute__((mode())).
1586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1587
f8e3e9f3
AM
15882013-10-04 Alan Modra <amodra@gmail.com>
1589
1590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1591 Correct handling of unaligned relocs for little-endian.
1592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1593
8f9ebb08
AM
15942013-10-04 Alan Modra <amodra@gmail.com>
1595
1596 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1597 * configure: Regenerate.
1598 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1599 * shlib-versions: Likewise.
1600
0edf96c2
AM
16012013-10-04 Alan Modra <amodra@gmail.com>
1602
1603 * string/tester.c (test_memrchr): Increment reported test cycle.
1604
e0f7a380
AM
16052013-10-04 Alan Modra <amodra@gmail.com>
1606
1607 * string/test-memcpy.c (do_one_test): When reporting errors, print
1608 string address and don't overrun end of string.
1609
466b0393
AM
16102013-10-04 Alan Modra <amodra@gmail.com>
1611
1612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1613 insrdi. Make better use of reg selection to speed exit slightly.
1614 Schedule entry path a little better. Remove useless "are we done"
1615 checks on entry to main loop. Handle wrapping around zero address.
1616 Correct main loop count. Handle single left-over word from main
1617 loop inline rather than by using loop_small. Remove extra word
1618 case in loop_small caused by wrong loop count. Add little-endian
1619 support.
1620 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1622 cache hint.
1623 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1625 support. Avoid rlwimi.
1626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1627
3be87c77
AM
16282013-10-04 Alan Modra <amodra@gmail.com>
1629
1630 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1631 insrdi. Formatting.
3be87c77
AM
1632 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1634 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1635 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1636 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1637 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1638
759cfef3
AM
16392013-10-04 Alan Modra <amodra@gmail.com>
1640
1641 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1645 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1646 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1647 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1649 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1650 use of regs. Use power7 mtocrf. Tidy function tails.
1651
fe6e95d7
AM
16522013-10-04 Alan Modra <amodra@gmail.com>
1653
1654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1655 Formatting. Consistently use rXXX register defines or rN defines.
1656 Use early exit labels that avoid restoring unused non-volatile regs.
1657 Make cr field use more consistent with rWORDn compares. Rename
1658 regs used as shift registers for unaligned loop, using rN defines
1659 for short lifetime/multiple use regs.
1660 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1661 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1662 addi 1,1,64 to pop stack frame. Simplify return value code.
1663 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1664
664318c3
AM
16652013-10-04 Alan Modra <amodra@gmail.com>
1666
1667 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1668 support. Correct typos, formatting. Optimize tail. Use insrdi
1669 rather than rlwimi.
1670 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1671 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1672 little-endian support. Correct typos.
1673 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1674 rather than rlwimi.
1675 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1676 in loop and entry code to keep "and." results.
1677 (strchr): Add little-endian support. Comment. Move cntlzd
1678 earlier in tail.
1679 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1680
43b84013
AM
16812013-10-04 Alan Modra <amodra@gmail.com>
1682
1683 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1684 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1685 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1686 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1687
8a7413f9
AM
16882013-10-04 Alan Modra <amodra@gmail.com>
1689
1690 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1691 (rTMP): Define as r11.
1692 (strcmp): Add little-endian support. Optimise tail.
1693 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1695 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1696 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1697 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1700
33ee81de
AM
17012013-10-04 Alan Modra <amodra@gmail.com>
1702
1703 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1704 little-endian support. Remove unnecessary "are we done" tests.
1705 Handle "s" wrapping around zero and extremely large "size".
1706 Correct main loop count. Handle single left-over word from main
1707 loop inline rather than by using small_loop. Correct comments.
1708 Delete "zero" tail, use "end_max" instead.
1709 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1710
db9b4570
AM
17112013-10-04 Alan Modra <amodra@gmail.com>
1712
1713 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1714 support. Don't branch over align.
1715 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1716 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1717 support. Rearrange tmp reg use to suit. Comment.
1718 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1719
f7c399cf
AM
17202013-10-04 Alan Modra <amodra@gmail.com>
1721
1722 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1723
0b2c2ace
AM
17242013-10-04 Alan Modra <amodra@gmail.com>
1725
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1727 conditional form of branch and link when obtaining pc.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1729
02f04a6c
AM
17302013-10-04 Alan Modra <amodra@gmail.com>
1731
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1733 HIWORD/LOWORD.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1736
9b874b2f
AM
17372013-10-04 Alan Modra <amodra@gmail.com>
1738
1739 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1740 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1741 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1742 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1743 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1744 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1745 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1746 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1747 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1748 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1749
be1e5d31
AB
17502013-10-04 Anton Blanchard <anton@au1.ibm.com>
1751 Alistair Popple <alistair@ozlabs.au.ibm.com>
1752 Alan Modra <amodra@gmail.com>
1753
1754 [BZ #15723]
1755 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1756 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1757 _dl_hwcap access for little-endian.
1758 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1759 destroy vmx regs when saving unaligned.
1760 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1761 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1762 destroy vmx regs when saving unaligned.
1763
fef13a78
AM
17642013-10-04 Alan Modra <amodra@gmail.com>
1765
1766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1767 Don't use a union to pack hi/low value.
1768
76a66d51
AB
17692013-10-04 Anton Blanchard <anton@au1.ibm.com>
1770
1771 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1772 for little-endian.
1773 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1775 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1776 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1777 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1778
6a31fe7f
AM
17792013-10-04 Alan Modra <amodra@gmail.com>
1780
1781 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1782 constants to usual value for .cst8 section, and remove redundant
1783 high address load.
1784 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1785 constant for 0x1p52. Load little-endian words of double from
1786 correct stack offsets.
1787
7b88401f
AM
17882013-10-04 Alan Modra <amodra@gmail.com>
1789
1790 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1791 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1792 words of double from correct stack offsets.
1793 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1794 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1795 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1796 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1797 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1799 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1800 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1801 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1805 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1806 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1807 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1808 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1809 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1810
9c008155
AM
18112013-10-04 Alan Modra <amodra@gmail.com>
1812
1813 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1814 64-bit int/double union.
1815 (_FPU_SETCW): Likewise.
1816 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1817 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1818
da13146d
AM
18192013-10-04 Alan Modra <amodra@gmail.com>
1820
1821 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1822 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1823
603e8410
AM
18242013-10-04 Alan Modra <amodra@gmail.com>
1825
1826 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1827 use vector int constants.
1828 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1829
4a28b3ca
AB
18302013-10-04 Anton Blanchard <anton@au1.ibm.com>
1831
1832 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1833 array with long long.
1834 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1835 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1836 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1837 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1838 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1839 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1840 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1841 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1842 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1843 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1844 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1845 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1846 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1847
2ca85d2b
AB
18482013-10-04 Anton Blanchard <anton@au1.ibm.com>
1849
1850 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1851 (__signbit): Likewise. Correct for little-endian.
1852 (__signbitl): Call __signbit.
1853 (lrint): Correct for little-endian.
1854 (lrintf): Call lrint.
1855
62a728ae
AM
18562013-10-04 Alan Modra <amodra@gmail.com>
1857
1858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1859 union 32-bit int array member with 64-bit int array.
1860 (t515, tm256): Double rather than long double.
1861 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1862
32c301df
AM
18632013-10-04 Alan Modra <amodra@gmail.com>
1864
1865 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1866 Delete.
1867 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1869 version of math_ldbl.h.
1870
650ef4bd
AM
18712013-10-04 Alan Modra <amodra@gmail.com>
1872
1873 [BZ #15734], [BZ #15735]
1874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1875 all uses of ieee875 long double macros and unions. Simplify test
1876 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1877 ldbl_extract_mantissa value for ix,iy exponents. Properly
1878 normalize after ldbl_extract_mantissa, and don't add hidden bit
1879 already handled. Don't treat low word of ieee854 mantissa like
1880 low word of IBM long double and mask off bit when testing for
1881 zero.
1882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1883 all uses of ieee875 long double macros and unions. Simplify tests
1884 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1885 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1886 two1022, instead use their values. Recognise that tests for large
1887 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1888 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1889 Rewrite all uses of ieee875 long double macros and unions. Simplify
1890 test for 0.0L and nan. Correct negation.
1891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1892 ieee875 long double macros and unions. Correct output for large
1893 magnitude x. Correct absolute value calculation.
1894 (__erfcl): Likewise.
1895 * math/libm-test.inc: Add tests for errors discovered in IBM long
1896 double versions of fmodl, remainderl, erfl and erfcl.
1897
765714ca
AM
18982013-10-04 Alan Modra <amodra@gmail.com>
1899
1900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1901 all uses of ieee854 long double macros and unions. Simplify tests
1902 for long doubles that are fully specified by the high double.
1903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1904 Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1906 Remove dead code too.
1907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1908 (__ieee754_ynl): Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1912 Remove dead code too.
1913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1917 Simplify.
1918 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1919 Simplify.
1920 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1923 Comment on variable precision.
1924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1926 Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1931 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1932
4ebd120c
AM
19332013-10-04 Alan Modra <amodra@gmail.com>
1934
1935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1936 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1937 all uses of ieee854 long double macros and unions.
1938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1942 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1944 Likewise.
1945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1946 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1947 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1948 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1951 Simplify sign and nan test too.
1952 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1954 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1955 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1956 Likewise.
1957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1958 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1959 Likewise.
1960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1961 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1962 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1966
1b6adf88
AM
19672013-10-04 Alan Modra <amodra@gmail.com>
1968
1969 * stdio-common/printf_size.c (__printf_size): Don't use
1970 union ieee854_long_double in fpnum union.
1971 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1972 signbit macro to retrieve sign from long double.
1973 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1974 retrieve sign from long double.
1975 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1976 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1978 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1979 * math/test-misc.c (main): Don't use union ieee854_long_double.
1980
4cf69995
AM
19812013-10-04 Alan Modra <amodra@gmail.com>
1982
1983 [BZ #15680]
1984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1986 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1987 calculation. Remove unnecessary test for denormal exponent.
1988 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1989 Correct handling of denormals. Avoid undefined shift behaviour.
1990 Correct normalisation of low mantissa when low double is denormal.
1991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1992 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1993 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1994 Correct normalisation of low mantissa. Test for overflow of high
1995 mantissa and normalise.
1996 (ldbl_nearbyint): Use more readable constant for two52.
1997 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1998 (__mpn_construct_long_double): Fix test for overflow of high
1999 mantissa and correct normalisation. Avoid undefined shift.
2000
9605ca6c
AM
20012013-10-04 Alan Modra <amodra@gmail.com>
2002
2003 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2004 (union ibm_extended_long_double): Define as an array of ieee754_double.
2005 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2007 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2008 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2012 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2016
975569d0
JM
20172013-10-03 Joseph Myers <joseph@codesourcery.com>
2018
d3d23756
JM
2019 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2020 page size instead of calling getpagesize.
2021
975569d0
JM
2022 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2023 (LOCFILE_ALIGN_MASK): Likewise.
2024 (LOCFILE_ALIGN_UP): Likewise.
2025 (LOCFILE_ALIGNED_P): Likewise.
2026 * locale/programs/ld-collate.c (collate_output): Use the new
2027 macros instead of __alignof__ (int32_t).
2028 * locale/weight.h (findidx): Likewise.
2029
b1fe1f2b
OB
20302013-10-03 Ondřej Bílka <neleai@seznam.cz>
2031
2032 [BZ #431]
2033 * manual/string.texi: Fix strncat and wcsncat.
2034
5f855e35
BM
20352013-10-03 Brooks Moses <bmoses@google.com>
2036
2037 [BZ #15915]
2038 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2039 * Makerules: ...here, and adjust associated comments.
2040
3cef6009
WN
20412013-10-02 Will Newton <will.newton@linaro.org>
2042
2043 * malloc/Makefile: Add tst-pvalloc.
2044 * malloc/tst-pvalloc.c: New file.
2045
7815420b
WN
20462013-10-02 Will Newton <will.newton@linaro.org>
2047
2048 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2049 improve test coverage.
2050
4868b204
WN
20512013-10-02 Will Newton <will.newton@linaro.org>
2052
2053 * malloc/Makefile: Add tst-posix_memalign.
2054 * malloc/tst-posix_memalign.c: New file.
2055
29c793b3
EB
20562013-10-01 Eric Blake <eblake@redhat.com>
2057
2058 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2059 Use __THROWNL rather than __THROW on static functions.
2060
fd967522
PM
20612013-09-30 Petr Machata <pmachata@redhat.com>
2062
2063 * elf/elf.h (R_AARCH64_ABS16): New macro.
2064 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2065 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2066 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2067 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2068 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2069 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2070 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2071 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2072 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2073 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2074 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2075 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2076 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2077 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2078 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2079 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2080 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2081 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2082 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2083 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2084 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2085 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2086 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2087 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2088 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2089 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2090 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2091 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2092 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2093 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2094 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2095 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2096 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2097 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2098 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2099 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2100 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2101 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2102 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2103 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2104 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2105 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2106 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2107 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2108 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2109 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2110 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2111 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2112 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2113 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2114 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2115 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2116 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2117 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2118 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2119 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2120 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2121 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2122 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2123 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2124 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2125 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2126 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2127 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2128 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2129 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2130 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2131 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2132 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2133 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2134 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2135 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2136 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2137 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2138 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2139 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2140 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2141 (R_AARCH64_TLSDESC_LDR): Likewise.
2142 (R_AARCH64_TLSDESC_ADD): Likewise.
2143 (R_AARCH64_TLSDESC_CALL): Likewise.
2144
b2179107
AS
21452013-09-30 Andreas Schwab <schwab@suse.de>
2146
2147 [BZ #15048]
2148 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2149 the nss database lookup.
2150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2152
47f28d0a
MF
21532013-09-28 Mike Frysinger <vapier@gentoo.org>
2154
2155 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2156
21572013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2158
2159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2160 ${Bash-specific parameter/pattern/string} parameter expansion.
2161 * sysdeps/unix/make-syscalls.sh: Likewise.
2162
f4518a17
KK
21632013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2164
2165 * sysdeps/sh/stackguard-macros.h: New file.
2166
dc1a95c7
OB
21672013-09-26 Ondřej Bílka <neleai@seznam.cz>
2168
2169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2171 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2172 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2174 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2175
5ebbff8f
AZ
21762013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2177
2178 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2179 Fix thread ID register.
2180
4fd2cf9f
JM
21812013-09-25 Joseph Myers <joseph@codesourcery.com>
2182
2183 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2184 [POSIX || UNIX98]: Require rather than permitting all symbols from
2185 <time.h>.
2186 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2187 element of struct sched_param.
2188 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2189 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2190 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2191 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2192 constant.
2193
12c22bc4
OL
21942013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2195
2196 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2197 argument calculation.
2198
a03d8ea7
JM
21992013-09-24 Joseph Myers <joseph@codesourcery.com>
2200
2201 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2202 Expect macro.
2203 [POSIX] (pthread_attr_t): Do not require type.
2204 [POSIX] (pthread_cond_t): Likewise.
2205 [POSIX] (pthread_condattr_t): Likewise.
2206 [POSIX] (pthread_key_t): Likewise.
2207 [POSIX] (pthread_mutex_t): Likewise.
2208 [POSIX] (pthread_mutexattr_t): Likewise.
2209 [POSIX] (pthread_once_t): Likewise.
2210 [POSIX] (pthread_t): Likewise.
2211 [POSIX-based standards] (pthread_atfork): Expect function.
2212
6055173a
JM
22132013-09-24 Joseph Myers <joseph@codesourcery.com>
2214 Richard Sandiford <richard@codesourcery.com>
2215
2216 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2217 (swap_endianness_p): New extern variable.
2218 (set_big_endian): New inline function.
2219 (maybe_swap_uint32): Likewise.
2220 (maybe_swap_uint32_array): Likewise.
2221 (maybe_swap_uint32_obstack): Likewise.
2222 * locale/programs/locfile.c: Include <stdbool.h>.
2223 (swap_endianness_p): New variable.
2224 (add_locale_uint32): Call maybe_swap_uint32.
2225 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2226 (write_locale_data): Call maybe_swap_uint32_array.
2227 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2228 maybe_swap_uint32.
2229 (obstack_int32_grow_fast): Likewise.
2230 (output_weightwc): Call maybe_swap_uint32_obstack.
2231 (collate_output): Likewise.
2232 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2233 (OPT_LITTLE_ENDIAN): Likewise.
2234 (options): Add --little-endian and --big-endian options.
2235 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2236 * locale/programs/locarchive.c: Include "locfile.h".
2237 (GET): New macro.
2238 (SET): Likewise.
2239 (INC): Likewise.
2240 (create_archive): Use the new macros to access fields of
2241 structures directly mapped from or written to locale archives.
2242 (oldlocrecentcmp): Likewise.
2243 (enlarge_archive): Likewise.
2244 (insert_name): Likewise.
2245 (add_alias): Likewise.
2246 (add_locale): Likewise.
2247 (delete_locales_from_archive): Likewise.
2248 (show_archive_content): Likewise.
2249 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2250 locale data.
2251
39bf0bb4
RM
22522013-09-24 Roland McGrath <roland@hack.frob.com>
2253
2254 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2255 http://www.gnu.org/doc/freemanuals.texi.
2256 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2257
f02eed10
WN
22582013-09-24 Will Newton <will.newton@linaro.org>
2259
2260 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2261 macro.
2262
a3a6c312
JM
22632013-09-23 Joseph Myers <joseph@codesourcery.com>
2264
2265 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2266 unsigned char.
2267
107375ac
MR
22682013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2269
2270 * manual/threads.texi (POSIX Threads): Fix a typo.
2271
141f3a77
SP
22722013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2273
303e567a
SP
2274 [BZ #14547]
2275 * string/tst-strcoll-overflow.c: New test case.
2276 * string/Makefile (xtests): Add tst-strcoll-overflow.
2277 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2278 cache if string sizes may cause integer overflow.
2279
141f3a77
SP
2280 [BZ #14547]
2281 * string/strcoll_l.c (coll_seq): New members rule, idx,
2282 save_idx and back_us.
2283 (get_next_seq_nocache): New function.
2284 (do_compare_nocache): New function.
2285 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2286 when malloc fails.
2287
c61b4d41
CD
22882013-09-23 Carlos O'Donell <carlos@redhat.com>
2289
0b1f8e35
CD
2290 [BZ #15754]
2291 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2292 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2293 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2294
c61b4d41
CD
2295 [BZ #15754]
2296 * elf/Makefile (tests): Add tst-ptrguard1.
2297 (tests-static): Add tst-ptrguard1-static.
2298 (tst-ptrguard1-ARGS): Define.
2299 (tst-ptrguard1-static-ARGS): Define.
2300 * elf/tst-ptrguard1.c: New file.
2301 * elf/tst-ptrguard1-static.c: New file.
2302 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2303 * sysdeps/i386/stackguard-macros.h: Likewise.
2304 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2305 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2306 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2307 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2308 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2309 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2310
23112013-09-23 Hector Marco <hecmargi@upv.es>
2312 Ismael Ripoll <iripoll@disca.upv.es>
2313 Carlos O'Donell <carlos@redhat.com>
2314
2315 [BZ #15754]
2316 * sysdeps/generic/stackguard-macros.h: Define
2317 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2318 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2319 Define __pointer_chk_guard_local.
2320 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2321 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2322
f5f4e7b4
VV
23232013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2324
2325 [BZ #15859]
2326 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2327
5bb43a43
AS
23282013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2329
2330 * include/string.h (__ffs): Declare as hidden.
2331 * string/ffs.c (__ffs): Define as hidden.
2332 * sysdeps/i386/ffs.c (__ffs): Likewise.
2333 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2334 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2335 * sysdeps/s390/ffs.c (__ffs): Likewise.
2336 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2337
3ea5be54
AO
23382013-09-20 Alexandre Oliva <aoliva@redhat.com>
2339
ffb89e53
AO
2340 * NEWS: Mention malloc probes.
2341
322dea08
AO
2342 * malloc/arena.c (new_heap): New memory_heap_new probe.
2343 (grow_heap): New memory_heap_more probe.
2344 (shrink_heap): New memory_heap_less probe.
2345 (heap_trim): New memory_heap_free probe.
2346 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2347 (systrim): New memory_sbrk_less probe.
2348 * manual/probes.texi: Document them.
2349
655673f3
AO
2350 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2351 * manual/probes.texi: Document it.
2352
35fed6f1
AO
2353 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2354 (__libc_realloc): Add memory_realloc_retry probe.
2355 (__libc_memalign): Add memory_memalign_retry probe.
2356 (__libc_valloc): Add memory_valloc_retry probe.
2357 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2358 (__libc_calloc): Add memory_calloc_retry probe.
2359 * manual/probes.texi: Document them.
2360
6999d38c
AO
2361 * malloc/arena.c (get_free_list): Add probe
2362 memory_arena_reuse_free_list.
2363 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2364 and memory_arena_reuse.
2365 (arena_get2) [!PER_THREAD]: Likewise.
2366 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2367 memory_arena_reuse_realloc.
2368 * manual/probes.texi: Document them.
2369
0653427f
AO
2370 * malloc/malloc.c (__libc_free): Add
2371 memory_mallopt_free_dyn_thresholds probe.
2372 (__libc_mallopt): Add multiple memory_mallopt probes.
2373 * manual/probes.texi: Document them.
2374
3ea5be54
AO
2375 * malloc/malloc.c: Include stap-probe.h.
2376 (__libc_mallopt): Add memory_mallopt probe.
2377 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2378 * manual/probes.texi: New.
2379 * manual/Makefile (chapters): Add probes.
2380 * manual/threads.texi: Set next node.
2381
e35696c3 23822013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2383
e35696c3
CL
2384 [BZ #15963, #13985]
2385 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2386 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2387 Add `Chinese' to `nan' entry name.
2388
4aafb73c
SP
23892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2390
2391 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2392 (POLYNOMIAL): Likewise.
2393 (TAYLOR_SINCOS): Likewise.
2394 (TAYLOR_SLOW): Likewise.
2395 (__sin): Use TAYLOR_SINCOS.
2396 (__cos): Likewise.
2397 (slow): Use TAYLOR_SLOW.
2398 (sloww): Likewise.
2399 (bsloww): Likewise.
2400 (csloww): Likewise.
2401
d84f25c7
LD
24022013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2403
2404 * stdlib/strtod_l.c: Fix buffer overrun.
2405
5eea0404
SP
24062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2407
7849ff93
SP
2408 * benchtests/Makefile (bench): Add sincos.
2409 * benchtests/bench-sincos.c: New file.
2410
cfa3c886
SP
2411 * math/libm-test.inc (cos_test_data): New test inputs.
2412 (sin_test_data): Likewise.
2413
b348e1e3
SP
2414 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2415 macro.
2416 (__sin): Use it.
2417 (__cos): Likewise.
2418 (slow1): Likewise.
2419 (slow2): Likewise.
2420 (sloww1): Likewise.
2421 (sloww2): Likewise.
2422 (bsloww1): Likewise.
2423 (bsloww2): Likewise.
2424 (cslow2): Likewise.
2425 (csloww1): Likewise.
2426 (csloww2): Likewise.
2427
6cce25f8
SP
2428 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2429 function.
2430 (__sin): Use it.
2431 (__cos): Likewise.
2432
5eea0404
SP
2433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2434 gotos.
2435 (__cos): Likewise.
2436
9c21573c
MR
24372013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2438
2439 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2440 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2441 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2442 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2443 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2444 * elf/cache.c (print_entry): Handle the new cache flags.
2445
24d22e65
JM
24462013-09-18 Joseph Myers <joseph@codesourcery.com>
2447 Aldy Hernandez <aldyh@redhat.com>
2448
2449 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2450 Change condition to [_SOFT_FLOAT].
2451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2463 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2466 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2467 declaration.
2468
d13ef066
JM
24692013-09-18 Joseph Myers <joseph@codesourcery.com>
2470
2e071de0
JM
2471 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2472 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2473 (__longjmp): Use LOAD_GP to load saved GPRs.
2474 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2475 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2476 (__sigsetjmp): Use SAVE_GP to save GPRs.
2477
d13ef066
JM
2478 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2479 Do not append -msoft-float.
2480 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2481
97a0650b
SP
24822013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2483
2484 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2485
11ca09e9
JM
24862013-09-17 Joseph Myers <joseph@codesourcery.com>
2487
2488 [BZ #15966]
2489 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2490 (_FPU_GETCW): Use initial "__" on variable and field names but not
2491 on macro parameter name.
2492 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2493 parentheses around reference to macro parameter.
2494
08ffcf34
RS
24952013-09-13 Richard Sandiford <richard@codesourcery.com>
2496
2497 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2498 prototype.
2499 (ctype_startup): Use uint32_t in cast and sizeof for
2500 ctype->charnames.
2501
ae7080d3
JL
25022013-09-11 Jia Liu <proljc@gmail.com>
2503
2504 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2505 __daddr_t_defined.
2506 [__FreeBSD__]: Likewise.
2507
5905e7b3
OB
25082013-09-11 Ondřej Bílka <neleai@seznam.cz>
2509
2510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2511 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2512 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2513 (strchr): Remove __strchr_sse42 ifunc selection.
2514 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2515 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2516
b987c776
WN
25172013-09-11 Will Newton <will.newton@linaro.org>
2518
2519 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2520 parameter to RES. Remove hardcoded 1000 value.
2521 * benchtests/bench-skeleton.c (main): Pass RES parameter
2522 to TIMING_INIT and multiply result by 1000.
2523
ddf985af
AZ
25242013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2525
2526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2527
ffdd3181
AS
25282013-09-11 Andreas Schwab <schwab@suse.de>
2529
2530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2531 if not defined.
2532 (O_TMPFILE) [__USE_GNU]: Define.
2533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2534 Define.
2535
b73ed247
WN
25362013-09-11 Will Newton <will.newton@linaro.org>
2537
2538 [BZ #15857]
2539 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2540 does not overflow.
2541
55e17aad
WN
25422013-09-11 Will Newton <will.newton@linaro.org>
2543
2544 [BZ #15856]
2545 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2546 does not overflow.
2547
1159a193
WN
25482013-09-11 Will Newton <will.newton@linaro.org>
2549
2550 [BZ #15855]
2551 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2552 does not overflow.
2553
5905e7b3 25542013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2555
2556 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2558 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2561
cdfc721b
AM
25622013-09-10 Allan McRae <allan@archlinux.org>
2563
aa04af00
AM
2564 [BZ #15748]
2565 * manual/arith.texi (Parsing of Floats): Clarify
2566 cross-reference.
2567
cdfc721b
AM
2568 [BZ #15849]
2569 * manual/install.texi (Running make install): Mention
2570 --enable-pt-chown.
2571 * INSTALL: Regenerated.
2572
95e7cf29
MR
25732013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2574
2575 * csu/init-first.c (_init): Remove the !SHARED condition around
2576 FPU control word initialization.
2577 * elf/dl-support.c (_dl_fpu_control): New variable.
2578 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2579 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2580 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2581 * math/test-fpucw-static.c: New file.
2582 * math/test-fpucw-ieee.c: New file.
2583 * math/test-fpucw-ieee-static.c: New file.
2584 * math/Makefile (tests): Add `test-fpucw-ieee' and
2585 `$(tests-static)'.
2586 (tests-static): New variable.
2587 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2588 dependency to...
2589 [($(build-shared),yes)]
2590 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2591 ... this.
2592 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2593 New dependency.
2594
83e43bf0
AM
25952013-09-09 Allan McRae <allan@archlinux.org>
2596
a9f5ce09
AM
2597 [BZ #15939]
2598 * manual/string.texi (Collation Functions): Fix typo in
2599 strcoll example.
2600 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2601
34829bc2
AM
2602 [BZ #15893]
2603 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2604
3932737d
AM
2605 [BZ #15892]
2606 * libio/memstream.c (open_memstream): Fix memory leak.
2607 * libio/wmemstream.c (open_wmemstream): Likewise.
2608
83e43bf0
AM
2609 [BZ #15895]
2610 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2611
0c66b8e9
WN
26122013-09-09 Will Newton <will.newton@linaro.org>
2613
2614 * malloc/Makefile: Add tst-realloc to tests.
2615 * malloc/tst-realloc.c: New file.
2616
f6b00fd1
AM
26172013-09-09 Allan McRae <allan@archlinux.org>
2618
2619 [BZ #15844]
2620 * COPYING: Update from GNU website to fix FSF address.
2621 * COPYING.LIB: Likewise.
2622
eec55e16
DM
26232013-09-06 David S. Miller <davem@davemloft.net>
2624
2625 * po/zh_TW.po: Update Chinese (traditional) translation from
2626 translation project.
2627
1ecbb381
RS
26282013-09-06 Richard Sandiford <richard@codesourcery.com>
2629 Joseph Myers <joseph@codesourcery.com>
2630
2631 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2632 "localeinfo.h".
2633 (obstack_chunk_alloc): New macro.
2634 (obstack_chunk_free): Likewise.
2635 (record_offset): New function.
2636 (init_locale_data): Likewise.
2637 (align_locale_data): Likewise.
2638 (add_locale_empty): Likewise.
2639 (add_locale_raw_data): Likewise.
2640 (add_locale_raw_obstack): Likewise.
2641 (add_locale_string): Likewise.
2642 (add_locale_wstring): Likewise.
2643 (add_locale_uint32): Likewise.
2644 (add_locale_uint32_array): Likewise.
2645 (add_locale_char): Likewise.
2646 (start_locale_structure): Likewise.
2647 (end_locale_structure): Likewise.
2648 (start_locale_prelude): Likewise.
2649 (end_locale_prelude): Likewise.
2650 (write_locale_data): Take locale_file structure rather than an
2651 iovec.
2652 * locale/programs/locfile.h: Include "obstack.h".
2653 (struct locale_file): Change to store locale file contents instead
2654 of header.
2655 (init_locale_data): New prototype.
2656 (align_locale_data): Likewise.
2657 (add_locale_empty): Likewise.
2658 (add_locale_raw_data): Likewise.
2659 (add_locale_raw_obstack): Likewise.
2660 (add_locale_string): Likewise.
2661 (add_locale_wstring): Likewise.
2662 (add_locale_uint32): Likewise.
2663 (add_locale_uint32_array): Likewise.
2664 (add_locale_char): Likewise.
2665 (start_locale_structure): Likewise.
2666 (end_locale_structure): Likewise.
2667 (start_locale_prelude): Likewise.
2668 (end_locale_prelude): Likewise.
2669 (write_locale_data): Update prototype.
2670 * locale/programs/3level.h (struct TABLE): Remove result field.
2671 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2672 Use new locale_file interface.
2673 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2674 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2675 * locale/programs/ld-address.c (address_output): Use new
2676 locale_file interface.
2677 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2678 NO_ADD_LOCALE.
2679 (collate_finish): Don't call collseq_table_finalize.
2680 (collate_output): Use new locale_file interface.
2681 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2682 in file.
2683 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2684 (TABLE): Move defines earlier in file.
2685 (ELEMENT): Likewise.
2686 (DEFAULT): Likewise.
2687 (wctrans_table_add): Move macro and inline function earlier in
2688 file.
2689 (struct wctype_table): Move type earlier in file.
2690 (add_locale_wctype_table): New static prototype.
2691 (struct locale_ctype_t): Use logical types instead of struct iovec
2692 pointers for members.
2693 (ctype_output): Use new locale_file interface.
2694 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2695 new locale_file interface.
2696 (allocate_arrays): Update for use of new locale_file interface.
2697 * locale/programs/ld-identification.c (identification_output): Use
2698 new locale_file interface.
2699 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2700 * locale/programs/ld-messages.c (messages_output): Likewise.
2701 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2702 * locale/programs/ld-name.c (name_output): Likewise.
2703 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2704 * locale/programs/ld-paper.c (paper_output): Likewise.
2705 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2706 * locale/programs/ld-time.c (time_output): Likewise.
2707
e029e2e5
AZ
27082013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2709
2710 * benchtests/Makefile: Add memrchr benchmark.
2711 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2712 benchmark as memrchr.
2713 * benchtests/bench-memrchr-ifunc.c: New file.
2714 * benchtests/bench-memrchr.c: New file.
2715
bbf6e8e4
WN
27162013-09-06 Will Newton <will.newton@linaro.org>
2717
2718 * benchtests/Makefile (string-bench): Add memcpy.
2719
6c82a2f8
CD
27202013-09-05 Carlos O'Donell <carlos@redhat.com>
2721 Cong Wang <amwang@redhat.com>
2722
2723 * sysdeps/unix/sysv/linux/bits/in.h
2724 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2725 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2726 before __USE_KERNEL_IPV6_DEFS uses.
2727 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2728 IPPROTO_BEETPH.
2729 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2730 sockaddr_in6, or ipv6_mreq.
2731
5430fc65
AZ
27322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2733
2734 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2735 memory access for final bytes in some large inputs.
2736 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2737
4660856c
AZ
27382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2739
2740 * string/test-memrchr.c: New file.
2741 * string/test-memrchr-ifunc.c: New file.
2742 * string/Makefile: Add new memrchr testcase.
2743
bb8ea713
MF
27442013-09-05 Mike Frysinger <vapier@gentoo.org>
2745
2746 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2747 fanotify_init returns EPERM.
2748
b92a20b5
JM
27492013-09-04 Joseph Myers <joseph@codesourcery.com>
2750
2751 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2752 errors.
2753 (top level): Treat second token from macro or constant entries for
2754 allowed headers as allowed.
2755 * include/complex.h: Condition internal declarations on
2756 [!_ISOMAC].
2757 * include/fenv.h: Condition include of <stdbool.h> and internal
2758 declarations on [!_ISOMAC].
7447ccd9
CL
2759
27602013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2761
3e181dda 2762 [BZ #15923]
7447ccd9
CL
2763 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2764
3f2e46a4
JM
27652013-09-04 Joseph Myers <joseph@codesourcery.com>
2766
2767 * configure.in (--enable-versioning): Remove configure option.
2768 (libc_cv_asm_symver_directive): Remove configure test.
2769 (libc_cv_ld_version_script_option): Likewise.
2770 (VERSIONING): Remove variable and AC_SUBST.
2771 (DO_VERSIONING): Remove AC_DEFINE.
2772 * configure: Regenerated.
2773 * config.h.in (DO_VERSIONING): Remove macro.
2774 * Makerules [$(versioning) = yes]: Change conditionals to
2775 [$(build-shared) = yes].
2776 * config.make.in (versioning): Remove variable.
2777 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2778 [$(build-shared) = yes].
2779 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2780 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2781 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2782 [$(build-shared) = yes].
2783 * extra-lib.mk [$(versioning) = yes]: Likewise.
2784 * hurd/Makefile [$(versioning) = yes]: Likewise.
2785 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2786 [SHARED].
2787 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2788 [SHARED].
2789 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2790 [SHARED && !NO_HIDDEN].
2791 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2792 [SHARED].
2793 [SHARED && DO_VERSIONING]: Likewise..
2794 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2795 [$(build-shared) = yes].
2796 * manual/install.texi (--disable-versioning): Remove
2797 documentation.
2798 * INSTALL: Regenerated.
2799 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2800 to [SHARED].
2801 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2802 [$(build-shared) = yes].
2803 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2804 * sysdeps/i386/i686/multiarch/strstr-c.c
2805 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2806 [SHARED && !NO_HIDDEN].
2807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2808 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2809 * sysdeps/powerpc/powerpc32/dl-machine.c
2810 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2811 * sysdeps/powerpc/powerpc32/sysdep.h
2812 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2813 to [SHARED && PIC && !NO_HIDDEN].
2814 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2815 conditional to [SHARED].
2816
44558701
WN
28172013-09-04 Will Newton <will.newton@linaro.org>
2818
2819 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2820 * benchtests/bench-string.h: Include bench-timing.h instead
2821 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2822 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2823 call to HP_TIMING_DIFF_INIT.
2824 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2825 instead of hp-timing.h macros.
2826 * benchtests/bench-memchr.c: Likewise.
2827 * benchtests/bench-memcmp.c: Likewise.
2828 * benchtests/bench-memcpy.c: Likewise.
2829 * benchtests/bench-memmem.c: Likewise.
2830 * benchtests/bench-memmove.c: Likewise.
2831 * benchtests/bench-memset.c: Likewise.
2832 * benchtests/bench-rawmemchr.c: Likewise.
2833 * benchtests/bench-strcasecmp.c: Likewise.
2834 * benchtests/bench-strcasestr.c: Likewise.
2835 * benchtests/bench-strcat.c: Likewise.
2836 * benchtests/bench-strchr.c: Likewise.
2837 * benchtests/bench-strcmp.c: Likewise.
2838 * benchtests/bench-strcpy.c: Likewise.
2839 * benchtests/bench-strcpy_chk.c: Likewise.
2840 * benchtests/bench-strlen.c: Likewise.
2841 * benchtests/bench-strncasecmp.c: Likewise.
2842 * benchtests/bench-strncat.c: Likewise.
2843 * benchtests/bench-strncmp.c: Likewise.
2844 * benchtests/bench-strncpy.c: Likewise.
2845 * benchtests/bench-strnlen.c: Likewise.
2846 * benchtests/bench-strpbrk.c: Likewise.
2847 * benchtests/bench-strrchr.c: Likewise.
2848 * benchtests/bench-strspn.c: Likewise.
2849 * benchtests/bench-strstr.c: Likewise.
2850
cae16d66
WN
28512013-09-04 Will Newton <will.newton@linaro.org>
2852
2853 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2854
ffa3cd7f
JM
28552013-09-03 Joseph Myers <joseph@codesourcery.com>
2856
2857 [BZ #15427]
2858 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2859 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2860 * math/libm-test.inc (lgamma_test_data): Add more tests.
2861 * sysdeps/i386/fpu/libm-test-ulps: Update.
2862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2863
8f02859f
OB
28642013-09-03 Ondřej Bílka <neleai@seznam.cz>
2865
2866 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2868 Add ifunc.
2869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2870 Add strcmp-sse2-unaligned
2871 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2872
18d43716
MF
28732013-09-02 Mike Frysinger <vapier@gentoo.org>
2874
2875 * Versions.def (libc): Add GLIBC_2.19.
2876
ac444012
MF
28772013-09-02 Mike Frysinger <vapier@gentoo.org>
2878
2879 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2880 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2881
b7835e32
JM
28822013-09-02 Joseph Myers <joseph@codesourcery.com>
2883
2884 [BZ #14155]
2885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2886 intermediate calculations in recurrence.
2887 (__ieee754_ynf): Likewise.
2888 * math/libm-test.inc (jn_test_data): Do not allow spurious
2889 underflow exception. Add more tests.
2890 (yn_test_data): Add more tests.
2891 * sysdeps/i386/fpu/libm-test-ulps: Update.
2892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2893
8220f4f0
OB
28942013-09-02 Ondřej Bílka <neleai@seznam.cz>
2895
2896 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2897
f24a6d08
OB
28982013-08-30 Ondřej Bílka <neleai@seznam.cz>
2899
2900 * csu/init-first.c: Fix then/than typos.
2901 * locale/programs/ld-collate.c: Likewise.
2902 * locale/programs/linereader.h: Likewise.
2903 * manual/charset.texi: Likewise.
2904 * manual/filesys.texi: Likewise.
2905 * manual/stdio.texi: Likewise.
2906 * manual/string.texi: Likewise.
2907 * stdlib/fmtmsg.c: Likewise.
2908 * sysdeps/i386/stpncpy.S: Likewise.
2909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2910 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2913
382466e0
OB
29142013-08-30 Ondřej Bílka <neleai@seznam.cz>
2915
2916 * elf/dl-open.c: Fix typos.
2917 * iconvdata/gbbig5.c: Likewise.
2918 * iconvdata/iso-2022-jp.c: Likewise.
2919 * iconv/gconv_int.h: Likewise.
2920 * iconv/loop.c: Likewise.
2921 * nis/rpcsvc/nis.h: Likewise.
2922 * resolv/ns_name.c: Likewise.
2923 * stdio-common/vfscanf.c: Likewise.
2924 * streams/stropts.h: Likewise.
2925 * sunrpc/rpc_thread.c: Likewise.
2926 * sysdeps/i386/strpbrk.S: Likewise.
2927 * sysdeps/ieee754/k_standard.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2930 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2931 * sysdeps/mach/hurd/profil.c: Likewise.
2932 * sysdeps/s390/dl-procinfo.h: Likewise.
2933 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2934 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2935 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2936 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2937 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2938
0186c6e9
OB
29392013-08-30 Ondřej Bílka <neleai@seznam.cz>
2940
2941 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2943
d4e16af1
OB
29442013-08-29 Ondřej Bílka <neleai@seznam.cz>
2945
2946 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2947 aix specific files.
2948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2949 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2951 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2952 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2953 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2955 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2956
88335980
TS
29572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2958 Roland McGrath <roland@hack.frob.com>
2959
2960 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2961 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2962
ed479b02
ST
29632013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2964
2965 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2966 __executable_start symbol instead of _start.
2967
f1cc4c86
TS
29682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2969
d821f07c
TS
2970 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2971 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2972 Move macros to...
2973 * sysdeps/gnu/ldsodefs.h: ... this new file.
2974
c54290cf
TS
2975 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2976 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2977 instead of ELFOSABI_LINUX.
2978
0007fc9b 2979 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2980 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2981 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2982 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2983 Likewise.
2984 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2985 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2986 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2987 Likewise.
2988 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2989 (ibm_extended_long_double): Add ieee_nan member.
2990 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2991 (do_test): New function.
2992
f1cc4c86
TS
2993 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2994 TEST_TRUNC.
2995 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2996 functions, renamed from truncdfsf_test, trunctfsf_test,
2997 trunctfdf_test.
2998 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2999 functions.
3000 (do_test): Run all these.
3001
6f65e668
OB
30022013-08-29 Ondřej Bílka <neleai@seznam.cz>
3003
3004 * argp/argp-help.c: Fix typos.
3005 * argp/argp-parse.c: Likewise.
3006 * debug/backtracesyms.c: Likewise.
3007 * elf/elf.h: Likewise.
3008 * malloc/malloc.c: Likewise.
3009 * nis/nis_print.c: Likewise.
3010 * resolv/res_comp.c: Likewise.
3011 * stdlib/stdlib.h: Likewise.
3012 * sunrpc/clnt_tcp.c: Likewise.
3013 * sunrpc/clnt_udp.c: Likewise.
3014 * sunrpc/clnt_unix.c: Likewise.
3015 * sysdeps/unix/bsd/ptsname.c: Likewise.
3016 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3019 Likewise.
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3021 Likewise.
3022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3023 Likewise.
6f65e668
OB
3024 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3025
3a309239
SP
30262013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3027
3028 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3030
3b813b29
MF
30312013-08-27 Mike Frysinger <vapier@gentoo.org>
3032
3033 [BZ #15897]
3034 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3035 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3036 ($(objpfx)bug-dl-leaf): New rule.
3037 ($(objpfx)bug-dl-leaf.so): Likewise.
3038 ($(objpfx)bug-dl-leaf.out): Likewise.
3039 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3040 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3041 * dlfcn/bug-dl-leaf.c: New test.
3042 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3043 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3044 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3045 (dlclose): Likewise.
3046 (dlmopen): Likewise.
3047
8cc3269f
RM
30482013-08-27 Roland McGrath <roland@hack.frob.com>
3049
7f9d0034
RM
3050 * include/netdb.h [!_ISOMAC]:
3051 Don't include <tls.h>.
3052 (h_errno, __libc_h_errno): Move declaration and macros out of
3053 [_LIBC_REENTRANT].
3054
fb431262
RM
3055 * include/resolv.h [_RESOLV_H_]:
3056 Don't include <tls.h>.
3057 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3058 * resolv/res_libc.c: Don't include <tls.h>.
3059 (_res): Use __attribute__ ((nocommon)) in place of
3060 __attribute__ ((section (".bss"))).
3061
bd81123a
RM
3062 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3063 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3064
c4e42566
RM
3065 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3066
f890a59b
RM
3067 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3068 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3069
3070 * resolv/res_mkquery.c: Include <sys/time.h>.
3071
5d1f0a09
RM
3072 * inet/ifreq.c: Moved to ...
3073 * sysdeps/unix/ifreq.c: ... here.
3074 * inet/ifreq.c: New file, true stub version.
3075
6fcf28b3
RM
3076 * socket/sa_len.c: New file.
3077 * socket/Makefile (aux): Add it.
3078 * sysdeps/unix/sysv/linux/Makefile
3079 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3080 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3081 and #include <socket/sa_len.c>.
3082 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3083 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3084
e041fb8b
RM
3085 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3086 * bits/socket.h: ... here.
3087
8cc3269f
RM
3088 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3089 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3090 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3091
5d228a43
AS
30922013-08-27 Andreas Schwab <schwab@suse.de>
3093
45b8accc
AS
3094 [BZ #15736]
3095 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3096 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3097 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3098 * string/test-strcasecmp.c (test_main): Run tests in several
3099 locales.
3100 * string/test-strncasecmp.c (test_main): Likewise.
3101
5d228a43
AS
3102 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3103 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3104 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3106 (__strncasecmp_ssse3) [PIC]: Likewise.
3107
59d112a4
RM
31082013-08-26 Roland McGrath <roland@hack.frob.com>
3109
53234cc3
RM
3110 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3111
59d112a4
RM
3112 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3113 instead of explicitly declaring xdecrypt.
3114 * nis/nss_nis/nis-publickey.c: Likewise.
3115
595aba70
SP
31162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3117
3118 [BZ #15890]
3119 * nscd/aicache.c: Include res_hconf.h.
3120 (addhstaiX): Initialize res_hconf.
3121
ffabd393
AS
31222013-08-26 Andreas Schwab <schwab@suse.de>
3123
3124 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3125 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3126
e0a69f5c
SP
31272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3128
3129 * nscd/aicache.c (addhstaiX): Fix indentation.
3130
8c12f01d
MF
31312013-08-25 Mike Frysinger <vapier@gentoo.org>
3132
3133 * configure.ac: Quote $build_pt_chown test.
3134 * configure: Regenerated.
3135
8fe89494
JM
31362013-08-23 Joseph Myers <joseph@codesourcery.com>
3137
3138 [BZ #15532]
3139 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3140 * math/s_cexpf.c (__cexpf): Likewise.
3141 * math/s_cexpl.c (__cexpl): Likewise.
3142 * math/libm-test.inc (cexp_test_data): Correct expected return
3143 value for NaN + i0. Add another test.
3144
75b181d6
DM
31452013-08-22 David S. Miller <davem@davemloft.net>
3146
3147 * po/ca.po: Update Catalan translation from translation project.
936241e4 3148 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3149
acd06bb1
JM
31502013-08-21 Joseph Myers <joseph@codesourcery.com>
3151
3152 [BZ #15797]
3153 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3154 is infinite, not alongside NaN test.
3155 * math/s_fdimf.c (__fdimf): Likewise.
3156 * math/s_fdiml.c (__fdiml): Likewise.
3157 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3158 errno is unchanged.
3159
c0c3f78a
OB
31602013-08-21 Ondřej Bílka <neleai@seznam.cz>
3161
3162 * argp/argp-help.c: Fix typos.
3163 * crypt/speeds.c: Likewise.
3164 * csu/check_fds.c: Likewise.
3165 * elf/dl-load.c: Likewise.
3166 * elf/dl-open.c: Likewise.
3167 * elf/reldep3.c: Likewise.
3168 * elf/reldep.c: Likewise.
3169 * elf/sprof.c: Likewise.
3170 * iconv/iconv_charmap.c: Likewise.
3171 * iconv/skeleton.c: Likewise.
3172 * iconv/strtab.c: Likewise.
3173 * io/lockf64.c: Likewise.
3174 * libio/libioP.h: Likewise.
3175 * resolv/gai_notify.c: Likewise.
3176 * resolv/ns_name.c: Likewise.
3177 * resolv/ns_samedomain.c: Likewise.
3178 * resolv/res_send.c: Likewise.
3179 * stdlib/random.c: Likewise.
3180 * sunrpc/rpc/xdr.h: Likewise.
3181 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3183 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3184 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3185 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3189 * sysdeps/mach/hurd/check_fds.c: Likewise.
3190 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3191 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3192 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3193 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3194 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3195 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3196 * sysdeps/pthread/aio_notify.c: Likewise.
3197 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3198 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3199 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3200 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3201 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3202
46ed1038
LD
32032013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3204
3205 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3206 version if bit_Slow_SSE4_2 is set.
3207 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3208 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3209
d400dcac
AZ
32102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3211
3212 [BZ #15867]
3213 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3214 trampoline stack frame information.
3215 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3216 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3217 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3218 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3219 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3220 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3221 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3222 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3223 sa_flags value.
3224 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3225 interrupting a syscall and set with option SA_SIGINFO.
3226
42c8fdd8
JM
32272013-08-20 Joseph Myers <joseph@codesourcery.com>
3228
c980f2f4
JM
3229 [BZ #15531]
3230 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3231 argument is infinite.
3232 * math/s_cprojf.c (__cprojf): Likewise.
3233 * math/s_cprojl.c (__cprojl): Likewise.
3234 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3235 * math/libm-test.inc (cproj_test_data): Add more tests.
3236
0716c4fc
JM
3237 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3238
42c8fdd8
JM
3239 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3240 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3241 size. Use __ffs to determine corresponding shift.
3242
b31469d0
JM
32432013-08-20 Joseph Myers <joseph@codesourcery.com>
3244 Roland McGrath <roland@hack.frob.com>
3245
3246 * Makefile (INSTALL): Remove trailing blank lines from output of
3247 makeinfo.
3248
4e39af6e
AK
32492013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3250
3251 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3252 Align 32 bit compat elf_greg to 8 bytes.
3253
f315524e
AA
32542013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3255
3256 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3257
1326ba1a
SP
32582013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3259
3260 * string/strcoll_l.c (coll_seq): New structure.
3261 (get_next_seq_cached): New function.
3262 (get_next_seq): New function.
3263 (do_compare): New function.
3264 (STRCOLL): Use GNU style definition. Simplify implementation
3265 by using get_next_seq, get_next_seq_cached and do_compare.
3266
91ce4085
FW
32672013-08-16 Florian Weimer <fweimer@redhat.com>
3268
3269 [BZ #14699]
3270 CVE-2013-4237
3271 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3272 member.
3273 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3274 member.
3275 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3276 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3277 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3278 conditional.
3279 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3280 GETDENTS_64BIT_ALIGNED.
3281 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3282 * manual/filesys.texi (Reading/Closing Directory): Document
3283 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3284 strongly.
3285 * manual/conf.texi (Limits for Files): Add portability note to
3286 NAME_MAX, PATH_MAX.
3287 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3288
ca0a6bc4
AS
32892013-08-13 Andreas Schwab <schwab@suse.de>
3290
3291 [BZ #15749]
3292 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3293 of fabs.
3294 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3295 LDBL_MAX_EXP >= 16384]: Add tests for it.
3296
6c1fd795
DM
32972013-08-12 David S. Miller <davem@davemloft.net>
3298
3299 * version.h (RELEASE): Set to "development".
3300 (VERSION): Set to "2.18.90".
3301 * NEWS: Add 2.19 section.
3302
31ad488d
DM
33032013-08-03 David S. Miller <davem@davemloft.net>
3304
3305 * po/ko.po: Update Korean translation from translation project.
3306
db24e684
DM
33072013-08-01 David S. Miller <davem@davemloft.net>
3308
3309 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3310 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3311 Bilka.
3312
f723285b
DM
33132013-07-30 David S. Miller <davem@davemloft.net>
3314
3315 * po/fr.po: Update French translation from translation project.
3316
3cbc52db
DM
33172013-07-28 David S. Miller <davem@davemloft.net>
3318
30bbc0cc
DM
3319 * po/cs.po: Update Czech translation from translation project.
3320
3cbc52db
DM
3321 * po/sv.po: Update Swedish translation from translation project.
3322
d492e6d0
DM
33232013-07-27 David S. Miller <davem@davemloft.net>
3324
f1a7f492
DM
3325 * po/eo.po: Update Esperanto translation from translation project.
3326
90e62a4a
DM
3327 * po/vi.po: Update Vietnamese translation from translation project.
3328
d492e6d0
DM
3329 * po/de.po: Update German translation from translation project.
3330
d4baa62d
DM
33312013-07-26 David S. Miller <davem@davemloft.net>
3332
641aa7b4
DM
3333 * po/bg.po: Update Bulgarian translation from translation project.
3334
d4baa62d
DM
3335 * po/nl.po: Update Dutch translation from translation project.
3336 * po/pl.po: Update Polish translation from translation project.
3337 * po/ru.po: Update Russian translation from translation project.
3338
61a9dcb9
DM
33392013-07-24 David S. Miller <davem@davemloft.net>
3340
3341 * po/libc.pot: Update.
3342
7b1f8b58
AZ
33432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3344
3345 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3346 variable page size.
3347 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3349 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3350
a8fc7a03
AK
33512013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3352
3353 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3354
e4608715
CD
33552013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3356 Andreas Schwab <schwab@suse.de>
3357 Roland McGrath <roland@hack.frob.com>
3358 Joseph Myers <joseph@codesourcery.com>
3359 Carlos O'Donell <carlos@redhat.com>
3360
3361 [BZ #15755]
3362 * config.h.in: Define HAVE_PT_CHOWN.
3363 * config.make.in (build-pt-chown): New variable.
3364 * configure.in (--enable-pt_chown): New configure option.
3365 * configure: Regenerate.
3366 * login/Makefile: Include Makeconfig. Build pt_chown only if
3367 build-pt-chown is enabled.
3368 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3369 pt_chown to fix pty ownership.
3370 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3371 CLOSE_ALL_FDS.
3372 * manual/install.texi (Configuring and compiling): Mention
3373 --enable-pt_chown. Add @findex for grantpt.
3374 * INSTALL: Regenerate.
3375
da2d62df
DM
33762013-07-20 David S. Miller <davem@davemloft.net>
3377
3378 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3379 difference between 32-bit and 64-bit.
3380
d7e06450
CD
33812013-07-15 Carlos O'Donell <carlos@redhat.com>
3382
3383 [BZ #15711]
3384 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3385 Avoid system header dependency with -ffreestanding.
3386 ($(objpfx)bits/syscall%d): Likewise.
3387
f959cfd7
DM
33882013-07-13 David S. Miller <davem@davemloft.net>
3389
3390 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3391 underflows from atanl/atan2l due to bug 15319.
3392 (casinh_test_data): Likewise.
3393
c61f8513
DM
33942013-07-07 David S. Miller <davem@davemloft.net>
3395
3396 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3397
72c90ed0
JA
33982013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3399
3400 * sysdeps/i386/fpu/libm-test-ulps: Update.
3401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3402
52dfbe13
SP
34032013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3404
3405 * configure.in (--enable-lock-elision): Fix message text.
3406 * INSTALL: Regenerate.
3407 * configure: Regenerate.
3408
3f169543
AZ
34092013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410
3411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3412
521c6785
AJ
34132013-07-03 Andreas Jaeger <aj@suse.de>
3414
3415 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3416 define.
3417 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3418 (ptrace_peeksiginfo_args): Add.
3419 (__ptrace_peeksiginfo_flags): Add.
3420 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3423
d2cc15cb
AM
34242013-07-03 Allan McRae <allan@archlinux.org>
3425
3426 * sysdeps/i386/fpu/libm-test-ulps: Update.
3427
3aaeeca7
DM
34282013-07-02 David S. Miller <davem@davemloft.net>
3429
3430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3431
5314ed1a
MT
34322013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3433
3434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3435
67338156
JM
34362013-07-02 Joseph Myers <joseph@codesourcery.com>
3437
3438 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3440
1717da59
AK
34412013-07-02 Andi Kleen <ak@linux.intel.com>
3442
3443 * config.h.in (ENABLE_LOCK_ELISION): Add.
3444 * configure.in (--enable-lock-elision): Add option.
3445 * manual/install.texi: Document --enable lock elision.
3446 * configure: Regenerate
3447 * INSTALL: Regenerate.
3448
1c81621c
L
34492013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3452 SSE4.2 strcasecmp for libc.a.
3453 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3454
77f01ab5
JM
34552013-07-02 Joseph Myers <joseph@codesourcery.com>
3456
3457 [BZ #13304]
3458 * soft-fp/op-common.h (_FP_FMA): New macro.
3459 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3460 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3461 (_FP_MUL_MEAT_1_imm): ... here.
3462 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3463 (_FP_MUL_MEAT_1_wide): ... here.
3464 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3465 (_FP_MUL_MEAT_1_hard): ... here.
3466 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3467 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3468 (_FP_MUL_MEAT_2_wide): ... here.
3469 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3470 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3471 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3472 (_FP_MUL_MEAT_2_gmp): ... here.
3473 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3474 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3475 (_FP_MUL_MEAT_4_wide): ... here.
3476 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3477 (_FP_MUL_MEAT_4_gmp): ... here.
3478 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3479 (_FP_WFRACBITS_DW_S): Likewise.
3480 (_FP_WFRACXBITS_DW_S): Likewise.
3481 (_FP_HIGHBIT_DW_S): Likewise.
3482 (FP_FMA_S): Likewise.
3483 (_FP_FRAC_HIGH_DW_S): Likewise.
3484 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3485 (_FP_WFRACBITS_DW_D): Likewise.
3486 (_FP_WFRACXBITS_DW_D): Likewise.
3487 (_FP_HIGHBIT_DW_D): Likewise.
3488 (FP_FMA_D): Likewise.
3489 (_FP_FRAC_HIGH_DW_D): Likewise.
3490 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3491 (_FP_WFRACBITS_DW_E): Likewise.
3492 (_FP_WFRACXBITS_DW_E): Likewise.
3493 (_FP_HIGHBIT_DW_E): Likewise.
3494 (FP_FMA_E): Likewise.
3495 (_FP_FRAC_HIGH_DW_E): Likewise.
3496 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3497 (_FP_WFRACBITS_DW_Q): Likewise.
3498 (_FP_WFRACXBITS_DW_Q): Likewise.
3499 (_FP_HIGHBIT_DW_Q): Likewise.
3500 (FP_FMA_Q): Likewise.
3501 (_FP_FRAC_HIGH_DW_Q): Likewise.
3502 * soft-fp/fmasf4.c: New file.
3503 * soft-fp/fmadf4.c: Likewise.
3504 * soft-fp/fmatf4.c: Likewise.
3505
6308fd9a
LD
35062013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3507
3508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3509 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3510 Silvermont.
3511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3512 macro.
3513 (index_Slow_SSE4_2): Likewise.
3514 (index_Prefer_PMINUB_for_stringop): Likewise.
3515 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3516 bit_Slow_SSE4_2 is set.
3517 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3518 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3519
89cd9569
RA
35202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3521
3522 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3523 rtld_global._dl_hwcap2.
3524 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3525 POWER8.
3526 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3527 POWER8 feature descriptions defined in _dl_hwcap2.
3528 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3529 string handling for POWER8 feature bits.
3530 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3531 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3532 _dl_powerpc_cap_flags.
3533 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3534 * sysdeps/powerpc/rtld-global-offsets.sym
3535 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3536 _dl_hwcap2 in the rtld_global_ro structure.
3537
1ae8bfe0
RA
35382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3539
3540 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3541 hardware capabilities in support of AT_HWCAP2.
3542 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3543 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3544 GLRO(dl_hwcap2).
3545 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3546 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3547 explicitly the unknown a_type display mechanism is used.
3548 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3549 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3550 struct member.
3551 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3552 to macro prototype for AT_HWCAP2 support.
3553 * sysdeps/i386/dl-procinfo.h: Likewise.
3554 * sysdeps/s390/dl-procinfo.h: Likewise.
3555 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3556 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3557 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3558 return -1 for unknown a_type display fallback.
3559 * sysdeps/sparc/dl-procinfo.h: Likewise.
3560 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3561 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3562
8fbec010
JM
35632013-06-28 Joseph Myers <joseph@codesourcery.com>
3564
3565 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3566 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3567
0432680e
PY
35682013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3569
3570 [BZ #12492]
3571 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3572 mprotect making __stack_prot writable.
3573
ce61a2ad
NF
35742013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3575 Joseph Myers <joseph@codesourcery.com>
3576
3577 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3578 as being properly aligned.
3579
f91f1c0f
MR
35802013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3581
3d0f5d0c
MR
3582 * dlfcn/modstatic5.c: New file.
3583 * dlfcn/tststatic5.c: New file.
3584 * dlfcn/Makefile (tests): Add tststatic5.
3585 (tests-static): Likewise.
3586 (modules-names): Add modstatic5.
3587 (tststatic5-ENV): New variable.
3588 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3589
f91f1c0f
MR
3590 [BZ #15022]
3591 * elf/dl-support.c (_dl_main_map): New variable.
3592 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3593 (_dl_nns, _dl_load_adds): Set to 1.
3594 (_dl_initial_searchlist): Refer to _dl_main_map.
3595 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3596 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3597 call to _dl_get_origin.
3598 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3599 around call_map.
3600 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3601 * dlfcn/modstatic3.c: New file.
3602 * dlfcn/tststatic3.c: New file.
3603 * dlfcn/tststatic4.c: New file.
3604 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3605 (tests-static): Likewise.
3606 (modules-names): Add modstatic3.
3607 (tststatic3-ENV, tststatic4-ENV): New variables.
3608 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3609 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3610
cbe7d24b
JM
36112013-06-26 Joseph Myers <joseph@codesourcery.com>
3612
3613 * configure.in (CC): Require GCC version 4.4 or later.
3614 * configure: Regenerated.
3615 * manual/install.texi (Tools for Compilation): Update GCC version
3616 requirement.
3617 * INSTALL: Regenerated.
3618
11b8a0e1
LD
36192013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3620
3621 [BZ #15674]
bb5bb87c
L
3622 * string/test-memcmp.c (check2): New.
3623 (main): Call check2.
3624
11b8a0e1
LD
3625 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3626
b0037103
MR
36272013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3628
3629 [BZ #15022]
3630 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3631 over to...
3632 (dl_open_worker) [!SHARED]: ... here.
3633
c18c701d
RA
36342013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3635
3636 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3637
1d17fa5f
RH
36382013-06-25 Richard Henderson <rth@redhat.com>
3639
3640 * locale/programs/locarchive.c: Include <libc-internal.h>
3641
8fcb833a
JM
36422013-06-25 Joseph Myers <joseph@codesourcery.com>
3643
3644 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3645 trailing whitespace removed.
3646
17db6e8d
MF
36472013-06-24 Mike Frysinger <vapier@gentoo.org>
3648
3649 [BZ #10283]
17db6e8d
MF
3650 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3651 * locale/programs/locarchive.c: Include libc-mmap.h.
3652 (prepare_address_space): Take two new outputs (the mmap base and len).
3653 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3654 values.
3655 (create_archive): Declare new mmap base and len values for
3656 prepare_address_space, and store the result in ah.
3657 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3658 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3659 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3660 Declare new mmap base and len values for
3661 prepare_address_space, and store the result in new_ah.
3662 (open_archive): Declare new mmap base and len values for
3663 prepare_address_space, and store the result in ah.
3664 (close_archive): If ah->mmap_base is not NULL, use that and
3665 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3666 * sysdeps/generic/libc-mmap.h: New file.
3667
d605071e
MF
36682013-06-24 Mike Frysinger <vapier@gentoo.org>
3669
3670 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3671 (ALIGN_UP): Likewise.
3672 (PTR_ALIGN_DOWN): Likewise.
3673 (PTR_ALIGN_UP): Likewise.
3674
2f063a6e
RA
36752013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3676
3677 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3678 entry mapped to PPC_PLATFORM_POWER8.
3679 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3680 POWER8.
3681 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3682 (_dl_string_platform): Add case for exporting platform position for
3683 POWER8.
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3685 search path to sysdeps/powerpc/powerpc32/power8 directory.
3686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3687 search path to sysdeps/powerpc/powerpc64/power8 directory.
3688 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3689 power7 directories.
3690 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3691 power7 directories.
3692
a31ee4b3
SP
36932013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3694
a74ca98f
SP
3695 * INSTALL: Regenerate.
3696
a31ee4b3
SP
3697 * nscd/connections.c (nscd_init): Fix comment.
3698
695c378f
JM
36992013-06-22 Joseph Myers <joseph@codesourcery.com>
3700
d8412221
JM
3701 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3702
695c378f
JM
3703 [BZ #15667]
3704 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3705 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3706
d1d54715
MR
37072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3708
3709 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3710 DL_DST_REQ_STATIC.
3711 (DL_DST_REQ_STATIC): Remove macro.
3712
8fdda7af
JM
37132013-06-21 Joseph Myers <joseph@codesourcery.com>
3714
3715 [BZ #7006]
3716 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3717 with a shift of 0 bits.
3718
f3bc5e5a
MR
37192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3720
3721 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3722 $(tststatic-ENV).
3723
be09e8c9
KK
37242013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3725
3726 [BZ #15655]
3727 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3728
85c2e611
AZ
37292013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730
3731 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3732 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3733 accepts -fno-tree-loop-distribute-patterns.
3734 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3735 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3736 recursive call.
3737 * string/memset.c (memset): Likewise.
3738 * string/test-memmove.c (simple_memmove): Disable loop transformation
3739 to library calls.
3740 * string/test-memset.c (simple_memset): Likewise.
3741 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3742 * benchtests/bench-memset.c (simple_memset): Likewise.
3743 * configure: Regenerated.
3744
c91e0825
JM
37452013-06-20 Joseph Myers <joseph@codesourcery.com>
3746
b8c792af
JM
3747 * math/test-misc.c (main): Ignore fesetround failure when failures
3748 of subsequent rounding tests would be ignored.
3749
c91e0825
JM
3750 [BZ #15654]
3751 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3752 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3753 * math/fegetenv.c (__fegetenv): Return 0.
3754 * math/fegetexcept.c (fegetexcept): Return 0.
3755 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3756 FE_TONEAREST.
3757 * math/feholdexcpt.c (feholdexcept): Return 0.
3758 * math/fesetenv.c (__fesetenv): Return 0.
3759 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3760 argument FE_TONEAREST.
3761 * math/feupdateenv.c (__feupdateenv): Return 0.
3762 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3763
bfcacbde
RM
37642013-06-18 Roland McGrath <roland@hack.frob.com>
3765
3766 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3767 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3768 ($(objpfx)rtld-%.os rules): Use them.
3769
e55a9b25
AZ
37702013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3771
3772 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3773 fields.
3774
346d65b3
RM
37752013-06-17 Roland McGrath <roland@hack.frob.com>
3776
12086fb4
RM
3777 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3778 length of target pattern, then descending length of dependency pattern.
3779 * configure.in (AWK): Require gawk 3.1.2 or newer.
3780 * manual/install.texi (Tools for Compilation): Say that we do.
3781 * configure: Regenerated.
3782
346d65b3
RM
3783 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3784 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3785 * scripts/sysd-rules.awk: ... this new script.
3786 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3787 than a glob-style pattern.
3788
1a846317
JM
37892013-06-17 Joseph Myers <joseph@codesourcery.com>
3790
3791 * math/test-misc.c (main): Do not treat incorrectly rounded
3792 conversions as failure unless ROUNDING_TESTS passes.
3793
8fc75e6f
JM
37942013-06-15 Joseph Myers <joseph@codesourcery.com>
3795
3711a167
JM
3796 [BZ #15631]
3797 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3798 restore exception state around main square root computation, then
3799 check for inexactness explicitly.
3800
8fc75e6f
JM
3801 * math/libm-test.inc (fma_test_data): Add another test.
3802
61dd6208
SP
38032013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3804
adf23d2c
SP
3805 * manual/threads.texi (Non-POSIX Extensions): New document
3806 node. Document pthread_getattr_default_np and
3807 pthread_setattr_default_np.
3808
61dd6208
SP
3809 * Versions.def (libpthread): Add GLIBC_2.18.
3810 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3812 Likewise.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3814 Likewise.
3815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3816 Likewise.
3817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3818 Likewise.
3819 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3820 Likewise.
3821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3822 Likewise.
3823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3824 Likewise.
3825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3826 Likewise.
3827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3828 Likewise.
3829
d086fc7b
LD
38302013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3831
3832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3833 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3834
747ef469
SP
38352013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3836 H.J. Lu <hjl.tools@gmail.com>
3837
3838 [BZ #15627]
3839 * sysdeps/x86_64/rtld-memset.c: Remove file.
3840 * sysdeps/x86_64/rtld-memset.S: New file.
3841
1b2feed2
JM
38422013-06-14 Joseph Myers <joseph@codesourcery.com>
3843
3844 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3845 (test_in_one_mode): Take arguments for whether the rounding mode
3846 is supported for each floating-point type.
3847 (do_test): Pass new arguments to test_in_one_mode using
3848 ROUNDING_TESTS.
3849
a58ad3f8
RM
38502013-06-13 Roland McGrath <roland@hack.frob.com>
3851
3852 * posix/tst-waitid.c (do_test): Distinguish different instances of
3853 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3854 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3855 before entering the kernel for waitpid.
3856
c204ab28
SP
38572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
3859 * NEWS: Fix note on clock function precision. Text by Roland
3860 McGrath.
3861
f4a29fba
RM
38622013-06-13 Roland McGrath <roland@hack.frob.com>
3863
3864 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3865 it into place only when and if the sanity check passes.
3866
1f24b9ad
JM
38672013-06-13 Joseph Myers <joseph@codesourcery.com>
3868
3869 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3870 output for whether conversion result is exact. Take argument
3871 indicating whether type is IBM long double.
3872 (round_for_all): Change need_exact field to ibm_ld.
3873 * stdlib/tst-strtod-round.c (struct exactness): New type.
3874 (struct test): Change bool ld_ok field to struct exactness exact.
3875 (TEST): Update all definitions for change to field.
3876 (tests): Regenerate array contents.
3877 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3878 field value. Check for IBM long double here.
3879 (do_test): Update calls to test_in_one_mode.
3880
58206c68
SP
38812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3882
3883 [BZ #12515]
3884 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3885 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3886
2d6f4c5b 38872013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3888
3889 [BZ #15605]
3890 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3891 generated by the compiler on loop optimizations.
3892 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3893 general definitions.
3894
94f2c076
JM
38952013-06-12 Joseph Myers <joseph@codesourcery.com>
3896
3897 * math/bug-nextafter.c: Include <math-tests.h>.
3898 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3899 the relevant type.
3900 * math/bug-nexttoward.c: Include <math-tests.h>.
3901 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3902 the relevant type.
3903 * math/test-misc.c: Include <math-tests.h>.
3904 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3905 the relevant type.
3906
e0e50a0a
AJ
39072013-06-12 Andreas Jaeger <aj@suse.de>
3908
3909 * po/ia.po: Update Interlingua translation from translation
3910 project.
3911
25061094
SP
39122013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3913
3914 * include/fenv.h: Include stdbool.h.
3915 (struct rm_ctx): New structure.
3916 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3917 Define macro.
3918 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3919 (SET_RESTORE_ROUNDF): Likewise.
3920 (SET_RESTORE_ROUNDL): Likewise.
3921 (SET_RESTORE_ROUND_NOEX): Likewise.
3922 (SET_RESTORE_ROUND_NOEXF): Likewise.
3923 (SET_RESTORE_ROUND_NOEXL): Likewise.
3924 (SET_RESTORE_ROUND_53BIT): Likewise.
3925 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3926 (libc_feresetround_noexf_ctx): Likewise.
3927 (libc_feresetround_noexl_ctx): Likewise.
3928 (libc_feholdsetround_53bit_ctx): Likewise.
3929 (libc_feresetround_53bit_ctx): Likewise.
3930 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3931 (libc_feholdexcept_setround_sse_ctx): New function.
3932 (libc_fesetenv_sse_ctx): Likewise.
3933 (libc_feupdateenv_sse_ctx): Likewise.
3934 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3935 (libc_feholdexcept_setround_387_ctx): Likewise.
3936 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3937 (libc_feholdsetround_387_prec_ctx): Likewise.
3938 (libc_feholdsetround_387_ctx): Likewise.
3939 (libc_feholdsetround_387_53bit_ctx): Likewise.
3940 (libc_feholdsetround_sse_ctx): Likewise.
3941 (libc_feresetround_sse_ctx): Likewise.
3942 (libc_feresetround_387_ctx): Likewise.
3943 (libc_feupdateenv_387_ctx): Likewise.
3944 (libc_feholdexcept_setroundf_ctx): Define macro.
3945 (libc_fesetenvf_ctx): Likewise.
3946 (libc_feupdateenvf_ctx): Likewise.
3947 (libc_feholdsetroundf_ctx): Likewise.
3948 (libc_feresetroundf_ctx): Likewise.
3949 (libc_feholdexcept_setround_ctx): Likewise.
3950 (libc_fesetenv_ctx): Likewise.
3951 (libc_feupdateenv_ctx): Likewise.
3952 (libc_feholdsetround_ctx): Likewise.
3953 (libc_feresetround_ctx): Likewise.
3954 (libc_feholdexcept_setroundl_ctx): Likewise.
3955 (libc_feupdateenvl_ctx): Likewise.
3956 (libc_feholdsetroundl_ctx): Likewise.
3957 (libc_feresetroundl_ctx): Likewise.
3958 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3959 (libc_feresetround_53bit_ctx): Likewise.
3960
59b30555
SP
39612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3962
3963 * locale/iso-639.def: Convert to UTF-8.
3964
f1d73d30
JM
39652013-06-11 Joseph Myers <joseph@codesourcery.com>
3966
3967 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3968 (EXCEPTION_TESTS_double): Likewise.
3969 (EXCEPTION_TESTS_long_double): Likewise.
3970 (EXCEPTION_TESTS): Likewise.
3971 * math/libm-test.inc (test_exceptions): Only test exceptions if
3972 EXCEPTION_TESTS (FLOAT).
3973
94aca5e7
SP
39742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3975
3976 * benchtests/Makefile (string-bench): Add strcpy_chk and
3977 stpcpy_chk.
3978 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3979 * benchtests/bench-stpcpy_chk.c: New file.
3980 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3981 * benchtests/bench-strcpy_chk.c: New file.
3982 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3983 code.
3984 (do_test): Likewise.
3985
fac0c5f2
RA
39862013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3987
3988 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3989 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3990 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3991 with tabs where appropriate.
3992 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3993 dl-procinfo.h.
3994 [PPC_PLATFORM_PPC440]: Likewise.
3995 [PPC_PLATFORM_PPC464]: Likewise.
3996 [PPC_PLATFORM_PPC476]: Likewise.
3997 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3998 ppc464, and ppc476 platform strings merging from ports/
3999 dl-procinfo.h.
4000
f22bc486
AS
40012013-06-11 Andreas Schwab <schwab@suse.de>
4002
4003 [BZ #14991]
4004 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4005 (from_ucs4_idx): Regenerate.
4006 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4007 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4008 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4009 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4010 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4011 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4012 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4013 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4014 from FROM_LOOP and TO_LOOP specific macros.
4015 (BODY): Handle combining characters.
4016 * iconvdata/BIG5HKSCS.irreversible: Update.
4017 * iconvdata/BIG5HKSCS.precomposed: New file.
4018 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4019 characters.
4020 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4021
c1f75dc3
SP
40222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4023
4eacded2
SP
4024 * include/sys/time.h: Fix indentation and add copyright header.
4025
fec799f8
SP
4026 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4027 (do_test): Likewise.
4028 * string/test-memchr.c (do_one_test): Likewise.
4029 (do_test): Likewise.
4030 * string/test-memcmp.c (do_one_test): Likewise.
4031 (do_test): Likewise.
4032 * string/test-memcpy.c (do_one_test): Likewise.
4033 (do_test): Likewise.
4034 * string/test-memmem.c (do_one_test): Likewise.
4035 (do_test): Likewise.
4036 (do_random_tests): Likewise.
4037 * string/test-memmove.c (do_one_test): Likewise.
4038 (do_test): Likewise.
4039 * string/test-memset.c (do_one_test): Likewise.
4040 (do_test): Likewise.
4041 * string/test-rawmemchr.c (do_one_test): Likewise.
4042 (do_test): Likewise.
4043 * string/test-strcasecmp.c (do_one_test): Likewise.
4044 (do_test): Likewise.
4045 * string/test-strcasestr.c (do_one_test): Likewise.
4046 (do_test): Likewise.
4047 * string/test-strcat.c (do_one_test): Likewise.
4048 (do_test): Likewise.
4049 * string/test-strchr.c (do_one_test): Likewise.
4050 (do_test): Likewise.
4051 * string/test-strcmp.c (do_one_test): Likewise.
4052 (do_test): Likewise.
4053 * string/test-strcpy.c (do_one_test): Likewise.
4054 (do_test): Likewise.
4055 * string/test-string.h: Likewise.
4056 (test_init): Likewise.
4057 * string/test-strlen.c (do_one_test): Likewise.
4058 (do_test): Likewise.
4059 * string/test-strncasecmp.c (do_one_test): Likewise.
4060 (do_test): Likewise.
4061 * string/test-strncat.c (do_one_test): Likewise.
4062 (do_test): Likewise.
4063 * string/test-strncmp.c (do_one_test): Likewise.
4064 (do_test_limit): Likewise.
4065 (do_test): Likewise.
4066 * string/test-strncpy.c (do_one_test): Likewise.
4067 (do_test): Likewise.
4068 * string/test-strnlen.c (do_one_test): Likewise.
4069 (do_test): Likewise.
4070 * string/test-strpbrk.c (do_one_test): Likewise.
4071 (do_test): Likewise.
4072 * string/test-strrchr.c (do_one_test): Likewise.
4073 (do_test): Likewise.
4074 * string/test-strspn.c (do_one_test): Likewise.
4075 (do_test): Likewise.
4076 * string/test-strstr.c (do_one_test): Likewise.
4077 (do_test): Likewise.
4078
97020474
SP
4079 * benchtests/Makefile (string-bench): Add string benchmarks.
4080 * benchtests/bench-bcopy-ifunc.c: New file.
4081 * benchtests/bench-bcopy.c: New file.
4082 * benchtests/bench-bzero-ifunc.c: New file.
4083 * benchtests/bench-bzero.c: New file.
4084 * benchtests/bench-memccpy-ifunc.c: New file.
4085 * benchtests/bench-memccpy.c: New file.
4086 * benchtests/bench-memchr-ifunc.c: New file.
4087 * benchtests/bench-memchr.c: New file.
4088 * benchtests/bench-memcmp-ifunc.c: New file.
4089 * benchtests/bench-memcmp.c: New file.
4090 * benchtests/bench-memmem-ifunc.c: New file.
4091 * benchtests/bench-memmem.c: New file.
4092 * benchtests/bench-memmove-ifunc.c: New file.
4093 * benchtests/bench-memmove.c: New file.
4094 * benchtests/bench-mempcpy-ifunc.c: New file.
4095 * benchtests/bench-mempcpy.c: New file.
4096 * benchtests/bench-memset-ifunc.c: New file.
4097 * benchtests/bench-memset.c: New file.
4098 * benchtests/bench-rawmemchr-ifunc.c: New file.
4099 * benchtests/bench-rawmemchr.c: New file.
4100 * benchtests/bench-stpcpy-ifunc.c: New file.
4101 * benchtests/bench-stpcpy.c: New file.
4102 * benchtests/bench-stpncpy-ifunc.c: New file.
4103 * benchtests/bench-stpncpy.c: New file.
4104 * benchtests/bench-strcasecmp-ifunc.c: New file.
4105 * benchtests/bench-strcasecmp.c: New file.
4106 * benchtests/bench-strcasestr-ifunc.c: New file.
4107 * benchtests/bench-strcasestr.c: New file.
4108 * benchtests/bench-strcat-ifunc.c: New file.
4109 * benchtests/bench-strcat.c: New file.
4110 * benchtests/bench-strchr-ifunc.c: New file.
4111 * benchtests/bench-strchr.c: New file.
4112 * benchtests/bench-strchrnul-ifunc.c: New file.
4113 * benchtests/bench-strchrnul.c: New file.
4114 * benchtests/bench-strcmp-ifunc.c: New file.
4115 * benchtests/bench-strcmp.c: New file.
4116 * benchtests/bench-strcpy-ifunc.c: New file.
4117 * benchtests/bench-strcpy.c: New file.
4118 * benchtests/bench-strcspn-ifunc.c: New file.
4119 * benchtests/bench-strcspn.c: New file.
4120 * benchtests/bench-strlen-ifunc.c: New file.
4121 * benchtests/bench-strlen.c: New file.
4122 * benchtests/bench-strncasecmp-ifunc.c: New file.
4123 * benchtests/bench-strncasecmp.c: New file.
4124 * benchtests/bench-strncat-ifunc.c: New file.
4125 * benchtests/bench-strncat.c: New file.
4126 * benchtests/bench-strncmp-ifunc.c: New file.
4127 * benchtests/bench-strncmp.c: New file.
4128 * benchtests/bench-strncpy-ifunc.c: New file.
4129 * benchtests/bench-strncpy.c: New file.
4130 * benchtests/bench-strnlen-ifunc.c: New file.
4131 * benchtests/bench-strnlen.c: New file.
4132 * benchtests/bench-strpbrk-ifunc.c: New file.
4133 * benchtests/bench-strpbrk.c: New file.
4134 * benchtests/bench-strrchr-ifunc.c: New file.
4135 * benchtests/bench-strrchr.c: New file.
4136 * benchtests/bench-strspn-ifunc.c: New file.
4137 * benchtests/bench-strspn.c: New file.
4138 * benchtests/bench-strstr-ifunc.c: New file.
4139 * benchtests/bench-strstr.c: New file.
4140
c1f75dc3
SP
4141 * benchtests/Makefile: Disable parallel execution of targets.
4142 (string-bench): Add memcpy.
4143 (benchset): New variable to store a list of benchmark sets.
4144 (bench-func): Renamed from bench.
4145 (bench-set): New target.
4146 (bench): Depend on bench-func and bench-set.
4147 * benchtests/README: Add section on benchmark sets.
4148 * benchtests/bench-memcpy-ifunc.c: New file.
4149 * benchtests/bench-memcpy.c: New file.
4150 * benchtests/bench-string.h: New file.
4151
50fd745b
AS
41522013-06-11 Andreas Schwab <schwab@suse.de>
4153
4154 [BZ #15577]
4155 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4156 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4157 values in the triple.
4158 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4159 terminator in the group key.
4160
3ee7e9fe
AJ
41612013-06-11 Andreas Jaeger <aj@suse.de>
4162
4163 * po/zh_TW.po: Update Chinese (traditional) translation from
4164 translation project.
4165
89fb6835
SP
41662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4167
4168 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4169 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4170 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4171 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4172 (clock_getcpuclockid): Likewise.
4173 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4174 Add weak_alias and libc_hidden_def.
4175 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4176 * rt/clock_gettime.c (clock_gettime): Rename to
4177 __clock_gettime. Add weak_alias and libc_hidden_def.
4178 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4179 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4180 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4181 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4182 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4183 Likewise.
4184 * rt/clock_settime.c (clock_settime): Rename to
4185 __clock_settime. Add weak_alias and libc_hidden_def.
4186 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4187
0efa6f8b
JM
41882013-06-10 Joseph Myers <joseph@codesourcery.com>
4189
b8c61b4b
JM
4190 * mach/err_boot.sub: Remove trailing whitespace.
4191 * mach/err_ipc.sub: Likewise.
4192 * mach/err_mach.sub: Likewise.
4193
0efa6f8b
JM
4194 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4195 (ROUNDING_TESTS_double): Likewise.
4196 (ROUNDING_TESTS_long_double): Likewise.
4197 (ROUNDING_TESTS): Likewise.
4198 * math/libm-test.inc: Include <math-tests.h>.
4199 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4200 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4201 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4202 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4203
50b818bf
SP
42042013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4205
4206 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4207 of assigning.
4208
60d2f8f3
JM
42092013-06-08 Joseph Myers <joseph@codesourcery.com>
4210
4902d2c3
JM
4211 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4212 otherwise empty TRANS lines.
4213 * sysdeps/gnu/errlist.c: Regenerated.
4214
60d2f8f3
JM
4215 * catgets/gencat.c (error_print): Use (void) in function
4216 definition.
4217 * crypt/crypt_util.c (__init_des): Likewise.
4218 * crypt/speeds.c (Stop): Likewise.
4219 (main): Likewise.
4220 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4221 * inet/ruserpass.c (token): Likewise.
4222 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4223 * intl/localealias.c (extend_alias_table): Likewise.
4224 * intl/plural-exp.c (init_germanic_plural): Likewise.
4225 * libio/fcloseall.c (__fcloseall): Likewise.
4226 * libio/genops.c (_IO_flush_all): Likewise.
4227 (_IO_flush_all_linebuffered): Likewise.
4228 (_IO_cleanup): Likewise.
4229 (_IO_iter_begin): Likewise.
4230 (_IO_iter_end): Likewise.
4231 (_IO_list_lock): Likewise.
4232 (_IO_list_unlock): Likewise.
4233 (_IO_list_resetlock): Likewise.
4234 * libio/getchar.c (getchar): Likewise.
4235 * libio/getchar_u.c (getchar_unlocked): Likewise.
4236 * libio/getwchar.c (getwchar): Likewise.
4237 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4238 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4239 * login/getpt.c (__getpt): Likewise.
4240 * login/tst-utmp.c (main): Likewise.
4241 * malloc/hooks.c (__malloc_check_init): Likewise.
4242 * malloc/malloc.c (__malloc_stats): Likewise.
4243 * malloc/mtrace.c (tr_break): Likewise.
4244 (mtrace): Likewise.
4245 (muntrace): Likewise.
4246 * misc/fstab.c (endfsent): Likewise.
4247 * misc/getclktck.c (__getclktck): Likewise.
4248 * misc/getdtsz.c (__getdtablesize): Likewise.
4249 * misc/gethostid.c (gethostid): Likewise.
4250 * misc/getpagesize.c (__getpagesize): Likewise.
4251 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4252 (__get_nprocs): Likewise.
4253 (__get_phys_pages): Likewise.
4254 (__get_avphys_pages): Likewise.
4255 * misc/getttyent.c (getttyent): Likewise.
4256 (setttyent): Likewise.
4257 (endttyent): Likewise.
4258 * misc/getusershell.c (getusershell): Likewise.
4259 (endusershell): Likewise.
4260 (setusershell): Likewise.
4261 (initshells): Likewise.
4262 * misc/hsearch.c (__hdestroy): Likewise.
4263 * misc/sync.c (sync): Likewise.
4264 * misc/syslog.c (closelog_internal): Likewise.
4265 (closelog): Likewise.
4266 * misc/ttyslot.c (ttyslot): Likewise.
4267 * misc/vhangup.c (vhangup): Likewise.
4268 * posix/fork.c (__fork): Likewise.
4269 * posix/getegid.c (__getegid): Likewise.
4270 * posix/geteuid.c (__geteuid): Likewise.
4271 * posix/getgid.c (__getgid): Likewise.
4272 * posix/getpid.c (__getpid): Likewise.
4273 * posix/getppid.c (__getppid): Likewise.
4274 * posix/getuid.c (__getuid): Likewise.
4275 * posix/pause.c (pause): Likewise.
4276 * posix/setpgrp.c (setpgrp): Likewise.
4277 * posix/setsid.c (__setsid): Likewise.
4278 * posix/test-vfork.c (noop): Likewise.
4279 * resolv/gethnamaddr.c (_endhtent): Likewise.
4280 (_gethtent): Likewise.
4281 (ht_endhostent): Likewise.
4282 (gethostent): Likewise.
4283 (dns_service): Likewise.
4284 * stdlib/drand48.c (drand48): Likewise.
4285 * stdlib/lrand48.c (lrand48): Likewise.
4286 * stdlib/mrand48.c (mrand48): Likewise.
4287 * stdlib/rand.c (rand): Likewise.
4288 * stdlib/random.c (__random): Likewise.
4289 * stdlib/setenv.c (clearenv): Likewise.
4290 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4291 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4292 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4293 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4294 (__get_nprocs): Likewise.
4295 (__get_phys_pages): Likewise.
4296 (__get_avphys_pages): Likewise.
4297 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4298 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4299 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4300 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4301 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4302 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4303 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4304 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4305 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4306 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4307 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4308 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4309 * sysdeps/posix/clock.c (clock): Likewise.
4310 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4311 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4312 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4313 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4314 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4315 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4316 (__get_nprocs_conf): Likewise.
4317 (__get_phys_pages): Likewise.
4318 (__get_avphys_pages): Likewise.
4319 * time/clock.c (clock): Likewise.
4320 * time/tzset.c (__tzname_max): Likewise.
4321
2e09a79a
JM
43222013-06-07 Joseph Myers <joseph@codesourcery.com>
4323
4324 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4325 (__bswap_32): Do not use "register".
4326 * crypt/crypt.c (_ufc_doit_r): Likewise.
4327 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4328 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4329 * gmon/gmon.c (__monstartup): Likewise.
4330 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4331 * hurd/hurdmalloc.c (more_memory): Likewise.
4332 (malloc): Likewise.
4333 (free): Likewise.
4334 (realloc): Likewise.
4335 (malloc_fork_prepare): Likewise.
4336 (malloc_fork_parent): Likewise.
4337 (malloc_fork_child): Likewise.
4338 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4339 (_svcauth_des): Likewise.
4340 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4341 * inet/inet_net.c (inet_network): Likewise.
4342 * inet/inet_netof.c (inet_netof): Likewise.
4343 * inet/rcmd.c (__validuser2_sa): Likewise.
4344 * io/fts.c (fts_open): Likewise.
4345 (fts_load): Likewise.
4346 (fts_close): Likewise.
4347 (fts_read): Likewise.
4348 (fts_children): Likewise.
4349 (fts_build): Likewise.
4350 (fts_stat): Likewise.
4351 (fts_sort): Likewise.
4352 (fts_alloc): Likewise.
4353 (fts_lfree): Likewise.
4354 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4355 (_IO_file_xsgetn): Likewise.
4356 (_IO_file_xsgetn_mmap): Likewise.
4357 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4358 (_IO_cookie_write): Likewise.
4359 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4360 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4361 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4362 * malloc/obstack.c (_obstack_begin): Likewise.
4363 (_obstack_begin_1): Likewise.
4364 (_obstack_newchunk): Likewise.
4365 (_obstack_allocated_p): Likewise.
4366 (obstack_free): Likewise.
4367 (_obstack_memory_used): Likewise.
4368 * misc/getttyent.c (getttynam): Likewise.
4369 (getttyent): Likewise.
4370 (skip): Likewise.
4371 (value): Likewise.
4372 * misc/getusershell.c (initshells): Likewise.
4373 * misc/syslog.c (__vsyslog_chk): Likewise.
4374 * misc/ttyslot.c (ttyslot): Likewise.
4375 * nis/nis_hash.c (__nis_hash): Likewise.
4376 * posix/fnmatch_loop.c (FCT): Likewise.
4377 * posix/getconf.c (print_all): Likewise.
4378 (main): Likewise.
4379 * posix/getopt.c (exchange): Likewise.
4380 * posix/glob.c (globfree): Likewise.
4381 (prefix_array): Likewise.
4382 (__glob_pattern_type): Likewise.
4383 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4384 (NS_GET32): Likewise.
4385 (NS_PUT16): Likewise.
4386 (NS_PUT32): Likewise.
4387 * resolv/gethnamaddr.c (getanswer): Likewise.
4388 (gethostbyname2): Likewise.
4389 (gethostbyaddr): Likewise.
4390 (_gethtent): Likewise.
4391 (_gethtbyname2): Likewise.
4392 (_gethtbyaddr): Likewise.
4393 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4394 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4395 * resolv/res_init.c (__res_vinit): Likewise.
4396 (net_mask): Likewise.
4397 * resolv/res_mkquery.c (outchar): Likewise.
4398 (PRINT): Likewise.
4399 * stdio-common/printf_fp.c (outchar): Likewise.
4400 (PRINT): Likewise.
4401 * stdio-common/printf_fphex.c (outchar): Likewise.
4402 (PRINT): Likewise.
4403 * stdio-common/printf_size.c (outchar): Likewise.
4404 (PRINT): Likewise.
4405 * stdio-common/test_rdwr.c (main): Likewise.
4406 * stdio-common/tfformat.c (matches): Likewise.
4407 * stdio-common/vfprintf.c (outchar): Likewise.
4408 (printf_unknown): Likewise.
4409 (buffered_vfprintf): Likewise.
4410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4411 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4412 (ReadFile): Likewise.
4413 * stdlib/qsort.c (SWAP): Likewise.
4414 (_quicksort): Likewise.
4415 * stdlib/setenv.c (__add_to_environ): Likewise.
4416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4417 * stdlib/strtol_l.c (__strtol_l): Likewise.
4418 * stdlib/tst-strtod.c (main): Likewise.
4419 * stdlib/tst-strtol.c (main): Likewise.
4420 * stdlib/tst-strtoll.c (main): Likewise.
4421 * string/bits/string2.h (__strcmp_cc): Likewise.
4422 (__strcmp_cg): Likewise.
4423 (__strcspn_c1): Likewise.
4424 (__strcspn_c2): Likewise.
4425 (__strcspn_c3): Likewise.
4426 (__strspn_c1): Likewise.
4427 (__strspn_c2): Likewise.
4428 (__strspn_c3): Likewise.
4429 (__strsep_1c): Likewise.
4430 (__strsep_2c): Likewise.
4431 (__strsep_3c): Likewise.
4432 * string/memccpy.c (__memccpy): Likewise.
4433 * string/stpcpy.c (__stpcpy): Likewise.
4434 * string/strcmp.c (strcmp): Likewise.
4435 * string/strrchr.c (strrchr): Likewise.
4436 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4437 Likewise.
4438 * sysdeps/mach/hurd/getcwd.c
4439 (_hurd_canonicalize_directory_name_internal): Likewise.
4440 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4441 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4442 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4443 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4444 Likewise, in both definitions.
4445 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4446 definitions.
4447 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4448 64] (__bswap_64): Likewise.
4449 * time/test_time.c (main): Likewise.
4450 * time/tzfile.c (__tzfile_read): Likewise.
4451 (__tzfile_compute): Likewise.
4452 * time/tzset.c (__tzset_parse_tz): Likewise.
4453 (tzset_internal): Likewise.
4454 (compute_change): Likewise.
4455 * wcsmbs/wcscat.c (__wcscat): Likewise.
4456 * wcsmbs/wcschr.c (wcschr): Likewise.
4457 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4458 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4459 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4460 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4461 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4462 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4463 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4464 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4465 * wcsmbs/wmemset.c (wmemset): Likewise.
4466
9e54314b
JM
44672013-06-06 Joseph Myers <joseph@codesourcery.com>
4468
4469 * scripts/config.guess: Update to version 2013-05-16.
4470 * scripts/config.sub: Update to version 2013-04-24.
4471 * scripts/install-sh: Update to version 2011-11-20.07.
4472 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4473 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4474
350635a5
OB
44752013-06-06 Ondřej Bílka <neleai@seznam.cz>
4476
4477 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4478 * elf/sln.c: Likewise.
4479 * hurd/hurd/ioctl.h: Likewise.
4480 * hurd/hurdmalloc.c: Likewise.
4481 * hurd/xattr.c: Likewise.
4482 * include/shlib-compat.h: Likewise.
4483 * inet/ruserpass.c: Likewise.
4484 * libio/iofgets_u.c: Likewise.
4485 * libio/iofgetws_u.c: Likewise.
4486 * locale/programs/ld-identification.c: Likewise.
4487 * locale/programs/ld-time.c: Likewise.
4488 * mach/msg-destroy.c: Likewise.
4489 * nss/nss_files/files-netgrp.c: Likewise.
4490 * resolv/res_data.c: Likewise.
4491 * soft-fp/op-1.h: Likewise.
4492 * soft-fp/op-2.h: Likewise.
4493 * soft-fp/op-4.h: Likewise.
4494 * soft-fp/op-common.h: Likewise.
4495 * stdio-common/printf_fphex.c: Likewise.
4496 * stdlib/strtod_l.c: Likewise.
4497 * sunrpc/rpc/clnt.h: Likewise.
4498 * sysdeps/generic/framestate.c: Likewise.
4499 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4500 * sysdeps/i386/bsd-setjmp.S: Likewise.
4501 * sysdeps/i386/__longjmp.S: Likewise.
4502 * sysdeps/i386/setjmp.S: Likewise.
4503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4506 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4508 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4510 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4513 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4521 * sysdeps/ieee754/support.c: Likewise.
4522 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4523 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4524 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4525 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4526 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4527 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4528 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4529 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4530 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4531 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4532 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4533 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4534 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4537 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4538 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4540
44a988af
OB
45412013-06-05 Ondřej Bílka <neleai@seznam.cz>
4542
25506f09 4543 * posix/transbug.c: Remove executable mode.
44a988af 4544
9c84384c
JM
45452013-06-05 Joseph Myers <joseph@codesourcery.com>
4546
4547 * crypt/speeds.c: Remove trailing whitespace.
4548 * dlfcn/default.c: Likewise.
4549 * elf/ifuncdep2.c: Likewise.
4550 * elf/ifuncmain1.c: Likewise.
4551 * elf/ifuncmain1vis.c: Likewise.
4552 * elf/testobj.h: Likewise.
4553 * elf/tst-stackguard1.c: Likewise.
4554 * gmon/sys/gmon.h: Likewise.
4555 * hurd/hurdmsg.c: Likewise.
4556 * hurd/new-fd.c: Likewise.
4557 * hurd/ports-get.c: Likewise.
4558 * iconvdata/ibm1008_420.c: Likewise.
4559 * inet/tst-getni1.c: Likewise.
4560 * inet/tst-getni2.c: Likewise.
4561 * libio/ioungetc.c: Likewise.
4562 * libio/wfiledoalloc.c: Likewise.
4563 * manual/libm-err-tab.pl: Likewise.
4564 * math/w_dremf.c: Likewise.
4565 * misc/ftruncate.c: Likewise.
4566 * posix/bug-glob2.c: Likewise.
4567 * posix/tst-pcre.c: Likewise.
4568 * posix/wait4.c: Likewise.
4569 * resolv/README: Likewise.
4570 * resolv/res_debug.h: Likewise.
4571 * resolv/tst-inet_ntop.c: Likewise.
4572 * setjmp/bug269-setjmp.c: Likewise.
4573 * soft-fp/extended.h: Likewise.
4574 * soft-fp/op-1.h: Likewise.
4575 * soft-fp/op-2.h: Likewise.
4576 * soft-fp/op-4.h: Likewise.
4577 * soft-fp/op-8.h: Likewise.
4578 * soft-fp/testit.c: Likewise.
4579 * stdio-common/bug16.c: Likewise.
4580 * stdlib/random.c: Likewise.
4581 * sunrpc/rpcsvc/rquota.x: Likewise.
4582 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4587 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4588 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4591 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4592 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4594 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4595 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4596 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4597 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4598 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4600 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4601 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4602 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4603 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4604 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4608 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4609 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4611 * sysdeps/ieee754/s_lib_version.c: Likewise.
4612 * sysdeps/mach/hurd/check_fds.c: Likewise.
4613 * sysdeps/mach/hurd/getsockname.c: Likewise.
4614 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4615 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4616 * sysdeps/powerpc/bits/link.h: Likewise.
4617 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4618 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4619 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4620 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4621 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4622 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4623 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4624 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4625 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4626 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4627 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4628 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4629 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4630 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4631 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4637 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4638 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4640 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4641 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4642 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4644 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4646 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4649 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4650 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4651 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4652 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4653 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4654 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4655 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4656 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4657 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4658 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4659 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4660 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4661 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4662 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4663 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4664 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4665 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4666 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4669 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4670 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4671 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4672 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4673 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4674 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4675 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4676 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4679 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4680 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4681 * sysdeps/powerpc/sysdep.h: Likewise.
4682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4683 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4684 * sysdeps/sh/dl-trampoline.S: Likewise.
4685 * sysdeps/sh/memset.S: Likewise.
4686 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4687 * sysdeps/sh/strlen.S: Likewise.
4688 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4689 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4690 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4691 * sysdeps/sparc/sparc32/rem.S: Likewise.
4692 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4693 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4694 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4695 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4696 * sysdeps/sparc/sparc32/urem.S: Likewise.
4697 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4698 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4699 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4700 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4702 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4703 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4704 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4705 * sysdeps/unix/bsd/times.c: Likewise.
4706 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4707 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4712 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4713 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4714 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4715 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4716 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4717 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4718 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4720 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4721 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4722 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4723 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4724 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4725 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4726 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4727 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4728 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4729 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4730 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4731 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4732 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4733 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4734 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4735 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4736 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4737 * sysdeps/x86_64/strcspn.S: Likewise.
4738
869378a5
RA
47392013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4740
4741 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4742 generated file. Regenerate properly from gen-translit.pl.
4743 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4744 locale/C-translit.h.
4745
840e2943
AS
47462013-06-05 Andreas Schwab <schwab@suse.de>
4747
4748 [BZ #15100]
4749 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4750 week as 6 instead of -1.
4751 * time/tst-strptime.c (day_tests): Add test case.
4752
4c60cb0c
SP
47532013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4754
4755 * sysdeps/generic/math_private.h
4756 (libc_feholdexcept_setround_53bit): Replace with
4757 libc_feholdsetround_53bit.
4758 (libc_feupdateenv_53bit): Replace with
4759 libc_feresetround_53bit.
4760 (SET_RESTORE_ROUND_53BIT): Adjust.
4761
d180203e
SP
47622013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4763
96df079a
SP
4764 * string/test-strchrnul.c: Add copyright header.
4765
d180203e
SP
4766 * posix/tst-getaddrinfo4.c: Increase test timeout.
4767
8b0ccb2d
CD
47682013-06-03 Carlos O'Donell <carlos@redhat.com>
4769
4770 [BZ #15536]
4771 * math/libm-test.inc (MAX_EXP): Remove
4772 (MIN_EXP): Define.
4773 (ulp): Use MIN_EXP - MANT_DIG.
4774 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4775
3b3c4d40
CD
47762013-05-31 Carlos O'Donell <carlos@redhat.com>
4777
4778 * po/be.po: Revert last change.
4779 * po/zh_CN.po: Likewise.
4780 * po/header.pot: Likewise.
4781
fab7ce3f
JM
47822013-05-31 Joseph Myers <joseph@codesourcery.com>
4783
4784 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4785 link-libc-deps to empty as target-specific variable.
4786 * Makerules (link-libc-args): New variable.
4787 (libc-for-link): Likewise.
4788 (link-libc-deps): Likewise.
4789 (lib%.so): Depend on $(link-libc-deps). Link with
4790 $(link-libc-args).
4791 (build-module): Link with $(link-libc-args).
4792 (build-module-asneeded): Likewise.
4793 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4794 list of objects.
4795 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4796 target-specific variable.
4797 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4798 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4799 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4800 libc.
4801 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4802 libc and ld.so.
4803 ($(objpfx)libpcprofile.so): Likewise.
4804 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4805 libc_nonshared.a.
4806 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4807 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4808 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4809 $(link-libc-deps).
4810 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4811 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4812 * login/Makefile ($(objpfx)libutil.so): Likewise.
4813 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4814 * math/Makefile ($(objpfx)libm.so): Likewise.
4815 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4816 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4817 variable instead of depending directly on libc.
4818 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4819 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4820 $(link-libc-deps).
4821 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4822 libc.
4823 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4824 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4825 ($(objpfx)libanl.so): Likewise.
4826 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4827 ld.so.
4828 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4829 $(link-libc-deps).
4830 * sysdeps/i386/fpu/Makefile: Remove file.
4831 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4832 ($(objpfx)libm.so): Remove dependency on ld.so.
4833
eca5920c
PF
48342013-05-30 Patsy Franklin <pfrankli@redhat.com>
4835
4836 [BZ # 15553]
4837 * nis/yp_xdr.c (XDRMAXNAME): Define.
4838 (XDRMAXRECORD): Define.
4839 (xdr_domainname): Use XDRMAXNAME.
4840 (xdr_mapname): Likewise.
4841 (xdr_peername): Likewise.
4842 (xdr_keydat): Use XDRMAXRECORD.
4843 (xdr_valdat): Likewise.
4844
48452013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4846
4847 [BZ #14256]
4848 * manual/errno.texi (ESTALE): Update to account for more than
4849 just NFS file systems.
4850 * sysdeps/gnu/errlist.c: Regenerated.
4851
b9375348
SP
48522013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4853
4854 [BZ #15465]
4855 * elf/Makefile (tests): Add tst-null-argv.
4856 (modules-names): Add tst-null-argv-lib.
4857 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4858 (tst-null-argv-ENV): Set environment for tst-null-argv.
4859 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4860 (RTLD_PROGNAME): New macro.
4861 * elf/tst-null-argv.c: New test case.
4862 * elf/tst-null-argv-lib.c: Library for test case.
4863 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4864 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4865 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4866 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4867 * elf/dl-init.c (call_init): Likewise.
4868 (_dl_init): Likewise.
4869 * elf/dl-load.c (print_search_path): Likewise.
4870 (_dl_map_object): Likewise.
4871 * elf/dl-lookup.c (do_lookup_x): Likewise.
4872 (add_dependency): Likewise.
4873 (_dl_lookup_symbol_x): Likewise.
4874 (_dl_debug_bindings): Likewise.
4875 * elf/dl-open.c (_dl_show_scope): Likewise.
4876 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4877 * elf/dl-version.c (match_symbol): Likewise.
4878 (_dl_check_map_versions): Likewise.
4879 * elf/rtld.c (dl_main): Likewise.
4880 (print_unresolved): Use RTLD_PROGNAME.
4881 (print_missing_version): Likewise.
4882 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4883 (elf_machine_rela): Likewise.
4884 * sysdeps/powerpc/powerpc32/dl-machine.c
4885 (__process_machine_rela): Likewise.
4886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4887 Likewise.
4888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4889 Likewise.
4890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4891 Likewise.
4892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4894 Likewise.
4895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4896 Likewise.
4897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4898
8a9f20c8
CD
48992013-05-28 Carlos O'Donell <carlos@redhat.com>
4900
4901 * po/be.po: Add descriptive title.
4902 * po/zh_CN.po: Likewise.
4903 * po/header.pot: Likewise.
4904
0e60d68e
MF
49052013-05-28 Mike Frysinger <vapier@gentoo.org>
4906
4907 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4908 error message.
4909 (enlarge_archive): Likewise.
4910
56b672e9
BN
49112013-05-28 Ben North <ben@redfrontdoor.org>
4912
4913 * manual/arith.texi (frexp): It is the magnitude of the return
4914 value which lies in [0.5, 1), not the return value itself.
4915
5e056687
AZ
49162013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4917
4918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4919
2b66ef5d
TS
49202013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4921
528c2405
TS
4922 * stdio-common/bug26.c (main): Correct fscanf template.
4923
07b4c13d
TS
4924 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4925 declare _dl_skip_args.
4926
ec9dd97c
TS
4927 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4928 Don't declare.
4929
2b66ef5d
TS
4930 * manual/platform.texi: Add missing @end deftypefun.
4931
4f8dfe27
JM
49322013-05-24 Joseph Myers <joseph@codesourcery.com>
4933
0323d086
JM
4934 [BZ #15529]
4935 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4936 bit of mantissa of 2^16382.
4937 * math/libm-test.inc (hypot_test_data): Add more tests.
4938
dd4259b9
JM
4939 * math/libm-test.inc: Add drem and pow10 to list of tested
4940 functions.
4941 (pow10_test): New function.
4942 (drem_test): Likewise.
4943 (drem_test_tonearest): Likewise.
4944 (drem_test_towardzero): Likewise.
4945 (drem_test_downward): Likewise.
4946 (drem_test_upward): Likewise.
4947 (main): Call the new functions.
4948
4f8dfe27
JM
4949 * math/libm-test.inc (finite_test_data): Remove.
4950 (finite_test): Run tests from isfinite_test_data.
4951 (gamma_test_data): Remove.
4952 (gamma_test): Run tests from lgamma_test_data.
4953 * sysdeps/i386/fpu/libm-test-ulps: Update.
4954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4955
d116b7c4
AZ
49562013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4957
4958 * manual/platform.texi: Add PowerPC PPR function set documentation.
4959 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4960 implementation.
4961
e96e3767
CD
49622013-05-24 Carlos O'Donell <carlos@redhat.com>
4963
4964 * math/libm-test.inc (MAX_EXP): Define.
4965 (ULPDIFF): Define.
4966 (ulp): New function.
4967 (check_float_internal): Use ULPDIFF.
4968 (cpow_test): Disable failing test.
4969 (check_ulp): Test ulp() implemetnation.
4970 (main): Call check_ulp before starting tests.
4971
b679a606
JM
49722013-05-24 Joseph Myers <joseph@codesourcery.com>
4973
e8bdba36
JM
4974 * math/gen-libm-test.pl (generate_testfile): Do not handle
4975 START_DATA and END_DATA.
4976 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4977 END_DATA.
4978 (acos_tonearest_test_data): Likewise.
4979 (acos_towardzero_test_data): Likewise.
4980 (acos_downward_test_data): Likewise.
4981 (acos_upward_test_data): Likewise.
4982 (acosh_test_data): Likewise.
4983 (asin_test_data): Likewise.
4984 (asin_tonearest_test_data): Likewise.
4985 (asin_towardzero_test_data): Likewise.
4986 (asin_downward_test_data): Likewise.
4987 (asin_upward_test_data): Likewise.
4988 (asinh_test_data): Likewise.
4989 (atan_test_data): Likewise.
4990 (atanh_test_data): Likewise.
4991 (atan2_test_data): Likewise.
4992 (cabs_test_data): Likewise.
4993 (cacos_test_data): Likewise.
4994 (cacosh_test_data): Likewise.
4995 (carg_test_data): Likewise.
4996 (casin_test_data): Likewise.
4997 (casinh_test_data): Likewise.
4998 (catan_test_data): Likewise.
4999 (catanh_test_data): Likewise.
5000 (cbrt_test_data): Likewise.
5001 (ccos_test_data): Likewise.
5002 (ccosh_test_data): Likewise.
5003 (ceil_test_data): Likewise.
5004 (cexp_test_data): Likewise.
5005 (cimag_test_data): Likewise.
5006 (clog_test_data): Likewise.
5007 (clog10_test_data): Likewise.
5008 (conj_test_data): Likewise.
5009 (copysign_test_data): Likewise.
5010 (cos_test_data): Likewise.
5011 (cos_tonearest_test_data): Likewise.
5012 (cos_towardzero_test_data): Likewise.
5013 (cos_downward_test_data): Likewise.
5014 (cos_upward_test_data): Likewise.
5015 (cosh_test_data): Likewise.
5016 (cosh_tonearest_test_data): Likewise.
5017 (cosh_towardzero_test_data): Likewise.
5018 (cosh_downward_test_data): Likewise.
5019 (cosh_upward_test_data): Likewise.
5020 (cpow_test_data): Likewise.
5021 (cproj_test_data): Likewise.
5022 (creal_test_data): Likewise.
5023 (csin_test_data): Likewise.
5024 (csinh_test_data): Likewise.
5025 (csqrt_test_data): Likewise.
5026 (ctan_test_data): Likewise.
5027 (ctan_tonearest_test_data): Likewise.
5028 (ctan_towardzero_test_data): Likewise.
5029 (ctan_downward_test_data): Likewise.
5030 (ctan_upward_test_data): Likewise.
5031 (ctanh_test_data): Likewise.
5032 (ctanh_tonearest_test_data): Likewise.
5033 (ctanh_towardzero_test_data): Likewise.
5034 (ctanh_downward_test_data): Likewise.
5035 (ctanh_upward_test_data): Likewise.
5036 (erf_test_data): Likewise.
5037 (erfc_test_data): Likewise.
5038 (exp_test_data): Likewise.
5039 (exp_tonearest_test_data): Likewise.
5040 (exp_towardzero_test_data): Likewise.
5041 (exp_downward_test_data): Likewise.
5042 (exp_upward_test_data): Likewise.
5043 (exp10_test_data): Likewise.
5044 (exp2_test_data): Likewise.
5045 (expm1_test_data): Likewise.
5046 (fabs_test_data): Likewise.
5047 (fdim_test_data): Likewise.
5048 (finite_test_data): Likewise.
5049 (floor_test_data): Likewise.
5050 (fma_test_data): Likewise.
5051 (fma_towardzero_test_data): Likewise.
5052 (fma_downward_test_data): Likewise.
5053 (fma_upward_test_data): Likewise.
5054 (fmax_test_data): Likewise.
5055 (fmin_test_data): Likewise.
5056 (fmod_test_data): Likewise.
5057 (fpclassify_test_data): Likewise.
5058 (frexp_test_data): Likewise.
5059 (gamma_test_data): Likewise.
5060 (hypot_test_data): Likewise.
5061 (ilogb_test_data): Likewise.
5062 (isfinite_test_data): Likewise.
5063 (isgreater_test_data): Likewise.
5064 (isgreaterequal_test_data): Likewise.
5065 (isinf_test_data): Likewise.
5066 (isless_test_data): Likewise.
5067 (islessequal_test_data): Likewise.
5068 (islessgreater_test_data): Likewise.
5069 (isnan_test_data): Likewise.
5070 (isnormal_test_data): Likewise.
5071 (issignaling_test_data): Likewise.
5072 (isunordered_test_data): Likewise.
5073 (j0_test_data): Likewise.
5074 (j1_test_data): Likewise.
5075 (jn_test_data): Likewise.
5076 (ldexp_test_data): Likewise.
5077 (lgamma_test_data): Likewise.
5078 (lrint_test_data): Likewise.
5079 (lrint_tonearest_test_data): Likewise.
5080 (lrint_towardzero_test_data): Likewise.
5081 (lrint_downward_test_data): Likewise.
5082 (lrint_upward_test_data): Likewise.
5083 (llrint_test_data): Likewise.
5084 (llrint_tonearest_test_data): Likewise.
5085 (llrint_towardzero_test_data): Likewise.
5086 (llrint_downward_test_data): Likewise.
5087 (llrint_upward_test_data): Likewise.
5088 (log_test_data): Likewise.
5089 (log10_test_data): Likewise.
5090 (log1p_test_data): Likewise.
5091 (log2_test_data): Likewise.
5092 (logb_test_data): Likewise.
5093 (logb_downward_test_data): Likewise.
5094 (lround_test_data): Likewise.
5095 (llround_test_data): Likewise.
5096 (modf_test_data): Likewise.
5097 (nearbyint_test_data): Likewise.
5098 (nextafter_test_data): Likewise.
5099 (nexttoward_test_data): Likewise.
5100 (pow_test_data): Likewise.
5101 (pow_tonearest_test_data): Likewise.
5102 (pow_towardzero_test_data): Likewise.
5103 (pow_downward_test_data): Likewise.
5104 (pow_upward_test_data): Likewise.
5105 (remainder_test_data): Likewise.
5106 (remainder_tonearest_test_data): Likewise.
5107 (remainder_towardzero_test_data): Likewise.
5108 (remainder_downward_test_data): Likewise.
5109 (remainder_upward_test_data): Likewise.
5110 (remquo_test_data): Likewise.
5111 (rint_test_data): Likewise.
5112 (rint_tonearest_test_data): Likewise.
5113 (rint_towardzero_test_data): Likewise.
5114 (rint_downward_test_data): Likewise.
5115 (rint_upward_test_data): Likewise.
5116 (round_test_data): Likewise.
5117 (scalb_test_data): Likewise.
5118 (scalbn_test_data): Likewise.
5119 (scalbln_test_data): Likewise.
5120 (signbit_test_data): Likewise.
5121 (sin_test_data): Likewise.
5122 (sin_tonearest_test_data): Likewise.
5123 (sin_towardzero_test_data): Likewise.
5124 (sin_downward_test_data): Likewise.
5125 (sin_upward_test_data): Likewise.
5126 (sincos_test_data): Likewise.
5127 (sinh_test_data): Likewise.
5128 (sinh_tonearest_test_data): Likewise.
5129 (sinh_towardzero_test_data): Likewise.
5130 (sinh_downward_test_data): Likewise.
5131 (sinh_upward_test_data): Likewise.
5132 (sqrt_test_data): Likewise.
5133 (tan_test_data): Likewise.
5134 (tan_tonearest_test_data): Likewise.
5135 (tan_towardzero_test_data): Likewise.
5136 (tan_downward_test_data): Likewise.
5137 (tan_upward_test_data): Likewise.
5138 (tanh_test_data): Likewise.
5139 (tgamma_test_data): Likewise.
5140 (trunc_test_data): Likewise.
5141 (y0_test_data): Likewise.
5142 (y1_test_data): Likewise.
5143 (yn_test_data): Likewise.
5144 (significand_test_data): Likewise.
5145
b679a606
JM
5146 * math/gen-libm-test.pl (@functions): Remove variable.
5147 (generate_testfile): Don't handle START and END lines.
5148 * math/libm-test.inc (START): New macro.
5149 (END): Likewise.
5150 (END_COMPLEX): Likewise.
5151 (acos_test): Use END macro without arguments.
5152 (acos_test_tonearest): Likewise.
5153 (acos_test_towardzero): Likewise.
5154 (acos_test_downward): Likewise.
5155 (acos_test_upward): Likewise.
5156 (acosh_test): Likewise.
5157 (asin_test): Likewise.
5158 (asin_test_tonearest): Likewise.
5159 (asin_test_towardzero): Likewise.
5160 (asin_test_downward): Likewise.
5161 (asin_test_upward): Likewise.
5162 (asinh_test): Likewise.
5163 (atan_test): Likewise.
5164 (atanh_test): Likewise.
5165 (atan2_test): Likewise.
5166 (cabs_test): Likewise.
5167 (cacos_test): Use END_COMPLEX macro without arguments.
5168 (cacosh_test): Likewise.
5169 (carg_test): Use END macro without arguments.
5170 (casin_test): Use END_COMPLEX macro without arguments.
5171 (casinh_test): Likewise.
5172 (catan_test): Likewise.
5173 (catanh_test): Likewise.
5174 (cbrt_test): Use END macro without arguments.
5175 (ccos_test): Use END_COMPLEX macro without arguments.
5176 (ccosh_test): Likewise.
5177 (ceil_test): Use END macro without arguments.
5178 (cexp_test): Use END_COMPLEX macro without arguments.
5179 (cimag_test): Use END macro without arguments.
5180 (clog_test): Use END_COMPLEX macro without arguments.
5181 (clog10_test): Likewise.
5182 (conj_test): Likewise.
5183 (copysign_test): Use END macro without arguments.
5184 (cos_test): Likewise.
5185 (cos_test_tonearest): Likewise.
5186 (cos_test_towardzero): Likewise.
5187 (cos_test_downward): Likewise.
5188 (cos_test_upward): Likewise.
5189 (cosh_test): Likewise.
5190 (cosh_test_tonearest): Likewise.
5191 (cosh_test_towardzero): Likewise.
5192 (cosh_test_downward): Likewise.
5193 (cosh_test_upward): Likewise.
5194 (cpow_test): Use END_COMPLEX macro without arguments.
5195 (cproj_test): Likewise.
5196 (creal_test): Use END macro without arguments.
5197 (csin_test): Use END_COMPLEX macro without arguments.
5198 (csinh_test): Likewise.
5199 (csqrt_test): Likewise.
5200 (ctan_test): Likewise.
5201 (ctan_test_tonearest): Likewise.
5202 (ctan_test_towardzero): Likewise.
5203 (ctan_test_downward): Likewise.
5204 (ctan_test_upward): Likewise.
5205 (ctanh_test): Likewise.
5206 (ctanh_test_tonearest): Likewise.
5207 (ctanh_test_towardzero): Likewise.
5208 (ctanh_test_downward): Likewise.
5209 (ctanh_test_upward): Likewise.
5210 (erf_test): Use END macro without arguments.
5211 (erfc_test): Likewise.
5212 (exp_test): Likewise.
5213 (exp_test_tonearest): Likewise.
5214 (exp_test_towardzero): Likewise.
5215 (exp_test_downward): Likewise.
5216 (exp_test_upward): Likewise.
5217 (exp10_test): Likewise.
5218 (exp2_test): Likewise.
5219 (expm1_test): Likewise.
5220 (fabs_test): Likewise.
5221 (fdim_test): Likewise.
5222 (finite_test): Likewise.
5223 (floor_test): Likewise.
5224 (fma_test): Likewise.
5225 (fma_test_towardzero): Likewise.
5226 (fma_test_downward): Likewise.
5227 (fma_test_upward): Likewise.
5228 (fmax_test): Likewise.
5229 (fmin_test): Likewise.
5230 (fmod_test): Likewise.
5231 (fpclassify_test): Likewise.
5232 (frexp_test): Likewise.
5233 (gamma_test): Likewise.
5234 (hypot_test): Likewise.
5235 (ilogb_test): Likewise.
5236 (isfinite_test): Likewise.
5237 (isgreater_test): Likewise.
5238 (isgreaterequal_test): Likewise.
5239 (isinf_test): Likewise.
5240 (isless_test): Likewise.
5241 (islessequal_test): Likewise.
5242 (islessgreater_test): Likewise.
5243 (isnan_test): Likewise.
5244 (isnormal_test): Likewise.
5245 (issignaling_test): Likewise.
5246 (isunordered_test): Likewise.
5247 (j0_test): Likewise.
5248 (j1_test): Likewise.
5249 (jn_test): Likewise.
5250 (ldexp_test): Likewise.
5251 (lgamma_test): Likewise.
5252 (lrint_test): Likewise.
5253 (lrint_test_tonearest): Likewise.
5254 (lrint_test_towardzero): Likewise.
5255 (lrint_test_downward): Likewise.
5256 (lrint_test_upward): Likewise.
5257 (llrint_test): Likewise.
5258 (llrint_test_tonearest): Likewise.
5259 (llrint_test_towardzero): Likewise.
5260 (llrint_test_downward): Likewise.
5261 (llrint_test_upward): Likewise.
5262 (log_test): Likewise.
5263 (log10_test): Likewise.
5264 (log1p_test): Likewise.
5265 (log2_test): Likewise.
5266 (logb_test): Likewise.
5267 (logb_test_downward): Likewise.
5268 (lround_test): Likewise.
5269 (llround_test): Likewise.
5270 (modf_test): Likewise.
5271 (nearbyint_test): Likewise.
5272 (nextafter_test): Likewise.
5273 (nexttoward_test): Likewise.
5274 (pow_test): Likewise.
5275 (pow_test_tonearest): Likewise.
5276 (pow_test_towardzero): Likewise.
5277 (pow_test_downward): Likewise.
5278 (pow_test_upward): Likewise.
5279 (remainder_test): Likewise.
5280 (remainder_test_tonearest): Likewise.
5281 (remainder_test_towardzero): Likewise.
5282 (remainder_test_downward): Likewise.
5283 (remainder_test_upward): Likewise.
5284 (remquo_test): Likewise.
5285 (rint_test): Likewise.
5286 (rint_test_tonearest): Likewise.
5287 (rint_test_towardzero): Likewise.
5288 (rint_test_downward): Likewise.
5289 (rint_test_upward): Likewise.
5290 (round_test): Likewise.
5291 (scalb_test): Likewise.
5292 (scalbn_test): Likewise.
5293 (scalbln_test): Likewise.
5294 (signbit_test): Likewise.
5295 (sin_test): Likewise.
5296 (sin_test_tonearest): Likewise.
5297 (sin_test_towardzero): Likewise.
5298 (sin_test_downward): Likewise.
5299 (sin_test_upward): Likewise.
5300 (sincos_test): Likewise.
5301 (sinh_test): Likewise.
5302 (sinh_test_tonearest): Likewise.
5303 (sinh_test_towardzero): Likewise.
5304 (sinh_test_downward): Likewise.
5305 (sinh_test_upward): Likewise.
5306 (sqrt_test): Likewise.
5307 (tan_test): Likewise.
5308 (tan_test_tonearest): Likewise.
5309 (tan_test_towardzero): Likewise.
5310 (tan_test_downward): Likewise.
5311 (tan_test_upward): Likewise.
5312 (tanh_test): Likewise.
5313 (tgamma_test): Likewise.
5314 (trunc_test): Likewise.
5315 (y0_test): Likewise.
5316 (y1_test): Likewise.
5317 (yn_test): Likewise.
5318 (significand_test): Likewise.
5319
bae143d2
OB
53202013-05-24 Ondřej Bílka <neleai@seznam.cz>
5321
5322 [BZ #15381]
5323 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5324
9323d39b
EM
53252013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5326
d4ea44a0 5327 [BZ #14894]
9323d39b
EM
5328 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5329 __ppc_mdoio and __ppc_mdoom.
5330 * manual/platform.texi: Document new functions __ppc_yield,
5331 __ppc_mdoio and __ppc_mdoom.
5332
13e23af7
CD
53332013-05-22 Carlos O'Donell <carlos@redhat.com>
5334
5335 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5336 (main): Mention "tls" pseudo-hwcap is legacy.
5337 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5338
351fe550
JM
53392013-05-22 Joseph Myers <joseph@codesourcery.com>
5340
5341 * math/gen-libm-test.pl (parse_args): Output only string of
5342 arguments as text for test name, not full call or descriptions of
5343 tests for extra outputs.
5344 (generate_testfile): Do not pass function name to parse_args.
5345 Generate this_func variable from START.
5346 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5347 field to arg_str.
5348 (struct test_ff_f_data): Likewise.
5349 (test_ff_f_data_nexttoward): Likewise.
5350 (struct test_fi_f_data): Likewise.
5351 (struct test_fl_f_data): Likewise.
5352 (struct test_if_f_data): Likewise.
5353 (struct test_fff_f_data): Likewise.
5354 (struct test_c_f_data): Likewise.
5355 (struct test_f_f1_data): Likewise. Remove field extra_name.
5356 (struct test_fF_f1_data): Likewise.
5357 (struct test_ffI_f1_data): Likewise.
5358 (struct test_c_c_data): Rename test_name field to arg_str.
5359 (struct test_cc_c_data): Likewise.
5360 (struct test_f_i_data): Likewise.
5361 (struct test_ff_i_data): Likewise.
5362 (struct test_f_l_data): Likewise.
5363 (struct test_f_L_data): Likewise.
5364 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5365 and extra2_name.
5366 (COMMON_TEST_SETUP): New macro.
5367 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5368 (COMMON_TEST_CLEANUP): Likewise.
5369 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5370 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5371 macros.
5372 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5373 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5374 macros.
5375 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5376 (RUN_TEST_fff_f): Take argument string. Call new setup and
5377 cleanup macros.
5378 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5379 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5380 macros.
5381 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5382 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5383 macros.
5384 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5385 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5386 cleanup macros.
5387 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5388 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5389 cleanup macros.
5390 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5391 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5392 cleanup macros.
5393 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5394 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5395 macros.
5396 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5397 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5398 macros.
5399 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5400 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5401 macros.
5402 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5403 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5404 cleanup macros.
5405 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5406 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5407 cleanup macros.
5408 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5409 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5410 macros.
5411 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5412 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5413 cleanup macros.
5414 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5415 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5416 macros.
5417 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5418 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5419 macros.
5420 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5421 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5422 cleanup macros.
5423 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5424
85118d4d
EBM
54252013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5426
5427 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5428 to _sifields.sigfault.
5429 (si_addr_lsb): Define new macro.
5430 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5432 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5433
7a44c18f
CD
54342013-05-03 Carlos O'Donell <carlos at redhat.com>
5435
5436 [BZ #15441]
5437 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5438 returns -1.
5439 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5440 null return -1.
5441 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5442 loading the domain.
5443
b50a7181
JM
54442013-05-22 Joseph Myers <joseph@codesourcery.com>
5445
5446 * math/gen-libm-test.pl (parse_args): Do not include expected
5447 result in test name.
5448 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5451 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5452 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5454
051063c8
SP
54552013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5456
3ce9e010
SP
5457 * benchtests/Makefile: Sort function entries.
5458
051063c8
SP
5459 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5460 tanh, asinh, acosh, atanh.
5461 * benchtests/acos-inputs: New file.
5462 * benchtests/acosh-inputs: New file.
5463 * benchtests/asin-inputs: New file.
5464 * benchtests/asinh-inputs: New file.
5465 * benchtests/atanh-inputs: New file.
5466 * benchtests/cosh-inputs: New file.
5467 * benchtests/log-inputs: New file.
5468 * benchtests/sinh-inputs: New file.
5469 * benchtests/tanh-inputs: New file.
5470
47c22455
DL
54712013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5472
5473 [BZ #15339]
5474 * posix/tst-getaddrinfo4.c: New test.
5475 * posix/Makefile (tests): Add it.
5476
3d04f5db
SP
54772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5478
5479 [BZ #15339]
5480 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5481 when no services were used.
5482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5483 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5484
d5dd6189
AS
54852013-05-21 Andreas Schwab <schwab@suse.de>
5486
5487 [BZ #15014]
5488 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5489 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5490 successful.
5491 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5492 redundant variable declarations and reallocation of buffer when
5493 parsing as IPv6 address. Always set NSS status when called from
5494 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5495 buffer too small. Correct computation of needed size.
5496 * nss/Makefile (tests): Add test-digits-dots.
5497 * nss/test-digits-dots.c: New test.
5498
fef94eab
SP
54992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5500
5501 * benchtests/Makefile: Remove instructions for adding
5502 benchmark tests.
5503 * benchtests/README: New file to explain how to execute and
5504 enhance the benchmark tests.
5505
e39adf43
AS
55062013-05-21 Andreas Schwab <schwab@suse.de>
5507
5508 [BZ #15493]
5509 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5510 * setjmp/tst-sigsetjmp.c: New test.
5511
b2b671b6
OB
55122013-05-20 Ondřej Bílka <neleai@seznam.cz>
5513
5514 * sysdeps/x86_64/memset.S (memset): New implementation.
5515 (__bzero): Likewise.
5516 (__memset_tail): New function.
5517
2d48b41c
OB
55182013-05-20 Ondřej Bílka <neleai@seznam.cz>
5519
5520 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5521 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5522 __memcpy_sse2_unaligned ifunc selection.
5523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5524 Add memcpy-sse2-unaligned.S.
5525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5526 Add: __memcpy_sse2_unaligned.
5527
f16cc3eb
JM
55282013-05-19 Joseph Myers <joseph@codesourcery.com>
5529
3e694268
JM
5530 [BZ #15490]
5531 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5532 math_force_eval before restoring floating-point envrionment.
5533 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5535 Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5537 <math_private.h>.
5538 (__nearbyintl): Use math_force_eval before restoring
5539 floating-point environment.
5540 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5541
db62a907
JM
5542 * math/gen-libm-test.pl (special_functions): Remove.
5543 (parse_args): Don't handle TEST_extra. Handle functions with no
5544 return value.
5545 * math/libm-test.inc (struct test_sincos_data): Replace with
5546 struct test_fFF_11_data.
5547 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5548 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5549 (sincos_test_data): Change element type to struct
5550 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5551 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5552 RUN_TEST_LOOP_sincos.
5553 * math/README.libm-test: Don't mention special handling of
5554 individual functions.
5555 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5556 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5557 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5558 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5559 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561
f16cc3eb
JM
5562 * math/gen-libm-test.pl (get_variable): Remove function.
5563 (parse_args): Don't show pointer parameters to call in test
5564 names. Use "extra output N" in test names for extra outputs
5565 rather than naming variables.
5566
3779b5b6
JM
55672013-05-18 Joseph Myers <joseph@codesourcery.com>
5568
2ee094ff
JM
5569 [BZ #15488]
5570 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5571 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5572 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5573 double tests.
5574 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5575 disable.
5576 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5577 check_long_double.
5578
3779b5b6
JM
5579 * math/gen-libm-test.pl (@tests): Remove variable.
5580 ($count): Likewise.
5581 (new_test): Remove function.
5582 (show_exceptions): New function.
5583 (special_functions): Use show_exceptions instead of new_test.
5584 (parse_args): Likewise.
5585 (generate_testfile): Pass only function name in generated call to
5586 print_max_error or print_complex_max_error.
5587 (get_ulps): Do not handle complex tests specially.
5588 (output_test): Rename to ...
5589 (get_all_ulps_for_test): ... this. Return a string rather than
5590 printing to a file. Require ulps to be present.
5591 (output_ulps): Generate arrays rather than #defines.
5592 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5593 (struct ulp_data): New type.
5594 (BUILD_COMPLEX_ULP): Remove macro.
5595 (compare_ulp_data): New function.
5596 (find_ulps): Likewise.
5597 (find_test_ulps): Likewise.
5598 (find_function_ulps): Likewise.
5599 (find_complex_function_ulps): Likewise.
5600 (print_max_error): Determine allowed ulps using
5601 find_function_ulps.
5602 (print_complex_max_error): Determine allowed ulps using
5603 find_complex_function_ulps.
5604 (check_float_internal): Determine max ulps using find_test_ulps.
5605 (check_float): Do not take max_ulp parameter. Update call to
5606 check_float_internal.
5607 (check_complex): Likewise.
5608 (check_int): Do not take max_ulp parameter.
5609 (check_long): Likewise.
5610 (check_bool): Likewise.
5611 (check_longlong): Likewise.
5612 (struct test_f_f_data): Remove max_ulp field.
5613 (struct test_ff_f_data): Likewise.
5614 (struct test_ff_f_data_nexttoward): Likewise.
5615 (struct test_fi_f_data): Likewise.
5616 (struct test_fl_f_data): Likewise.
5617 (struct test_if_f_data): Likewise.
5618 (struct test_fff_f_data): Likewise.
5619 (struct test_c_f_data): Likewise.
5620 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5621 (struct test_fF_f1_data): Likewise.
5622 (struct test_ffI_f1_data): Likewise.
5623 (struct test_c_c_data): Remove max_ulp field.
5624 (struct test_cc_c_data): Likewise.
5625 (struct test_f_i_data): Likewise.
5626 (struct test_ff_i_data): Likewise.
5627 (struct test_f_l_data): Likewise.
5628 (struct test_f_L_data): Likewise.
5629 (struct test_sincos_data): Likewise.
5630 (RUN_TEST_f_f): Do not handle ulps.
5631 (RUN_TEST_LOOP_f_f): Likewise.
5632 (RUN_TEST_2_f): Likewise.
5633 (RUN_TEST_LOOP_2_f): Likewise.
5634 (RUN_TEST_fff_f): Likewise.
5635 (RUN_TEST_LOOP_fff_f): Likewise.
5636 (RUN_TEST_c_f): Likewise.
5637 (RUN_TEST_LOOP_c_f): Likewise.
5638 (RUN_TEST_f_f1): Likewise.
5639 (RUN_TEST_LOOP_f_f1): Likewise.
5640 (RUN_TEST_fF_f1): Likewise.
5641 (RUN_TEST_LOOP_fF_f1): Likewise.
5642 (RUN_TEST_fI_f1): Likewise.
5643 (RUN_TEST_LOOP_fI_f1): Likewise.
5644 (RUN_TEST_ffI_f1): Likewise.
5645 (RUN_TEST_LOOP_ffI_f1): Likewise.
5646 (RUN_TEST_c_c): Likewise.
5647 (RUN_TEST_LOOP_c_c): Likewise.
5648 (RUN_TEST_cc_c): Likewise.
5649 (RUN_TEST_LOOP_cc_c): Likewise.
5650 (RUN_TEST_f_i): Likewise.
5651 (RUN_TEST_LOOP_f_i): Likewise.
5652 (RUN_TEST_f_i_tg): Likewise.
5653 (RUN_TEST_LOOP_f_i_tg): Likewise.
5654 (RUN_TEST_ff_i_tg): Likewise.
5655 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5656 (RUN_TEST_f_b): Likewise.
5657 (RUN_TEST_LOOP_f_b): Likewise.
5658 (RUN_TEST_f_b_tg): Likewise.
5659 (RUN_TEST_LOOP_f_b_tg): Likewise.
5660 (RUN_TEST_f_l): Likewise.
5661 (RUN_TEST_LOOP_f_l): Likewise.
5662 (RUN_TEST_f_L): Likewise.
5663 (RUN_TEST_LOOP_f_L): Likewise.
5664 (RUN_TEST_sincos): Likewise.
5665 (RUN_TEST_LOOP_sincos): Likewise.
5666
8269107f
JM
56672013-05-17 Joseph Myers <joseph@codesourcery.com>
5668
bb38759d
JM
5669 [BZ #15480]
5670 [BZ #15485]
5671 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5672 main case of finite arguments, set rounding mode to FE_TONEAREST
5673 and discard exceptions.
5674 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5675 exceptions.
5676 (remainder_tonearest_test_data): New variable.
5677 (remainder_test_tonearest): New function.
5678 (remainder_towardzero_test_data): New variable.
5679 (remainder_test_towardzero): New function.
5680 (remainder_downward_test_data): New variable.
5681 (remainder_test_downward): New function.
5682 (remainder_upward_test_data): New variable.
5683 (remainder_test_upward): New function.
5684 (main): Call the new test functions.
5685
a00bdcf0
JM
5686 * math/libm-test.inc (struct test_f_f1_data): Remove field
5687 extra_init.
5688 (struct test_fF_f1_data): Likewise.
5689 (struct test_ffI_f1_data): Likewise.
5690 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5691 based on value of EXTRA_EXPECTED.
5692 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5693 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5694 EXTRA_VAR based on value of EXTRA_EXPECTED.
5695 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5696 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5697 EXTRA_VAR based on value of EXTRA_EXPECTED.
5698 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5699 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5700 EXTRA_VAR based on value of EXTRA_EXPECTED.
5701 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5702 * math/gen-libm-test.pl (parse_args): Don't output initializers
5703 for extra output values.
5704
de407f79
JM
5705 * math/libm-test.inc (check_int): Expect result to be exactly
5706 equal to expected value and do not handle ulps.
5707 (check_long): Likewise.
5708 (check_longlong): Likewise.
5709
8269107f
JM
5710 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5711 exceptions.
5712 (cimag_test_data): Likewise.
5713 (conj_test_data): Likewise.
5714 (copysign_test_data): Likewise.
5715 (cproj_test_data): Likewise.
5716 (creal_test_data): Likewise.
5717 (fabs_test_data): Likewise.
5718 (fdim_test_data): Likewise.
5719 (finite_test_data): Likewise.
5720 (floor_test_data): Likewise.
5721 (fmax_test_data): Likewise.
5722 (fmin_test_data): Likewise.
5723 (fmod_test_data): Likewise.
5724 (fpclassify_test_data): Likewise.
5725 (frexp_test_data): Likewise.
5726 (ilogb_test_data): Likewise.
5727 (isfinite_test_data): Likewise.
5728 (isgreater_test_data): Likewise.
5729 (isgreaterequal_test_data): Likewise.
5730 (isinf_test_data): Likewise.
5731 (isless_test_data): Likewise.
5732 (islessequal_test_data): Likewise.
5733 (islessgreater_test_data): Likewise.
5734 (isnan_test_data): Likewise.
5735 (isnormal_test_data): Likewise.
5736 (issignaling_test_data): Likewise.
5737 (isunordered_test_data): Likewise.
5738 (ldexp_test_data): Likewise.
5739 (lrint_test_data): Likewise.
5740 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5741 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5742 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5743 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5744 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5745 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5746 test input.
5747 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5748 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5749 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5750 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5751 that test input.
5752 (lrint_downward_test_data): Test for "inexact" exceptions.
5753 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5754 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5755 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5756 test input.
5757 (lrint_upward_test_data): Test for "inexact" exceptions.
5758 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5759 test input.
5760 (llrint_test_data): Test for "inexact" exceptions.
5761 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5762 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5763 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5764 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5765 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5766 (llrint_downward_test_data): Test for "inexact" exceptions.
5767 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5768 (llrint_upward_test_data): Test for "inexact" exceptions.
5769 (logb_test_data): Likewise.
5770 (logb_downward_test_data): Likewise.
5771 (nextafter_test_data): Likewise.
5772 (nexttoward_test_data): Likewise.
5773 (remainder_test_data): Likewise.
5774 (remquo_test_data): Likewise.
5775 (scalbn_test_data): Likewise.
5776 (scalbln_test_data): Likewise.
5777 (signbit_test_data): Likewise.
5778 (sqrt_test_data): Likewise.
5779 (significand_test_data): Likewise.
5780
48a18de1
SP
57812013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5782
5783 [BZ #15424]
5784 * benchtests/bench-modf.c (struct args): Mark arg0 as
5785 volatile.
5786 * scripts/bench.pl: Mark members of struct args as volatile.
5787
13d3b41a
AZ
57882013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5789
68191c1d 5790 [BZ # 15497]
13d3b41a
AZ
5791 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5792 negative infinity on POWER6 or lower.
5793 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5794
2848b105
MR
57952013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5796
5797 [BZ #15442]
5798 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5799 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5800 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5801 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5802 (_FP_SETQNAN): New macro.
5803 (_FP_SETQNAN_SEMIRAW): Likewise.
5804 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5805 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5806 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5807 (FP_EXTEND): Use _FP_FRAC_SNANP.
5808 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5809 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5810 into account.
5811 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5812 New macro.
5813 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5814 Likewise.
5815
323e5cb7
JM
58162013-05-16 Joseph Myers <joseph@codesourcery.com>
5817
c58b274f
JM
5818 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5819 with DIVIDE_BY_ZERO_EXCEPTION.
5820 (gamma_test_data): Likewise.
5821 (lgamma_test_data): Likewise.
5822 (log_test_data): Likewise.
5823 (log10_test_data): Likewise.
5824 (log2_test_data): Likewise.
5825 (tgamma_test_data): Likewise.
5826
0ab34904
JM
5827 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5828 (acos_test_tonearest): Likewise.
5829 (acos_test_towardzero): Likewise.
5830 (acos_test_downward): Likewise.
5831 (acos_test_upward): Likewise.
5832 (acosh_test): Likewise.
5833 (asin_test): Likewise.
5834 (asin_test_tonearest): Likewise.
5835 (asin_test_towardzero): Likewise.
5836 (asin_test_downward): Likewise.
5837 (asin_test_upward): Likewise.
5838 (asinh_test): Likewise.
5839 (atan_test): Likewise.
5840 (atanh_test): Likewise.
5841 (atan2_test): Likewise.
5842 (cabs_test): Likewise.
5843 (cacos_test): Likewise.
5844 (cacosh_test): Likewise.
5845 (casin_test): Likewise.
5846 (casinh_test): Likewise.
5847 (catan_test): Likewise.
5848 (catanh_test): Likewise.
5849 (cbrt_test): Likewise.
5850 (ccos_test): Likewise.
5851 (ccosh_test): Likewise.
5852 (cexp_test): Likewise.
5853 (clog_test): Likewise.
5854 (clog10_test): Likewise.
5855 (cos_test): Likewise.
5856 (cos_test_tonearest): Likewise.
5857 (cos_test_towardzero): Likewise.
5858 (cos_test_downward): Likewise.
5859 (cos_test_upward): Likewise.
5860 (cosh_test): Likewise.
5861 (cosh_test_tonearest): Likewise.
5862 (cosh_test_towardzero): Likewise.
5863 (cosh_test_downward): Likewise.
5864 (cosh_test_upward): Likewise.
5865 (cpow_test): Likewise.
5866 (csin_test): Likewise.
5867 (csinh_test): Likewise.
5868 (csqrt_test): Likewise.
5869 (ctan_test): Likewise.
5870 (ctan_test_tonearest): Likewise.
5871 (ctan_test_towardzero): Likewise.
5872 (ctan_test_downward): Likewise.
5873 (ctan_test_upward): Likewise.
5874 (ctanh_test): Likewise.
5875 (ctanh_test_tonearest): Likewise.
5876 (ctanh_test_towardzero): Likewise.
5877 (ctanh_test_downward): Likewise.
5878 (ctanh_test_upward): Likewise.
5879 (erf_test): Likewise.
5880 (erfc_test): Likewise.
5881 (exp_test): Likewise.
5882 (exp_test_tonearest): Likewise.
5883 (exp_test_towardzero): Likewise.
5884 (exp_test_downward): Likewise.
5885 (exp_test_upward): Likewise.
5886 (exp10_test): Likewise.
5887 (exp2_test): Likewise.
5888 (expm1_test): Likewise.
5889 (fmod_test): Likewise.
5890 (gamma_test): Likewise.
5891 (hypot_test): Likewise.
5892 (j0_test): Likewise.
5893 (j1_test): Likewise.
5894 (jn_test): Likewise.
5895 (lgamma_test): Likewise.
5896 (log_test): Likewise.
5897 (log10_test): Likewise.
5898 (log1p_test): Likewise.
5899 (log2_test): Likewise.
5900 (logb_test_downward): Likewise.
5901 (pow_test): Likewise.
5902 (pow_test_tonearest): Likewise.
5903 (pow_test_towardzero): Likewise.
5904 (pow_test_downward): Likewise.
5905 (pow_test_upward): Likewise.
5906 (remainder_test): Likewise.
5907 (remquo_test): Likewise.
5908 (sin_test): Likewise.
5909 (sin_test_tonearest): Likewise.
5910 (sin_test_towardzero): Likewise.
5911 (sin_test_downward): Likewise.
5912 (sin_test_upward): Likewise.
5913 (sincos_test): Likewise.
5914 (sinh_test): Likewise.
5915 (sinh_test_tonearest): Likewise.
5916 (sinh_test_towardzero): Likewise.
5917 (sinh_test_downward): Likewise.
5918 (sinh_test_upward): Likewise.
5919 (sqrt_test): Likewise.
5920 (tan_test): Likewise.
5921 (tan_test_tonearest): Likewise.
5922 (tan_test_towardzero): Likewise.
5923 (tan_test_downward): Likewise.
5924 (tan_test_upward): Likewise.
5925 (tanh_test): Likewise.
5926 (tgamma_test): Likewise.
5927 (y0_test): Likewise.
5928 (y1_test): Likewise.
5929 (yn_test): Likewise.
5930
323e5cb7
JM
5931 * math/gen-libm-test.pl (adjust_arg): Remove function.
5932 (special_function): Remove argument $in_func. Only handle
5933 generating output for tables of tests, not inside functions.
5934 (parse_args): Likewise.
5935 (generate_testfile): Remove variable $in_func. Update call to
5936 parse_args.
5937 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5938 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5939 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5940 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5941 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5942 (MAX_VALUE_INIT): Rename macro to max_value.
5943 (MIN_VALUE_INIT): Rename macro to min_value.
5944 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5945 (plus_zero): Remove variable.
5946 (minus_zero): Likewise.
5947 (plus_infty): Likewise.
5948 (minus_infty): Likewise.
5949 (qnan_value): Likewise.
5950 (max_value): Likewise.
5951 (min_value): Likewise.
5952 (min_subnorm_value): Likewise.
5953
e054f494
RA
59542013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5955
5956 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5957 uint64_t or uint32_t usage.
5958 * crypt/sha256-block.c: Likewise.
5959 * crypt/sha256-crypt.c: Likewise.
5960 * crypt/sha256.c: Likewise.
5961 * crypt/sha512-block.c: Likewise.
5962 * crypt/sha512-crypt.c: Likewise.
5963 * crypt/sha512.c: Likewise.
5964 * debug/backtrace-tst.c: Likewise.
5965 * debug/pcprofiledump.c: Likewise.
5966 * elf/cache.c: Likewise.
5967 * elf/dl-cache.c: Likewise.
5968 * elf/dl-misc.c: Likewise.
5969 * elf/dl-profile.c: Likewise.
5970 * elf/dl-support.c: Likewise.
5971 * elf/ldconfig.c: Likewise.
5972 * elf/sprof.c: Likewise.
5973 * iconv/dummy-repertoire.c: Likewise.
5974 * iconv/iconv_charmap.c: Likewise.
5975 * iconv/skeleton.c: Likewise.
5976 * iconvdata/8bit-generic.c: Likewise.
5977 * iconvdata/cp737.h: Likewise.
5978 * iconvdata/cp775.h: Likewise.
5979 * iconvdata/ibm1008.h: Likewise.
5980 * iconvdata/ibm1025.h: Likewise.
5981 * iconvdata/ibm1046.h: Likewise.
5982 * iconvdata/ibm1097.h: Likewise.
5983 * iconvdata/ibm1112.h: Likewise.
5984 * iconvdata/ibm1122.h: Likewise.
5985 * iconvdata/ibm1123.h: Likewise.
5986 * iconvdata/ibm1124.h: Likewise.
5987 * iconvdata/ibm1129.h: Likewise.
5988 * iconvdata/ibm1130.h: Likewise.
5989 * iconvdata/ibm1132.h: Likewise.
5990 * iconvdata/ibm1133.h: Likewise.
5991 * iconvdata/ibm1137.h: Likewise.
5992 * iconvdata/ibm1140.h: Likewise.
5993 * iconvdata/ibm1141.h: Likewise.
5994 * iconvdata/ibm1142.h: Likewise.
5995 * iconvdata/ibm1143.h: Likewise.
5996 * iconvdata/ibm1144.h: Likewise.
5997 * iconvdata/ibm1145.h: Likewise.
5998 * iconvdata/ibm1146.h: Likewise.
5999 * iconvdata/ibm1147.h: Likewise.
6000 * iconvdata/ibm1148.h: Likewise.
6001 * iconvdata/ibm1149.h: Likewise.
6002 * iconvdata/ibm1153.h: Likewise.
6003 * iconvdata/ibm1154.h: Likewise.
6004 * iconvdata/ibm1155.h: Likewise.
6005 * iconvdata/ibm1156.h: Likewise.
6006 * iconvdata/ibm1157.h: Likewise.
6007 * iconvdata/ibm1158.h: Likewise.
6008 * iconvdata/ibm1160.h: Likewise.
6009 * iconvdata/ibm1161.h: Likewise.
6010 * iconvdata/ibm1162.h: Likewise.
6011 * iconvdata/ibm1163.h: Likewise.
6012 * iconvdata/ibm1164.h: Likewise.
6013 * iconvdata/ibm1166.h: Likewise.
6014 * iconvdata/ibm1167.h: Likewise.
6015 * iconvdata/ibm12712.h: Likewise.
6016 * iconvdata/ibm1390.h: Likewise.
6017 * iconvdata/ibm1399.h: Likewise.
6018 * iconvdata/ibm16804.h: Likewise.
6019 * iconvdata/ibm4517.h: Likewise.
6020 * iconvdata/ibm4899.h: Likewise.
6021 * iconvdata/ibm4909.h: Likewise.
6022 * iconvdata/ibm4971.h: Likewise.
6023 * iconvdata/ibm5347.h: Likewise.
6024 * iconvdata/ibm803.h: Likewise.
6025 * iconvdata/ibm856.h: Likewise.
6026 * iconvdata/ibm901.h: Likewise.
6027 * iconvdata/ibm902.h: Likewise.
6028 * iconvdata/ibm9030.h: Likewise.
6029 * iconvdata/ibm9066.h: Likewise.
6030 * iconvdata/ibm921.h: Likewise.
6031 * iconvdata/ibm922.h: Likewise.
6032 * iconvdata/ibm9448.h: Likewise.
6033 * iconvdata/isiri-3342.h: Likewise.
6034 * iconvdata/jis0201.h: Likewise.
6035 * include/link.h: Likewise.
6036 * include/netdb.h: Likewise.
6037 * inet/check_native.c: Likewise.
6038 * inet/check_pf.c: Likewise.
6039 * inet/getipv4sourcefilter.c: Likewise.
6040 * inet/getnameinfo.c: Likewise.
6041 * inet/getsourcefilter.c: Likewise.
6042 * inet/htonl.c: Likewise.
6043 * inet/setipv4sourcefilter.c: Likewise.
6044 * inet/setsourcefilter.c: Likewise.
6045 * inet/test-inet6_opt.c: Likewise.
6046 * inet/tst-network.c: Likewise.
6047 * locale/C-collate.c: Likewise.
6048 * locale/C-ctype.c: Likewise.
6049 * locale/C-time.c: Likewise.
6050 * locale/C-translit.h: Likewise.
6051 * locale/loadarchive.c: Likewise.
6052 * locale/programs/3level.h: Likewise.
6053 * locale/programs/charmap.c: Likewise.
6054 * locale/programs/charmap.h: Likewise.
6055 * locale/programs/ld-address.c: Likewise.
6056 * locale/programs/ld-collate.c: Likewise.
6057 * locale/programs/ld-ctype.c: Likewise.
6058 * locale/programs/ld-identification.c: Likewise.
6059 * locale/programs/ld-measurement.c: Likewise.
6060 * locale/programs/ld-messages.c: Likewise.
6061 * locale/programs/ld-monetary.c: Likewise.
6062 * locale/programs/ld-name.c: Likewise.
6063 * locale/programs/ld-numeric.c: Likewise.
6064 * locale/programs/ld-paper.c: Likewise.
6065 * locale/programs/ld-telephone.c: Likewise.
6066 * locale/programs/ld-time.c: Likewise.
6067 * locale/programs/linereader.c: Likewise.
6068 * locale/programs/locale.c: Likewise.
6069 * locale/programs/locarchive.c: Likewise.
6070 * locale/programs/locfile.h: Likewise.
6071 * locale/programs/repertoire.c: Likewise.
6072 * locale/programs/simple-hash.c: Likewise.
6073 * locale/programs/simple-hash.h: Likewise.
6074 * malloc/memusage.c: Likewise.
6075 * malloc/memusagestat.c: Likewise.
6076 * nis/nis_defaults.c: Likewise.
6077 * nis/nis_hash.c: Likewise.
6078 * nis/nis_print.c: Likewise.
6079 * nis/nis_xdr.c: Likewise.
6080 * nscd/connections.c: Likewise.
6081 * nscd/hstcache.c: Likewise.
6082 * nscd/nscd_gethst_r.c: Likewise.
6083 * nscd/nscd_getserv_r.c: Likewise.
6084 * nscd/nscd_helper.c: Likewise.
6085 * nscd/servicescache.c: Likewise.
6086 * nss/makedb.c: Likewise.
6087 * nss/nss_db/db-XXX.c: Likewise.
6088 * nss/nss_db/db-initgroups.c: Likewise.
6089 * nss/nss_db/db-netgrp.c: Likewise.
6090 * nss/nss_files/files-network.c: Likewise.
6091 * nss/nss_files/files-parse.c: Likewise.
6092 * posix/bug-regex5.c: Likewise.
6093 * posix/fnmatch_loop.c: Likewise.
6094 * posix/regcomp.c: Likewise.
6095 * posix/regexec.c: Likewise.
6096 * posix/tst-rfc3484-2.c: Likewise.
6097 * posix/tst-rfc3484-3.c: Likewise.
6098 * posix/tst-rfc3484.c: Likewise.
6099 * resolv/nss_dns/dns-canon.c: Likewise.
6100 * resolv/nss_dns/dns-network.c: Likewise.
6101 * resolv/res_init.c: Likewise.
6102 * resolv/res_mkquery.c: Likewise.
6103 * resolv/tst-aton.c: Likewise.
6104 * stdlib/cxa_atexit.c: Likewise.
6105 * stdlib/cxa_finalize.c: Likewise.
6106 * stdlib/gen-fpioconst.c: Likewise.
6107 * stdlib/strtol_l.c: Likewise.
6108 * string/tst-endian.c: Likewise.
6109 * sunrpc/auth_des.c: Likewise.
6110 * sunrpc/clnt_udp.c: Likewise.
6111 * sunrpc/rtime.c: Likewise.
6112 * sunrpc/svcauth_des.c: Likewise.
6113 * sunrpc/xdr.c: Likewise.
6114 * sunrpc/xdr_intXX_t.c: Likewise.
6115 * sunrpc/xdr_rec.c: Likewise.
6116 * sysdeps/generic/ldconfig.h: Likewise.
6117 * sysdeps/generic/ldsodefs.h: Likewise.
6118 * sysdeps/generic/memusage.h: Likewise.
6119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6129 * sysdeps/posix/getaddrinfo.c: Likewise.
6130 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6131 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6132 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6133 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6134 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6135 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6136 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6137 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6138 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6139 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6140 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6141 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6142 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6143 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6144 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6145 * sysdeps/x86_64/dl-tls.h: Likewise.
6146 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6147 * time/alt_digit.c: Likewise.
6148 * time/era.c: Likewise.
6149 * wcsmbs/tst-c16c32-1.c: Likewise.
6150
8c75f674
JM
61512013-05-16 Joseph Myers <joseph@codesourcery.com>
6152
6153 * math/libm-test.inc (struct test_sincos_data): New type.
6154 (RUN_TEST_LOOP_sincos): New macro.
6155 (sincos_test_data): New variable.
6156 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6157
e6e49e59
RH
61582013-05-16 Richard Henderson <rth@redhat.com>
6159
6160 * math/atest-exp2.c (LIMB64): New macro.
6161 (CONSTSZ): New macro.
6162 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6163 (hexdig): Move ...
6164 (print_mpn_fp): ... to function scope.
6165 (read_mpn_hex): Remove.
6166 (get_log2): Remove.
6167 (exp2_mpn): Use mp_log2.
6168 (main): Use mp_exp1.
6169
15c7c18d
JM
61702013-05-16 Joseph Myers <joseph@codesourcery.com>
6171
105a07df
JM
6172 * math/libm-test.inc: Remove comment about not testing "inexact"
6173 exceptions.
6174 (INEXACT_EXCEPTION): New macro.
6175 (NO_INEXACT_EXCEPTION): Likewise.
6176 (INVALID_EXCEPTION_OK): Update value.
6177 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6178 (OVERFLOW_EXCEPTION_OK): Likewise.
6179 (UNDERFLOW_EXCEPTION_OK): Likewise.
6180 (IGNORE_ZERO_INF_SIGN): Likewise.
6181 (ERRNO_UNCHANGED): Likewise.
6182 (ERRNO_EDOM): Likewise.
6183 (ERRNO_ERANGE): Likewise.
6184 (test_exceptions): Handle testing "inexact" exceptions.
6185 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6186 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6187 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6188 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6189 INEXACT_EXCEPTION.
6190 (rint_towardzero_test_data): Likewise.
6191 (rint_downward_test_data): Likewise.
6192 (rint_upward_test_data): Likewise.
6193
e9eee333
JM
6194 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6195 with OVERFLOW_EXCEPTION.
6196 (exp10_test_data): Likewise.
6197 (exp2_test_data): Likewise.
6198 (expm1_test_data): Likewise.
6199 (lgamma_test_data): Likewise.
6200 (pow_test_data): Likewise.
6201 (tgamma_test_data): Likewise.
6202 (yn_test_data): Remove duplicate test of overflow.
6203
1c38ff73
JM
6204 * math/libm-test.inc (struct test_cc_c_data): New type.
6205 (RUN_TEST_LOOP_cc_c): New macro.
6206 (cpow_test_data): New variable.
6207 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6208
15c7c18d
JM
6209 * math/libm-test.inc (struct test_f_L_data): New type.
6210 (RUN_TEST_LOOP_f_L): New macro.
6211 (llrint_test_data): New variable.
6212 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6213 (llrint_tonearest_test_data): New variable.
6214 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6215 (llrint_towardzero_test_data): New variable.
6216 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6217 (llrint_downward_test_data): New variable.
6218 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6219 (llrint_upward_test_data): New variable.
6220 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6221 (llround_test_data): New variable.
6222 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6223
f137ff13
PC
62242013-05-13 Peter Collingbourne <pcc@google.com>
6225
6226 * math/atest-exp2.c (get_log2): Remove const attribute.
6227
3608cb24
JM
62282013-05-15 Joseph Myers <joseph@codesourcery.com>
6229
6230 * math/libm-test.inc (struct test_f_l_data): New type.
6231 (RUN_TEST_LOOP_f_l): New macro.
6232 (lrint_test_data): New variable.
6233 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6234 (lrint_tonearest_test_data): New variable.
6235 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6236 (lrint_towardzero_test_data): New variable.
6237 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6238 (lrint_downward_test_data): New variable.
6239 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6240 (lrint_upward_test_data): New variable.
6241 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6242 (lround_test_data): New variable.
6243 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6244
39b1f617
PC
62452013-05-15 Peter Collingbourne <pcc@google.com>
6246
1deff3dc
PC
6247 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6248 (EXTRACT_WORDS64) Use where appropriate.
6249 (INSERT_WORDS64) Likewise.
6250
791f3ba0
PC
6251 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6252 constraints with x constraints.
6253 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6254
39b1f617
PC
6255 * malloc/obstack.c (_obstack_compat): Add initializer.
6256
12fba011
EM
62572013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6258
6259 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6260 si_trapno and add si_addr_lsb to _sifields.sigfault.
6261 (si_trapno): Remove macro.
6262 (si_addr_lsb): Define new macro.
6263 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6264
d369f531
JM
62652013-05-15 Joseph Myers <joseph@codesourcery.com>
6266
b861c6c4
JM
6267 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6268 instead of TEST_f_l.
6269 (llrint_test_tonearest): Likewise.
6270 (llrint_test_towardzero): Likewise.
6271 (llrint_test_downward): Likewise.
6272 (llrint_test_upward): Likewise.
6273 (llround_test): Likewise.
6274
7abeee12
JM
6275 * math/libm-test.inc (struct test_f_i_data): Add comment.
6276 (RUN_TEST_LOOP_f_b): New macro.
6277 (RUN_TEST_LOOP_f_b_tg): Likewise.
6278 (finite_test_data): New variable.
6279 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6280 (isfinite_test_data): New variable.
6281 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6282 (isinf_test_data): New variable.
6283 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6284 (isnan_test_data): New variable.
6285 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6286 (isnormal_test_data): New variable.
6287 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6288 (issignaling_test_data): New variable.
6289 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6290 (signbit_test_data): New variable.
6291 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6292
cbe8c4d3
JM
6293 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6294 with INVALID_EXCEPTION.
6295 (acosh_test_data): Likewise.
6296 (asin_test_data): Likewise.
6297 (atanh_test_data): Likewise.
6298 (fmod_test_data): Likewise.
6299 (log_test_data): Likewise.
6300 (log10_test_data): Likewise.
6301 (log2_test_data): Likewise.
6302 (pow_test_data): Likewise.
6303 (sqrt_test_data): Likewise.
6304 (y0_test_data): Likewise.
6305 (y1_test_data): Likewise.
6306 (yn_test_data): Likewise.
6307
5575c0e5
JM
6308 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6309 function contents.
6310
d369f531
JM
6311 * math/libm-test.inc (struct test_ff_i_data): New type.
6312 (RUN_TEST_LOOP_ff_i_tg): New macro.
6313 (isgreater_test_data): New variable.
6314 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6315 (isgreaterequal_test_data): New variable.
6316 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6317 (isless_test_data): New variable.
6318 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6319 (islessequal_test_data): New variable.
6320 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6321 (islessgreater_test_data): New variable.
6322 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6323 (isunordered_test_data): New variable.
6324 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6325
781fd748
DM
63262013-05-14 David S. Miller <davem@davemloft.net>
6327
6328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6329
87aa21df
JM
63302013-05-14 Joseph Myers <joseph@codesourcery.com>
6331
5e908270
JM
6332 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6333
f71172e5
JM
6334 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6335 extra_test to int.
6336 (struct test_f_i_data): Change type of max_ulp to int.
6337
8cfa635a
JM
6338 * math/libm-test.inc (test_ffI_f1_data): New type.
6339 (RUN_TEST_LOOP_ffI_f1): New macro.
6340 (remquo_test_data): New variable.
6341 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6342
2bcb36b2
JM
6343 * setjmp/tst-setjmp-fp.c: New file.
6344 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6345 (link-libm): New variable.
6346 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6347
acbd839a
JM
6348 * math/libm-test.inc (struct test_f_i_data): New type.
6349 (RUN_TEST_LOOP_f_i): New macro.
6350 (RUN_TEST_LOOP_f_i_tg): Likewise.
6351 (fpclassify_test_data): New variable.
6352 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6353 (ilogb_test_data): New variable.
6354 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6355
e414d745
JM
6356 * math/libm-test.inc (scalbln_test): Correct function name in END
6357 call.
6358
d9c2a0fd
JM
6359 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6360 (RUN_TEST_LOOP_fI_f1): New macro.
6361 (frexp_test_data): New variable.
6362 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6363
9dc9095d
JM
6364 * math/libm-test.inc (struct test_fF_f1_data): New type.
6365 (RUN_TEST_LOOP_fF_f1): New macro.
6366 (modf_test_data): New variable.
6367 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6368
87aa21df
JM
6369 * math/libm-test.inc (struct test_f_f1_data): New type.
6370 (RUN_TEST_LOOP_f_f1): New macro.
6371 (gamma_test_data): New variable.
6372 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6373 (lgamma_test_data): New variable.
6374 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6375
141af660
CD
63762013-05-13 Carlos O'Donell <carlos@redhat.com>
6377
6378 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6379 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6380 (main): Comment "tls" pseudo-hwcap.
6381
6d33265c
JM
63822013-05-13 Joseph Myers <joseph@codesourcery.com>
6383
68fc074c
JM
6384 * math/libm-test.inc (struct test_fl_f_data): New type.
6385 (RUN_TEST_LOOP_fl_f): New variable.
6386 (scalbln_test_data): New variable.
6387 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6388
243216e1
JM
6389 * math/libm-test.inc (struct test_fi_f_data): New type.
6390 (RUN_TEST_LOOP_fi_f): New macro.
6391 (ldexp_test_data): New variable.
6392 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6393 (scalbn_test_data): New variable.
6394 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6395
6a1992e2
JM
6396 * math/libm-test.inc (struct test_c_f_data): New type.
6397 (RUN_TEST_LOOP_c_f): New macro.
6398 (cabs_test_data): New variable.
6399 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6400 (carg_test_data): New variable.
6401 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6402 (cimag_test_data): New variable.
6403 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6404 (creal_test_data): New variable.
6405 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6406
0e400df5
JM
6407 * math/libm-test.inc (struct test_if_f_data): New type.
6408 (RUN_TEST_LOOP_if_f): New macro.
6409 (jn_test_data): New variable.
6410 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6411 (yn_test_data): New variable.
6412 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6413
6d33265c
JM
6414 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6415
f98ece5f
AZ
64162013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417
6418 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6419 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6420
0f7d347b
SP
64212013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6422
43fe811b
SP
6423 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6424 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6425 (bench-deps): Add bench-timing.h.
6426 * benchtests-bench-skeleton.c: Include bench-timing.h.
6427 (main): Use TIMING_* macros instead of clock_gettime.
6428 * benchtests/bench-timing.h: New file.
6429
0f7d347b
SP
6430 [BZ #14582]
6431 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6432 Renamed from _LIB_VERSION.
6433 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6434
601a3a5f
JM
64352013-05-12 Joseph Myers <joseph@codesourcery.com>
6436
4f184d30
JM
6437 * math/libm-test.inc (struct test_fff_f_data): New type.
6438 (RUN_TEST_LOOP_fff_f): New macro.
6439 (fma_test_data): New variable.
6440 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6441 (fma_towardzero_test_data): New variable.
6442 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6443 (fma_downward_test_data): New variable.
6444 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6445 (fma_upward_test_data): New variable.
6446 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6447
08198877
JM
6448 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6449 (struct test_c_c_data): New type.
6450 (RUN_TEST_LOOP_c_c): New macro.
6451 (cacos_test_data): New variable.
6452 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6453 (cacosh_test_data): New variable.
6454 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6455 (casin_test_data): New variable.
6456 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6457 (casinh_test_data): New variable.
6458 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6459 (catan_test_data): New variable.
6460 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6461 (catanh_test_data): New variable.
6462 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6463 (ccos_test_data): New variable.
6464 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6465 (ccosh_test_data): New variable.
6466 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6467 (cexp_test_data): New variable.
6468 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6469 (clog_test_data): New variable.
6470 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6471 (clog10_test_data): New variable.
6472 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6473 (conj_test_data): New variable.
6474 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6475 (cproj_test_data): New variable.
6476 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6477 (csin_test_data): New variable.
6478 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6479 (csinh_test_data): New variable.
6480 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6481 (csqrt_test_data): New variable.
6482 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6483 (ctan_test_data): New variable.
6484 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6485 (ctan_tonearest_test_data): New variable.
6486 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6487 (ctan_towardzero_test_data): New variable.
6488 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6489 (ctan_downward_test_data): New variable.
6490 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6491 (ctan_upward_test_data): New variable.
6492 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6493 (ctanh_test_data): New variable.
6494 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6495 (ctanh_tonearest_test_data): New variable.
6496 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6497 (ctanh_towardzero_test_data): New variable.
6498 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6499 (ctanh_downward_test_data): New variable.
6500 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6501 (ctanh_upward_test_data): New variable.
6502 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6503 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6504 of BUILD_COMPLEX.
6505
601a3a5f
JM
6506 * math/libm-test.inc (struct test_ff_f_data): New type.
6507 (struct test_ff_f_data_nexttoward): Likewise.
6508 (RUN_TEST_LOOP_2_f): New macro.
6509 (RUN_TEST_LOOP_ff_f): Likewise.
6510 (atan2_test_data): New variable.
6511 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6512 (copysign_test_data): New variable.
6513 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6514 (fdim_test_data): New variable.
6515 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6516 (fmax_test_data): New variable.
6517 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6518 (fmin_test_data): New variable.
6519 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6520 (fmod_test_data): New variable.
6521 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6522 (hypot_test_data): New variable.
6523 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6524 (nextafter_test_data): New variable.
6525 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6526 (nexttoward_test_data): New variable.
6527 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6528 (pow_test_data): New variable.
6529 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6530 (pow_tonearest_test_data): New variable.
6531 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6532 (pow_towardzero_test_data): New variable.
6533 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6534 (pow_downward_test_data): New variable.
6535 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6536 (pow_upward_test_data): New variable.
6537 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6538 (remainder_test_data): New variable.
6539 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6540 (scalb_test_data): New variable.
6541 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6542 * sysdeps/i386/fpu/libm-test-ulps: Update.
6543
74c57478
JM
65442013-05-11 Joseph Myers <joseph@codesourcery.com>
6545
8329e4da
JM
6546 * math/libm-test.inc (fma_test): Use max_value instead of local
6547 variable fltmax.
6548 (nextafter_test): Likewise.
6549
74c57478
JM
6550 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6551 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6552 (acos_downward_test_data): New variable.
6553 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6554 (acos_upward_test_data): New variable.
6555 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6556 (acosh_test_data): New variable.
6557 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6558 (asin_test_data): New variable.
6559 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6560 (asin_tonearest_test_data): New variable.
6561 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6562 (asin_towardzero_test_data): New variable.
6563 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6564 (asin_downward_test_data): New variable.
6565 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6566 (asin_upward_test_data): New variable.
6567 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6568 (asinh_test_data): New variable.
6569 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6570 (atan_test_data): New variable.
6571 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6572 (atanh_test_data): New variable.
6573 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6574 (cbrt_test_data): New variable.
6575 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6576 (ceil_test_data): New variable.
6577 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6578 (cos_test_data): New variable.
6579 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6580 (cos_tonearest_test_data): New variable.
6581 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6582 (cos_towardzero_test_data): New variable.
6583 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6584 (cos_downward_test_data): New variable.
6585 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6586 (cos_upward_test_data): New variable.
6587 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6588 (cosh_test_data): New variable.
6589 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6590 (cosh_tonearest_test_data): New variable.
6591 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6592 (cosh_towardzero_test_data): New variable.
6593 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6594 (cosh_downward_test_data): New variable.
6595 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6596 (cosh_upward_test_data): New variable.
6597 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6598 (erf_test_data): New variable.
6599 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6600 (erfc_test_data): New variable.
6601 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6602 (exp_test_data): New variable.
6603 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6604 (exp_tonearest_test_data): New variable.
6605 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6606 (exp_towardzero_test_data): New variable.
6607 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6608 (exp_downward_test_data): New variable.
6609 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6610 (exp_upward_test_data): New variable.
6611 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6612 (exp10_test_data): New variable.
6613 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6614 (exp2_test_data): New variable.
6615 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6616 (expm1_test_data): New variable.
6617 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6618 (fabs_test_data): New variable.
6619 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6620 (floor_test_data): New variable.
6621 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6622 (j0_test_data): New variable.
6623 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6624 (j1_test_data): New variable.
6625 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6626 (log_test_data): New variable.
6627 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6628 (log10_test_data): New variable.
6629 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6630 (log1p_test_data): New variable.
6631 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6632 (log2_test_data): New variable.
6633 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6634 (logb_test_data): New variable.
6635 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6636 (logb_downward_test_data): New variable.
6637 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6638 (nearbyint_test_data): New variable.
6639 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6640 (rint_test_data): New variable.
6641 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6642 (rint_tonearest_test_data): New variable.
6643 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6644 (rint_towardzero_test_data): New variable.
6645 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6646 (rint_downward_test_data): New variable.
6647 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6648 (rint_upward_test_data): New variable.
6649 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6650 (round_test_data): New variable.
6651 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6652 (sin_test_data): New variable.
6653 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6654 (sin_tonearest_test_data): New variable.
6655 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6656 (sin_towardzero_test_data): New variable.
6657 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6658 (sin_downward_test_data): New variable.
6659 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6660 (sin_upward_test_data): New variable.
6661 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6662 (sinh_test_data): New variable.
6663 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6664 (sinh_tonearest_test_data): New variable.
6665 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6666 (sinh_towardzero_test_data): New variable.
6667 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6668 (sinh_downward_test_data): New variable.
6669 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6670 (sinh_upward_test_data): New variable.
6671 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6672 (sqrt_test_data): New variable.
6673 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6674 (tan_test_data): New variable.
6675 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6676 (tan_tonearest_test_data): New variable.
6677 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6678 (tan_towardzero_test_data): New variable.
6679 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6680 (tan_downward_test_data): New variable.
6681 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6682 (tan_upward_test_data): New variable.
6683 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6684 (tanh_test_data): New variable.
6685 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6686 (tgamma_test_data): New variable.
6687 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6688 (trunc_test_data): New variable.
6689 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6690 (y0_test_data): New variable.
6691 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6692 (y1_test_data): New variable.
6693 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6694 (significand_test_data): New variable.
6695 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6696
7187d844
CG
66972013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6698
6699 [BZ #12387]
6700 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6701
f63fae73
PT
67022013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6703
6704 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6705
8a67a4b3
AJ
67062013-05-10 Andreas Jaeger <aj@suse.de>
6707
6708 [BZ #15448]
6709 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6710 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6711
51df539d
JM
67122013-05-10 Joseph Myers <joseph@codesourcery.com>
6713
6714 * math/gen-libm-test.pl (adjust_arg): New function.
6715 (special_functions): Handle generating output in both functions
6716 and arrays.
6717 (parse_args): Likewise.
6718 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6719 $in_func argument to parse_args.
6720 * math/libm-test.inc (struct test_f_f_data): New type.
6721 (IF_ROUND_INIT_): New macro.
6722 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6723 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6724 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6725 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6726 (ROUND_RESTORE_): Likewise.
6727 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6728 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6729 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6730 (ROUND_RESTORE_FE_UPWARD): Likewise.
6731 (RUN_TEST_LOOP_f_f): New macro.
6732 (acos_test_data): New variable.
6733 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6734 (acos_tonearest_test_data): New variable.
6735 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6736
5c637fe5
SP
67372013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6738
6739 * benchtests/bench-skeleton.c (startup): Fix coding style.
6740
ab2b9461
JM
67412013-05-10 Joseph Myers <joseph@codesourcery.com>
6742
6743 [BZ #6809]
6744 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6745 negative infinity argument.
6746 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6747 negative infinity argument.
6748 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6749 negative infinity argument.
6750 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6751 domain errors.
6752
4c0fe6fe
FW
67532013-05-10 Florian Weimer <fweimer@redhat.com>
6754
6755 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6756 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6757 * iconv/iconv_prog.c (main): Likewise.
6758 * locale/programs/charmap-dir.c (charmap_readdir)
6759 (fopen_uncompressed): Likewise.
6760 * locale/programs/locfile.c (siblings_uncached)
6761 (write_locale_data): Use lstat64 instead of lstat.
6762 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6763 stat.
6764
a3375d29
AJ
67652013-05-10 Andreas Jaeger <aj@suse.de>
6766
6767 [BZ #15395]
6768 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6769 localization.
6770 Include <locale.h>.
6771
36129722
CD
67722013-05-09 Carlos O'Donell <carlos@redhat.com>
6773
6774 * elf/dl-close.c (_dl_close_worker): Add comments.
6775
faa7f811
JM
67762013-05-09 Joseph Myers <joseph@codesourcery.com>
6777
ed41ffef
JM
6778 [BZ #15359]
6779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6780 high part of pi/2.
6781 (__ieee754_rem_pio2l): Update comments.
6782
d0213cd0
JM
6783 [BZ #15429]
6784 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6785 high part of pi/2.
6786 (__ieee754_rem_pio2l): Update comments.
6787
0d3e777a
JM
6788 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6789 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6790
24f56066
JM
6791 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6792 M_PI_4l.
6793
faa7f811
JM
6794 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6795 (M_PI_34_LOG10El): Likewise.
6796 (M_PI2_LOG10El): Likewise.
6797 (M_PI4_LOG10El): Likewise.
6798 (M_PI_LOG10El): Likewise.
6799
e9a5e0fd
AZ
68002013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6801
6802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6803
d8cd06db
JM
68042013-05-08 Joseph Myers <joseph@codesourcery.com>
6805
a0d9f9d7
JM
6806 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6807 (MINUS_ZERO_INIT): Likewise.
6808 (PLUS_INFTY_INIT): Likewise.
6809 (MINUS_INFTY_INIT): Likewise.
6810 (QNAN_VALUE_INIT): Likewise.
6811 (MAX_VALUE_INIT): Likewise.
6812 (MIN_VALUE_INIT): Likewise.
6813 (MIN_SUBNORM_VALUE_INIT): Likewise.
6814 (plus_zero): Initialize with PLUS_ZERO_INIT.
6815 (minus_zero): Initialize with MINUS_ZERO_INIT.
6816 (plus_infty): Initialize with PLUS_INFTY_INIT.
6817 (minus_infty): Initialize with MINUS_INFTY_INIT.
6818 (qnan_value): Initialize with QNAN_VALUE_INIT.
6819 (max_value): Initialize with MAX_VALUE_INIT.
6820 (min_value): Initialize with MIN_VALUE_INIT.
6821 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6822
ae08db3b
JM
6823 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6824 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6825 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6826 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6827
f44bf14a
JM
6828 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6829 (RUN_TEST_2_f): Likewise.
6830 (RUN_TEST_ff_f): Likewise.
6831 (RUN_TEST_fi_f): Likewise.
6832 (RUN_TEST_fl_f): Likewise.
6833 (RUN_TEST_fff_f): Likewise.
6834 (RUN_TEST_c_f): Likewise.
6835 (RUN_TEST_f_f1): Likewise.
6836 (RUN_TEST_fF_f1): Likewise.
6837 (RUN_TEST_fI_f1): Likewise.
6838 (RUN_TEST_ffI_f1): Likewise.
6839 (RUN_TEST_c_c): Likewise.
6840 (RUN_TEST_cc_c): Likewise.
6841 (RUN_TEST_f_i): Likewise.
6842 (RUN_TEST_f_i_tg): Likewise.
6843 (RUN_TEST_ff_i_tg): Likewise.
6844 (RUN_TEST_f_b): Likewise.
6845 (RUN_TEST_f_b_tg): Likewise.
6846 (RUN_TEST_f_l): Likewise.
6847 (RUN_TEST_f_L): Likewise.
6848 (RUN_TEST_sincos): Likewise.
6849 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6850 whether to show exceptions. Do not include ");\n" in return
6851 value.
6852 (special_functions): Output call to RUN_TEST_sincos instead of
6853 check_float calls. Update calls to new_test.
6854 (parse_args): Output call to single RUN_TEST_* macro instead of
6855 check_* calls and other assignments. Update calls to new_test.
6856
d8cd06db
JM
6857 [BZ #2546]
6858 [BZ #2560]
6859 [BZ #5159]
6860 [BZ #15426]
6861 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6862 input to result for tgamma overflow.
6863 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6864 (gamma_coeff): New variable.
6865 (NCOEFF): New macro.
6866 (gamma_positive): New function.
6867 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6868 underflow here. Use gamma_positive instead of exp (lgamma) for
6869 other arguments.
6870 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6871 (gamma_coeff): New variable.
6872 (NCOEFF): New macro.
6873 (gammaf_positive): New function.
6874 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6875 underflow here. Use gamma_positive instead of exp (lgamma) for
6876 other arguments.
6877 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6878 (gamma_coeff): New variable.
6879 (NCOEFF): New macro.
6880 (gammal_positive): New function.
6881 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6882 underflow here. Use gamma_positive instead of exp (lgamma) for
6883 other arguments.
6884 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6885 (gamma_coeff): New variable.
6886 (NCOEFF): New macro.
6887 (gammal_positive): New function.
6888 (__ieee754_gammal_r): Handle positive infinity, overflow and
6889 underflow here. Handle NaN the same as positive infinity. Remove
6890 check x < 0xffffffff for negative integers. Use gamma_positive
6891 instead of exp (lgamma) for other arguments.
6892 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6893 (gamma_coeff): New variable.
6894 (NCOEFF): New macro.
6895 (gammal_positive): New function.
6896 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6897 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6901 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6902 * sysdeps/generic/math_private.h (__gamma_productf): New
6903 prototype.
6904 (__gamma_product): Likewise.
6905 (__gamma_productl): Likewise.
6906 * math/Makefile (libm-calls): Add gamma_product.
6907 * math/libm-test.inc (tgamma_test): Add more tests.
6908 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910
bb7cf681
OB
69112013-05-08 Ondřej Bílka <neleai@seznam.cz>
6912
6913 * benchtests/bench-skeleton.c (main): Preheat CPU.
6914
ba853947
AJ
69152013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6916
6917 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6918
8347c74c
RM
69192013-05-07 Roland McGrath <roland@hack.frob.com>
6920
6921 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6922 and _dl_skip_args_internal.
6923
e8dd4791
CD
69242013-05-07 Carlos O'Donell <carlos@redhat.com>
6925
6926 * manual/message.texi (Message Translation): Talk about users.
6927 Message to key mapping impacts design.
6928
c7405830
RM
69292013-05-06 Roland McGrath <roland@hack.frob.com>
6930
a9173057
RM
6931 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6932
976e2f03
RM
6933 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6934
9723ffc5
RM
6935 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6936 * sysdeps/wordsize-64/glob64.c: ... here.
6937
962e6658
RM
6938 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6939 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6940 New macros.
6941
ee586a6d
RM
6942 * debug/getlogin_r_chk.c: Moved to ...
6943 * login/getlogin_r_chk.c: ... here.
6944 * debug/Makefile (routines): Move getlogin_r_chk to ...
6945 * login/Makefile (routines): ... here.
6946 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6947 * login/Versions (libc: GLIBC_2.4): ... here.
6948
355f9165
RM
6949 * io/poll.c (__poll): Renamed from poll.
6950 Add libc_hidden_def.
6951 (poll): Define as weak alias.
6952
bd9ffde6
RM
6953 * debug/ptsname_r_chk.c: Moved to ...
6954 * login/ptsname_r_chk.c: ... here.
6955 * debug/Makefile (routines): Move ptsname_r_chk to ...
6956 * login/Makefile (routines): ... here.
6957 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6958 * login/Versions (libc: GLIBC_2.4): ... here.
6959
8fb16a04
RM
6960 * posix/getlogin.c: Moved to ...
6961 * login/getlogin.c: ... here.
6962 * posix/getlogin_r.c: Moved to ...
6963 * login/getlogin_r.c: ... here.
6964 * posix/getlogin_r.c: Moved to ...
6965 * login/getlogin_r.c: ... here.
6966 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6967 * login/Makefile (routines): ... here.
6968 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6969 * login/Versions (libc: GLIBC_2.0): ... here.
6970
b99b892f
RM
6971 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6972 (setrlimit): Define as weak alias.
6973
c7405830
RM
6974 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6975 Call __ names for open, ftruncate, and close.
6976 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6977 (truncate): Define as weak alias.
6978
5bf96de5
JM
69792013-05-06 Joseph Myers <joseph@codesourcery.com>
6980
9ea3513c
JM
6981 * math/gen-libm-test.pl (parse_args): Initialize x before each
6982 test of frexp, modf and remquo.
6983
5bf96de5
JM
6984 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6985 test signgam value.
6986
16e616a7
AZ
69872013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6988
6989 [BZ #15418]
6990 [BZ #15419]
6991 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6992 internal tests.
6993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6994
d5e82754
RM
69952013-05-06 Roland McGrath <roland@hack.frob.com>
6996
6997 * elf/dl-writev.h: New file.
6998 * elf/dl-misc.c: Include it.
6999 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7000 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7001
a7548d41
JM
70022013-05-04 Joseph Myers <joseph@codesourcery.com>
7003
b7dab1e4
JM
7004 * math/libm-test.inc (noXFails): Remove variable.
7005 (noXPasses): Likewise.
7006 (BUILD_COMPLEX_INT): Remove macro.
7007 (print_screen): Remove xfail argument.
7008 (print_screen_max_error): Likewise.
7009 (update_stats): Likewise.
7010 (print_max_error): Likewise. Update calls to other affected
7011 functions.
7012 (print_complex_max_error): Likewise.
7013 (test_single_exception): Update calls to print_screen.
7014 (test_single_errno): Likewise.
7015 (check_float_internal): Remove xfail argument. Update calls to
7016 other affected functions.
7017 (check_float): Likewise.
7018 (check_complex): Likewise.
7019 (check_int): Likewise.
7020 (check_long): Likewise.
7021 (check_bool): Likewise.
7022 (check_longlong): Likewise.
7023 (main): Don't print noXFails and noXPasses.
7024 * math/gen-libm-test.pl (top level): Don't mention expected
7025 failure handling in comment.
7026 (new_test): Don't handle expected failures.
7027 (parse_args): Don't mention expected failure handling in comment.
7028 (generate_testfile): Don't handle expected failures.
7029 (parse_ulps): Likewise.
7030 (print_ulps_file): Likewise.
7031 (get_failure): Remove function.
7032 (output_test): Don't handle expected failures.
7033 * make/README.libm-test: Don't mention expected failure handling.
7034
a7548d41
JM
7035 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7036 (minus_zero): Likewise.
7037 (plus_infty): Likewise.
7038 (minus_infty): Likewise.
7039 (qnan_value): Likewise.
7040 (max_value): Likewise.
7041 (min_value): Likewise.
7042 (min_subnorm_value): Likewise.
7043 (initialize): Do not initialize those variables dynamically.
7044
60bfd54c
RM
70452013-05-03 Roland McGrath <roland@hack.frob.com>
7046
cc0e6ed8
RM
7047 * io/open.c (__open_2): Moved to ...
7048 * io/open_2.c: ... this new file.
7049 * io/open64.c (__open64_2): Moved to ...
7050 * io/open64_2.c: ... this new file.
7051 * io/openat.c (__openat_2): Moved to ...
7052 * io/openat_2.c: ... this new file.
7053 * io/openat64.c (__openat64_2): Moved to ...
7054 * io/openat64_2.c: ... this new file.
7055 * io/Makefile (routines): Add them.
7056 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7057 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7058 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7059 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7060 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7061 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7062 (__openat64): Add hidden_ver.
7063 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7064 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7065
60bfd54c
RM
7066 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7067 Separately conditionalize setting of GLRO(dl_sysinfo) so
7068 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7069 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7070
83e7640f
AZ
70712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7072
7073 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7074 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7075 definition.
7076 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7077 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7078 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7079 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7080 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7081
d5dc2af3
JM
70822013-05-03 Joseph Myers <joseph@codesourcery.com>
7083
c31a5b1e
JM
7084 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7085 test signgam value.
7086
d5dc2af3
JM
7087 * math/libm-test.inc (hypot_test): Do not use
7088 IGNORE_ZERO_INF_SIGN.
7089
164fd39d
AJ
70902013-05-03 Andreas Jaeger <aj@suse.de>
7091
7092 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7093 Linux 3.9.
7094 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7095 (PF_MAX): Adjust for VSOCK change.
7096
8237f48c
AZ
70972013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7098
7099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7100
9df02941
CD
71012013-05-02 Carlos O'Donell <carlos@redhat.com>
7102
7103 [BZ #15264]
7104 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7105 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7106 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7107
d422395e
DM
71082013-05-02 David S. Miller <davem@davemloft.net>
7109
7110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7111
a07c5731
OB
71122013-05-01 Ondřej Bílka <neleai@seznam.cz>
7113
7114 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7115
1324e37f
RM
71162013-05-01 Roland McGrath <roland@hack.frob.com>
7117
7118 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7119
0695940b
RS
71202013-05-01 Richard Smith <richard@metafoo.co.uk>
7121
bb5f27ad 7122 [BZ #14952]
0695940b
RS
7123 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7124 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7125 Use __attribute__ ((__gnu_inline__)).
7126 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7127 Don't use __attribute__ ((__gnu_inline__)).
7128
10de07f5
JM
71292013-05-01 Joseph Myers <joseph@codesourcery.com>
7130
7131 [BZ #15423]
7132 * math/s_catan.c (__catan): Handle small real or imaginary part of
7133 input specially to avoid spurious underflow.
7134 * math/s_catanf.c (__catanf): Likewise.
7135 * math/s_catanh.c (__catanh): Likewise.
7136 * math/s_catanhf.c (__catanhf): Likewise.
7137 * math/s_catanhl.c (__catanhl): Likewise.
7138 * math/s_catanl.c (__catanl): Likewise.
7139 * math/libm-test.inc (catan_test): Add more tests.
7140 (catanh_test): Likewise.
7141 * sysdeps/i386/fpu/libm-test-ulps: Update.
7142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7143
cb4d5414
AZ
71442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7145
7146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7147
caf84319
JM
71482013-04-30 Joseph Myers <joseph@codesourcery.com>
7149
7150 [BZ #15416]
7151 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7152 accurately for denominator in atan2.
7153 * math/s_catanf.c (__catanf): Likewise.
7154 * math/s_catanh.c (__catanh): Likewise.
7155 * math/s_catanhf.c (__catanhf): Likewise.
7156 * math/s_catanhl.c (__catanhl): Likewise.
7157 * math/s_catanl.c (__catanl): Likewise.
7158 * math/libm-test.inc (catan_test): Add more tests.
7159 (catanh_test): Likewise.
7160 * sysdeps/i386/fpu/libm-test-ulps: Update.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7162
d569c6ee
SP
71632013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7164
6dbe713d
SP
7165 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7166
f0ee064b
SP
7167 * benchtests/Makefile (bench): Remove slow benchmarks.
7168 * benchtests/atan-inputs: Add slow benchmark inputs.
7169 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7170 (BENCH_FUNC): Accept variant offset.
7171 (VARIANT): Define.
7172 * benchtests/bench-skeleton.c (main): Run benchmark for each
7173 variant.
7174 * benchtests/cos-inputs: Add slow benchmark inputs.
7175 * benchtests/exp-inputs: Likewise.
7176 * benchtests/pow-inputs: Likewise.
7177 * benchtests/sin-inputs: Likewise.
7178 * benchtests/slowatan-inputs: Remove.
7179 * benchtests/slowatan.c: Remove.
7180 * benchtests/slowcos-inputs: Remove.
7181 * benchtests/slowcos.c: Remove.
7182 * benchtests/slowexp-inputs: Remove.
7183 * benchtests/slowexp.c: Remove.
7184 * benchtests/slowpow-inputs: Remove.
7185 * benchtests/slowpow.c: Remove.
7186 * benchtests/slowsin-inputs: Remove.
7187 * benchtests/slowsin.c: Remove.
7188 * benchtests/slowtan-inputs: Remove.
7189 * benchtests/slowtan.c: Remove.
7190 * benchtests/tan-inputs: Add slow benchmark inputs.
7191 * scripts/bench.pl: Parse comments and directives.
7192
d569c6ee
SP
7193 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7194 in CPPFLAGS.
7195 ($(objpfx)bench-%.c): Remove *-ITER.
7196 * benchtests/bench-modf.c: Remove definition of ITER.
7197 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7198 (main): Loop for DURATION seconds instead of fixed number of
7199 iterations.
7200 * scripts/bench.pl: Don't expect iterations in parameters.
7201
a6a242fe
RM
72022013-04-29 Roland McGrath <roland@hack.frob.com>
7203
7204 * io/fchdir.c (__fchdir): Renamed from fchdir.
7205 (fchdir): Define as weak alias.
7206
f2da7793
JM
72072013-04-29 Joseph Myers <joseph@codesourcery.com>
7208
7209 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7210 (ERRNO_EDOM): Likewise.
7211 (ERRNO_ERANGE): Likewise.
7212 (noErrnoTests): New variable.
7213 (init_max_error): Set errno to 0.
7214 (test_single_errno): New function.
7215 (test_errno): Likewise.
7216 (check_float_internal): Call test_errno. Set errno to 0.
7217 (check_complex): Refer to errno tests in comment.
7218 (check_int): Call test_errno. Set errno to 0.
7219 (check_long): Likewise.
7220 (check_bool): Likewise.
7221 (check_longlong): Likewise.
7222 (cos_test): Use ERRNO_* flags for errno tests instead of
7223 check_int.
7224 (expm1_test): Likewise.
7225 (fmod_test): Likewise.
7226 (ilogb_test): Likewise.
7227 (lgamma_test): Likewise.
7228 (pow_test): Likewise.
7229 (remainder_test): Likewise.
7230 (sin_test): Likewise.
7231 (tan_test): Likewise.
7232 (yn_test): Likewise.
7233 (initialize): Set errno to 0.
7234 (main): Print number of errno tests.
7235 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7236
b1a36ceb
AJ
72372013-04-29 Andreas Jaeger <aj@suse.de>
7238
c3ed8088
AJ
7239 [BZ #15084]
7240 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7241 and RES_USEVC.
7242
f1a24198
AJ
7243 [BZ #15085]
7244 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7245 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7246 unimplemented.
7247
9ce3b2cb
AJ
7248 [BZ #15380]
7249 * stdlib/random.c (__initstate): Return NULL if
7250 __initstate fails.
7251
f1a24198 7252 [BZ #15086]
b1a36ceb
AJ
7253 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7254 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7255 RES_SNGLKUPREOP.
7256
7e7b6f36
AZ
72572013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7258
7259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7260
4d14f449
JM
72612013-04-29 Joseph Myers <joseph@codesourcery.com>
7262
7263 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7264 of individual tests.
7265 (casin_test): Likewise.
7266 (casinh_test): Likewise.
7267
5b4217d7
JM
72682013-04-27 Joseph Myers <joseph@codesourcery.com>
7269
7270 [BZ #15409]
7271 * math/s_catan.c (__catan): Handle arguments with large real or
7272 imaginary part separately without squaring.
7273 * math/s_catanf.c (__catanf): Likewise.
7274 * math/s_catanh.c (__catanh): Likewise.
7275 * math/s_catanhf.c (__catanhf): Likewise.
7276 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7277 and redefine.
7278 (__catanhl): Handle arguments with large real or imaginary part
7279 separately without squaring.
7280 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7281 and redefine.
7282 (__catanl): Handle arguments with large real or imaginary part
7283 separately without squaring.
7284 * math/libm-test.inc (catan_test): Add more tests.
7285 (catanh_test): Likewise.
7286 * sysdeps/i386/fpu/libm-test-ulps: Update.
7287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7288
4220c3ef
AJ
72892013-04-27 Andreas Jaeger <aj@suse.de>
7290
7291 [BZ #15007]
7292 * stdlib/stdlib.h: Update guards for qecvt.
7293 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7294 <stdlib.h>.
7295
4721b2d1
AM
72962013-04-27 Allan McRae <allan@archlinux.org>
7297
7298 * sysdeps/i386/fpu/libm-test-ulps: Update.
7299
f0302940
JM
73002013-04-26 Joseph Myers <joseph@codesourcery.com>
7301
9457fd95
JM
7302 [BZ #15406]
7303 * math/s_catan.c: Include <float.h>.
7304 (__catan): Ensure underflow exception occurs for underflowed
7305 result.
7306 * math/s_catanf.c: Include <float.h>.
7307 (__catanf): Ensure underflow exception occurs for underflowed
7308 result.
7309 * math/s_catanh.c: Include <float.h>.
7310 (__catanh): Ensure underflow exception occurs for underflowed
7311 result.
7312 * math/s_catanhf.c: Include <float.h>.
7313 (__catanhf): Ensure underflow exception occurs for underflowed
7314 result.
7315 * math/s_catanhl.c: Include <float.h>.
7316 (__catanhl): Ensure underflow exception occurs for underflowed
7317 result.
7318 * math/s_catanl.c: Include <float.h>.
7319 (__catanl): Ensure underflow exception occurs for underflowed
7320 result.
7321 * math/libm-test.inc (catan_test): Add more tests.
7322 (catanh_test): Likewise.
7323
f0302940
JM
7324 [BZ #15405]
7325 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7326 underflowed result.
7327 * math/s_ccoshf.c (__ccoshf): Likewise.
7328 * math/s_ccoshl.c (__ccoshl): Likewise.
7329 * math/s_csin.c (__csin): Likewise.
7330 * math/s_csinf.c (__csinf): Likewise.
7331 * math/s_csinh.c (__csinh): Likewise.
7332 * math/s_csinhf.c (__csinhf): Likewise.
7333 * math/s_csinhl.c (__csinhl): Likewise.
7334 * math/s_csinl.c (__csinl): Likewise.
7335 * math/libm-test.inc (ccos_test): Add more tests.
7336 (ccosh_test): Likewise.
7337 (csin_test): Likewise.
7338 (csinh_test): Likewise.
7339
aa630f59
AZ
73402013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7341
7342 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7343 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7344 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7345 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7346 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7347 powerpc/power5+/fpu folders.
7348 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7349
7350
1b835983
MT
73512013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7352
7353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7354
73709b26
JM
73552013-04-25 Joseph Myers <joseph@codesourcery.com>
7356
7357 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7358 additions to variable.
7359 [$(config-machine) = x86_64] (modules-names): Likewise.
7360 ($(objpfx)tst-audit3): Remove dependency.
7361 ($(objpfx)tst-audit3.out): Likewise.
7362 ($(objpfx)tst-audit4): Likewise.
7363 ($(objpfx)tst-audit4.out): Likewise.
7364 ($(objpfx)tst-audit5): Likewise.
7365 ($(objpfx)tst-audit5.out): Likewise.
7366 ($(objpfx)tst-audit6): Likewise.
7367 ($(objpfx)tst-audit6.out): Likewise.
7368 ($(objpfx)tst-audit7): Likewise.
7369 ($(objpfx)tst-audit7.out): Likewise.
7370 (tst-audit3-ENV): Remove variable.
7371 (tst-audit4-ENV): Likewise.
7372 (tst-audit5-ENV): Likewise.
7373 (tst-audit6-ENV): Likewise.
7374 (tst-audit7-ENV): Likewise.
7375 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7376 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7377 addition to variable.
7378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7379 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7383 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7384 tst-audit3, tst-audit4 and tst-audit5.
7385 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7386 tst-audit6 and tst-audit7.
7387 [$(subdir) = elf] (modules-names): Add audit modules for those
7388 tests.
7389 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7390 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7391 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7392 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7393 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7394 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7395 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7396 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7397 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7398 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7399 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7400 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7401 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7402 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7403 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7404 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7405 Likewise.
7406 [$(subdir) = elf && $(config-cflags-avx) = yes]
7407 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7408 [$(subdir) = elf && $(config-cflags-avx) = yes]
7409 (CFLAGS-tst-auditmod4a.c): Likewise.
7410 [$(subdir) = elf && $(config-cflags-avx) = yes]
7411 (CFLAGS-tst-auditmod4b.c): Likewise.
7412 [$(subdir) = elf && $(config-cflags-avx) = yes]
7413 (CFLAGS-tst-auditmod6b.c): Likewise.
7414 [$(subdir) = elf && $(config-cflags-avx) = yes]
7415 (CFLAGS-tst-auditmod6c.c): Likewise.
7416 [$(subdir) = elf && $(config-cflags-avx) = yes]
7417 (CFLAGS-tst-auditmod7b.c): Likewise.
7418 * elf/tst-audit3.c: Move to ...
7419 * sysdeps/x86_64/tst-audit3.c: ... here.
7420 * elf/tst-audit4.c: Move to ...
7421 * sysdeps/x86_64/tst-audit4.c: ... here.
7422 * elf/tst-audit5.c: Move to ...
7423 * sysdeps/x86_64/tst-audit5.c: ... here.
7424 * elf/tst-audit6.c: Move to ...
7425 * sysdeps/x86_64/tst-audit6.c: ... here.
7426 * elf/tst-audit7.c: Move to ...
7427 * sysdeps/x86_64/tst-audit7.c: ... here.
7428 * elf/tst-auditmod3a.c: Move to ...
7429 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7430 * elf/tst-auditmod3b.c: Move to ...
7431 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7432 * elf/tst-auditmod4a.c: Move to ...
7433 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7434 * elf/tst-auditmod4b.c: Move to ...
7435 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7436 * elf/tst-auditmod5a.c: Move to ...
7437 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7438 * elf/tst-auditmod5b.c: Move to ...
7439 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7440 * elf/tst-auditmod6a.c: Move to ...
7441 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7442 * elf/tst-auditmod6b.c: Move to ...
7443 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7444 * elf/tst-auditmod6c.c: Move to ...
7445 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7446 * elf/tst-auditmod7a.c: Move to ...
7447 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7448 * elf/tst-auditmod7b.c: Move to ...
7449 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7450
1ef74943
PP
74512013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7452
7453 [BZ #15366]
7454 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7455 define unconditionally.
7456 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7457 define unconditionally.
7458 (INT8_C, INT16_C, etc.): Likewise.
7459
93fd48c5
MR
74602013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7461
ae9552cf
MR
7462 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7463 __ehdr_start with hidden visibility.
7464
93fd48c5
MR
7465 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7466
418601aa
CD
74672013-04-24 Carlos O'Donell <carlos@redhat.com>
7468
7469 * math/libm-test.inc (cos_test): Use accurate hex constants.
7470 (sincost_test): Likewise.
7471
2f38fbfe
JM
74722013-04-24 Joseph Myers <joseph@codesourcery.com>
7473
5e221800
JM
7474 * math/libm-test.inc (catan_test): Add more tests.
7475 (catanh_test): Likewise.
7476
77f143fd
JM
7477 * math/s_catanf.c (__catanf): Use suffixed floating-point
7478 constants.
7479 * math/s_catanhf.c (__catanhf): Likewise.
7480 * math/s_catanhl.c (__catanhl): Likewise.
7481 * math/s_catanl.c (__catanl): Likewise.
7482
2f38fbfe
JM
7483 [BZ #15394]
7484 * math/s_catan.c (__catan): Calculate imaginary part of result
7485 with log1p not log unless computing log of number close to 0.
7486 * math/s_catanf.c (__catanf): Likewise.
7487 * math/s_catanl.c (__catanl): Likewise.
7488 * math/s_catanh.c (__catanh): Calculate real part of result with
7489 log1p not log unless computing log of number close to 0.
7490 * math/s_catanhf.c (__catanhf): Likewise.
7491 * math/s_catanhl.c (__catanhl): Likewise.
7492 * math/libm-test.inc (catan_test): Add more tests.
7493 (catanh_test): Likewise.
7494 * sysdeps/i386/fpu/libm-test-ulps: Update.
7495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7496
45d69176
SP
74972013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7498
7499 * benchtests/Makefile: Mention files in which fast and slow
7500 paths of math functions are implemented.
7501
87f51853
RM
75022013-04-23 Roland McGrath <roland@hack.frob.com>
7503
7504 * sysdeps/posix/timespec_get.c: New file.
7505
3c026539
AZ
75062013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7507
7508 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7509 POWER.
7510 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7511 for POWER.
7512 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7513 powerpc/power5/fpu folders.
7514 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7515 * benchtests/Makefile: Add modf testcase.
7516 * benchtests/bench-modf.c: New file: Benchmark test for mo
7517
ff491d14
SP
75182013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7519
7520 [BZ #14888]
7521 * time/Makefile (tests): Add tst-strptime-whitespace.
7522 * time/strptime_l.c (get_number): Use ISSPACE.
7523 (__strptime_internal): Likewise.
7524 * time/tst-strptime-whitespace.c: New test case.
7525
7ed3f4e8
AS
75262013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7527
7528 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7529 member.
7530 (_nss_files_init): Set it here.
7531
5c95f7b6
HC
75322013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7533
7534 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7535 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7536 unsigned.
7537
d34c9158
JBG
75382013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7539
7540 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7541
2169712d
SP
75422013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7543
7544 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7545 size just once.
7546
29c5de99
DM
75472013-04-21 David S. Miller <davem@davemloft.net>
7548
7549 * po/ru.po: Update Russion translation from translation project.
7550
ccdad15d
AC
75512013-04-17 Adam Conrad <adconrad@0c3.net>
7552
7553 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7554 and setfsgid.
7555
0f122b8d
CD
75562013-04-17 Carlos O'Donell <carlos@redhat.com>
7557
5c5b07da 7558 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7559 * configure: Regenerate.
5c5b07da 7560 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7561 Add example to error message.
7562 * sysdeps/i386/configure: Regenerate.
7563
037714dd
SP
75642013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7565
7566 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7567 slowtan.
7568 * benchtests/cos-inputs: New file.
7569 * benchtests/slowcos-inputs: New file.
7570 * benchtests/slowcos.c: New file.
7571 * benchtests/slowtan-inputs: New file.
7572 * benchtests/slowtan.c: New file.
7573 * benchtests/tan-inputs: New file.
7574
e913141d
RM
75752013-04-16 Roland McGrath <roland@hack.frob.com>
7576
7577 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7578 considered kosher.
7579
a2964074
SP
75802013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7581
4856bcd2
SP
7582 * benchtests/Makefile: Include cppflags-iterator.mk to add
7583 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7584
a2964074
SP
7585 * Makefile.in (bench-clean): New target.
7586 * benchtests/Makefile (bench-clean): Likewise.
7587
9fbf9aca
DH
75882013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7589
7590 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7591
207d1e2a
TS
75922013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7593
7594 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7595
306dfba9
AS
75962013-04-15 Andreas Schwab <schwab@suse.de>
7597
7598 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7600 * nscd/pwdcache.c (cache_addpw): Likewise.
7601 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7602 more than recsize.
7603
206a6699
SP
76042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7605
7606 * benchtests/Makefile (bench): Write all output to
7607 bench-out.tmp together.
7608
0582f6b3
AS
76092013-04-15 Andreas Schwab <schwab@suse.de>
7610
7611 * nscd/nscd.c (main): Don't fork again after closing files.
7612
acb4325f
SP
76132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7614
5cb26d0a
SP
7615 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7616
acb4325f
SP
7617 * benchtests/Rules (bench-deps): Collect dependencies into a
7618 single variable. Add Makefile to dependencies.
7619 ($(objpfx)bench-%.c): Depend on bench-deps.
7620
47792506
RM
76212013-04-12 Roland McGrath <roland@hack.frob.com>
7622 Xavier Roche <roche+kml2@exalead.com>
7623
7624 [BZ #15361]
7625 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7626 just that it's a file descriptor.
7627 * manual/llio.texi (Synchronizing AIO Operations): Update description
7628 for EBADF error from aio_fsync.
7629
8fc1bee5
SP
76302013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7631
7632 * Rules (bench): Move target definition...
7633 * benchtests/Makefile: ... here.
7634
aba5e333
CD
76352013-04-11 Carlos O'Donell <carlos@redhat.com>
7636
7637 * math/libm-test.inc (cos_test): Fix PI/2 test.
7638 (sincos_test): Likewise.
7639 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7640 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7641
273cdee8
AS
76422013-04-11 Andreas Schwab <schwab@suse.de>
7643
6ecec3b6
AS
7644 [BZ #13988]
7645 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7646 accept exponent character only when digits were seen.
7647 * stdio-common/Makefile (tests): Add bug26.
7648 * stdio-common/bug26.c: New file.
7649
273cdee8
AS
7650 [BZ #14293]
7651 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7652 non-freeable.
7653
8da491f5
SP
76542013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7655
01dc6df9
SP
7656 * Makeconfig (rtld-prefix): Define built linker prefix.
7657 * Rules (run-bench): Use it.
7658 * math/Makefile (run-regen-ulps): Likewise.
7659
8da491f5
SP
7660 * Rules (bench): Remove eval.
7661
abe7f530
SP
76622013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7663 Roland McGrath <roland@hack.frob.com>
7664 Ondrej Bilka <neleai@seznam.cz>
7665
7666 [BZ #15346]
7667 * time/getdate.c: Include ctype.h and alloca.h.
7668 (__getdate_r): Trim leading and trailing spaces of input.
7669 * time/tst-getdate.c (tests): Add tests with leading and
7670 trailing spaces.
7671
61c23e62
RM
76722013-04-08 Roland McGrath <roland@hack.frob.com>
7673
7674 [BZ #14280]
7675 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7676 when computing value.
7677
7208a313
CD
76782013-04-06 Carlos O'Donell <carlos@redhat.com>
7679
085b2d41
CD
7680 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7681 Use testrun.sh to run libm tests.
7682
7208a313
CD
7683 [BZ #15309]
7684 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7685
872c0acd
MM
76862013-04-06 Marko Myllynen <myllynen@redhat.com>
7687
7688 [BZ #15264]
7689 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7690
26510bdd
CD
76912013-04-06 Carlos O'Donell <carlos@redhat.com>
7692
7693 * Makefile.in (regen-ulps): New target.
7694 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7695 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7696 [ifneq (no,$(PERL)] (regen-ulps): New target.
7697 [ifeq (no,$(PERL)] (regen-ulps): New target.
7698 * math/libm-test.inc (ulps_file_name): Define.
7699 (output_dir): New variable.
7700 (options): Add "output-dir" option.
7701 (parse_opt): Handle 'o' case.
7702 (main): If output_dir is non-NULL use it as a prefix
7703 otherwise use "".
7704 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7705
a01f19c8
CD
77062013-04-06 Carlos O'Donell <carlos@redhat.com>
7707
7708 [BZ #10060, #10062]
7709 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7710 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7711 fail configure if __sync_val_compare_and_swap is not inlined.
7712 * sysdeps/i386/configure: Regenerate.
7713 * configure.in: Build for i686 when configured for i386.
7714 * configure: Regenerate.
7715 * README: Remove i386 reference.
7716
b7a329a5
CD
77172013-04-06 Carlos O'Donell <carlos@redhat.com>
7718
7719 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7721
bf0f50df
TS
77222013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7723
ee091edf
TS
7724 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7725 (lmsnanval): New variables.
7726 (F): Add conversion tests.
7727 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7728 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7729
a8b792d6
TS
7730 * stdio-common/tstdiomisc.c (F): Properly collect individual
7731 tests' results.
7732
a1cbf437
TS
7733 [BZ #14686, #15336]
7734 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7735 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7736 Instead, use input NaN values or generate a qNaN by arithmetic
7737 operation. Also fix bugs to comply with the standard.
7738 * math/libm-test.inc (remainder_test): Add more tests.
7739
8b43a0c9
TS
7740 [BZ #15335, #15342]
7741 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7743 input NaN values or generate a qNaN by arithmetic operation.
7744
d91da4ce
TS
7745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7746 unreachable code.
7747
bf0f50df
TS
7748 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7749 definitions.
7750
05e166c8
JM
77512013-04-03 Joseph Myers <joseph@codesourcery.com>
7752
7753 [BZ #14478]
7754 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7755 underflowed result.
7756 * math/s_cexpf.c (__cexpf): Likewise.
7757 * math/s_cexpl.c (__cexpl): Likewise.
7758 * math/libm-test.inc (cexp_test): Add more tests.
7759
1cef1b19
AS
77602013-04-03 Andreas Schwab <schwab@suse.de>
7761
7762 [BZ #15330]
7763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7764 order arrays from heap if bigger than alloca cutoff.
7765
74d87055
TS
77662013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7767
7768 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7769 (SNAN_TESTS_double): Refer to GCC PR56831.
7770 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7771 GCC PR56828.
7772
d755bba4
SP
77732013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7774
90d5d5bb
SP
7775 * Rules (bench): Move bench.out after the run is complete.
7776
73e0cd5d
SP
7777 * Rules (bench): Echo currently running benchmark.
7778
64aabd4b
SP
7779 * benchtests/Makefile (bench): Add atan and slowatan.
7780 * benchtests/atan-inputs: New file.
7781 * benchtests/slowatan-inputs: New file.
7782 * benchtests/slowatan.c: New file.
7783
c871eccd
SP
7784 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7786 its value.
7787
d755bba4
SP
7788 [BZ #15305]
7789 * sysdeps/unix/sysv/linux/kernel-features.h
7790 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7791 __ASSUME_XFS_RESTRICTED_CHOWN.
7792 * sysdeps/unix/sysv/linux/pathconf.c
7793 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7794 Save and restore errno.
7795
52ce4860
JM
77962013-04-02 Joseph Myers <joseph@codesourcery.com>
7797
7798 [BZ #15327]
7799 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7800 arguments using __kernel_casinh.
7801 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7802 arguments using __kernel_casinhf.
7803 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7804 arguments using __kernel_casinhl.
7805 * math/libm-test.inc (cacosh_test): Add more tests.
7806 * sysdeps/i386/fpu/libm-test-ulps: Update.
7807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7808
81f311c2
SP
78092013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7810
e7906a47
SP
7811 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7813
92e3664b
SP
7814 * bench/Makefile (bench): Add sin and slowsin.
7815 * benchtests/sin-inputs: New file.
7816 * benchtests/slowsin-inputs: New file.
7817 * benchtests/slowsin.c: New file.
7818
81f311c2
SP
7819 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7820 (bench): Add slowexp and slowpow.
7821 (exp-ITER): Increase iterations.
7822 (pow-ITER): Likewise.
7823 * benchtests/exp-inputs: Change input.
7824 * benchtests/pow-inputs: Likewise.
7825 * benchtests/slowexp-inputs: New file.
7826 * benchtests/slowexp.c: New file.
7827 * benchtests/slowpow-inputs: New file.
7828 * benchtests/slowpow.c: New file.
7829
ab0f1aa9
AZ
78302013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7831
7832 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7833 instructions.
7834 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7835 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7836 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7837 * benchtests/Makefile: Add rint benchtest.
7838 * benchtests/rint-inputs: Input for rint benchtest.
7839
57267616
TS
78402013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7841
7842 * Versions.def (libm): Add GLIBC_2.18.
7843 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7844 hidden libm prototypes.
7845 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7846 * math/Makefile (libm-calls): Add s_issignaling.
7847 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7848 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7849 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7850 declaration.
7851 * math/math.h [__USE_GNU] (issignaling): New macro.
7852 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7853 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7854 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7855 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7858 * manual/arith.texi (issignaling): New section.
7859 * manual/libm-err-tab.pl (@all_functions): Update comment.
7860 * math/gen-libm-test.pl (parse_args): Apply special handling for
7861 issignaling.
7862 * math/libm-test.inc (print_float, issignaling_test): New
7863 functions.
7864 (check_float_internal): Add issignaling checks.
7865 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7866 default definition.
7867 * sysdeps/powerpc/math-tests.h: New file.
7868 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7869 tests.
7870 * math/test-snan.c (TEST_FUNC): Likewise.
7871
6142896d
DM
78722013-03-30 David S. Miller <davem@davemloft.net>
7873
7874 * po/de.po: Update from translation team.
7875
ccc8cadf
JM
78762013-03-30 Joseph Myers <joseph@codesourcery.com>
7877
7878 [BZ #10357]
7879 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7880 imaginary part less than 1.0 and real part less than 0.5
7881 specially.
7882 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7883 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7884 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7885 (cacos_test): Add more tests.
7886 (casin_test): Likewise.
7887 (casinh_test): Likewise.
7888 * sysdeps/i386/fpu/libm-test-ulps: Update.
7889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7890
0f6a8d4b
SP
78912013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7892
0d1029de
SP
7893 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7894 ONE with its value.
7895
c2d94018
SP
7896 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7897 (__pow_mp): Replace ONE and MONE with their values.
7898 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7899 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7900 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7901 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7902 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7903 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7904
27ec37f1
SP
7905 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7906
a64d7e0e
SP
7907 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7908 (__pow_mp): Replace ZERO and MZERO with their values.
7909 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7911 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7913 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7914 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7915 (__sqr): Likewise.
7916
d26dd3eb
SP
7917 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7918
0f6a8d4b
SP
7919 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7920
e57b0c61
RM
79212013-03-28 Roland McGrath <roland@hack.frob.com>
7922
7923 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7924 Declare with __attribute__ ((weak)).
7925 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7926 Call __call_tls_dtors only if it's not NULL.
7927
356b3480
RM
79282013-03-28 Roland McGrath <roland@hack.frob.com>
7929
288f7d79
RM
7930 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7931 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7932 magic __ehdr_start linker symbol if it's defined.
7933 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7934 them up here if it was already done.
7935
dc0a0263
RM
7936 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7937 (_dl_aux_init): Use const in cast when setting it.
7938 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7939 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7940 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7941
3d3436ae
RM
7942 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7943 Declare them here.
7944 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7945 * csu/libc-tls.c: Nor here.
7946 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7947
356b3480
RM
7948 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7949 (__libc_message): Never call vsyslog.
7950
b0f1246a
AM
79512013-03-28 Alan Modra <amodra@gmail.com>
7952
7953 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7954 Define as empty.
7955 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7956 Likewise.
7957
fbbe2b9a
AZ
79582013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7959
7960 [BZ #15214]
7961 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7962 underflow.
7963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7964
1728ab37
SP
79652013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7966
7a86be6e
SP
7967 [BZ #15304]
7968 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7969 Don't add gid passed as argument.
7970
1728ab37
SP
7971 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7972
3a7182a1
JM
79732013-03-27 Joseph Myers <joseph@codesourcery.com>
7974
7975 [BZ #15307]
7976 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7977 imaginary part between 1.0 and 1.5 and real part less than 0.5
7978 specially.
7979 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7980 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7981 * math/libm-test.inc (cacos_test): Add more tests.
7982 (casin_test): Likewise.
7983 (casinh_test): Likewise.
7984 * sysdeps/i386/fpu/libm-test-ulps: Update.
7985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986
6f2e90e7
SP
79872013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7988
5739f705
SP
7989 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7990 constants.
7991 (norm): Likewise.
7992 (denorm): Likewise.
7993 (__dbl_mp): Likewise.
7994 (add_magnitudes): Likewise.
7995 (sub_magnitudes): Likewise.
7996 (__add): Likewise.
7997 (__sub): Likewise.
7998 (__mul): Likewise.
7999 (__sqr): Likewise.
8000 (__inv): Likewise.
8001 (__dvd): Likewise.
8002
e375e83d
SP
8003 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8004 commented code.
8005 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8006 (__dubcos): Likewise.
8007 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8008 (__ieee754_acos): Likewise.
8009 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8010 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8011 (__exp1): Likewise.
8012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8014 (log1): Likewise.
8015 (my_log2): Likewise.
8016 (checkint): Likewise.
8017 * sysdeps/ieee754/dbl-64/e_remainder.c
8018 (__ieee754_remainder): Likewise.
8019 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8021 (bsloww): Likewise.
8022 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8023
6f2e90e7
SP
8024 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8025 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8026 MANTISSA_STORE_T to store computations on mantissa. Use
8027 macros for rounding and division.
8028 (denorm): Likewise.
8029 (__dbl_mp): Likewise.
8030 (add_magnitudes): Likewise.
8031 (sub_magnitudes): Likewise.
8032 (__mul): Likewise.
8033 (__sqr): Likewise.
8034 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8035 powers of two in terms of TWOPOW macro.
8036 (mp_no): Make type of mantissa as MANTISSA_T.
8037 [!RADIXI]: Define RADIXI.
8038 [!TWO52]: Define TWO52.
8039 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8040
fce14d4e
AZ
80412013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8042
8043 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8044 llroundl symbol when building for PPC32.
8045
9ad027fb
MW
80462013-03-24 Mark H Weaver <mhw@netris.org>
8047
8048 * manual/arith.texi (Normalization Functions): Fix prototypes for
8049 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8050
e42a38dd
AZ
80512013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8052
8053 [BZ #13889]
8054 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8055 high value to check if expl overflow.
8056 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8057 to check for underflow and overflow.
8058 * math/libm-test.inc: Add exp test.
8059
2e0fb521
DL
80602013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8061
8062 [BZ #11120]
8063 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8064 with NOT_IN_libc.
8065
b5784d95
AZ
80662013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8067
8068 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8069 symbol.
8070
5aa4a1a1
TS
80712013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8072
bdef0be7
TS
8073 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8074 wrap blocks consisting of several statements.
8075
5aa4a1a1
TS
8076 * sysdeps/generic/math-tests.h: New file.
8077 * sysdeps/i386/fpu/math-tests.h: Likewise.
8078 * math/test-snan.c: Include it.
8079 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8080
98c48fe5
JM
80812013-03-21 Joseph Myers <joseph@codesourcery.com>
8082
8083 [BZ #15285]
8084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8085 (__ieee754_j0l): Do not improve calculations using cos of twice
8086 input for inputs above LDBL_MAX / 2.0L.
8087 (__ieee754_y0l): Likewise.
8088 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8089 (__ieee754_j1l): Do not improve calculations using cos of twice
8090 input for inputs above LDBL_MAX / 2.0L.
8091 (__ieee754_y1l): Likewise.
8092 * math/libm-test.inc (j0_test): Add another test.
8093 (j1_test): Likewise.
8094 (y0_test): Likewise.
8095 (y1_test): Likewise.
8096 * sysdeps/i386/fpu/libm-test-ulps: Update.
8097
3775a8bc
SP
80982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8099
8100 * Rules ($(objpfx)bench-%.c): Include code from a C source
8101 file.
8102
0a1b2ae6
JM
81032013-03-21 Joseph Myers <joseph@codesourcery.com>
8104
8105 [BZ #15287]
8106 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8107 imaginary part 1.0 and real part less than 0.5 specially.
8108 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8109 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8110 * math/libm-test.inc (cacos_test): Add more tests.
8111 (casin_test): Likewise.
8112 (casinh_test): Likewise.
8113 * sysdeps/i386/fpu/libm-test-ulps: Update.
8114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8115
b33d4ce4
SP
81162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8117
8118 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8119 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8120
bef0b507
JM
81212013-03-20 Joseph Myers <joseph@codesourcery.com>
8122
8123 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8124 * config.make.in (config-cflags-sse4): Remove variable.
8125 (config-cflags-avx): Likewise.
8126 (config-cflags-sse2avx): Likewise.
8127 (config-cflags-novzeroupper): Likewise.
8128 (config-asflags-i686): Likewise.
8129 (have-mfma4): Likewise.
8130 (have-as-vis3): Likewise.
8131 (MIG): Likewise.
8132 * configure.in (MIG): Do not AC_SUBST.
8133 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8134 (libc_cv_cc_sse4): Do not AC_SUBST.
8135 (libc_cv_cc_avx): Likewise.
8136 (libc_cv_cc_sse2avx): Likewise.
8137 (libc_cv_cc_novzeroupper): Likewise.
8138 (libc_cv_cc_fma4): Likewise.
8139 (libc_cv_as_i686): Likewise.
8140 (libc_cv_sparc_as_vis3): Likewise.
8141 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8142 LIBC_CONFIG_VAR.
8143 (config-asflags-i686): Likewise.
8144 (config-cflags-avx): Likewise.
8145 (config-cflags-sse2avx): Likewise.
8146 (have-mfma4): Likewise.
8147 (config-cflags-novzeroupper): Likewise.
8148 * sysdeps/mach/configure.in (MIG): Likewise.
8149 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8150 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8151 LIBC_CONFIG_VAR.
8152 (config-cflags-avx): Likewise.
8153 (config-cflags-sse2avx): Likewise.
8154 (have-mfma4): Likewise.
8155 (config-cflags-novzeroupper): Likewise.
8156 * configure: Regenerated.
8157 * sysdeps/i386/configure: Likewise.
8158 * sysdeps/mach/configure: Likewise.
8159 * sysdeps/sparc/configure: Likewise.
8160 * sysdeps/x86_64/configure: Likewise.
8161
912cc4b3
RM
81622013-03-20 Roland McGrath <roland@hack.frob.com>
8163
8164 [BZ #14812]
8165 * locale/programs/localedef.c (options): Put N_ translation marker
8166 on argument names, not just descriptions.
8167
04eed2b0
MS
81682013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8169
8170 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8171
a065ceff
OB
81722013-03-20 Ondřej Bílka <neleai@seznam.cz>
8173
9bb2a810 8174 [BZ #14176]
a065ceff
OB
8175 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8176
a600e5ce
RM
81772013-03-19 Roland McGrath <roland@hack.frob.com>
8178
8179 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8180 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8181 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8182 [!BEFORE_ABORT] (before_abort): New function.
8183 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8184 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8185 (writev_for_fatal): New function.
8186 (WRITEV_FOR_FATAL): New macro; call that.
8187 (backtrace_and_maps): New function.
8188 (BEFORE_ABORT): New macro; call that.
8189 (struct str_list): Type removed.
8190 (__libc_message, __libc_fatal): Functions removed.
8191 Include <sysdeps/posix/libc_fatal.c> instead.
8192
6b18bea6
JM
81932013-03-19 Joseph Myers <joseph@codesourcery.com>
8194
8195 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8196 constants.
8197 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8198 double constants.
8199
aaa8cb4b
AS
82002013-03-19 Andreas Schwab <schwab@suse.de>
8201
44673770
AS
8202 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8203 * sysdeps/gnu/configure: Regenerate.
8204
aaa8cb4b
AS
8205 * configure.in: Substitute libc_cv_rtlddir.
8206 * configure: Regenerate.
8207 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8208 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8209 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8210 * elf/Makefile (install-others, CFLAGS-interp.c)
8211 (ldso_install, common-ldd-rewrite): Likewise.
8212 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8213 $(inst_slibdir)/$(rtld-installed-name).
8214 * scripts/rellns-sh: Add -p option.
8215 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8216 for source.
8217
d3cfc668
SP
82182013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8219
8220 * manual/nptl.texi: Renamed to ...
8221 * manual/threads.texi: ... this.
8222 * manual/Makefile (chapters): Update.
8223
0e2b9cdd
RM
82242013-03-18 Roland McGrath <roland@hack.frob.com>
8225
8226 [BZ #14812]
8227 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8228 on argument names, not just descriptions.
0e2b9cdd
RM
8229 * malloc/memusagestat.c (options): Likewise.
8230 * nss/getent.c (options): Likewise.
63270c24
RM
8231
82322013-03-18 Benno Schulenberg <bensberg@justemail.net>
8233
8234 [BZ #14812]
8235 * iconv/iconv_prog.c (options): Put N_ translation marker
8236 on argument names, not just descriptions.
8237 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8238
b2e1393c
OB
82392013-03-18 Ondrej Bilka <neleai@seznam.cz>
8240
8241 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8242 implementation which is faster on all x86_64 architectures.
8243 Tested on AMD, Intel Nehalem, SNB, IVB.
8244 * sysdeps/x86_64/strnlen.S: Likewise.
8245
8246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8247 Remove all multiarch strlen and strnlen versions.
8248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8249 Remove strlen and strnlen related parts.
8250
8251 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8252 Inline strlen part.
8253 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8254
8255 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8256 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8257 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8258 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8260 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8261
ec4ff04d
CD
82622013-03-17 Carlos O'Donell <carlos@redhat.com>
8263
8264 * manual/memory.texi (Malloc Tunable Parameters):
8265 Sort parameters alphabetically. Add comments for missing entries.
8266
cd18e90a
DM
82672013-03-17 David S. Miller <davem@davemloft.net>
8268
8269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8270
2a185d32
JM
82712013-03-16 Joseph Myers <joseph@codesourcery.com>
8272
d2f9799e
JM
8273 [BZ #15283]
8274 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8275 for arguments at most half maximum finite value.
8276 * math/libm-test.inc (j0_test): Add more tests.
8277 (j1_test): Likewise.
8278 (y0_test): Likewise.
8279 (y1_test): Likewise.
8280 * sysdeps/i386/fpu/libm-test-ulps: Update.
8281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8282
2a185d32
JM
8283 [BZ #14155]
8284 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8285 1 / x and functions P and Q for arguments above 0x1p256L.
8286 (__ieee754_y0l): Likewise.
8287 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8288 (__ieee754_y1l): Likewise.
8289 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8290 (j1_test): Likewise.
8291 (y0_test): Likewise.
8292 (y1_test): Likewise.
8293
6cbec759
TS
82942013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8295
8296 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8297 variable.
8298
bc16e260
RM
82992013-03-15 Roland McGrath <roland@hack.frob.com>
8300
aefc9b8c
RM
8301 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8302 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8303 zero since it's initialized to EXEC_PAGESIZE.
8304
bc16e260
RM
8305 * sysdeps/unix/sysv/linux/ldsodefs.h
8306 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8307 * sysdeps/generic/ldsodefs.h: ... here.
8308
a57da955
TS
83092013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8310
af00a34d
TS
8311 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8312
495ded2c
TS
8313 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8314 math/test-snan.c.
8315 * math/test-snan.c: Renamed from
8316 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8317 * math/Makefile (tests): Add test-snan.
8318 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8319 test-powerpc-snan.
8320
777b0332
TS
8321 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8322 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8323 functions.
8324 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8325 __builtin_nan family of functions.
8326 * math/libm-test.inc (initialize): Initialize qnan_value with
8327 __builtin_nan family of functions.
8328 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8329 Remove variables.
8330 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8331 Remove functions.
8332 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8333 storage class. Initialize qNaN_var and sNaN_var with
8334 __builtin_nan and __builtin_nans families of functions,
8335 respectively.
8336
64d063b8
TS
8337 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8338 (sqrt_test): Remove duplicate test with qNaN input.
8339 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8340 (round_test, signbit_test, significand_test): Note missing +/-Inf
8341 as well as qNaN tests.
8342
67e971f1
TS
8343 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8344 qNaN_var. Fix a few strings, too.
8345 * math/libm-test.inc (nan_value): Rename to qnan_value.
8346 * math/gen-libm-test.pl (%beautify): Adjust to that.
8347 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8348 * math/test-misc.c (main): Likewise.
8349 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8350 to __qnan_bytes, and __qnan_union, respectively.
8351 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8352 Likewise.
8353 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8354 and lqnanval, respectively.
8355 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8356 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8358 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8359
64487e12
TS
8360 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8361 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8362 doubles.
8363
e015e27b
TS
8364 * math/test-misc.c (main): Fix copy'n'pastos.
8365 * misc/tst-efgcvt.c (special): Likewise.
8366
a57da955
TS
8367 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8368 Remove declarations.
8369
1e380345
SP
83702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8371
8372 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8373 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8374 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8375 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8376
ef26eece
AZ
83772013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8378
8379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8380 macro to return vdso values correctly in IFUNC implementations.
8381 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8382 Optimization by using IFUNC.
8383
8cfdb7e0
SP
83842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8385 Richard Henderson <rth@redhat.com>
8386 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8387
8388 * Makefile.in (bench): New target.
8389 * NEWS: Mention the benchmark framework.
8390 * Rules (bench): Likewise.
8391 (binaries-bench): Generate binaries for functions to
8392 benchmark.
8393 * benchtests/Makefile: New makefile for benchmark tests.
8394 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8395 programs.
8396 * benchtests/exp-inputs: New input file for EXP function.
8397 * benchtests/pow-inputs: New input file for POW function.
8398 * scripts/bench.pl: New script to generate source files for
8399 benchmark programs.
8400
bcda9880
SP
84012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8402
d22ca8cd
SP
8403 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8404 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8405 computations on mantissa. Use macros for rounding and
8406 division.
8407 (denorm): Likewise.
8408 (__dbl_mp): Likewise.
8409 (add_magnitudes): Likewise.
8410 (sub_magnitudes): Likewise.
8411 (__mul): Likewise.
8412 (__sqr): Likewise.
8413 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8414 powers of two in terms of TWOPOW macro.
8415 (mp_no): Make type of mantissa as MANTISSA_T.
8416 [!RADIXI]: Define RADIXI.
8417 [!TWO52]: Define TWO52.
8418 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8419
bcda9880
SP
8420 * manual/nptl.texi (cindex): Modify threads to pthreads.
8421
06d5adfb
JM
84222013-03-15 Joseph Myers <joseph@codesourcery.com>
8423
8424 * sysdeps/x86_64/preconfigure: Regenerated.
8425
41c7328e
JM
84262013-03-14 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #14155]
8429 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8430 0x1p28 and above.
8431 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8432 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8433 0x1p28 and above.
8434 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8435 * math/libm-test.inc (j0_test): Do not allow one spurious
8436 underflow exception.
8437 (y1_test): Likewise.
8438
e25cfa60
SP
84392013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8440
0409959c
SP
8441 * manual/Makefile (chapters): Add nptl.
8442 * manual/debug.texi (Debugging Support): Add link to Threads
8443 chapter.
8444 * manual/nptl.texi: New file.
8445
e25cfa60
SP
8446 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8447
58a1335e
PB
84482013-03-14 Petr Baudis <pasky@ucw.cz>
8449
8450 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8451 for non-NULL pointer before the memory validity test. Pointed
8452 out by Holger Brunck <holger.brunck@keymile.com>.
8453
9dc7c64f
AS
84542013-03-13 Andreas Schwab <schwab@suse.de>
8455
8456 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8457 instead of .os.
8458
54206aa6
JM
84592013-03-13 Joseph Myers <joseph@codesourcery.com>
8460
8461 * timezone/zic.c: Update from tzcode 2013b.
8462
e98cdb38
CD
84632013-03-12 Carlos O'Donell <carlos@redhat.com>
8464
8465 * manual/install.texi (Configuring and compiling):
8466 Mention i686 and i586.
8467 * INSTALL: Regenerate.
8468
9967e003
RM
84692013-03-12 Roland McGrath <roland@hack.frob.com>
8470
8471 * sysdeps/init_array/elf-init.c: New file.
8472 * csu/elf-init.c
8473 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8474 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8475
8476 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8477 __gmon_start__ as global, but as static with a .preinit_array pointer.
8478 * sysdeps/init_array/gmon-start.c: New file. Use that.
8479 * sysdeps/init_array/crti.S: New file, empty except for comments.
8480 * sysdeps/init_array/crtn.S: Likewise.
8481
e6b5a293 84822013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8483
8484 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8485 definining bcopy.
80f844c9
OB
8486 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8487 Remove Prefer_SSE_for_memop.
8488 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8489 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8490 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8492 memset-x86-64.
80f844c9 8493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8494 Remove bzero, memset ifunc support.
80f844c9
OB
8495 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8496 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8497 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8498 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8499
fb6b0fcb
AS
85002013-03-11 Andreas Schwab <schwab@suse.de>
8501
8502 [BZ #15234]
8503 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8504 by SHLIB_COMPAT.
8505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8506 (GLIBC_2.16): Remove pthread_atfork.
8507
3e6bd4b1
PP
85082013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8509
8510 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8511 (ptestcases.h): Likewise.
8512
222d7f00
RM
85132013-03-08 Roland McGrath <roland@hack.frob.com>
8514
8515 * Makeconfig ($(common-objpfx)config.status): Depend on
8516 sysdeps/*/preconfigure{,.in} too.
8517
1ba4f030
JM
85182013-03-08 Joseph Myers <joseph@codesourcery.com>
8519
a222d91a
JM
8520 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8521 (__free_hook): Use void * instead of __malloc_ptr_t.
8522 (__malloc_hook): Likewise.
8523 (__realloc_hook): Likewise.
8524 (__memalign_hook): Likewise.
8525 (__after_morecore_hook): Likewise.
8526 * malloc/arena.c (save_malloc_hook): Likewise.
8527 (save_free_hook): Likewise.
8528 * malloc/hooks.c (malloc_hook_ini): Likewise.
8529 (realloc_hook_ini): Likewise.
8530 (memalign_hook_ini): Likewise.
8531 * malloc/malloc.c (malloc_hook_ini): Likewise.
8532 (realloc_hook_ini): Likewise.
8533 (memalign_hook_ini): Likewise.
8534 (__free_hook): Likewise.
8535 (__malloc_hook): Likewise.
8536 (__realloc_hook): Likewise.
8537 (__memalign_hook): Likewise.
8538 (__libc_malloc): Likewise.
8539 (__libc_free): Likewise.
8540 (__libc_realloc): Likewise.
8541 (__libc_memalign): Likewise.
8542 (__libc_valloc): Likewise.
8543 (__libc_pvalloc): Likewise.
8544 (__libc_calloc): Likewise.
8545 (__posix_memalign): Likewise.
8546 * malloc/morecore.c (__sbrk): Likewise.
8547 (__default_morecore): Likewise.
8548
5cc45e10
JM
8549 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8550
dd54b864
JM
8551 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8552 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8553 __malloc_ptrdiff_t.
8554
1ba4f030
JM
8555 * malloc/malloc.h (__malloc_size_t): Remove macro.
8556 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8557 __malloc_size_t.
8558 (old_memalign_hook): Likewise.
8559 (old_realloc_hook): Likewise.
8560 (struct hdr): Likewise.
8561 (flood): Likewise.
8562 (mallochook): Likewise.
8563 (memalignhook): Likewise.
8564 (reallochook): Likewise.
8565 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8566 (tr_old_realloc_hook): Likewise.
8567 (tr_old_memalign_hook): Likewise.
8568 (tr_mallochook): Likewise.
8569 (tr_reallochook): Likewise.
8570 (tr_memalignhook): Likewise.
8571
edf66e57
AZ
85722013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8573
8574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8575 default_ldbl_pack and using as default implementation.
8576 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8577 implementation.
8578 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8579 redundant definition.
8580 (ldbl_insert_mantissa): Likewise.
8581 (ldbl_canonicalize): Likewise.
8582 (ldbl_nearbyint): Likewise.
8583 (ldbl_pack): Rename to ldbl_pack_ppc.
8584 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8585 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8586 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8587
6d9145d8
SP
85882013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8589
8590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8591 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8592 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8593 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8595 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8596 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8597 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8598
4dd4e157
AJ
85992013-03-07 Andreas Jaeger <aj@suse.de>
8600
8601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8602 bits/mman-linux.h.
8603
adbb8027
SP
86042013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8605
ce544b5b
SP
8606 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8607 Include mpa.h and declare __MPEXP.
8608 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8609 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8610 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8611 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8613 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8615
4cc149fd
SP
8616 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8617 (__slowpow): Use long double EXPL and LOGL functions to
8618 compute POW.
8619 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8620 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8622 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8623 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8624 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8625
e6ebd4a7
SP
8626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8627 intermediate variable to calculate exponent.
8628 (__sqr): Likewise.
8629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8630 Likewise.
8631 (__sqr): Likewise.
8632
82a9811d
SP
8633 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8634 [!NO__SQR]: Define __sqr.
8635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8636 and NO__SQR. Remove all code except __mul and __sqr. Include
8637 sysdeps/ieee754/dbl-64/mpa.c.
8638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8639
adbb8027
SP
8640 [BZ #12723]
8641 * posix/Makefile (tests): Add tst-pathconf.
8642 * posix/tst-pathconf.c: New test case.
8643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8644 _PC_PIPE_BUF.
8645 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8646
39120df9
PF
86472013-03-06 Patsy Franklin <pfrankli@redhat.com>
8648
8649 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8650
67525cb8
AJ
86512013-03-06 Andreas Jaeger <aj@suse.de>
8652
664a9ce4
AJ
8653 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8654 definition via __MAP_ANONYMOUS.
8655
8e39047d
AJ
8656 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8657 it's not part of Linux headers.
8658
67525cb8
AJ
8659 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8660 (MAP_HUGE_MASK): Define.
8661
8662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8663 Define.
8664 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8665 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8666 Define.
8667 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8668 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8669 Define.
8670 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8672 Define.
8673 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8674
8675 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8676 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8677 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8678 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8679 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8680 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8681
8682 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8683 Handle f2fs.
8684
8685 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8686 Handle f2fs and efivarfs.
8687
8688 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8689 f2fs.
8690
8691 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8692 (EFIVARFS_MAGIC): Add.
8693 (F2FS_LINK_MAX): Add.
8694
e1b42695
PP
86952013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8696
8697 * stdio-common/vfprintf.c: Replace __builtin_expect with
8698 __glibc_unlikely.
8699
2d67d91a
JM
87002013-03-06 Joseph Myers <joseph@codesourcery.com>
8701
8702 [BZ #13550]
8703 * sysdeps/generic/bp-sym.h: Remove file.
8704 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8705 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8706 <bp-sym.h> and <bp-asm.h>.
8707 (__longjmp): Don't use BP_SYM.
8708 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8709 and <bp-asm.h>.
8710 (memcpy): Don't use BP_SYM.
8711 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8712 <bp-sym.h> and <bp-asm.h>.
8713 (memcpy): Don't use BP_SYM.
8714 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8715 <bp-asm.h>.
8716 (memcpy): Don't use BP_SYM.
8717 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8718 <bp-asm.h>.
8719 (memset): Don't use BP_SYM.
8720 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8721 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8722 (__bzero): Don't use BP_SYM.
8723 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8724 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8725 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8726 <bp-sym.h> and <bp-asm.h>.
8727 (memcmp): Don't use BP_SYM. Remove comment about bounded
8728 pointers.
8729 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8730 <bp-sym.h> and <bp-asm.h>.
8731 (memcpy): Don't use BP_SYM.
8732 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8733 <bp-sym.h> and <bp-asm.h>.
8734 (memset): Don't use BP_SYM.
8735 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8736 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8737 (__bzero): Don't use BP_SYM.
8738 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8739 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8741 <bp-sym.h> and <bp-asm.h>.
8742 (strncmp): Don't use BP_SYM. Remove comment about bounded
8743 pointers.
8744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8745 <bp-sym.h> and <bp-asm.h>.
8746 (memcpy): Don't use BP_SYM.
8747 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8748 <bp-sym.h> and <bp-asm.h>.
8749 (memset): Don't use BP_SYM.
8750 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8751 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8752 (__bzero): Don't use BP_SYM.
8753 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8754 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8755 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8756 <bp-sym.h> and <bp-asm.h>.
8757 (__memchr): Don't use BP_SYM.
8758 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8759 <bp-sym.h> and <bp-asm.h>.
8760 (memcmp): Don't use BP_SYM. Remove comment about bounded
8761 pointers.
8762 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8763 <bp-sym.h> and <bp-asm.h>.
8764 (memcpy): Don't use BP_SYM.
8765 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8766 <bp-sym.h> and <bp-asm.h>.
8767 (__mempcpy): Don't use BP_SYM.
8768 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8769 <bp-sym.h> and <bp-asm.h>.
8770 (__memrchr): Don't use BP_SYM.
8771 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8772 <bp-sym.h> and <bp-asm.h>.
8773 (memset): Don't use BP_SYM.
8774 (__bzero): Likewise.
8775 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8776 <bp-sym.h> and <bp-asm.h>.
8777 (__rawmemchr): Don't use BP_SYM.
8778 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8779 <bp-sym.h> and <bp-asm.h>.
8780 (__STRCMP): Don't use BP_SYM.
8781 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8782 <bp-sym.h> and <bp-asm.h>.
8783 (strchr): Don't use BP_SYM.
8784 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8785 <bp-sym.h> and <bp-asm.h>.
8786 (__strchrnul): Don't use BP_SYM.
8787 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8788 <bp-sym.h> and <bp-asm.h>.
8789 (strlen): Don't use BP_SYM.
8790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8791 <bp-sym.h> and <bp-asm.h>.
8792 (strncmp): Don't use BP_SYM. Remove comment about bounded
8793 pointers.
8794 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8795 <bp-sym.h> and <bp-asm.h>.
8796 (__strnlen): Don't use BP_SYM.
8797 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8798 <bp-sym.h> and <bp-asm.h>.
8799 (__GI__setjmp): Don't use BP_SYM.
8800 (_setjmp): Likewise.
8801 (__sigsetjmp): Likewise.
8802 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8803 (L(start_addresses)): Don't use BP_SYM.
8804 (_start): Likewise.
8805 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8806 <bp-asm.h>.
8807 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8808 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8809 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8810 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8811 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8812 <bp-asm.h>.
8813 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8814 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8815 about bounded pointers.
8816 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8817 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8818 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8819 <bp-asm.h>.
8820 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8821 about bounded pointers. Remove GKM FIXME comments.
8822 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8823 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8824 <bp-asm.h>.
8825 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8826 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8827 Remove GKM FIXME comments.
8828 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8829 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8830 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8831 <bp-asm.h>.
8832 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8833 about bounded pointers. Remove GKM FIXME comment.
8834 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8835 and <bp-asm.h>.
8836 (strncmp): Don't use BP_SYM. Remove comment about bounded
8837 pointers.
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8839 <bp-sym.h> and <bp-asm.h>.
8840 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8842 <bp-sym.h> and <bp-asm.h>.
8843 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8844 comment.
8845
cdcf361f
PP
88462013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8847
8848 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8849 call free(NULL).
8850
3c4a2b15
DM
88512013-03-05 David S. Miller <davem@davemloft.net>
8852
8853 * po/es.po: Update from translation team.
8854
cdcf361f 88552013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8856
8857 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8858 <bits/mman-linux.h>.
8859 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8860 is fine.
8861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8862 <bits/mman-linux.h> to end of file.
8863 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8864 is fine.
8865 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8866 <bits/mman-linux.h> to end of file.
8867 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8868 is fine.
8869 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8870 <bits/mman-linux.h> to end of file.
8871
8872 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8873 (MCL_CURRENT, MCL_FUTURE): Define here.
8874
5f67c04f
AK
88752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8876
8a4473cc 8877 [BZ #15232]
5f67c04f
AK
8878 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8879 attribute_hidden.
8880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8881
c3e94a95
AK
88822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8883
8884 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8885 fourth parameter needed for rt_sigprocmask syscall.
8886 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8887 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8888 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8889 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8890 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8891 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8892
cfb6382a
JM
88932013-03-04 Joseph Myers <joseph@codesourcery.com>
8894
8895 [BZ #13550]
8896 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8897 comment about bounded pointers.
8898 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8899 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8900
539d8e01
AJ
89012013-03-04 Andreas Jaeger <aj@suse.de>
8902
8903 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8904 common definitions.
8905
8906 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8907 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8908 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8909 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8910 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8911 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8912
2e167a70 89132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8914
8915 [BZ #15055]
8916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8917 __ieee754_sqrl instead of __sqrl.
8918
68508633
JM
89192013-03-01 Joseph Myers <joseph@codesourcery.com>
8920
8921 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8922 * sysdeps/powerpc/fpu_control.h: ... here.
8923 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8924 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8925 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8926 * sysdeps/powerpc/bits/mathinline.h: ... here.
8927
7775448e
RM
89282013-03-01 Roland McGrath <roland@hack.frob.com>
8929
8930 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8931 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8932 to just [NEED_DL_SYSINFO_DSO].
8933 * elf/dl-support.c: Likewise.
8934 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8935 * elf/rtld.c (dl_main): Likewise.
8936 * elf/setup-vdso.h (setup_vdso): Likewise.
8937 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8938 * sysdeps/unix/sysv/linux/dl-sysdep.c
8939 (_dl_discover_osversion): Likewise.
8940
4e9b5995
CD
89412013-03-01 Carlos O'Donell <carlos@redhat.com>
8942
8943 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8944 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8945
e23872c8
SP
89462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8947
e5c74c63
SP
8948 * NEWS: Mention libm performance improvements and non-x86 PI
8949 futex support.
8950
e23872c8
SP
8951 * csu/libc-start.c (__pthread_initialize_minimal): Change
8952 function arguments.
8953 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8954
b5510883
JM
89552013-02-28 Joseph Myers <joseph@codesourcery.com>
8956
8957 [BZ #13550]
8958 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8959 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8960 <bp-sym.h> and <bp-asm.h>.
8961 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8963 and <bp-asm.h>.
8964 (memcpy): Don't use BP_SYM.
8965 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8966 <bp-asm.h>.
8967 (__mpn_add_n): Don't use BP_SYM.
8968 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8969 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8970 and <bp-asm.h>.
8971 (__mpn_addmul_1): Don't use BP_SYM.
8972 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8973 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8974 <bp-sym.h>.
8975 (_setjmp): Don't use BP_SYM.
8976 (__novmx_setjmp): Likewise.
8977 (__GI__setjmp): Likewise.
8978 (__vmx_setjmp): Likewise.
8979 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8980 <bp-sym.h>.
8981 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8982 (__bzero): Don't use BP_SYM.
8983 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8984 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8985 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8986 <bp-sym.h> and <bp-asm.h>.
8987 (memcpy): Don't use BP_SYM.
8988 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8989 <bp-sym.h> and <bp-asm.h>.
8990 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8991 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8992 <bp-sym.h> and <bp-asm.h>.
8993 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8994 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8995 <bp-asm.h>.
8996 (__mpn_lshift): Don't use BP_SYM.
8997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8998 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8999 <bp-asm.h>.
9000 (memset): Don't use BP_SYM.
9001 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9002 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9003 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9004 <bp-asm.h>.
9005 (__mpn_mul_1): Don't use BP_SYM.
9006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9007 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9008 <bp-sym.h> and <bp-asm.h>.
9009 (memcmp): Don't use BP_SYM.
9010 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9011 <bp-sym.h> and <bp-asm.h>.
9012 (memcpy): Don't use BP_SYM.
9013 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9014 <bp-sym.h> and <bp-asm.h>.
9015 (memset): Don't use BP_SYM.
9016 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9017 <bp-sym.h> and <bp-asm.h>.
9018 (strncmp): Don't use BP_SYM.
9019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9020 <bp-sym.h> and <bp-asm.h>.
9021 (memcpy): Don't use BP_SYM.
9022 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9023 <bp-sym.h> and <bp-asm.h>.
9024 (memset): Don't use BP_SYM.
9025 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9026 <bp-sym.h> and <bp-asm.h>.
9027 (__memchr): Don't use BP_SYM.
9028 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9029 <bp-sym.h> and <bp-asm.h>.
9030 (memcmp): Don't use BP_SYM.
9031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9032 <bp-sym.h> and <bp-asm.h>.
9033 (memcpy): Don't use BP_SYM.
9034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9035 <bp-sym.h> and <bp-asm.h>.
9036 (__mempcpy): Don't use BP_SYM.
9037 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9038 <bp-sym.h> and <bp-asm.h>.
9039 (__memrchr): Don't use BP_SYM.
9040 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9041 <bp-sym.h> and <bp-asm.h>.
9042 (memset): Don't use BP_SYM.
9043 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9044 <bp-sym.h> and <bp-asm.h>.
9045 (__rawmemchr): Don't use BP_SYM.
9046 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9047 <bp-sym.h> and <bp-asm.h>.
9048 (__STRCMP): Don't use BP_SYM.
9049 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9050 <bp-sym.h> and <bp-asm.h>.
9051 (strchr): Don't use BP_SYM.
9052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9053 <bp-sym.h> and <bp-asm.h>.
9054 (__strchrnul): Don't use BP_SYM.
9055 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9056 <bp-sym.h> and <bp-asm.h>.
9057 (strlen): Don't use BP_SYM.
9058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9059 <bp-sym.h> and <bp-asm.h>.
9060 (strncmp): Don't use BP_SYM.
9061 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9062 <bp-sym.h> and <bp-asm.h>.
9063 (__strnlen): Don't use BP_SYM.
9064 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9065 <bp-asm.h>.
9066 (__mpn_rshift): Don't use BP_SYM.
9067 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9068 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9069 <bp-sym.h> and <bp-asm.h>.
9070 (__sigsetjmp): Don't use BP_SYM.
9071 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9072 (L(start_addresses)): Don't use BP_SYM.
9073 (_start): Likewise.
9074 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9075 <bp-asm.h>.
9076 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9077 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9078 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9079 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9080 <bp-asm.h>.
9081 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9082 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9083 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9084 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9085 <bp-asm.h>.
9086 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9087 comments.
9088 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9089 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9090 <bp-asm.h>.
9091 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9092 FIXME comments.
9093 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9094 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9095 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9096 <bp-asm.h>.
9097 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9098 comment.
9099 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9100 and <bp-asm.h>.
9101 (strncmp): Don't use BP_SYM,
9102 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9103 <bp-asm.h>.
9104 (__mpn_sub_n): Don't use BP_SYM.
9105 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9106 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9107 and <bp-asm.h>.
9108 (__mpn_submul_1): Don't use BP_SYM.
9109 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9111 <bp-sym.h> and <bp-asm.h>.
9112 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9114 <bp-sym.h> and <bp-asm.h>.
9115 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9116 comment.
9117
8d19fe64
SP
91182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9119
9120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9121 Use ZK to minimize writes to Z.
9122 (sub_magnitudes): Simplify code a bit.
9123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9124 Use ZK to minimize writes to Z.
9125 (sub_magnitudes): Simplify code a bit.
9126
85bd816a
RM
91272013-02-27 Roland McGrath <roland@hack.frob.com>
9128
9129 * csu/gmon-start.c: Add special exception to license text.
9130
b5977bf2
RH
91312013-02-27 Richard Henderson <rth@redhat.com>
9132
9133 * scripts/config.guess: Update from config.git.
9134 * scripts/config.sub: Likewise.
9135
11d6e2f2
SP
91362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9137
09c14ed2
SP
9138 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9139
a688864e
SP
9140 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9141
6295157a
SP
9142 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9143
b8de2202
SP
9144 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9145
11d6e2f2
SP
9146 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9147
7e80ddb8
RM
91482013-02-26 Roland McGrath <roland@hack.frob.com>
9149
9150 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9151 [$(build-shared = yes].
7e80ddb8 9152
7da6d9ed
SP
91532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9154
45f05884
SP
9155 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9156 (__mul): Reduce iterations for calculating mantissa.
9157
2236d359
SP
9158 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9159 MPTWO.
9160 (__mpranred): Likewise.
9161
7da6d9ed
SP
9162 [BZ #15160]
9163 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9164 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9165
b7688c42
PE
91662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9167
9168 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9169 Define __attribute__.
9170
53a5c423
SP
91712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9172
9173 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9174 unused.
9175 * posix/regex_internal.h (__attribute): Remove.
9176 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9177 (re_string_context_at): Likewise.
9178 (bitset_not): Use __attribute__ and mark function as possibly
9179 unused.
9180 (bitset_merge): Likewise.
9181 (bitset_mask): Likewise.
9182 (re_string_char_size_at): Likewise.
9183 (re_string_wchar_at): Likewise.
9184 (re_string_elem_size_at): Likewise.
9185
60f5a8b5
SP
91862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9187
2a983a2e
SP
9188 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9189 code.
9190 (cc32): Likewise.
9191
e69804d1
SP
9192 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9193 (__acr): Likewise.
9194 (__cpy): Likewise.
9195 (norm): Likewise.
9196 (denorm): Likewise.
9197 (__dbl_mp): Likewise.
9198 (add_magnitudes): Likewise.
9199 (sub_magnitudes): Likewise.
9200 (__mul): Likewise.
9201 (__inv): Likewise.
9202
2f22a1e8
SP
9203 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9204 style.
9205
8930ddc7
SP
9206 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9207 style.
9208
dc60cb11
SP
9209 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9210 code.
9211
60f5a8b5
SP
9212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9213 up changes with default code.
9214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9215 Likewise.
9216
b4d1fd33
AM
92172013-02-24 Allan McRae <allan@archlinux.org>
9218
faf6f8bc
AM
9219 * manual/socket.texi (The Internet Namespace): Order menu items
9220 to match that in the file.
9221
b4d1fd33
AM
9222 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9223 node listing of the info page menu.
9224
2366713d
JM
92252013-02-21 Joseph Myers <joseph@codesourcery.com>
9226
9227 [BZ #13550]
9228 * sysdeps/i386/bp-asm.h: Remove file.
9229 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9230 (PARMS): Do not use macros from bp-asm.h.
9231 (S1): Likewise.
9232 (S2): Likewise.
9233 (SIZE): Likewise.
9234 (__mpn_add_n): Do not use BP_SYM
9235 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9236 "bp-asm.h".
9237 (PARMS): Do not use macros from bp-asm.h.
9238 (S1): Likewise.
9239 (SIZE): Likewise.
9240 (__mpn_addmul_1): Do not use BP_SYM
9241 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9242 "bp-asm.h".
9243 (PARMS): Do not use macros from bp-asm.h.
9244 (SIGMSK): Likewise.
9245 (_setjmp): Likewise. Do not use BP_SYM.
9246 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9247 "bp-asm.h".
9248 (PARMS): Do not use macros from bp-asm.h.
9249 (SIGMSK): Likewise.
9250 (setjmp): Likewise. Do not use BP_SYM.
9251 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9252 "bp-asm.h".
9253 (PARMS): Do not use macros from bp-asm.h.
9254 (__frexp): Do not use BP_SYM.
9255 (frexp): Likewise.
9256 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9257 "bp-asm.h".
9258 (PARMS): Do not use macros from bp-asm.h.
9259 (__frexpf): Do not use BP_SYM.
9260 (frexpf): Likewise.
9261 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9262 "bp-asm.h".
9263 (PARMS): Do not use macros from bp-asm.h.
9264 (__frexpl): Do not use BP_SYM.
9265 (frexpl): Likewise.
9266 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9267 "bp-asm.h".
9268 (PARMS): Do not use macros from bp-asm.h.
9269 (__remquo): Do not use BP_SYM.
9270 (remquo): Likewise.
9271 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9272 "bp-asm.h".
9273 (PARMS): Do not use macros from bp-asm.h.
9274 (__remquof): Do not use BP_SYM.
9275 (remquof): Likewise.
9276 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9277 "bp-asm.h".
9278 (PARMS): Do not use macros from bp-asm.h.
9279 (__remquol): Do not use BP_SYM.
9280 (remquol): Likewise.
9281 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9282 "bp-asm.h".
9283 (PARMS): Do not use macros from bp-asm.h.
9284 (DEST): Likewise.
9285 (SRC): Likewise.
9286 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9287 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9288 "bp-asm.h".
9289 (PARMS): Do not use macros from bp-asm.h.
9290 (strlen): Do not use BP_SYM.
9291 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9292 "bp-asm.h".
9293 (PARMS): Do not use macros from bp-asm.h.
9294 (S1): Likewise.
9295 (S2): Likewise.
9296 (SIZE): Likewise.
9297 (__mpn_add_n): Do not use BP_SYM.
9298 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9299 "bp-asm.h".
9300 (PARMS): Do not use macros from bp-asm.h.
9301 (S1): Likewise.
9302 (SIZE): Likewise.
9303 (__mpn_addmul_1): Do not use BP_SYM.
9304 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9305 weak_alias.
9306 (bzero): Likewise.
9307 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9308 "bp-asm.h".
9309 (PARMS): Do not use macros from bp-asm.h.
9310 (S): Likewise.
9311 (SIZE): Likewise.
9312 (__mpn_lshift): Do not use BP_SYM.
9313 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9314 "bp-asm.h".
9315 (PARMS): Do not use macros from bp-asm.h.
9316 (DEST): Likewise.
9317 (SRC): Likewise.
9318 (LEN): Likewise.
9319 (memcpy): Likewise. Do not use BP_SYM.
9320 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9321 libc_hidden_def and weak_alias.
9322 (mempcpy): Do not use BP_SYM in weak_alias.
9323 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9324 "bp-asm.h".
9325 (PARMS): Do not use macros from bp-asm.h.
9326 (DEST): Likewise.
9327 (LEN): Likewise.
9328 [!BZERO_P] (CHR): Likewise.
9329 (memset): Likewise. Do not use BP_SYM.
9330 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9331 "bp-asm.h".
9332 (PARMS): Do not use macros from bp-asm.h.
9333 (S1): Likewise.
9334 (SIZE): Likewise.
9335 (__mpn_mul_1): Do not use BP_SYM.
9336 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9337 "bp-asm.h".
9338 (PARMS): Do not use macros from bp-asm.h.
9339 (S): Likewise.
9340 (SIZE): Likewise.
9341 (__mpn_rshift): Do not use BP_SYM.
9342 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9343 "bp-asm.h".
9344 (PARMS): Do not use macros from bp-asm.h.
9345 (STR): Likewise.
9346 (CHR): Likewise.
9347 (strchr): Likewise. Do not use BP_SYM.
9348 (index): Do not use BP_SYM in weak_alias.
9349 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9350 "bp-asm.h".
9351 (PARMS): Do not use macros from bp-asm.h.
9352 (DEST): Likewise.
9353 (SRC): Likewise.
9354 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9355 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9356 "bp-asm.h".
9357 (PARMS): Do not use macros from bp-asm.h.
9358 (strlen): Do not use BP_SYM.
9359 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9360 "bp-asm.h".
9361 (PARMS): Do not use macros from bp-asm.h.
9362 (S1): Likewise.
9363 (S2): Likewise.
9364 (SIZE): Likewise.
9365 (__mpn_sub_n): Do not use BP_SYM.
9366 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9367 "bp-asm.h".
9368 (PARMS): Do not use macros from bp-asm.h.
9369 (S1): Likewise.
9370 (SIZE): Likewise.
9371 (__mpn_submul_1): Do not use BP_SYM.
9372 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9373 "bp-asm.h".
9374 (PARMS): Do not use macros from bp-asm.h.
9375 (S1): Likewise.
9376 (S2): Likewise.
9377 (SIZE): Likewise.
9378 (__mpn_add_n): Do not use BP_SYM.
9379 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9380 weak_alias.
9381 (bzero): Likewise.
9382 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9383 "bp-asm.h".
9384 (PARMS): Do not use macros from bp-asm.h.
9385 (BLK2): Likewise.
9386 (LEN): Likewise.
9387 (memcmp): Do not use BP_SYM.
9388 (bcmp): Do not use BP_SYM in weak_alias.
9389 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9390 "bp-asm.h".
9391 (PARMS): Do not use macros from bp-asm.h.
9392 (DEST): Likewise.
9393 (SRC): Likewise.
9394 (LEN): Likewise.
9395 (memcpy): Likewise. Do not use BP_SYM.
9396 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9397 "bp-asm.h".
9398 (PARMS): Do not use macros from bp-asm.h.
9399 (DEST): Likewise.
9400 (SRC): Likewise.
9401 (LEN): Likewise.
9402 (memmove): Likewise. Do not use BP_SYM.
9403 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9404 "bp-asm.h".
9405 (PARMS): Do not use macros from bp-asm.h.
9406 (DEST): Likewise.
9407 (SRC): Likewise.
9408 (LEN): Likewise.
9409 (__mempcpy): Likewise. Do not use BP_SYM.
9410 (mempcpy): Do not use BP_SYM in weak_alias.
9411 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9412 "bp-asm.h".
9413 (PARMS): Do not use macros from bp-asm.h.
9414 (DEST): Likewise.
9415 (LEN): Likewise.
9416 [!BZERO_P] (CHR): Likewise.
9417 (memset): Likewise. Do not use BP_SYM.
9418 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9419 "bp-asm.h".
9420 (PARMS): Do not use macros from bp-asm.h.
9421 (STR2): Likewise.
9422 (strcmp): Do not use BP_SYM.
9423 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9424 "bp-asm.h".
9425 (PARMS): Do not use macros from bp-asm.h.
9426 (STR): Likewise.
9427 (DELIM): Likewise.
9428 [USE_AS_STRTOK_R] (SAVE): Likewise.
9429 (FUNCTION): Likewise. Do not use BP_SYM.
9430 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9431 aliases.
9432 (strtok_r): Likewise.
9433 (__GI___strtok_r): Likewise.
9434 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9435 (PARMS): Do not use macros from bp-asm.h.
9436 (S): Likewise.
9437 (SIZE): Likewise.
9438 (__mpn_lshift): Do not use BP_SYM.
9439 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9440 (PARMS): Do not use macros from bp-asm.h.
9441 (STR): Likewise.
9442 (CHR): Likewise.
9443 (__memchr): Do not use BP_SYM.
9444 (memchr): Do not use BP_SYM in weak_alias.
9445 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9446 (PARMS): Do not use macros from bp-asm.h.
9447 (BLK2): Likewise.
9448 (LEN): Likewise.
9449 (memcmp): Do not use BP_SYM.
9450 (bcmp): Do not use BP_SYM in weak_alias.
9451 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9452 (PARMS): Do not use macros from bp-asm.h.
9453 (S1): Likewise.
9454 (SIZE): Likewise.
9455 (__mpn_mul_1): Do not use BP_SYM.
9456 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9457 "bp-asm.h".
9458 (PARMS): Do not use macros from bp-asm.h.
9459 (STR): Likewise.
9460 (CHR): Likewise.
9461 (__rawmemchr): Do not use BP_SYM.
9462 (rawmemchr): Do not use BP_SYM in weak_alias.
9463 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9464 (PARMS): Do not use macros from bp-asm.h.
9465 (S): Likewise.
9466 (SIZE): Likewise.
9467 (__mpn_rshift): Do not use BP_SYM.
9468 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9469 (PARMS): Do not use macros from bp-asm.h.
9470 (SIGMSK): Likewise.
9471 (__sigsetjmp): Likewise. Do not use BP_SYM.
9472 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9473 (_start): Do not use BP_SYM.
9474 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9475 (PARMS): Do not use macros from bp-asm.h.
9476 (DEST): Likewise.
9477 (SRC): Likewise.
9478 (__stpcpy): Likewise. Do not use BP_SYM.
9479 (stpcpy): Do not use BP_SYM in weak_alias.
9480 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9481 "bp-asm.h".
9482 (PARMS): Do not use macros from bp-asm.h.
9483 (DEST): Likewise.
9484 (SRC): Likewise.
9485 (LEN): Likewise.
9486 (__stpncpy): Likewise. Do not use BP_SYM.
9487 (stpncpy): Do not use BP_SYM in weak_alias.
9488 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9489 (PARMS): Do not use macros from bp-asm.h.
9490 (STR): Likewise.
9491 (CHR): Likewise.
9492 (strchr): Likewise. Do not use BP_SYM.
9493 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9494 "bp-asm.h".
9495 (PARMS): Do not use macros from bp-asm.h.
9496 (STR): Likewise.
9497 (CHR): Likewise.
9498 (__strchrnul): Likewise. Do not use BP_SYM.
9499 (strchrnul): Do not use BP_SYM in weak_alias.
9500 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9501 "bp-asm.h".
9502 (PARMS): Do not use macros from bp-asm.h.
9503 (STOP): Likewise.
9504 (strcspn): Do not use BP_SYM.
9505 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9506 "bp-asm.h".
9507 (PARMS): Do not use macros from bp-asm.h.
9508 (STR): Likewise.
9509 (STOP): Likewise.
9510 (strpbrk): Likewise. Do not use BP_SYM.
9511 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9512 "bp-asm.h".
9513 (PARMS): Do not use macros from bp-asm.h.
9514 (STR): Likewise.
9515 (CHR): Likewise.
9516 (strrchr): Likewise. Do not use BP_SYM.
9517 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9518 (PARMS): Do not use macros from bp-asm.h.
9519 (SKIP): Likewise.
9520 (strspn): Do not use BP_SYM.
9521 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9522 (PARMS): Do not use macros from bp-asm.h.
9523 (STR): Likewise.
9524 (DELIM): Likewise.
9525 (SAVE): Likewise.
9526 (FUNCTION): Likewise. Do not use BP_SYM.
9527 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9528 aliases.
9529 (strtok_r): Likewise.
9530 (__GI___strtok_r): Likewise.
9531 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9532 (PARMS): Do not use macros from bp-asm.h.
9533 (S1): Likewise.
9534 (S2): Likewise.
9535 (SIZE): Likewise.
9536 (__mpn_sub_n): Do not use BP_SYM.
9537 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9538 "bp-asm.h".
9539 (PARMS): Do not use macros from bp-asm.h.
9540 (S1): Likewise.
9541 (SIZE): Likewise.
9542 (__mpn_submul_1): Do not use BP_SYM.
9543 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9544 <bp-sym.h>.
9545 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9546 and <bp-asm.h>.
9547 (PARMS): Do not use macros from bp-asm.h.
9548 (FLAGS): Likewise.
9549 (PTID): Likewise.
9550 (TLS): Likewise.
9551 (CTID): Likewise.
9552 (__clone): Do not use BP_SYM.
9553 (clone): Do not use BP_SYM in weak_alias.
9554 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9555 and <bp-asm.h>.
9556 (PARMS): Do not use macros from bp-asm.h.
9557 (LEN): Likewise.
9558 (__mmap64): Do not use BP_SYM.
9559 (mmap64): Do not use BP_SYM in weak_alias.
9560 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9561 <bp-sym.h> and <bp-asm.h>.
9562 (PARMS): Do not use macros from bp-asm.h.
9563 (__posix_fadvise64_l64): Do not use BP_SYM.
9564 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9565 (PARMS): Do not use macros from bp-asm.h.
9566 (NSOPS): Likewise.
9567 (semtimedop): Do not use BP_SYM.
9568 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9569 and <bp-asm.h>.
9570
582a3cff
AM
95712013-02-21 Allan McRae <allan@archlinux.org>
9572
9573 * manual/message.texi (Charset conversion in gettext):
9574 Move @end statement to beginning of line.
9575
bab8a695
SP
95762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9577
80945231
SP
9578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9579 static.
9580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9581 Likewise.
9582
bab8a695
SP
9583 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9584 (denorm): Likewise.
9585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9587
e21d7aa7
AK
95882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9589
9590 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9591 tail-call to the resolved function if pltexit isn't needed.
9592
4c7a4263
SP
95932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9594
9595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9596 or Y being zero as being unlikely.
9597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9598 Likewise.
9599
41f49342
CD
96002013-02-20 Carlos O'Donell <carlos@redhat.com>
9601
9602 * manual/nss.texi (System Databases and Name Service Switch):
9603 Remove frobnicate @pxref.
9604
50022a93
TS
96052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9606
9607 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9608 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9609
08cbd996
PM
96102013-02-20 Petr Machata <pmachata@redhat.com>
9611
9612 * elf/elf.h (R_ARM_TARGET1): New macro.
9613 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9614 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9615 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9616 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9617 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9618 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9619 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9620 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9621 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9622 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9623 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9624 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9625 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9626 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9627 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9628 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9629 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9630 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9631 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9632 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9633 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9634 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9635 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9636 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9637 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9638 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9639 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9640 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9641 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9642 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9643 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9644 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9645 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9646 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9647 (R_ARM_THM_GOT_BREL12): Likewise.
9648 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9649 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9650 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9651 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9652 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9653 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9654 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9655 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9656 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9657
c7b275d6
TS
96582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9659
9660 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9661 __attribute_used__ to __attribute__ ((unused)).
9662
20cd7fb3
SP
96632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9664
9665 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9666 powerpc mpa.c.
9667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9668 comment formatting.
9669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9670
92945b52
JM
96712013-02-19 Joseph Myers <joseph@codesourcery.com>
9672
9673 [BZ #13550]
9674 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9675 Remove macro.
9676 (ENTER): Remove both macro definitions.
9677 (LEAVE): Likewise.
9678 (CHECK_BOUNDS_LOW): Likewise.
9679 (CHECK_BOUNDS_HIGH): Likewise.
9680 (CHECK_BOUNDS_BOTH): Likewise.
9681 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9682 (RETURN_BOUNDED_POINTER): Likewise.
9683 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9684 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9685 (POP_ERRNO_LOCATION_RETURN): Likewise.
9686 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9687 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9688 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9689 macros.
9690 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9691 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9692 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9693 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9694 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9695 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9696 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9697 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9698 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9699 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9700 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9701 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9702 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9703 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9704 removed macros.
9705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9706 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9707 macros.
9708 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9709 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9710 * sysdeps/i386/i586/memset.S (memset): Likewise.
9711 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9712 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9713 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9714 macros.
9715 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9716 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9717 Change uses of L(2) to L(out).
9718 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9719 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9720 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9721 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9722 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9723 removed macros.
9724 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9725 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9726 macros.
9727 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9728 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9729 (RETURN): Do not use macro LEAVE.
9730 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9731 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9732 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9733 * sysdeps/i386/i686/memset.S (memset): Likewise.
9734 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9735 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9736 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9737 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9738 Likewise.
9739 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9740 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9741 L(1_2) and L(1_3) into L(1).
9742 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9743 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9744 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9745 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9746 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9747 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9748 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9749 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9750 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9751 macros.
9752 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9753 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9754 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9755 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9756 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9757 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9758 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9759 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9760 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9761 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9762 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9763 * sysdeps/i386/strspn.S (strspn): Likewise.
9764 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9765 conditional code.
9766 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9767 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9768 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9769 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9770 L(1_3) into L(1_1).
9771 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9772 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9773 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9774 macros.
9775 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9776
2389741a
JJ
97772013-02-19 Jakub Jelinek <jakub@redhat.com>
9778
9779 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9780 macro.
9781
2016b3cd
SP
97822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9783
e4f22324
SP
9784 * math/atest-exp.c (exp_mpn): Remove ROUND.
9785 * math/atest-exp2.c (exp_mpn): Likewise.
9786 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9787
2016b3cd
SP
9788 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9789 * stdlib/tst-tls-atexit-lib.c: Likewise.
9790 * stdlib/tst-tls-atexit.c: Likewise.
9791
4be9b544
MF
97922013-02-18 Mike Frysinger <vapier@gentoo.org>
9793
9794 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9795 and __attribute_alloc_size__.
9796
2f62b9ee
MF
97972013-02-18 Mike Frysinger <vapier@gentoo.org>
9798
9799 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9800 __attribute_alloc_size__.
9801 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9802 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9803
6ff444c4
MF
98042013-02-18 Mike Frysinger <vapier@gentoo.org>
9805
9806 * include/programs/xmalloc.h: New file.
9807 * catgets/gencat.c: Include it.
9808 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9809 * elf/pldd.c: Likewise.
9810 * iconv/iconv_charmap.c: Likewise.
9811 * iconv/iconvconfig.c: Likewise.
9812 * iconv/strtab.c: Likewise.
9813 * locale/programs/locale.c: Likewise.
9814 * locale/programs/localedef.h: Likewise.
9815 * locale/programs/simple-hash.c: Likewise.
9816 * nscd/nscd.h: Likewise.
9817 * nss/makedb.c: Likewise.
9818 * sysdeps/generic/ldconfig.h: Likewise.
9819
be179c8a
SP
98202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9821
ba384f6e
SP
9822 * Versions.def: Add GLIBC_2.18.
9823 * include/link.h (struct link_map): New member l_tls_dtor_count.
9824 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9825 (__call_tls_dtors): Likewise.
9826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9827 __cxa_thread_atexit_impl.
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9829 Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9831 Likewise.
9832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9833 Likewise.
9834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9835 Likewise.
9836 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9838 Likewise.
9839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9840 Likewise.
9841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9843 Likewise.
9844 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9845 (tests): Add test case tst-tls-atexit.
9846 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9847 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9848 (GLIBC_PRIVATE): Add __call_tls_dtors.
9849 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9850 for libstdc++.
9851 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9852 * stdlib/tst-tls-atexit.c: New test case.
9853 * stdlib/tst-tls-atexit-lib.c: New test case.
9854
ffaa74cf 9855 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9856
be179c8a
SP
9857 * elf/Versions (ld): Add _dl_find_dso_for_object.
9858 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9859 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9860 (dl_open_worker): Use _dl_find_dso_for_object.
9861 * elf/dl-sym.c (do_sym): Likewise.
9862 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9863
f78b5caa
AK
98642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9865
9866 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9867 Syntactic changes only.
9868 (_dl_runtime_profile): Do a tail-call to the resolved function.
9869
29691210
JM
98702013-02-17 Joseph Myers <joseph@codesourcery.com>
9871
9872 [BZ #13550]
9873 * sysdeps/x86_64/bp-asm.h: Remove file.
9874 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9875 <bp-sym.h> and <bp-asm.h>.
9876 (__clone): Do not use BP_SYM.
9877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9878 <bp-sym.h> and <bp-asm.h>.
9879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9880 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9881 "bp-asm.h".
9882 (_setjmp): Do not use BP_SYM.
9883 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9884 "bp-asm.h".
9885 (setjmp): Do not use BP_SYM.
9886 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9887 libc_hidden_def.
9888 (mempcpy): Do not use BP_SYM in weak_alias.
9889 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9890 "bp-asm.h".
9891 (strchr): Do not use BP_SYM.
9892 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9893 "bp-asm.h".
9894 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9895 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9896 (_start): Do not use BP_SYM.
9897 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9898 "bp-asm.h".
9899 (strcat): Do not use BP_SYM.
9900 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9901 "bp-asm.h".
9902 (STRCMP): Do not use BP_SYM.
9903 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9904 "bp-asm.h".
9905 (STRCPY): Do not use BP_SYM.
9906 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9907 "bp-asm.h".
9908 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9909 "bp-asm.h".
9910 (FUNCTION): Do not use BP_SYM.
9911 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9912 weak_alias.
9913 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9914
f238fd19
AJ
99152013-02-17 Andreas Jaeger <aj@suse.de>
9916
9917 * time/Versions: Sort entries.
9918 * string/Versions: Likewise.
9919 * resolv/Versions: Likewise.
9920 * posix/Versions: Likewise.
9921 * iconv/Versions: Likewise.
9922 * elf/Versions: Likewise.
9923 * wcsmbs/Versions: Likewise.
9924
bd07f23c 99252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9926
22af19f9
SP
9927 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9928 loop termination condition.
9929
4709fe76
SP
9930 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9931 variable to calculate EZ.
9932 (__sqr): Likewise.
2d0e0f29
SP
9933
9934 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9935 the lower precision input.
9936
daaa7713
JM
99372013-02-15 Joseph Myers <joseph@codesourcery.com>
9938
9939 [BZ #13550]
9940 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9941 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9942 (run-via-rtld-prefix): Do not handle %-bp tests.
9943 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9944 (all-object-suffixes): Remove .ob.
9945 (bppfx): Remove variable.
9946 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9947 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9948 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9949 [$(build-bounded) = yes] (libtype.ob): Likewise.
9950 * Makerules (elide-routines.ob): Remove variable.
9951 (do-tests-clean): Do not handle *-bp.out.
9952 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9953 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9954 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9955 (tests): Do not include $(tests-bp.out).
9956 (xtests): Do not include $(xtests-bp.out).
9957 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9958 [$(build-bounded) = yes] ($(addprefix
9959 $(objpfx),$(binaries-bounded))): Remove rule.
9960 ($(objpfx)%-bp.out): Remove rule.
9961 * config.make.in (build-bounded): Remove variable.
9962 * crypt/Makefile [$(build-bounded) = yes]
9963 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9964 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9965 append to variable.
9966 [$(build-bounded) = yes] (install-lib): Likewise.
9967 [$(build-bounded) = yes] (generated): Likewise.
9968 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9969 Remove rule.
9970 * intl/Makefile [$(build-bounded) = yes]
9971 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9972 * math/Makefile [$(build-bounded) = yes]
9973 ($(tests:%=$(objpfx)%-bp): Likewise.
9974 * misc/Makefile [$(build-bounded) = yes]
9975 ($(objpfx)tst-tsearch-bp): Likewise.
9976 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9977 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9978 Remove dependency.
9979 * string/Makefile (o-objects.ob): Remove variable.
9980 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9981 (CFLAGS-.ob): Remove variable.
9982 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9983 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9984 both definitions of variable.
9985 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9986 (ASFLAGS-.ob): Remove variable.
9987
e97ed6dd
JM
99882013-02-14 Joseph Myers <joseph@codesourcery.com>
9989
2bdd4ca6
JM
9990 [BZ #13550]
9991 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9992 Remove __BOUNDED_POINTERS__ from condition.
9993 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9994 * string/bits/string2.h [!__NO_STRING_INLINES &&
9995 !__BOUNDED_POINTERS__]: Likewise.
9996 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9997 Likewise.
9998 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9999 Remove conditional code.
10000 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10001 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10002 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10003 condition.
10004
e97ed6dd
JM
10005 [BZ #13550]
10006 * csu/libc-start.c: Do not include <bp-sym.h>.
10007 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10008 * elf/dl-open.c: Do not include <bp-sym.h>.
10009 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10010 * math/fegetenv.c: Do not include <bp-sym.h>.
10011 (fegetenv): Do not use BP_SYM in versioned symbols.
10012 * nptl/sysdeps/pthread/bits/libc-lockP.h
10013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10014 <bp-sym.h>.
10015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10016 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10018 (__pthread_mutex_destroy): Likewise.
10019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10020 (__pthread_mutex_lock): Likewise.
10021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10022 (__pthread_mutex_trylock): Likewise.
10023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10024 (__pthread_mutex_unlock): Likewise.
10025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10026 (__pthread_mutexattr_init): Likewise.
10027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10028 (__pthread_mutexattr_destroy): Likewise.
10029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10030 (__pthread_mutexattr_settype): Likewise.
10031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10032 (__pthread_rwlock_init): Likewise.
10033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10034 (__pthread_rwlock_destroy): Likewise.
10035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10036 (__pthread_rwlock_rdlock): Likewise.
10037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10038 (__pthread_rwlock_tryrdlock): Likewise.
10039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10040 (__pthread_rwlock_wrlock): Likewise.
10041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10042 (__pthread_rwlock_trywrlock): Likewise.
10043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10044 (__pthread_rwlock_unlock): Likewise.
10045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10046 (__pthread_key_create): Likewise.
10047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10048 (__pthread_setspecific): Likewise.
10049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10050 (__pthread_getspecific): Likewise.
10051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10052 Likewise.
10053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10054 (_pthread_cleanup_push_defer): Likewise.
10055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10056 (_pthread_cleanup_pop_restore): Likewise.
10057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10058 (pthread_setcancelstate): Likewise.
10059 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10060 <bp-sym.h>.
10061 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10062 (memchr): Do not use BP_SYM in weak_alias.
10063 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10064 (fegetenv): Do not use BP_SYM in versioned symbols.
10065 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10066 (fesetenv): Do not use BP_SYM in versioned symbols.
10067 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10068 (feupdateenv): Do not use BP_SYM in versioned symbols.
10069 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10070 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10071 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10072 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10073 (open64): Do not use BP_SYM in weak_alias.
10074 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10075 (fegetenv): Do not use BP_SYM in versioned symbols.
10076 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10077 (fesetenv): Do not use BP_SYM in versioned symbols.
10078 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10079 (feupdateenv): Do not use BP_SYM in versioned symbols.
10080 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10081 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10082 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10083 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10084 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10085 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10086 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10087 <bp-sym.h>.
10088 (__libc_start_main): Do not use BP_SYM.
10089
d6752ccd
SP
100902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10091
cb57ce60
SP
10092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10093 redundant return line.
10094 (norm): Likewise.
10095 (denorm): Likewise.
10096 (dbl_mp): Likewise.
10097 (sub_magnitudes): Likewise.
10098 (__add): Likewise.
10099 (__sub): Likewise.
10100 (__mul): Likewise.
10101 (__inv): Likewise.
10102 (__dvd): Likewise.
10103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10104 (norm): Likewise.
10105 (denorm): Likewise.
10106 (dbl_mp): Likewise.
10107 (sub_magnitudes): Likewise.
10108 (__add): Likewise.
10109 (__sub): Likewise.
10110 (__mul): Likewise.
10111 (__inv): Likewise.
10112 (__dvd): Likewise.
10113
f414520d
SP
10114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10115 instead of __mul.
10116 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10117 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10118 (cc32): Likewise.
10119
d6752ccd
SP
10120 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10121 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10123 of __mul for squares.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10125 function
10126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10127 Likewise.
10128 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10129 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10130
70d9946a
JM
101312013-02-13 Joseph Myers <joseph@codesourcery.com>
10132
10133 [BZ #13550]
10134 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10135 code.
10136 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10137 prototype or function definition. Rename ubp_* variables and
10138 parameters. Remove argv definitions conditional on
10139 [__BOUNDED_POINTERS__].
10140 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10141 * elf/dl-runtime.c (_dl_fixup): Likewise.
10142 * include/set-hooks.h (RUN_HOOK): Likewise.
10143 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10144 definition.
10145 * string/strcpy.c (strcpy): Do not use __unbounded.
10146 * sysdeps/generic/frame.h (struct layout): Likewise.
10147 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10148 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10149 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10150 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10151 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10152 (__backtrace): Likewise.
10153 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10154 use __ptrvalue.
10155 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10156 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10157 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10158 Likewise.
10159 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10160 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10161 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10162 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10163 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10164 Do not use __unbounded.
10165 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10166 Rename __unboundedrlimits parameter to rlimits in prototype.
10167 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10168 Do not use __unbounded.
10169 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10170 not use __ptrvalue.
10171 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10172 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10173 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10174 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10175 __ptrvalue or __unbounded.
10176 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10177 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10178 use __unbounded.
10179 (__new_msgctl): Do not use __ptrvalue.
10180 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10181 __unbounded.
10182 (__libc_msgrcv): Do not use __ptrvalue.
10183 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10184 startup_info): Do not use __unbounded.
10185 (__libc_start_main): Likewise. Rename ubp_* variables and
10186 parameters. Remove argv definitions conditional on
10187 [__BOUNDED_POINTERS__].
10188 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10189 __ptrvalue.
10190 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10191 use __unbounded.
10192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10193 or __ptrvalue.
10194 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10195 use __unbounded.
10196 (__new_shmctl): Do not use __ptrvalue.
10197 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10198 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10199 Likewise.
10200 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10201 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10202 (__libc_sigaction): Likewise.
10203 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10205 Likewise.
10206 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10207
cc7834d6
OB
102082013-02-13 Ondřej Bílka <neleai@seznam.cz>
10209
ffb1ec7b 10210 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10211
10212 * string/mempcpy.c: Implement by calling memcpy.
10213
bdf02814
SP
102142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10215
c2af38aa
SP
10216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10217
4e92d59e
SP
10218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10219 evaluation.
10220
909279a5
SP
10221 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10222 values in the mantissa.
10223
bdf02814
SP
10224 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10225 minimize writes to Z.
10226 (sub_magnitudes): Simplify code a bit.
10227
cd525923
RM
102282013-02-12 Roland McGrath <roland@hack.frob.com>
10229
10230 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10231 from the message. The linker prefixes all warnings with that already.
10232
7e2f0d2d
AS
102332013-02-12 Andreas Schwab <schwab@suse.de>
10234
a445af0b
AS
10235 [BZ #15078]
10236 * posix/regexec.c (extend_buffers): Add parameter min_len.
10237 (check_matching): Pass minimum needed length.
10238 (clean_state_log_if_needed): Likewise.
10239 (get_subexp): Likewise.
10240 * posix/Makefile (tests): Add bug-regex34.
10241 (bug-regex34-ENV): Define.
10242 * posix/bug-regex34.c: New file.
10243
7e2f0d2d
AS
10244 [BZ #11561]
10245 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10246 elements compare against the byte sequence of it, not its name.
10247 * posix/Makefile (tests): Add bug-regex35.
10248 (bug-regex35-ENV): Define.
10249 * posix/bug-regex35.c: New file.
10250
a175b684
TV
102512013-02-11 Tom de Vries <tom@codesourcery.com>
10252
10253 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10254 comment.
10255 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10256 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10257 (CHECK_EOL): Add undef.
10258
310998fe 102592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10260
10261 * bits/stdlib-bsearch.h: New file.
10262 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10263 * stdlib/stdlib.h: Likewise.
41eda41d 10264
8ded91fb
RM
102652013-02-11 Roland McGrath <roland@hack.frob.com>
10266
10267 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10268 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10269 declaration.
10270 * manual/search.texi (Array Search Function): Add missing const in
10271 lfind prototype.
10272 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10273 declaration to use rlim_t.
10274 (Basic Scheduling Functions): Remove erroneous const from
10275 sched_getparam prototype. Remove erroneous * from
10276 sched_get_priority_max and sched_get_priority_min prototypes.
10277 (Resource Usage): Fix summary @comment on vtimes to refer to
10278 sys/vtimes.h rather than vtimes.h.
10279 Add missing *s in vtimes prototype.
10280 (Limits on Resources): Fix ulimit prototype to return long int.
10281 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10282 prototypes to use long int rather than double.
10283 (BSD Random): Fix initstate and setstate to use char *, not void *.
10284 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10285 prototype to make second argument 'struct aiocb64 *const[]'.
10286 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10287 (Status of AIO Operations): Remove erroneous const in aio_return and
10288 aio_return64 prototypes.
10289 (Synchronizing I/O): Fix sync prototype to return void.
10290 * manual/startup.texi (Suboptions): Remove an erroneous const in
10291 getsubopt prototype.
10292 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10293 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10294 use size_t rather than int.
10295 (Scanning All Users): Likewise for getpwent_r.
10296 (Setting Groups): Add missing const to setgroups prototype.
10297 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10298 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10299 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10300 'const void *' rather than 'const char *'.
10301 (Host Address Functions): Likewise for inet_ntop.
10302 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10303 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10304 ssize_t for return value.
10305 (Sending Data): Likewise for send, sendto, sendmsg.
10306 (Socket Option Functions): Add a missing const in setsockopt prototype.
10307 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10308 use wchar_t for the argument.
10309 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10310 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10311 take no arguments.
10312 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10313 double/float/long double for second argument.
10314 Fix return types of significand, significandf, significandl.
10315 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10316 argument in fchmod prototype.
10317 (File Owner): Use uid_t and gid_t in fchown prototype.
10318 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10319 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10320 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10321 use 'const struct dirent **' as argument types to CMP function pointer
10322 argument.
10323 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10324 (File Times): Fix summary magic @comment for struct utimbuf and utime
10325 to refer to utime.h, not time.h.
10326 * manual/string.texi (Argz Functions): Add missing const in
10327 argz_extract and argz_next prototypes.
10328 (Finding Tokens in a String): Likewise for basename.
10329 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10330 (Copying and Concatenation): Fix typo in wmemmove prototype.
10331 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10332 (Signal Stack): Remove erroneous const in sigstack prototype.
10333 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10334 prototype.
10335 (Simple Calendar Time): Likewise for stime.
10336 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10337 prototype.
10338 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10339 say sys/sysctl.h instead.
10340 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10341 and vsyslog prototypes.
10342
fe77fe6d
TV
103432013-02-11 Tom de Vries <tom@codesourcery.com>
10344
10345 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10346 Remove.
10347
3a09b620
RM
103482013-02-11 Roland McGrath <roland@hack.frob.com>
10349
10350 * misc/sys/mman.h: Fix typo in mremap comment.
10351
550a0b89
RM
103522013-02-08 Roland McGrath <roland@hack.frob.com>
10353
10354 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10355 the '\0' terminator.
10356
a2da1673
JM
103572013-02-08 Joseph Myers <joseph@codesourcery.com>
10358
10359 [BZ #13550]
10360 * debug/segfault.c: Don't include <bp-checks.h>.
10361 * sysdeps/generic/bp-checks.h: Remove file.
10362 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10363 (__GETDENTS): Don't use CHECK_N.
10364 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10365 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10366 (__getgroups): Don't use CHECK_N.
10367 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10368 (setgroups): Don't use CHECK_N.
10369 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10370 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10371 (__libc_msgrcv): Don't use CHECK_N.
10372 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10373 (__libc_msgsnd): Don't use CHECK_N.
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10375 <bp-checks.h>.
10376 (__libc_pread): Don't use CHECK_N.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10378 include <bp-checks.h>.
10379 (__libc_pread64): Don't use CHECK_N.
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10381 include <bp-checks.h>.
10382 (__libc_pwrite): Don't use CHECK_N.
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10384 include <bp-checks.h>.
10385 (__libc_pwrite64): Don't use CHECK_N.
10386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10387 <bp-checks.h>.
10388 (__libc_pread): Don't use CHECK_N.
10389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10390 include <bp-checks.h>.
10391 (__libc_pread64): Don't use CHECK_N.
10392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10393 include <bp-checks.h>.
10394 (__libc_pwrite): Don't use CHECK_N.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10396 include <bp-checks.h>.
10397 (__libc_pwrite64): Don't use CHECK_N.
10398 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10399 (do_pread): Don't use CHECK_N.
10400 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10401 (do_pread64): Don't use CHECK_N.
10402 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10403 (do_pwrite): Don't use CHECK_N.
10404 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10405 (do_pwrite64): Don't use CHECK_N.
10406 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10407 (__libc_readv): Don't use CHECK_N.
10408 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10409 (semop): Don't use CHECK_N.
10410 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10411 <bp-checks.h>.
10412 (semtimedop): Don't use CHECK_N.
10413 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10414 (__libc_pread): Don't use CHECK_N.
10415 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10416 <bp-checks.h>.
10417 (__libc_pread64): Don't use CHECK_N.
10418 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10419 <bp-checks.h>.
10420 (__libc_pwrite): Don't use CHECK_N.
10421 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10422 <bp-checks.h>.
10423 (__libc_pwrite64): Don't use CHECK_N.
10424 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10425 <bp-checks.h>.
10426 (__libc_msgrcv): Don't use CHECK_N.
10427 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10428 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10429 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10430 (__libc_writev): Don't use CHECK_N.
10431
b84660a8
RM
104322013-02-08 Roland McGrath <roland@hack.frob.com>
10433
7f3e75f8
RM
10434 * string/strcpy.c: Removed unused variable.
10435
b84660a8
RM
10436 * Makeconfig (+sysdep-includes): Define with := rather than =.
10437 Use an existing include/ subdir of each sysdeps dir before it.
10438
471514d3
CD
104392013-02-08 Carlos O'Donell <carlos@redhat.com>
10440
10441 * nscd/connection.c (register_traced_file): Comment function.
10442 [HAVE_INOTIFY] (union __inev): Define.
10443 [HAVE_INOTIFY] (inotify_check_files): New function.
10444 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10445 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10446 clear_db_cache.
10447 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10448
b2d3c3be
CD
104492013-02-08 Carlos O'Donell <carlos@redhat.com>
10450
10451 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10452 loaded if not already and that a failure is permanent.
10453
b39949d2
CD
104542013-02-08 Carlos O'Donell <carlos@redhat.com>
10455
ddacd1db 10456 [BZ #15006]
b39949d2
CD
10457 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10458 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10459
b2c9eff4
JM
104602013-02-08 Joseph Myers <joseph@codesourcery.com>
10461
f3aae3f3
JM
10462 [BZ #13550]
10463 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10464 (CHECK_1_NULL_OK): Likewise.
10465 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10466 (__fxstat): Do not use CHECK_1.
10467 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10468 <bp-checks.h>.
10469 (___fxstat64): Do not use CHECK_1.
10470 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10471 <bp-checks.h>.
10472 (__fxstatat): Do not use CHECK_1.
10473 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10474 <bp-checks.h>.
10475 (__fxstatat64): Do not use CHECK_1.
10476 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10477 <bp-checks.h>.
10478 (__fxstat): Do not use CHECK_1.
10479 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10480 <bp-checks.h>.
10481 (__fxstatat): Do not use CHECK_1.
10482 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10483 <bp-checks.h>.
10484 (__getresgid): Do not use CHECK_1.
10485 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10486 <bp-checks.h>.
10487 (__getresuid): Do not use CHECK_1.
10488 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10489 <bp-checks.h>.
10490 (__lxstat): Do not use CHECK_1.
10491 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10492 <bp-checks.h>.
10493 (__old_msgctl): Do not use CHECK_1.
10494 (__new_msgctl): Likewise.
10495 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10496 <bp-checks.h>.
10497 (__new_setrlimit): Do not use CHECK_1.
10498 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10499 <bp-checks.h>.
10500 (__old_shmctl): Do not use CHECK_1.
10501 (__new_shmctl): Likewise.
10502 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10503 <bp-checks.h>.
10504 (__xstat): Do not use CHECK_1.
10505 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10506 (__lxstat): Do not use CHECK_1.
10507 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10508 <bp-checks.h>.
10509 (___lxstat64): Do not use CHECK_1.
10510 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10511 (__old_msgctl): Do not use CHECK_1.
10512 (__new_msgctl): Likewise.
10513 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10514 <bp-checks.h>.
10515 (__gettimeofday): Do not use CHECK_1.
10516 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10517 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10519 <bp-checks.h>.
10520 (__gettimeofday): Do not use CHECK_1.
10521 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10522 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10523 (__new_shmctl): Do not use CHECK_1.
10524 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10525 <bp-checks.h>.
10526 (do_sigtimedwait): Do not use CHECK_1.
10527 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10528 <bp-checks.h>.
10529 (do_sigwaitinfo): Do not use CHECK_1.
10530 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10531 <bp-checks.h>.
10532 (msgctl): Do not use CHECK_1.
10533 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10534 <bp-checks.h>.
10535 (shmctl): Do not use CHECK_1.
10536 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10537 (ustat): Do not use CHECK_1.
10538 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10539 <bp-checks.h>.
10540 (__fxstat): Do not use CHECK_1.
10541 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10542 <bp-checks.h>.
10543 (__fxstatat): Do not use CHECK_1.
10544 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10545 <bp-checks.h>.
10546 (__lxstat): Do not use CHECK_1.
10547 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10548 <bp-checks.h>.
10549 (__xstat): Do not use CHECK_1.
10550 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10551 (__xstat): Do not use CHECK_1.
10552 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10553 (___xstat64): Do not use CHECK_1.
10554
b2c9eff4
JM
10555 [BZ #13550]
10556 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10557 definitions.
10558 (CHECK_BOUNDS_HIGH): Likewise.
10559 * string/strcpy.c: Do not include <bp-checks.h>.
10560 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10561
f1d70dad
RM
105622013-02-07 Roland McGrath <roland@hack.frob.com>
10563
10564 * nscd/nscd-client.h (__nscd_drop_map_ref):
10565 Add __attribute__ ((unused)).
10566 * nis/nss-nisplus.h (niserr2nss): Likewise.
10567
10568 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10569 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10570
10571 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10572 Remove inline keyword.
10573 * include/rounding-mode.h (round_away): Likewise.
10574 * libio/wfileops.c (adjust_wide_data): Likewise.
10575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10576 (__m128i_strloadu_tolower): Likewise.
10577 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10578 (__m128i_strloadu_tolower): Likewise.
10579 * time/mktime.c (ydhms_diff): Likewise.
10580 * locale/elem-hash.h (elem_hash): Likewise.
10581 * locale/setlocale.c (setdata): Likewise.
10582 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10583 (re_string_wchar_at): Likewise.
10584 (bitset_not, bitset_merge, bitset_mask): Likewise.
10585 [!(__GNUC__ > 3)] (inline): Remove macro.
10586 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10587 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10588 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10589 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10590 * string/memcmp.c (memcmp_bytes): Likewise.
10591 * locale/programs/locarchive.c (compute_hashval): Likewise.
10592 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10593 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10594 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10595 * nss/getent.c (print_rpc, print_protocols): Likewise.
10596 (print_passwd, print_group, print_aliases): Likewise.
10597 * nis/nss-nisplus.h (niserr2nss): Likewise.
10598 * nscd/connections.c (restart_p): Likewise.
10599 Change return type to bool.
10600
eab55bfb
RM
106012013-02-05 Roland McGrath <roland@hack.frob.com>
10602
7bd642f5
RM
10603 * Makeconfig (all-Depend-files): Add existing
10604 $(sorted-subdirs:=/Depend) files.
10605 (all-subdirs): Remove nss.
10606 * sysdeps/unix/inet/Subdirs: Add it here instead.
10607 * hesiod/Depend: New file.
10608
573c29b2
RM
10609 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10610 instead of calling alloca.
10611
b2e25af0
RM
10612 * io/lseek.c (__lseek): Rename to __libc_lseek.
10613 Define __lseek as an alias.
10614
eab55bfb
RM
10615 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10616
9a0d1941
CD
106172013-02-04 Carlos O'Donell <carlos@redhat.com>
10618
10619 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10620 else clause and remove check for non-standard endianness.
10621
b83bbec4
DM
106222013-02-04 David S. Miller <davem@davemloft.net>
10623
10624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10625
6277fdab
JM
106262013-02-04 Joseph Myers <joseph@codesourcery.com>
10627
10628 [BZ #13550]
10629 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10630 (__ubp_memchr): Remove prototype.
10631 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10632 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10633 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10634 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10635 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10636 Remove alias.
10637 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10638 (__ubp_memchr): Likewise.
10639 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10640 (__ubp_memchr): Likewise.
10641 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10642 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10643 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10644 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10645 CHECK_STRING.
10646 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10647 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10648 (__getcwd): Do not use CHECK_STRING.
10649 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10650 <bp-checks.h>.
10651 (__real_chown): Do not use CHECK_STRING.
10652 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10653 <bp-checks.h>.
10654 (fchownat): Do not use CHECK_STRING.
10655 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10656 CHECK_STRING.
10657 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10658 <bp-checks.h>.
10659 (__lchown): Do not use CHECK_STRING.
10660 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10661 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10662 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10663 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10665 include <bp-checks.h>.
10666 (truncate64): Do not use CHECK_STRING.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10668 <bp-checks.h>.
10669 (__real_chown): Do not use CHECK_STRING.
10670 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10671 <bp-checks.h>.
10672 (__lchown): Do not use CHECK_STRING.
10673 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10674 <bp-checks.h>.
10675 (__chown): Do not use CHECK_STRING.
10676 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10677 <bp-checks.h>.
10678 (truncate64): Do not use CHECK_STRING.
10679 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10680 Likewise.
10681 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10682 (__xmknod): Do not use CHECK_STRING.
10683 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10684 <bp-checks.h>.
10685 (__xmknodat): Do not use CHECK_STRING.
10686 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10687 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10688
903ae060
AS
106892013-02-04 Andreas Schwab <schwab@suse.de>
10690
10691 [BZ #14142]
10692 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10693 * include/netdb.h: Likewise for h_errno.
10694 * elf/tst-stackguard1.c: Include <tls.h>.
10695
542f9466
JK
106962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10697
10698 * elf/link.h (struct link_map): Extend the l_addr comment.
10699 * include/link.h (struct link_map): Likewise.
10700
e782a927
JM
107012013-02-01 Joseph Myers <joseph@codesourcery.com>
10702
10703 [BZ #13550]
10704 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10705 (BOUNDED_1): Remove macro.
10706 * debug/backtrace.c: Don't include <bp-checks.h>.
10707 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10708 (__backtrace): Likewise.
10709 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10710 <bp-checks.h>.
10711 (__backtrace): Don't use BOUNDED_1.
10712 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10713 <bp-checks.h>.
10714 (__backtrace): Don't use BOUNDED_1.
10715 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10716 (__backtrace): Don't use BOUNDED_1.
10717 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10718 (shmat): Don't use BOUNDED_N.
10719
8cf28c5e
JM
107202013-01-31 Joseph Myers <joseph@codesourcery.com>
10721
3a7ac8a0
JM
10722 [BZ #13550]
10723 * sysdeps/generic/bp-start.h: Remove file.
10724 * csu/libc-start.c: Don't include <bp-start.h>.
10725 (LIBC_START_MAIN): Set up __environ directly instead of using
10726 INIT_ARGV_and_ENVIRON.
10727 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10728 <bp-start.h>.
10729
f3499f95
JM
10730 [BZ #13550]
10731 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10732 definitions.
10733 (CHECK_FCNTL): Likewise.
10734 (CHECK_N_PAGES): Likewise.
10735
32a45bea
JM
10736 [BZ #13550]
10737 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10738 definitions.
10739 (CHECK_SIGSET_NULL_OK): Likewise.
10740 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10741 <bp-checks.h>.
10742 (sigpending): Don't use CHECK_SIGSET.
10743 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10744 <bp-checks.h>.
10745 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10746 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10747 <bp-checks.h>.
10748 (do_sigsuspend): Don't use CHECK_SIGSET.
10749 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10750 use CHECK_SIGSET.
10751 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10752 (do_sigwait): Don't use CHECK_SIGSET.
10753 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10754 use CHECK_SIGSET.
10755 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10756 include <bp-checks.h>.
10757 (sigpending): Don't use CHECK_SIGSET.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10759 include <bp-checks.h>.
10760 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10761 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10762 <bp-checks.h>.
10763 (sigpending): Don't use CHECK_SIGSET.
10764 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10765 <bp-checks.h>.
10766 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10767
2e8a5c8c
JM
10768 [BZ #13550]
10769 * sysdeps/generic/bp-semctl.h: Remove file.
10770 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10771 <bp-checks.h> and <bp-semctl.h>.
10772 (__old_semctl): Don't use CHECK_SEMCTL.
10773 (__new_semctl): Likewise.
10774 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10775 and <bp-semctl.h>.
10776 (__old_semctl): Don't use CHECK_SEMCTL.
10777 (__new_semctl): Likewise.
10778 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10779 <bp-checks.h> and <bp-semctl.h>.
10780 (__old_semctl): Don't use CHECK_SEMCTL.
10781 (__new_semctl): Likewise.
10782 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10783 <bp-checks.h> and <bp-semctl.h>.
10784 (semctl): Don't use CHECK_SEMCTL.
10785
c2d54929
JM
10786 [BZ #13550]
10787 * Makerules (elide-bp-thunks): Remove variable.
10788 (elide-routines.oS): Don't use $(elide-bp-thunks).
10789 (elide-routines.os): Likewise.
10790 (elide-routines.o): Likewise.
10791 (elide-routines.op): Likewise.
10792 (elide-routines.og): Likewise.
10793 (objects): Don't use $(bp-thunks).
10794 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10795 include.
10796 (common-generated): Do not add s-proto-bp.d.
10797 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10798 (int): Likewise.
10799 (typ): Likewise.
10800 Do not generate makefile rules for bounded-pointer thunks.
10801 * sysdeps/generic/bp-thunks.h: Remove file.
10802 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10803 * sysdeps/unix/s-proto-bp.S: Likewise.
10804
8cf28c5e
JM
10805 [BZ #15062]
10806 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10807 parts of result separately when argument is not close to line from
10808 -i to i and one part of argument is small.
10809 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10810 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10811 * math/libm-test.inc (cacos_test): Add more tests.
10812 (casin_test): Likewise.
10813 (casinh_test): Likewise.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816
c4e33b8d
DM
108172013-01-31 David S. Miller <davem@davemloft.net>
10818
10819 * po/de.po: Update from translation team.
10820
3b60b421
MK
108212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10822
10823 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10824
bb931195
TS
108252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10826
b5a5da23
TS
10827 * configure.in (_AC_PROG_CC_C89): New definition.
10828 * configure: Regenerate.
10829
bb931195
TS
10830 * configure.in (AC_PROG_CPP): New definition.
10831 * configure: Regenerate.
10832
8c53a12c
JM
108332013-01-23 Joseph Myers <joseph@codesourcery.com>
10834
10835 * debug/tst-backtrace.h: New file.
10836 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10837 (ret): Remove variable.
10838 (x): Likewise.
10839 (FAIL): Remove macro.
10840 (NO_INLINE): Likewise.
10841 (fn1): Use match function instead of strstr.
10842 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10843 (ret): Remove variable.
10844 (x): Likewise.
10845 (FAIL): Remove macro.
10846 (NO_INLINE): Likewise.
10847 (fn): Use match function instead of strstr.
10848 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10849 (ret): Remove variable.
10850 (x): Likewise.
10851 (FAIL): Remove macro.
10852 (NO_INLINE): Likewise.
10853 (handle_signal): Use match function instead of strstr.
10854 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10855 (ret): Remove variable.
10856 (x): Likewise.
10857 (FAIL): Remove macro.
10858 (NO_INLINE): Likewise.
10859 (handle_signal): Use match function instead of strstr.
10860
4858fa2a
RM
108612013-01-23 Roland McGrath <roland@hack.frob.com>
10862
10863 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10864
bae8e7f5
DM
108652013-01-23 David S. Miller <davem@davemloft.net>
10866
10867 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10868 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10869 argument of CAS if possible.
10870 * sysdeps/sparc/sparc64/bits/atomic.h
10871 (__arch_compare_and_exchange_val_32_acq): Likewise.
10872 (__arch_compare_and_exchange_val_64_acq): Likewise.
10873
9cbbc4ae
PT
108742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10875
10876 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10877 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10878 Include <limits.h>.
67b3f58c 10879 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10880
5655a0b5
AC
108812013-01-23 Adam Conrad <adconrad@0c3.net>
10882
10883 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10884 (LDFLAGS-tst-array5): Likewise.
10885
052aff95
JM
108862013-01-23 Joseph Myers <joseph@codesourcery.com>
10887
10888 [BZ #15036]
10889 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10890 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10891 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10892 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10893
7c1e01aa
DM
108942013-01-21 David S. Miller <davem@davemloft.net>
10895
10896 * sysdeps/sparc/backtrace.c: New file.
10897 * sysdeps/sparc/sparc32/backtrace.h: New file.
10898 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10899 * sysdeps/sparc/sparc64/backtrace.h: New file.
10900 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10901 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10902 -funwind-tables.
10903
ab087e0a
AS
109042013-01-21 Andreas Schwab <schwab@suse.de>
10905
10906 [BZ #15020]
10907 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10908 closed its stdout.
10909
ed689c2f
AS
109102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10911
10912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10913 "mpa2.h".
10914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10915
31d470ac
JM
109162013-01-18 Joseph Myers <joseph@codesourcery.com>
10917 Mark Mitchell <mark@codesourcery.com>
10918 Tom de Vries <tom@codesourcery.com>
10919 Paul Pluzhnikov <ppluzhnikov@google.com>
10920
10921 * debug/tst-backtrace2.c: New file.
10922 * debug/tst-backtrace3.c: Likewise.
10923 * debug/tst-backtrace4.c: Likewise.
10924 * debug/tst-backtrace5.c: Likewise.
10925 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10926 (CFLAGS-tst-backtrace3.c): Likewise.
10927 (CFLAGS-tst-backtrace4.c): Likewise.
10928 (CFLAGS-tst-backtrace5.c): Likewise.
10929 (LDFLAGS-tst-backtrace2): Likewise.
10930 (LDFLAGS-tst-backtrace3): Likewise.
10931 (LDFLAGS-tst-backtrace4): Likewise.
10932 (LDFLAGS-tst-backtrace5): Likewise.
10933 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10934 tst-backtrace4 and tst-backtrace5.
10935
90567f30 109362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10937 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10938
10939 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10940 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10941 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10942 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10944 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10945 "+r" and remove output regs list as redundant. Add explicit inline
10946 asm to specify register of return val to work around compiler codegen
10947 bug. Remove (int) cast on return value. Add return type parameter to
10948 use in macro so that this macro does not truncate return value for
10949 64-bit values.
10950 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10951 pass to INTERNAL_VSYSCALL_NCS.
10952 (INLINE_VSYSCALL): Add 'long int' as return type to
10953 INTERNAL_VSYSCALL_NCS macro invocation.
10954 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10955 INTERNAL_VSYSCALL_NCS macro invocation.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10957
d3b9ea61
SP
109582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10959
0b57daeb
SP
10960 [BZ #14496]
10961 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10962 Fix application of SIMD FP exception mask.
10963
caa99d06
SP
10964 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10965 mp_no from a power of two.
10966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10967 __mpexp_twomm1. Use __pow_mp.
10968
d3b9ea61
SP
10969 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10970 multiplication.
10971
1dbaee3c
DM
109722013-01-17 David S. Miller <davem@davemloft.net>
10973
10974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10975
728d7b43
JM
109762013-01-17 Joseph Myers <joseph@codesourcery.com>
10977
10978 [BZ #15023]
10979 * include/complex.h: Condition contents on [!_COMPLEX_H].
10980 (__kernel_casinhf): New prototype.
10981 (__kernel_casinh): Likewise.
10982 (__kernel_casinhl): Likewise.
10983 * math/Makefile (libm_calls): Add k_casinh.
10984 * math/k_casinh.c: New file.
10985 * math/k_casinhf.c: Likewise.
10986 * math/k_casinhl.c: Likewise.
10987 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10988 finite nonzero arguments.
10989 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10990 finite nonzero arguments.
10991 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10992 finite nonzero arguments.
10993 * math/s_casinh.c: Do not include <float.h>.
10994 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10995 * math/s_casinhf.c: Do not include <float.h>.
10996 (__casinhf): Move code for finite nonzero arguments to
10997 k_casinhf.c.
10998 * math/s_casinhl.c: Do not include <float.h>.
10999 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11000 redefine.
11001 (__casinhl): Move code for finite nonzero arguments to
11002 k_casinhl.c.
11003 * math/libm-test.inc (cacos_test): Add more tests.
11004 * sysdeps/i386/fpu/libm-test-ulps: Update.
11005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006
2a26ef3a
PT
110072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11008
11009 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11010 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11011 [!HAVE_MREMAP]: Remove [defined linux] case.
11012 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11013
a897655d
SP
110142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11015
11016 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11017
881ebe89 110182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11019
11020 * elf/elf.h (R_386_SIZE32): New relocation.
11021 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11022 R_386_SIZE32.
11023 (elf_machine_rela): Likewise.
11024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11025 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11026
59981e9b
JM
110272013-01-17 Joseph Myers <joseph@codesourcery.com>
11028
11029 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11030 (FP_FAST_FMA): Do not define.
11031 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11032 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11033 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11034 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11035 !_SOFT_FLOAT]: Likewise.
11036 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11037 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11038 value.
11039 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11040 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11042 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11043 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11044 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11045 file.
11046
cfa8054f
AS
110472013-01-16 Andreas Schwab <schwab@suse.de>
11048
11049 [BZ #14327]
11050 * include/stdlib.h (__mktemp): Add declaration.
11051 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11052 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11053
dd930cc5
SP
110542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11055
881ebe89
SP
11056 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11057 definitions.
11058 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11059 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11060 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11061 definitions here.
11062 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11063 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11064 definitions.
11065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11066 and ONE.
11067 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11068 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11069 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11070 definitions.
11071 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11072 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11073 definitions.
11074 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11075
dd930cc5
SP
11076 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11077
c19a9f89
DM
110782013-01-15 David S. Miller <davem@davemloft.net>
11079
1aa61767
DM
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11081 trunc{,f} to libm-sysdep_routes.
11082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11084 file.
11085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11087 file.
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11089 file.
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11092 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11093 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11094 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11095 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11096 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11097 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11098
c42d5e98
DM
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11100 nearbyint{,f} to libm-sysdep_routes.
11101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11103 New file.
11104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11105 file.
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11107 New file.
11108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11109 file.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11112 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11113 file.
11114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11115 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11116 file.
11117 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11118 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11119 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11120
c19a9f89
DM
11121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11122 libc_feholdexcept and libc_fesetenv.
11123
357679d2
MF
111242013-01-15 Mike Frysinger <vapier@gentoo.org>
11125
11126 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11127
65a82e3d
DM
111282013-01-14 David S. Miller <davem@davemloft.net>
11129
8b954ab9
DM
11130 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11131 (SPARC_ASM_VIS2_IFUNC): Likewise.
11132 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11134 use of 'siam' instruction.
11135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11136 Likewise.
11137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11138 Likewise.
11139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11140 Likewise.
11141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11146 file.
11147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11148 file.
11149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11150 file.
11151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11152 file.
11153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11158 new VIS2 routines.
11159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11162 Likewise.
11163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11168 routines to libm-sysdep_routines.
11169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11170
65a82e3d
DM
11171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11172 fdim/fdimf to libm-sysdep_routines.
11173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11174 file.
11175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11177 file.
11178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11181 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11182 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11183 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11184 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11185
e34ab705
SP
111862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11187
2a91b573
SP
11188 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11189 to optimize copies.
11190
1066a534
SP
11191 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11194
e34ab705
SP
11195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11196 local variable MPTWO.
11197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11198 Likewise.
11199
aba5e596
MF
112002013-01-13 Mike Frysinger <vapier@gentoo.org>
11201
11202 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11203 GLOB_NOESCAPE.
11204
e557e9e5
MF
112052013-01-13 Mike Frysinger <vapier@gentoo.org>
11206
11207 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11208
0428cec9
MF
112092013-01-13 Mike Frysinger <vapier@gentoo.org>
11210
11211 * manual/pattern.texi (glob_t): Document gl_flags.
11212 (glob64_t): Likewise.
11213
8794a964
DM
112142013-01-11 David S. Miller <davem@davemloft.net>
11215
66438c3f
RM
11216 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11217 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11218 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11219 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11220 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11221 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11222 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11223 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11224 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11225 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11226 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11227 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11228 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11229
4ae4244d
DM
11230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11231 sparc V9 rather than using V8 code.
11232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11234
8794a964
DM
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11236 Move to...
11237 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11238 Here.
11239
6270516e
RM
112402013-01-11 Roland McGrath <roland@hack.frob.com>
11241
11242 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11243 not in the main loop.
11244 * configure: Regenerated.
11245
6a57d931
JM
112462013-01-11 Joseph Myers <joseph@codesourcery.com>
11247
11248 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11249 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11250 to just #else.
11251 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11252 [!__GLIBC_HAVE_LONG_LONG] case.
11253 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11254 condition to just #else.
11255 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11256 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11257 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11258 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11259 unconditional.
11260 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11261 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11262 #elif condition to just #else.
11263 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11264 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11265 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11266 #elif condition to just #else.
11267
0e8529e9
SE
112682013-01-11 Steve Ellcey <sellcey@mips.com>
11269
11270 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11271 (EF_MIPS_ARCH_64): Fix value.
11272 (EF_MIPS_ARCH_32R2): New.
11273 (EF_MIPS_ARCH_64R2): New.
11274
740b3dbe
L
112752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11276
11277 * Makeconfig (+link-pie-before-libc): New.
11278 (+link-pie-after-libc): Likewise.
11279 (+link-pie-tests): Likewise.
11280 (+link-pie): Rewritten.
11281 (link-before-libc): Remove $(config-LDFLAGS).
11282 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11283 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11284 (config-LDFLAGS): Renamed to ...
11285 (rtld-LDFLAGS): This.
11286 (rtld-tests-LDFLAGS): New macro.
11287 (link-libc-rpath-link): Likewise.
11288 (link-libc-tests-rpath-link): Likewise.
11289 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11290 (link-libc): Prepand $(link-libc-rpath-link).
11291 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11292 (test-program-prefix): New macro.
11293 (test-via-rtld-prefix): Likewise.
11294 (test-program-cmd): Likewise.
11295 (host-test-program-cmd): Likewise.
11296 * Makefile ($(common-objpfx)testrun.sh): Replace
11297 $(run-program-prefix) with $(test-program-prefix).
11298 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11299 $(rtld-LDFLAGS).
11300 ($(common-objpfx)shlib.lds): Likewise.
11301 (build-module-helper): Likewise.
11302 ($(common-objpfx)format.lds): Likewise.
11303 * Rules (binaries-pie-tests): New.
11304 (binaries-pie-notests): Likewise.
11305 (binaries-pie): Rewritten.
11306 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11307 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11308 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11309 (make-test-out): Replace $(host-built-program-cmd) with
11310 $(host-test-program-cmd).
11311 * config.make.in (build-hardcoded-path-in-tests): New variable.
11312 * configure.in (--enable-hardcoded-path-in-tests): New configure
11313 option.
11314 (hardcoded_path_in_tests): New AC_SUBST.
11315 * configure: Regenerated.
11316 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11317 $(built-program-cmd) with $(test-program-cmd).
11318 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11319 (test_program_cmd): This.
11320 * elf/Makefile ($(objpfx)order.out): Run test with
11321 $(test-program-prefix).
11322 ($(objpfx)order2.out): Likewise.
11323 ($(objpfx)tst-initorder.out): Likewise.
11324 ($(objpfx)tst-initorder2.out): Likewise.
11325 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11326 $(test-program-cmd).
11327 ($(objpfx)tst-array1-static.out): Likewise.
11328 ($(objpfx)tst-array2.out): Likewise.
11329 ($(objpfx)tst-array3.out): Likewise.
11330 ($(objpfx)tst-array4.out): Likewise.
11331 ($(objpfx)tst-array5.out): Likewise.
11332 ($(objpfx)tst-array5-static.out): Likewise.
11333 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11334 $(test-program-cmd).
11335 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11336 $(run-program-prefix) with $(test-program-prefix).
11337 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11338 (test_program_prefix): This.
11339 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11340 $(run-program-prefix) with $(test-program-prefix).
11341 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11342 (test_program_prefix): This.
11343 * iconvdata/tst-tables.sh: Likewise.
11344 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11345 $(run-program-prefix) with $(test-program-prefix).
11346 ($(objpfx)tst-translit.out): Likewise.
11347 ($(objpfx)tst-gettext2.out): Likewise.
11348 ($(objpfx)tst-gettext4.out): Likewise.
11349 ($(objpfx)tst-gettext6.out): Likewise.
11350 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11351 (test_program_prefix): This.
11352 * intl/tst-gettext2.sh: Likewise.
11353 * intl/tst-gettext4.sh Likewise.
11354 * intl/tst-gettext6.sh: Likewise.
11355 * intl/tst-translit.sh: Likewise.
11356 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11357 with $(test-program-cmd).
11358 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11359 $(run-program-prefix) with $(test-program-prefix).
11360 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11361 (test_program_prefix): This.
11362 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11363 $(run-program-prefix) with $(test-program-prefix).
11364 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11365 (test_program_prefix): This.
11366 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11367 * posix/Makefile ($(objpfx)globtest.out): Replace
11368 $(run-via-rtld-prefix) and $(test-wrapper) with
11369 $(test-program-prefix) and $(test-via-rtld-prefix).
11370 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11371 $(test-program-prefix).
11372 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11373 $(host-test-program-cmd).
11374 (tst-spawn-ARGS): Likewise.
11375 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11376 $(test-program-prefix).
11377 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11378 (test_via_rtld_prefix): This.
11379 (test_wrapper): Renamed to ...
11380 (test_program_prefix): This.
11381 (run_program_prefix): Replaced by test_program_prefix.
11382 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11383 (test_program_prefix): This.
11384 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11385 with $(host-test-program-cmd).
11386 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11387 $(run-program-prefix) with $(test-program-prefix).
11388 ($(objpfx)tst-printf.out): Likewise.
11389 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11390 $(test-program-cmd).
11391 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11392 (test_program_prefix): This.
11393 * stdio-common/tst-unbputc.sh: Likewise.
11394 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11395 $(run-program-prefix) with $(test-program-prefix).
11396 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11397 (test_program_prefix): This.
11398 * string/Makefile ($(objpfx)tst-svc.out): Replace
11399 $(built-program-cmd) with $(test-program-cmd).
11400
c6fe55cf
AJ
114012013-01-11 Andreas Jaeger <aj@suse.de>
11402
11403 [BZ #15003]
11404 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11405 value. Sync with Linux 3.7.
11406
9e6919c8
DM
114072013-01-10 David S. Miller <davem@davemloft.net>
11408
11409 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11410 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11411 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11412
1c9f1a02
RM
114132013-01-10 Roland McGrath <roland@hack.frob.com>
11414
11415 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11416 never set.
11417 * configure: Regenerated.
11418
b9de2dde
DM
114192013-01-10 David S. Miller <davem@davemloft.net>
11420
11421 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11422 sparc V9 rather than using V8 code.
11423 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11424 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11425
e7f68ef4
RM
114262013-01-10 Roland McGrath <roland@hack.frob.com>
11427
11428 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11429 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11430 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11431 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11432 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11433 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11434 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11435 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11436 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11437 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11438 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11439 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11440 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11441 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11442 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11443 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11444 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11445 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11446 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11447 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11448 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11449 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11450 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11451 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11452 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11453 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11454 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11455
5a47cc9c
DM
114562013-01-10 David S. Miller <davem@davemloft.net>
11457
11458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11459
4cf8f209
L
114602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * posix/Makefile (tests-static): New variable.
11463 (tests): Add $(tests-static).
11464 (tst-exec-static-ARGS): New variable.
11465 (tst-spawn-static-ARGS): Likewise.
11466 * posix/tst-exec-static.c: New file.
11467 * posix/tst-spawn-static.c: Likewise.
11468 * posix/tst-exec.c: Support run directly.
11469 * posix/tst-spawn.c: Likewise.
11470
fed0faa1
JM
114712013-01-10 Joseph Myers <joseph@codesourcery.com>
11472
828beb13
JM
11473 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11474 long.
11475 * math/bits/mathcalls.h (llrint): Likewise.
11476 (llround): Likewise.
11477 * stdlib/stdlib.h (struct drand48_data): Likewise.
11478 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11479 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11480 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11481 Likewise.
11482 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11483 Likewise.
11484 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11485 (elf_greg_t): Likewise.
11486 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11487 (__jmp_buf): Likewise.
11488 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11489 definitions.
11490 (llrint): Likewise, for all definitions.
11491 (llrintl): Likewise.
11492
fed0faa1
JM
11493 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11494 Remove [__GNUC__] condition.
11495 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11496 condition to just [__USE_ISOC99].
11497 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11498
1a20cb20
L
114992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11500
11501 [BZ #14200]
11502 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11503 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11504 defined.
11505 (_POSIX_V6_ILP32_OFF32): Likewise.
11506 (_XBS5_ILP32_OFF32): Likewise.
11507 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11508 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11509
751b85f7
SP
115102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11511
7490eb81
SP
11512 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11513
751b85f7
SP
11514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11515 doubles __mpexp_twomm1. Adjust usage.
11516 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11517 Remove.
11518
988197f0
AS
115192013-01-10 Andreas Schwab <schwab@suse.de>
11520
11521 [BZ #14964]
11522 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11523 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11524
e83d7298
DM
115252013-01-09 David S. Miller <davem@davemloft.net>
11526
034ed64b 11527 [BZ #15003]
e83d7298
DM
11528 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11529 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11530 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11531 TCP_FASTOPEN): Define.
11532 (tcp_repair_opt): New structure.
11533 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11534 enum values.
11535 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11536 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11537 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11538 (tcp_cookie_transactions): New structure.
11539
d5e0b9bd
AB
115402013-01-09 Anton Blanchard <anton@samba.org>
11541
11542 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11543 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11544 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11545 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11546
0c07e3ea
JM
115472013-01-09 Joseph Myers <joseph@codesourcery.com>
11548
11549 * include/features.h (__USE_ANSI): Remove.
11550
232f7002
RM
115512013-01-09 Roland McGrath <roland@hack.frob.com>
11552
ad98e30c
RM
11553 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11554
232f7002
RM
11555 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11556
950c99ca
SP
115572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11558
b5792741
SP
11559 * sysdeps/s390/fpu/libm-test-ulps: Update.
11560
47cf2278
SP
11561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11562
950c99ca
SP
11563 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11564 (__acr): Likewise.
11565 (__cpy): Likewise.
11566 (norm): Likewise.
11567 (denorm): Likewise.
11568 (__mp_dbl): Likewise.
11569 (__dbl_mp): Likewise.
11570 (add_magnitudes): Likewise.
11571 (sub_magnitudes): Likewise.
11572 (__add): Likewise.
11573 (__sub): Likewise.
11574 (__mul): Likewise.
11575 (__inv): Likewise.
11576 (__dvd): Likewise.
11577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11578 (__acr): Likewise.
11579 (__cpy): Likewise.
11580 (norm): Likewise.
11581 (denorm): Likewise.
11582 (__mp_dbl): Likewise.
11583 (__dbl_mp): Likewise.
11584 (add_magnitudes): Likewise.
11585 (sub_magnitudes): Likewise.
11586 (__add): Likewise.
11587 (__sub): Likewise.
11588 (__mul): Likewise.
11589 (__inv): Likewise.
11590 (__dvd): Likewise.
11591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11592 (__acr): Likewise.
11593 (__cpy): Likewise.
11594 (norm): Likewise.
11595 (denorm): Likewise.
11596 (__mp_dbl): Likewise.
11597 (__dbl_mp): Likewise.
11598 (add_magnitudes): Likewise.
11599 (sub_magnitudes): Likewise.
11600 (__add): Likewise.
11601 (__sub): Likewise.
11602 (__mul): Likewise.
11603 (__inv): Likewise.
11604 (__dvd): Likewise.
11605
eede9df9
JM
116062013-01-08 Joseph Myers <joseph@codesourcery.com>
11607
11608 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11609 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11610 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11611 2 && __USE_EXTERN_INLINES]: Likewise.
11612
c40ea3d9
AJ
116132013-01-08 Andreas Jaeger <aj@suse.de>
11614
11615 [BZ# 14985]
11616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11617 Remove.
11618 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11619 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11620
2ccdea26
AB
116212013-01-07 Anton Blanchard <anton@samba.org>
11622
11623 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11624 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11625 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11626 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11627 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11628 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11629 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11630 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11632 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11634 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11635 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11637 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11638 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11639 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11641 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11643 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11644 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11646 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11647 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11648 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11649 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11650 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11653 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11655 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11656 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11657 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11658 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11659 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11661 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11662 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11664 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11665 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11666
a9708fed
JM
116672013-01-07 Joseph Myers <joseph@codesourcery.com>
11668
375607b9
JM
11669 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11670 (__MALLOC_PMT): Likewise.
11671 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11672 [__GNUC__], only on [_LIBC].
11673 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11674 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11675 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11676 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11677 forward declaration.
11678 (realloc_hook_ini): Likewise.
11679 (memalign_hook_ini): Likewise.
11680 (__libc_memalign): Do not use __MALLOC_PMT in variable
11681 declaration.
11682 (__libc_valloc): Likewise.
11683 (__libc_pvalloc): Likewise.
11684 (__libc_calloc): Likewise.
11685 (__posix_memalign): Likewise.
11686
a9708fed
JM
11687 [BZ #14996]
11688 * math/s_casinh.c: Include <float.h>.
11689 (__casinh): Do not do computation with squaring and square root
11690 for large arguments.
11691 * math/s_casinhf.c: Include <float.h>.
11692 (__casinhf): Do not do computation with squaring and square root
11693 for large arguments.
11694 * math/s_casinhl.c: Include <float.h>.
11695 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11696 (__casinhl): Do not do computation with squaring and square root
11697 for large arguments.
11698 * math/libm-test.inc (casin_test): Add more tests.
11699 (casinh_test): Likewise.
11700 * sysdeps/i386/fpu/libm-test-ulps: Update.
11701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11702
afec409a
L
117032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11704
11705 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11706 (__x86_64_raw_data_cache_size): Likewise.
11707 (__x86_64_data_cache_size_half): Likewise.
11708 (__x86_64_raw_data_cache_size_half): Likewise.
11709 (__x86_64_shared_cache_size): Likewise.
11710 (__x86_64_raw_shared_cache_size): Likewise.
11711 (__x86_64_shared_cache_size_half): Likewise.
11712 (__x86_64_raw_shared_cache_size_half): Likewise.
11713 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11714 to ...
11715 (__x86_data_cache_size): This.
11716 (__x86_64_raw_data_cache_size): Renamed to ...
11717 (__x86_raw_data_cache_size): This.
11718 (__x86_64_data_cache_size_half): Renamed to ...
11719 (__x86_data_cache_size_half): This.
11720 (__x86_64_raw_data_cache_size_half): Renamed to ...
11721 (__x86_raw_data_cache_size_half): This.
11722 (__x86_64_shared_cache_size): Renamed to ...
11723 (__x86_shared_cache_size): This.
11724 (__x86_64_raw_shared_cache_size): Renamed to ...
11725 (__x86_raw_shared_cache_size): This.
11726 (__x86_64_shared_cache_size_half): Renamed to ...
11727 (__x86_shared_cache_size_half): This.
11728 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11729 (__x86_raw_shared_cache_size_half): This.
11730 * sysdeps/x86_64/memcpy.S: Updated.
11731 * sysdeps/x86_64/memset.S: Likewise.
11732 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11734 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11735
0b3986d0
DM
117362013-01-04 David S. Miller <davem@davemloft.net>
11737
11738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11739
e47686e9
AS
117402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11741
d643bac1
AS
11742 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11743 1 to avoid redefinition warning.
11744 (__USE_GNU): Don't define.
11745 (init_signaling_nan): Protoize.
11746
e47686e9
AS
11747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11748
b18decba
SP
117492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11750
fffb407f
SP
11751 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11753 (__cpymn): Likewise.
11754 (norm): Remove commented code.
11755 (denorm): Likewise.
11756 (__mp_dbl): Likewise.
11757 (__inv): Likewise.
11758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11759 (__cpymn): Likewise.
11760 (norm): Remove commented code.
11761 (denorm): Likewise.
11762 (__mp_dbl): Likewise.
11763 (__inv): Likewise.
11764
b18decba
SP
11765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11766 mp_no value for 1.0 and 2.0.
11767 (norm): Use RADIXI instead of radixi.d.
11768 (denorm): Likewise.
11769 (__mul): Use 0.0 instead of zero.d.
11770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11771 mp_no value for 1.0 and 2.0.
11772 (norm): Use RADIXI instead of radixi.d.
11773 (denorm): Likewise.
11774 (__mul): Use 0.0 instead of zero.d.
11775
cdc1c96f
JM
117762013-01-04 Joseph Myers <joseph@codesourcery.com>
11777
11778 [BZ #14994]
11779 * math/s_casinh.c (__casinh): Reduce finite argument to first
11780 quadrant then set signs of results at the end.
11781 * math/s_casinhf.c (__casinhf): Likewise.
11782 * math/s_casinhl.c (__casinhl): Likewise.
11783 * math/libm-test.inc (casin_test): Add more tests.
11784 (casinh_test): Likewise.
11785 * sysdeps/i386/fpu/libm-test-ulps: Update.
11786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11787
302913e1
SP
117882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11789
6420d207
SP
11790 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11791
a9e48ab4
SP
11792 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11793
b7837264
SP
11794 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11795 declarations.
11796 (denorm): Likewise.
11797 (__mp_dbl): Likewise.
11798 (__inv): Likewise.
11799
f8af25d2
SP
11800 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11801 and adjust the header comment.
11802
302913e1
SP
11803 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11804 variable name from declaration.
11805
5d7dd1ca
L
118062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11807
11808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11809 Initialize COMMON_CPUID_INDEX_7 element.
11810 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11811 (CPUID_RTM): Likewise.
11812 (HAS_RTM): Likewise.
11813 (COMMON_CPUID_INDEX_7): New enum.
11814
2f5f40f4
AS
118152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11816
11817 [BZ #14981]
11818 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11819 size is zero, record memory as freed.
11820
4056f4a0
AJ
118212013-01-03 Andreas Jaeger <aj@suse.de>
11822
11823 * po/ia.po: Add new Interlingua translation.
11824
ab15736f 118252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11826
11827 * locale/programs/localedef.c: Fix description of '--posix' flag.
11828
568035b7
JM
118292013-01-02 Joseph Myers <joseph@codesourcery.com>
11830
e6898b8d
JM
11831 * NEWS: Update dates in second copyright notice.
11832 * README: Update copyright dates in example.
11833 * manual/libc.texinfo: Update copyright dates.
11834 * scripts/test-installation.pl: Update copyright date in --version
11835 output.
11836
0e2f9562
JM
11837 * hurd/ctty-input.c: Fix copyright notice formatting.
11838 * hurd/ctty-output.c: Likewise.
11839 * hurd/dtable.c: Likewise.
11840 * hurd/hurd-raise.c: Likewise.
11841 * hurd/hurdprio.c: Likewise.
11842 * hurd/msgportdemux.c: Likewise.
11843 * misc/sys/file.h: Likewise.
11844 * misc/sys/ioctl.h: Likewise.
11845 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11846 * sysdeps/mach/hurd/chdir.c: Likewise.
11847 * sysdeps/mach/hurd/fchdir.c: Likewise.
11848 * sysdeps/mach/hurd/rename.c: Likewise.
11849 * sysdeps/mach/hurd/rmdir.c: Likewise.
11850 * sysdeps/mach/hurd/seekdir.c: Likewise.
11851 * sysdeps/mach/hurd/setsid.c: Likewise.
11852 * sysdeps/posix/wait3.c: Likewise.
11853
568035b7
JM
11854 * All files with FSF copyright notices: Update copyright dates
11855 using scripts/update-copyrights.
11856 * intl/plural.c: Regenerated.
11857 * locale/programs/charmap-kw.h: Likewise.
11858 * locale/programs/locfile-kw.h: Likewise.
11859
da08f647
SP
118602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11861
0f5477af
SP
11862 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11863 four values.
11864
44e0d4c2
SP
11865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11866 calculation loop and add branch prediction.
11867
4d55b4e5
SP
11868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11869 check access beyond bounds of m1np.
11870
da08f647
SP
11871 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11872 MPTWO.
11873 (__inv): Remove local variable MPTWO to use the global
11874 constant.
11875 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11877 variable MPTWO.
11878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11879 MP3HALFS static const.
11880
8e051029
DM
118812013-01-01 David S. Miller <davem@davemloft.net>
11882
11883 * po/ca.po: Update from translation team.
11884
f4cf5f2d
JM
118852013-01-01 Joseph Myers <joseph@codesourcery.com>
11886
11887 * scripts/update-copyrights: New file.
11888 * Makeconfig: Reformat copyright notice.
11889 * ctype/ctype.h: Likewise.
11890 * debug/swprintf_chk.c: Likewise.
11891 * elf/dl-cache.c: Likewise.
11892 * elf/dl-debug.c: Likewise.
11893 * elf/dl-object.c: Likewise.
11894 * grp/initgroups.c: Likewise.
11895 * hurd/Makefile: Likewise.
11896 * hurd/hurd/signal.h: Likewise.
11897 * hurd/hurdfault.c: Likewise.
11898 * hurd/hurdioctl.c: Likewise.
11899 * hurd/hurdlookup.c: Likewise.
11900 * hurd/intr-msg.c: Likewise.
11901 * iconv/gconv_open.c: Likewise.
11902 * libio/swprintf.c: Likewise.
11903 * locale/lc-ctype.c: Likewise.
11904 * locale/nl_langinfo.c: Likewise.
11905 * mach/Machrules: Likewise.
11906 * mach/Makefile: Likewise.
11907 * malloc/obstack.h: Likewise.
11908 * manual/Makefile: Likewise.
11909 * manual/tsort.awk: Likewise.
11910 * misc/bits/stab.def: Likewise.
11911 * nis/nis_print_group_entry.c: Likewise.
11912 * nis/nis_table.c: Likewise.
11913 * nis/nss_compat/compat-pwd.c: Likewise.
11914 * nis/nss_compat/compat-spwd.c: Likewise.
11915 * po/Makefile: Likewise.
11916 * posix/fnmatch.c: Likewise.
11917 * posix/regex.h: Likewise.
11918 * resolv/Makefile: Likewise.
11919 * resolv/nss_dns/dns-network.c: Likewise.
11920 * resolv/res_hconf.c: Likewise.
11921 * scripts/gen-sorted.awk: Likewise.
11922 * soft-fp/soft-fp.h: Likewise.
11923 * stdio-common/printf.h: Likewise.
11924 * stdlib/monetary.h: Likewise.
11925 * stdlib/random.c: Likewise.
11926 * stdlib/random_r.c: Likewise.
11927 * sysdeps/generic/Makefile: Likewise.
11928 * sysdeps/gnu/Makefile: Likewise.
11929 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11934 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11937 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11938 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11939 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11940 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11941 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11942 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11943 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11949 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11950 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11951 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11952 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11953 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11955 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11956 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11957 * sysdeps/mach/hurd/errnos.awk: Likewise.
11958 * sysdeps/mach/hurd/fork.c: Likewise.
11959 * sysdeps/mach/hurd/getcwd.c: Likewise.
11960 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11961 * sysdeps/mach/hurd/mmap.c: Likewise.
11962 * sysdeps/mach/hurd/utimes.c: Likewise.
11963 * sysdeps/mach/hurd/xmknod.c: Likewise.
11964 * sysdeps/posix/profil.c: Likewise.
11965 * sysdeps/posix/readdir_r.c: Likewise.
11966 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11967 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11968 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11969 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11971 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11972 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11973 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11975 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11976 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11977 * sysdeps/pthread/lio_listio.c: Likewise.
11978 * sysdeps/sparc/dl-procinfo.h: Likewise.
11979 * sysdeps/unix/i386/sysdep.S: Likewise.
11980 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11981 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11982 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11983 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11985 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11986 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11987 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11988 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11989 * sysdeps/wordsize-32/divdi3.c: Likewise.
11990 * time/sys/time.h: Likewise.
11991 * wcsmbs/Makefile: Likewise.
11992
0549fbba
DM
119932013-01-01 David S. Miller <davem@davemloft.net>
11994
a141f1a7
DM
11995 * po/fr.po: Update from translation team.
11996
0549fbba
DM
11997 * catgets/gencat.c: Update copyright year.
11998 * csu/version.c: Likewise.
11999 * debug/catchsegv.sh: Likewise.
12000 * debug/pcprofiledump.c: Likewise.
12001 * debug/xtrace.sh: Likewise.
12002 * elf/ldconfig.c: Likewise.
12003 * elf/ldd.bash.in: Likewise.
12004 * elf/pldd.c: Likewise.
12005 * elf/sotruss.ksh: Likewise.
12006 * elf/sprof.c: Likewise.
12007 * iconv/iconv_prog.c: Likewise.
12008 * iconv/iconvconfig.c: Likewise.
12009 * locale/programs/locale.c: Likewise.
12010 * locale/programs/localedef.c: Likewise.
12011 * login/programs/pt_chown.c: Likewise.
12012 * malloc/memusage.sh: Likewise.
12013 * malloc/memusagestat.c: Likewise.
12014 * malloc/mtrace.pl: Likewise.
12015 * nscd/nscd.c: Likewise.
12016 * nss/getent.c: Likewise.
12017 * nss/makedb.c: Likewise.
12018 * posix/getconf.c: Likewise.
12019
18ea052c
SP
120202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12021
12022 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12023 numbers.
12024
9c89fca6
MF
120252012-12-30 Mike Frysinger <vapier@gentoo.org>
12026
12027 * math/bits/mathcalls.h (modf): Use __nonnull.
12028
085ec079
SP
120292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12030
12031 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12032 (split): Use macro CN instead of the bare value.
12033 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12034 could be used.
12035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12036 instead of the bare value.
12037 (power1): Likewise.
12038
6d9f97e1
SP
120392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12040
d63f73be
SP
12041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12042 __ATAN_TWOM.
12043 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12044
6d9f97e1
SP
12045 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12046 their values.
12047 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12048 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12049 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12050 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12051
4c4febf5
AJ
120522012-12-28 Andreas Jaeger <aj@suse.de>
12053
af5843ef
AJ
12054 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12055 values are from Linux 3.7.
12056
4c4febf5
AJ
12057 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12058 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12059
99136f82
SP
120602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12061
2f216c3c 12062 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12063 TRUE case.
12064
99136f82
SP
12065 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12066 (norm): Likewise.
12067 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12068 variables with preprocessor constants.
12069 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12070 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12071 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12072
7fffbdff
BH
120732012-12-27 Bruno Haible <bruno@clisp.org>
12074
12075 [BZ #14317]
12076 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12077 only if needed.
12078
b76eb5f0
SP
120792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12080
31a7fe5c
SP
12081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12082 and use variable directly.
12083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12084
b76eb5f0
SP
12085 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12086 MPONE.
12087 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12089 variable MPONE.
12090 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12092 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12093 include directive. Remove local variable MPONE.
12094 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12095 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12097
2c8bfe7d
DM
120982012-12-25 David S. Miller <davem@davemloft.net>
12099
12100 * version.h (RELEASE): Set to "development".
12101 (VERSION): Set to "2.17.90".
12102 * NEWS: Add 2.18 section.
12103
147d03b0
DM
121042012-12-21 David S. Miller <davem@davemloft.net>
12105
12106 * po/hr.po: Update from translation team.
12107
a8ebb2b9
AK
121082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12109
12110 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12111
95b4f1b6
SE
121122012-12-19 Steve Ellcey <sellcey@mips.com>
12113
b2d94007 12114 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12115
cedb2a90
MS
121162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12117
12118 * manual/contrib.texi (Contributors): Spelling correction.
12119
bbf527d6
DM
121202012-12-15 David S. Miller <davem@davemloft.net>
12121
12122 * po/ru.po: Update from translation team.
12123
bc38c906
DM
121242012-12-13 David S. Miller <davem@davemloft.net>
12125
85429b1a
DM
12126 * NEWS: Mention IFUNC testsuite enhancements.
12127
d283e353
DM
12128 * po/pl.po: Update from translation team.
12129 * po/bg.po: Likewise.
12130
bc38c906
DM
12131 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12132 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12133
a181b0d7
DM
121342012-12-11 David S. Miller <davem@davemloft.net>
12135
4641d57e
DM
12136 * po/sv.po: Update from translation team.
12137
f7bc6495
DM
12138 * po/vi.po: Update from translation team.
12139
6fc9048f
DM
12140 * po/cs.po: Update from translation team.
12141
a181b0d7
DM
12142 * po/de.po: Update from translation team.
12143 * po/eo.po: Likewise.
12144 * po/nl.po: Likewise.
12145
f70bfe80
SP
121462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12147
3c8b4190
SP
12148 [BZ #14246]
12149 * manual/argp.texi (Argp Helper Functions): Move node to follow
12150 Argp Parsing State.
12151
f70bfe80
SP
12152 [BZ #14872]
12153 * manual/conf.texi (Limits on File System Capacity): Mention if
12154 terminating null is included in the max size.
12155
188f0adf
AJ
121562012-12-10 Andreas Jaeger <aj@suse.de>
12157
12158 * po/cs.po: Update from translation team.
12159
56e7d3ad
SP
121602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12161
12162 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12163 void pointer and cast to uintptr_t.
12164 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12165 path.
12166 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12167 * sysdeps/s390/s390-64/memset.S: Likewise.
12168
76f2d2ea 121692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12170
12171 [BZ #14833]
12172 * menual/message.texi (Message Translation): Fix typos.
12173 (Helper programs for gettext): Likewise.
12174
67cbf9a2
AS
121752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12176
12177 [BZ #14898]
12178 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12179 Change to -1.
12180
682d0e9a
DM
121812012-12-07 David S. Miller <davem@davemloft.net>
12182
12183 * po/libc.pot: Update.
12184
573cd484
RH
121852012-12-07 Richard Henderson <rth@redhat.com>
12186
7e9da188 12187 [BZ #10114]
573cd484
RH
12188 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12189 normal/normal case to before the switch.
12190 (_FP_DIV): Likewise.
12191
e933a943
MF
121922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12193 Mike Frysinger <vapier@gentoo.org>
12194
12195 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12196 check for __NR_fadvise64_64.
12197
82123268
CM
121982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12199
12200 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12201 0, not just to plain "0" as a statement.
12202 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12203 with cw.
12204
d9814526
JM
122052012-12-06 Joseph Myers <joseph@codesourcery.com>
12206
12207 * NEWS: Use sourceware.org in Bugzilla URL.
12208
7728c574
SP
122092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12210
f16946dd
SP
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12212 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12213
5704bbcb
SP
12214 * stdio-common/tst-put-error.c (do_test): Add newline to the
12215 padded test to ensure flush.
12216
17aa0516
JL
122172012-12-05 Jeff Law <law@redhat.com>
12218
12219 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12220
363313b5
JM
122212012-12-05 Joseph Myers <joseph@codesourcery.com>
12222
effbd42a
JM
12223 * README: Don't refer to ports add-on as distributed separately.
12224 Mention AArch64 in list of systems supported in the ports add-on.
12225
87600365
JM
12226 * LICENSES: Add more non-FSF copyright and license notices.
12227
a0d7066a
JM
12228 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12229 ((unused)).
12230
66ca5a5b
JM
12231 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12232
363313b5
JM
12233 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12234 10000 as width of padded output.
12235
b37984ad
JM
122362012-12-04 Joseph Myers <joseph@codesourcery.com>
12237
9003570a
JM
12238 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12239
b37984ad
JM
12240 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12241 variable LX with __attribute__ ((unused)).
12242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12243 Likewise.
12244 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12245 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12247 with __attribute__ ((unused)).
12248
c8df52ec
DM
122492012-12-04 David S. Miller <davem@abraco.davemloft.net>
12250
12251 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12252
b3b099af
JM
122532012-12-04 Joseph Myers <joseph@codesourcery.com>
12254
c33aa6e3
JM
12255 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12256 (CFLAGS-nldbl-acos.c): New variable.
12257 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12258 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12259 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12260 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12261 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12262 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12263 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12264 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12265 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12266 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12267 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12268 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12269 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12270 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12271 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12272 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12273 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12274 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12275 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12276 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12277 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12278 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12279 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12280 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12281 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12282 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12283 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12284 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12285 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12286 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12287 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12288 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12289 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12290 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12291 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12292 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12293 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12294 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12295 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12296 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12297 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12298 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12299 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12300 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12301 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12302 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12303 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12304 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12305 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12306 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12307 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12308 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12309 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12310 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12311 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12312 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12313 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12314 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12315 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12316 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12317 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12318 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12319 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12320 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12321 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12322 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12323 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12324 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12325 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12326 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12327 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12328 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12329 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12330 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12331 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12332 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12333 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12334 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12335 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12336 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12337 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12338 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12339 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12340 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12341 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12342 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12343 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12344 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12345 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12346 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12347 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12348 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12349 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12350 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12351 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12352 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12353 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12354
20f0018d
JM
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12356 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12357
b3b099af
JM
12358 [BZ #14914]
12359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12360 whole low double instead of just low 47 bits when splitting values
12361 into two parts.
12362
029264d1
AM
123632012-12-03 Allan McRae <allan@archlinux.org>
12364
12365 * manual/stdio.texi (Predefined Printf Handlers): Remove
12366 @hsep and @vsep usage.
12367
c9d6789e
MF
123682012-12-03 Mike Frysinger <vapier@gentoo.org>
12369
12370 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12371 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12372
4b7634a5
JL
123732012-12-03 Jeff Law <law@redhat.com>
12374
12375 * time/sys/time.h (settimeofday): Do not mark TV argument
12376 as __nonnull.
12377
eb6cbd24
MF
123782012-12-01 Mike Frysinger <vapier@gentoo.org>
12379
12380 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12381 when currently writing and seek to current position when not.
12382 * libio/Makefile (tests): Remove bug-fclose1.
12383 * libio/bug-fclose1.c: Delete.
12384
f638872a
JM
123852012-12-01 Joseph Myers <joseph@codesourcery.com>
12386
12387 * manual/arith.texi (feenableexcept): Fix typo.
12388 (fedisableexcept): Likewise.
12389
48085d14
RM
123902012-11-30 Roland McGrath <roland@hack.frob.com>
12391
12392 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12393 second, differently-typed declaration, rather than a cast.
12394
1a538b9f
SP
123952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12396
12397 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12398 * include/rpc/svc.h: ... here.
12399
d07f2ff1 124002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12401
12402 [BZ #13013]
12403 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12404 depending n and resplen2 to catch cases where answer
12405 equals answerp2.
12406
c93ec1f0
CD
124072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12408
12409 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12410 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12411
37db69de
MF
124122012-11-29 Mike Frysinger <vapier@gentoo.org>
12413
12414 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12415
e10c4e4f
RM
124162012-11-29 Roland McGrath <roland@hack.frob.com>
12417
12418 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12419
2af1b328
JL
124202012-11-28 Jeff Law <law@redhat.com>
12421
12422 [BZ #13761]
12423 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12424 dataset_temporary. Track alloca usage into alloca_used.
12425 If dataset is large allocate and release it via malloc/free.
12426
111db5b1
FW
124272012-06-04 Florian Weimer <fweimer@redhat.com>
12428
f06cc227 12429 [BZ #14197]
111db5b1
FW
12430 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12431
dd694abd
DM
124322012-11-28 David S. Miller <davem@davemloft.net>
12433
12434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12435
9984dd01
JM
124362012-11-28 Joseph Myers <joseph@codesourcery.com>
12437
12438 [BZ #14803]
12439 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12440 of pi/2 rounded to nearest to 64 bits.
12441 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12442 nearest to 64 bits.
12443 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12444 bits.
12445
14bc93a9
JL
124462012-11-28 Jeff Law <law@redhat.com>
12447 Martin Osvald <mosvald@redhat.com>
12448
12449 [BZ #14889]
12450 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12451 * sunrpc/svc.c: Include time.h.
12452 (__svc_accept_failed): New function.
12453 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12454 any reason other than EINTR, call __svc_accept_failed.
12455 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12456 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12457
e3c6aa3a
AS
124582012-11-28 Andreas Schwab <schwab@suse.de>
12459
12460 * scripts/abilist.awk: Also handle indirect functions in .opd
12461 section.
12462
1bead169
JM
124632012-11-28 Joseph Myers <joseph@codesourcery.com>
12464
12465 [BZ #13881]
12466 * sysdeps/x86/fpu/powl_helper.c: New file.
12467 * sysdeps/x86/fpu/Makefile: Likewise.
12468 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12469 (p3): New object.
12470 (__ieee754_powl): Use __powl_helper for finite arguments except
12471 integer exponents below 8.
12472 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12473 (p3): New object.
12474 (__ieee754_powl): Use __powl_helper for finite arguments except
12475 integer exponents below 8.
12476 * math/libm-test.inc (pow_test): Add more tests and enable some
12477 previously disabled tests.
12478 * sysdeps/i386/fpu/libm-test-ulps: Update.
12479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12480
0817d63d
SP
124812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12482 Carlos O'Donell <carlos_odonell@mentor.com>
12483
12484 * nss/makedb.c (is_prime): Assert that input is odd and greater
12485 than 4. Note that fact in a comment too.
12486 (next_prime): Add 4 to input.
12487
de2fd463
SP
124882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12489
12490 [BZ #11741]
12491 * libio/Makefile (tests): Add test case tst-fwrite-error.
12492 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12493 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12494 * libio/tst-fwrite-error.c: New test case.
12495
c515fb51
L
124962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12497
12498 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12499 before casting to void *.
12500 * include/libc-internal.h (__pointer_type): New macro.
12501 (__integer_if_pointer_type_sub): Likewise.
12502 (__integer_if_pointer_type): Likewise.
12503 (cast_to_integer): Likewise.
12504 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12505 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12506 before casting to atomic64_t.
12507 (atomic_exchange_acq): Likewise.
12508 (__arch_exchange_and_add_body): Likewise.
12509 (__arch_add_body): Likewise.
12510 (atomic_add_negative): Likewise.
12511 (atomic_add_zero): Likewise.
12512
4cf77aa9
JM
125132012-11-26 Joseph Myers <joseph@codesourcery.com>
12514
12515 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12516 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12517 (add_fdes): Likewise.
12518 (linear_search_fdes): Likewise.
12519 (binary_search_unencoded_fdes): Likewise.
12520
d260b3b4
AS
125212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12522
12523 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12524
67060746
AC
125252012-11-24 Adam Conrad <adconrad@0c3.net>
12526
12527 * configure.in: Autodetect C++ header directories.
12528 * configure: Regenerated.
12529
800938a1
MF
125302012-11-23 Mike Frysinger <vapier@gentoo.org>
12531
12532 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12533
4e6e34e6
AS
125342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12535
12536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12537
7c7feb47
JM
125382012-11-22 Joseph Myers <joseph@codesourcery.com>
12539
7184dcdf
JM
12540 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12541 LDBL_MANT_DIG == 106]: Disable some tests.
12542 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12543 Likewise.
12544 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12545 Likewise.
12546
0a42601f
JM
12547 [BZ #14871]
12548 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12549 input for small inputs. Return +/- pi/2 for large inputs.
12550 * math/libm-test.inc (atan_test): Add more tests.
12551
79c9b9fe
JM
12552 * sysdeps/generic/unwind-dw2-fde-glibc.c
12553 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12554 __attribute__ ((unused)).
12555
c60d3bf2
JM
12556 [BZ #14645]
12557 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12558 x * y if x and y are nonzero and z is zero.
12559
ef1e0867
JM
12560 [BZ #14811]
12561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12562 nonzero exponents with absolute value below 0x1p-117 to +/-
12563 0x1p-117.
12564
1468ded3
JM
12565 [BZ #14869]
12566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12567 up arguments below 2**-450, not just those below 2**-500.
12568 * math/libm-test.inc (hypot_test): Add another test.
12569
8e27e3cc
JM
12570 [BZ #14868]
12571 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12572 Return a+b for ratio over 2**120, not 2**60.
12573 * math/libm-test.inc (hypot_test): Add another test.
12574
c9c0279b
JM
12575 * math/libm-test.inc (clog_test): Use
12576 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12577 (clog10_test): Likewise.
12578
7c7feb47
JM
12579 [BZ #6778]
12580 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12581
fff1530e
AS
125822012-11-22 Andreas Schwab <schwab@suse.de>
12583
12584 * sysdeps/i386/fpu/libm-test-ulps: Update.
12585
94558d30
PT
125862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12587
12588 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12589 printf output with newline.
12590
7e1be741
L
125912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12592
6bfea974
L
12593 [BZ #14865]
12594 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12595 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12596 -z nodlopen, -z initfirst and -z execstack support.
12597 * configure: Regenerated.
12598
7e1be741
L
12599 * elf/elf.h (DF_1_NODIRECT): New macro.
12600 (DF_1_IGNMULDEF): Likewise.
12601 (DF_1_NOKSYMS): Likewise.
12602 (DF_1_NOHDR): Likewise.
12603 (DF_1_EDITED): Likewise.
12604 (DF_1_NORELOC): Likewise.
12605 (DF_1_SYMINTPOSE): Likewise.
12606 (DF_1_GLOBAUDIT): Likewise.
12607 (DF_1_SINGLETON): Likewise.
12608 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12609 DT_1_SUPPORTED_MASK bits.
12610 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12611
105ce2ce
CD
126122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12613
12614 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12615
123be9de
TS
126162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12617
d072f3f7
TS
12618 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12619 macro.
12620
123be9de
TS
12621 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12622 (sendmmsg): Move declarations...
12623 * socket/sys/socket.h: ... here.
12624 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12625 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12626 include it from...
12627 * socket/recvmmsg.c: ... this new file.
12628 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12629 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12630 definition of __sendmmsg hidden.
12631 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12632 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12633 Move ENOSYS stub into and include it from...
12634 * socket/sendmmsg.c: ... this new file.
12635 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12636 (sysdep_routines): Move recvmmsg and sendmmsg...
12637 * socket/Makefile (routines): ... here.
12638 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12639 (GLIBC_PRIVATE): Add __sendmmsg.
12640 * include/sys/socket.h (__sendmmsg): Add declarations.
12641 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12642 sendmmsg.
12643
cf9a5d18
JM
126442012-11-20 Joseph Myers <joseph@codesourcery.com>
12645
12646 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12647 variable I1 with __attribute__ ((unused)).
12648 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12649
ecd4caf9
JM
126502012-11-19 Joseph Myers <joseph@codesourcery.com>
12651
be14d48f
JM
12652 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12653 DUMMY variables with __attribute__ ((unused)).
12654
ecd4caf9
JM
12655 * bits/byteswap.h: Include <bits/types.h>.
12656 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12657
986cab95
PT
126582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12659
12660 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12661 string_t. Do not manually set errno.
12662 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12663 length with __strnlen. Make sure to both set errno and return it on
12664 failure.
12665
6d33cc9d
DM
126662012-11-19 David S. Miller <davem@davemloft.net>
12667
12668 With help from Joseph Myers.
12669 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12670 very large arguments properly.
12671 * math/libm-test.inc (atan_test): New tests.
12672 (atan2_test): New tests.
12673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12675
ee663277
JM
126762012-11-19 Joseph Myers <joseph@codesourcery.com>
12677
877f2d8e
JM
12678 [BZ #14856]
12679 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12680 Define to 3.
12681
116fc08a
JM
12682 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12683 [POSIX] (EADDRNOTAVAIL): Likewise.
12684 [POSIX] (EAFNOSUPPORT): Likewise.
12685 [POSIX] (EALREADY): Likewise.
12686 [POSIX] (ECONNABORTED): Likewise.
12687 [POSIX] (ECONNREFUSED): Likewise.
12688 [POSIX] (ECONNRESET): Likewise.
12689 [POSIX] (EDESTADDRREQ): Likewise.
12690 [POSIX] (EDQUOT): Likewise.
12691 [POSIX] (EHOSTUNREACH): Likewise.
12692 [POSIX] (EIDRM): Likewise.
12693 [POSIX] (EISCONN): Likewise.
12694 [POSIX] (ELOOP): Likewise.
12695 [POSIX] (EMULTIHOP): Likewise.
12696 [POSIX] (ENETDOWN): Likewise.
12697 [POSIX] (ENETUNREACH): Likewise.
12698 [POSIX] (ENOBUFS): Likewise.
12699 [POSIX] (ENODATA): Likewise.
12700 [POSIX] (ENOLINK): Likewise.
12701 [POSIX] (ENOMSG): Likewise.
12702 [POSIX] (ENOPROTOOPT): Likewise.
12703 [POSIX] (ENOSR): Likewise.
12704 [POSIX] (ENOSTR): Likewise.
12705 [POSIX] (ENOTCONN): Likewise.
12706 [POSIX] (ENOTSOCK): Likewise.
12707 [POSIX] (EOPNOTSUPP): Likewise.
12708 [POSIX] (EOVERFLOW): Likewise.
12709 [POSIX] (EPROTO): Likewise.
12710 [POSIX] (EPROTONOSUPPORT): Likewise.
12711 [POSIX] (EPROTOTYPE): Likewise.
12712 [POSIX] (ESTALE): Likewise.
12713 [POSIX] (ETIME): Likewise.
12714 [POSIX] (ETXTBSY): Likewise.
12715 [POSIX] (EWOULDBLOCK): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12717 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12718 [POSIX] (SEEK_CUR): Likewise.
12719 [POSIX] (SEEK_END): Likewise.
12720 [POSIX || UNIX98] (mode_t): Do not require.
12721 [POSIX] (off_t): Likewise.
12722 [POSIX] (pid_t): Likewise.
12723 [POSIX] (sys/stat.h): Do not allow header.
12724 [POSIX] (unistd.h): Likewise.
12725 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12726 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12727 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12728 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12729 require.
12730 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12731 sigevent): Specify elements.
12732 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12733 entry.
12734 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12735 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12736
a483863f
JM
12737 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12738 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12739 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12740 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12741 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12742 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12743 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12744 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12745 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12746 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12747 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12748 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12749 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12750 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12751 Likewise.
12752 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12753 Likewise.
12754 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12755 Likewise.
12756 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12757 Likewise.
12758 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12759 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12760 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12761 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12762 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12763 Specify lower bound on value.
12764 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12765 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12766 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12767 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12768 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12769 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12770 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12771 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12772 value.
12773 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12774 as optional.
12775 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12776 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12777 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12778 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12779 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12780 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12781 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12782 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12783 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12784 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12785 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12786 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12787 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12788 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12789 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12790 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12791 entry.
12792 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12793 optional.
12794 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12795 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12796 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12797 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12798 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12799 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12800 Likewise.
12801 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12802 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12803 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12804 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12805 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12806 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12807 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12808 as optional.
12809 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12811 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12812 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12813 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12814 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12815 specify as optional.
12816 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12817 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12818 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12819 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12820 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12821 [XPG3] (NL_LANGMAX): Likewise.
12822 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12823 [POSIX || XPG3] (NL_NMAX): Likewise.
12824 [POSIX || XPG3] (NL_SETMAX): Likewise.
12825 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12826 [XPG3] (NZERO): Likewise.
12827 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12828 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12829 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12830 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12831 (REG_ERANGE): Expect.
12832 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12833 optional-constant.
12834 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12835 Use (void) in prototype.
12836 [POSIX] (*_t): Allow.
12837 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12838 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12839 (WRDE_BADVAL): Expect.
12840
5ba924e3
JM
12841 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12842 expect.
12843 [XPG3 || XPG4] (O_RSYNC): Likewise.
12844 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12845 Likewise.
12846 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12847 [XPG3 || XPG4] (sigqueue): Likewise.
12848 [XPG3 || XPG4] (sigtimedwait): Likewise.
12849 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12850 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12851 [XPG3 || XPG4] (vsnprintf): Likewise.
12852 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12853 Likewise.
12854 [XPG3 || XPG4] (blksize_t): Likewise.
12855 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12856 Likewise.
12857 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12858 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12859 [XPG3 || XPG4] (struct itimerspec): Likewise.
12860 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12861 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12862 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12863 [XPG3 || XPG4] (clockid_t): Likewise.
12864 [XPG3 || XPG4] (timer_t): Likewise.
12865 [XPG3 || XPG4] (clock_getres): Likewise.
12866 [XPG3 || XPG4] (clock_gettime): Likewise.
12867 [XPG3 || XPG4] (clock_settime): Likewise.
12868 [XPG3 || XPG4] (nanosleep): Likewise.
12869 [XPG3 || XPG4] (timer_create): Likewise.
12870 [XPG3 || XPG4] (timer_delete): Likewise.
12871 [XPG3 || XPG4] (timer_gettime): Likewise.
12872 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12873 [XPG3 || XPG4] (timer_settime): Likewise.
12874 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12875 [XPG3 || XPG4] (getlogin_r): Likewise.
12876 [XPG3 || XPG4] (pread): Likewise.
12877 [XPG3 || XPG4] (pthread_atfork): Likewise.
12878 [XPG3 || XPG4] (pwrite): Likewise.
12879
ee663277
JM
12880 [BZ #14835]
12881 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12882 <bits/siginfo.h>.
12883
942caa16
PT
128842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12885
e19af380
PT
12886 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12887 finalizing MALLSTREAM.
12888
942caa16
PT
12889 * sysdeps/mach/hurd/syncfs.c: New file.
12890
cfde9b46
SP
128912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12892
12893 [BZ #14719]
12894 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12895 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12896 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12897 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12898 (_nss_dns_gethostbyname4_r): Likewise.
12899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12900 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12901
f6da27e5
PH
129022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12903
12904 [BZ #13763]
12905 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12906
6665d4a2
SM
129072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12908
1f51ee92
SM
12909 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12910 * elf/cache.c (print_entry): Print ",AArch64" for
12911 FLAG_AARCH64_LIB64
12912
6665d4a2
SM
12913 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12914 * elf/cache.c (print_entry): Print ",hard-float" for
12915 FLAG_ARM_LIBHF.
12916
05b227bd
DM
129172012-11-18 David S. Miller <davem@davemloft.net>
12918
12919 With help from Joseph Myers.
12920 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12921 cutoff to 2**-13.
12922 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12923 cutoff to 2**-25.
12924 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12925 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12926 small.
12927 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12928 * math/libm-test.inc (y0_test): New tests.
12929 (y1_test): New tests.
12930 * sysdeps/i386/fpu/libm-test-ulps: Update.
12931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12933
786b0b67
AS
129342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12935
12936 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12937 64-bit targets.
12938 * configure: Regenerated.
12939
8e18b86d
DM
129402012-11-17 David S. Miller <davem@davemloft.net>
12941
12942 [BZ #14811]
12943 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12944 nonzero exponents with absolute value below 0x1p-128 to +/-
12945 0x1p-128.
12946
531f1ae0
JM
129472012-11-17 Joseph Myers <joseph@codesourcery.com>
12948
12df29e2
JM
12949 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12950
150dc1a0
JM
12951 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12952
531f1ae0
JM
12953 * posix/getconf-speclist.c: New file.
12954 * posix/posix-envs.def: Likewise.
12955 * posix/confstr.c (START_ENV_GROUP): New macro.
12956 (END_ENV_GROUP): Likewise.
12957 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12958 (KNOWN_PRESENT_ENV_STRING): Likewise.
12959 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12960 (UNKNOWN_ENVIRONMENT): Likewise.
12961 (confstr): Include posix-envs.def instead of handling
12962 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12963 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12964 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12965 (END_ENV_GROUP): Likewise.
12966 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12967 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12968 (UNKNOWN_ENVIRONMENT): Likewise.
12969 (__sysconf): Include posix-envs.def instead of handling associated
12970 cases directly here.
12971 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12972 preprocessing getconf-speclist.c rather than running getconf or
12973 generating empty file.
12974
a93f9cbc
PT
129752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12976
12977 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12978
d64d9f87
AL
129792012-11-16 Andrej Lajovic <natrij@gmail.com>
12980
12981 [BZ #14672]
12982 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12983
447885eb
DM
129842012-11-16 David S. Miller <davem@davemloft.net>
12985
12986 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12987 smaller than LDBL_EPSILON/2.0L, just return xm1.
12988
bcbf9830
L
129892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12990
12991 * elf/tst-array1.c (init): Set constructor priority to 1000.
12992 (fini): Set destructor priority to 1000.
12993 * elf/tst-array2dep.c: Likewise.
12994
2b766585
SP
129952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12996
12997 [BZ #11741]
12998 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12999 (_IO_new_file_xsputn): Also return EOF if none of the input
13000 data was written when overflow failed.
13001 * libio/iopadn.c (_IO_padn): Likewise.
13002 * libio/iowpadn.c (_IO_wpadn): Likewise.
13003 * stdio-common/tst-put-error.c: Add copyright notice.
13004 (do_test): Add case for printing padded string.
13005 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13006 _IO_padn returned error.
13007 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13008 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13009 return EOF.
13010
b1848fde
SP
130112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13012
13013 * libio/libioP.h: Add comment note that the references to C++
13014 bits are now obsolete.
13015
2fd89785
MS
130162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13017
13018 * math/libm-test.inc (check_complex): Use asprintf.
13019
e3ea5409
JM
130202012-11-14 Joseph Myers <joseph@codesourcery.com>
13021
13022 * debug/pcprofiledump.c (print_version): Update copyright year.
13023 * malloc/memusagestat.c (print_version): Likewise.
13024
2e64d265
L
130252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 [BZ #14831]
13028 * elf/Makefile (tests): Add tst-audit8.
13029 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13030 ($(objpfx)tst-audit8.out): New target.
13031 (tst-audit8-ENV): New variable.
13032 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13033 audit if l_reloc_result is NULL.
13034 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13035 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13036 * elf/tst-audit8.c: New file.
13037
c485e4d2
MS
130382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13039
13040 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13041 * misc/Makefile (CFLAGS-select.c): Define.
13042 * posix/Makefile (CFLAGS-pause.c): Define.
13043
3a0d900a
DM
130442012-11-13 David S. Miller <davem@davemloft.net>
13045
13046 * crypt/Makefile: Move test targets after toplevel Rules
13047 inclusion. Grab any necessary sysdep routines when linking.
13048 * crypt/md5.c (md5_process_block): Remove define, we will always
13049 name it __md5_process_block.
13050 (md5_finish_ctx): Update md5_process_block call.
13051 (md5_stream): Likewise.
13052 (md5_process_bytes): Likewise.
13053 (md5_process_block): Rename to __md5_process_block and move to ...
13054 * crypt/md5-block.c: ... here.
13055 * crypt/sha256.c (sha256_process_block): Move to ...
13056 * crypt/sha256-block.c: ... here.
13057 * crypt/sha512.c (sha512_process_block): Move to ...
13058 * crypt/sha512-block.c: ... here.
13059 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13060 path.
13061 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13062 * sysdeps/sparc/sparc64/multiarch/Makefile
13063 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13064 crypt subdir.
13065 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13066 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13067 multiarch changes.
13068 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13069 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13070 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13071 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13072 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13073 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13074 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13075 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13076 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13077 file.
13078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13079 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13080 file.
13081 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13082
8ca89318
JM
130832012-11-13 Joseph Myers <joseph@codesourcery.com>
13084
e27d476a
JM
13085 * timezone/tzselect.ksh: Update from tzcode git revision
13086 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13087 * timezone/zdump.c: Likewise.
13088 * timezone/zic.c: Likewise.
13089 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13090 in TZVERSION setting, not $(PKGVERSION).
13091 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13092 REPORT_BUGS_TO settings.
13093
8ca89318
JM
13094 [BZ #14838]
13095 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13096 macro.
13097
47594329
MS
130982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13099
13100 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13101 detection to immediately after _FP_ROUND().
13102 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13103 bits are 0.
13104
640ac3f1
DM
131052012-11-11 David S. Miller <davem@davemloft.net>
13106
13107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13108 inttypes.h
13109 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13110 __close rather than their public counterparts.
13111
3d2577bb
JM
131122012-11-10 Joseph Myers <joseph@codesourcery.com>
13113
13114 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13115 file.
13116 [UNIX98] (sem_timedwait): Do not expect.
13117 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13118 [XPG4 || UNIX98] (sockatmark): Do not expect.
13119 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13120 (clock_getcpuclockid): Do not expect.
13121 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13122 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13123 Do not expect.
13124 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13125 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13126 [UNIX98] (vwscanf): Likewise.
13127 [UNIX98] (vswscanf): Likewise.
13128
fb1ae1ee
JM
131292012-11-09 Joseph Myers <joseph@codesourcery.com>
13130
9ec6f8bd
JM
13131 * timezone/version.h: Remove file.
13132 * timezone/README: Do not refer to version.h.
13133 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13134 $(objpfx)version.h.
13135 ($(objpfx)zdump.o): Likewise.
c3f81911 13136 ($(objpfx)version.h): New target.
9ec6f8bd 13137
0aa8f8a1
JM
13138 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13139 2012i.
13140 * timezone/README: Don't mention modification to tzselect.ksh.
13141 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13142 work on unmodified tzselect.ksh. Substitute version numbers in
13143 tzselect.ksh.
13144
4e87147f
JM
13145 * Makefile (format-me): Remove.
13146 (INSTALL): Adjust indentation. Use commands directly instead of
13147 using $(format-me).
13148
8b748aed
JM
13149 * aclocal.m4 (ACX_PKGVERSION): New macro.
13150 (ACX_BUGURL): Likewise.
13151 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13152 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13153 (REPORT_BUGS_TO): Likewise.
13154 * configure: Regenerated.
13155 * config.h.in (PKGVERSION): New macro.
13156 (REPORT_BUGS_TO): Likewise.
13157 * config.make.in (PKGVERSION): New variable.
13158 (PKGVERSION_TEXI): Likewise.
13159 (REPORT_BUGS_TO): Likewise.
13160 (REPORT_BUGS_TEXI): Likewise.
13161 * Makefile (format-me): Use -I$(common-objpfx)manual.
13162 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13163 ($(common-objpfx)manual/%): New target.
13164 (manual/%): Remove target.
13165 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13166 (print_version): Use PKGVERSION.
13167 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13168 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13169 and REPORT_BUGS_TO.
13170 ($(objpfx)xtrace): Likewise.
13171 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13172 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13173 (print_version): Use PKGVERSION.
13174 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13175 (do_version): Use PKGVERSION.
13176 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13177 REPORT_BUGS_TO.
13178 (common-ldd-rewrite): Likewise.
13179 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13180 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13181 (print_version): Use PKGVERSION.
13182 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13183 * elf/pldd.c (argp_program_bug_address): Remove variable.
13184 (more_help): New function.
13185 (argp): Use more_help.
13186 (print_version): Use PKGVERSION.
13187 * elf/sln.c (main): Use PKGVERSION.
13188 (usage): Use REPORT_BUGS_TO.
13189 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13190 (top level): Use PKGVERSION.
13191 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13192 (print_version): Use PKGVERSION.
13193 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13194 (print_version): Use PKGVERSION.
13195 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13196 (print_version): Use PKGVERSION.
13197 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13198 (print_version): Use PKGVERSION.
13199 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13200 (print_version): Use PKGVERSION.
13201 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13202 (print_version): Use PKGVERSION.
13203 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13204 and BUGURL.
13205 ($(objpfx)memusage): Likewise.
13206 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13207 (do_version): Use PKGVERSION.
13208 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13209 (print_version): Use PKGVERSION.
13210 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13211 ($PKGVERSION): New variable.
13212 ($REPORT_BUGS_TO): Likewise.
13213 (usage): Use $REPORT_BUGS_TO.
13214 (top level): Use $PKGVERSION.
13215 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13216 ($(objpfx)pkgvers.texi): New rule.
13217 ($(objpfx)stamp-pkgvers): Likewise.
13218 * manual/install.texi: Include pkgvers.texi.
13219 (--with-pkgversion): Document new configure option.
13220 (--with-bugurl): Likewise.
13221 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13222 than necessarily for this particular distribution. Use
13223 REPORT_BUGS_TO for where to report bugs.
13224 * INSTALL: Regenerated.
13225 * manual/libc.texinfo: Include pkgvers.texi.
13226 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13227 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13228 (print_version): Use PKGVERSION.
13229 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13230 (print_version): Use PKGVERSION.
13231 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13232 (print_version): Use PKGVERSION.
13233 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13234 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13235 macro.
13236 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13237 (print_version): Use PKGVERSION.
13238 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13239 (print_version): Use PKGVERSION.
13240 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13241 and PKGVERSION.
13242
92e4b6a9
JM
13243 * timezone/checktab.awk: Update from tzcode 2012i.
13244 * timezone/ialloc.c: Likewise.
13245 * timezone/private.h: Likewise.
13246 * timezone/scheck.c: Likewise.
13247 * timezone/tzfile.h: Likewise.
13248 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13249 (TZVERSION): Hardcode tzcode version number.
13250 * timezone/zdump.c: Update from tzcode 2012i.
13251 * timezone/zic.c: Likewise.
13252 * timezone/version.h: New file.
13253 * timezone/README: Describe version.h. Update upstream location.
13254
9bde902c
JM
13255 [BZ #14824]
13256 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13257 (mktemp): Enable declaration.
13258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13262 Likewise.
13263 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13264 Likewise.
13265 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13266 Likewise.
13267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13268 Likewise.
13269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13270 Likewise.
13271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13272 Likewise.
13273
fb1ae1ee
JM
13274 [BZ #14821]
13275 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13276 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13277 for copies of such integer values.
13278 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13279 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13280
2c1adbcb
AJ
132812012-11-09 Andreas Jaeger <aj@suse.de>
13282
13283 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13284 definitions and declarations that are provided by
13285 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13286
d0f8457e
AK
132872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13288
3a235abb 13289 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13290 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13291 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13292 definition.
13293
57241e26
MS
132942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13295
13296 * elf/elf.h: Update comment before AArch64 relocations.
13297
60e8270d
DM
132982012-11-07 David S. Miller <davem@davemloft.net>
13299
13300 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13301 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13302 (__start_context): Declare.
13303 (__makecontext_ret): Delete.
13304 (__makecontext): Hook up __start_context instead of
13305 __makecontext_ret.
13306 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13307 (sysdep_routines): Add __start_context when in stdlib.
13308
0fbb0fbc
JM
133092012-11-07 Joseph Myers <joseph@codesourcery.com>
13310
13311 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13312 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13313 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13314 hardcoded "nm".
13315 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13316 (READELF): New variable. Use it instead of hardcoded "readelf".
13317
eb48db7e
L
133182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13319
13320 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13321 * sysdeps/x86/Makefile: Here.
13322 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13323 * sysdeps/x86/tst-xmmymm.sh: This.
13324
05bcf62a
JM
133252012-11-07 Joseph Myers <joseph@codesourcery.com>
13326
c4b6cf53
JM
13327 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13328 expectations.
13329 [UNIX98] (pthread_barrier_t): Do not expect.
13330 [UNIX98] (pthread_barrierattr_t): Likewise.
13331 [UNIX98] (pthread_spinlock_t): Likewise.
13332 [UNIX98] (pthread_barrier_destroy): Likewise.
13333 [UNIX98] (pthread_barrier_init): Likewise.
13334 [UNIX98] (pthread_barrier_wait): Likewise.
13335 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13336 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13337 [UNIX98] (pthread_barrierattr_init): Likewise.
13338 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13339 [UNIX98] (pthread_getcpuclockid): Likewise.
13340 [UNIX98] (pthread_mutex_timedlock): Likewise.
13341 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13342 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13343 [UNIX98] (pthread_sigmask): Likewise.
13344 [UNIX98] (pthread_spin_destroy): Likewise.
13345 [UNIX98] (pthread_spin_init): Likewise.
13346 [UNIX98] (pthread_spin_lock): Likewise.
13347 [UNIX98] (pthread_spin_trylock): Likewise.
13348 [UNIX98] (pthread_spin_unlock): Likewise.
13349 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13350 Do not expect.
13351 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13352 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13353 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13354 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13355 [XPG3 || XPG4] (pthread_key_t): Likewise.
13356 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13357 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13358 [XPG3 || XPG4] (pthread_once_t): Likewise.
13359 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13360 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13361 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13362 [XPG3 || XPG4] (pthread_t): Likewise.
13363
cbe6e120
JM
13364 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13365 not expect.
13366 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13367
1b126443
JM
13368 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13369 Change function return type to int.
13370
b961a573
JM
13371 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13372 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13373 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13374 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13375 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13376 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13377 [!POSIX] (posix_madvise): Likewise.
13378 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13379 && !UNIX98].
13380 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13381 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13382 (mode_t): Likewise.
13383 (posix_mem_offset): Likewise.
13384 (posix_typed_mem_get_info): Likewise.
13385 (posix_typed_mem_open): Likewise.
13386
9e188909
JM
13387 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13388 Change condition to [XOPEN2K8].
13389
05bcf62a
JM
13390 * conform/conformtest.pl: Preprocess allow-header data with -x c
13391 instead of from stdin.
13392 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13393 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13394 [C99-based standards] (cerfc): Likewise.
13395 [C99-based standards] (cexp2): Likewise.
13396 [C99-based standards] (cexpm1): Likewise.
13397 [C99-based standards] (clog10): Likewise.
13398 [C99-based standards] (clog1p): Likewise.
13399 [C99-based standards] (clog2): Likewise.
13400 [C99-based standards] (clgamma): Likewise.
13401 [C99-based standards] (ctgamma): Likewise.
13402 [C99-based standards] (cerff): Likewise.
13403 [C99-based standards] (cerfcf): Likewise.
13404 [C99-based standards] (cexp2f): Likewise.
13405 [C99-based standards] (cexpm1f): Likewise.
13406 [C99-based standards] (clog10f): Likewise.
13407 [C99-based standards] (clog1pf): Likewise.
13408 [C99-based standards] (clog2f): Likewise.
13409 [C99-based standards] (clgammaf): Likewise.
13410 [C99-based standards] (ctgammaf): Likewise.
13411 [C99-based standards] (cerfl): Likewise.
13412 [C99-based standards] (cerfcl): Likewise.
13413 [C99-based standards] (cexp2l): Likewise.
13414 [C99-based standards] (cexpm1l): Likewise.
13415 [C99-based standards] (clog10l): Likewise.
13416 [C99-based standards] (clog1pl): Likewise.
13417 [C99-based standards] (clog2l): Likewise.
13418 [C99-based standards] (clgammal): Likewise.
13419 [C99-based standards] (ctgammal): Likewise.
13420 * conform/data/inttypes.h-data [C99-based standards]: Include
13421 stdint.h-data. Remove all expectations for stdint.h contents.
13422 [C99-based standards] (PRI*): Do not allow.
13423 [C99-based standards] (SCN*): Likewise.
13424 [C99-based standards] (*_t): Likewise.
13425 [C99-based-standards] (PRId8): Expect macro.
13426 [C99-based-standards] (PRIi8): Likewise.
13427 [C99-based-standards] (PRIo8): Likewise.
13428 [C99-based-standards] (PRIu8): Likewise.
13429 [C99-based-standards] (PRIx8): Likewise.
13430 [C99-based-standards] (PRIX8): Likewise.
13431 [C99-based-standards] (SCNd8): Likewise.
13432 [C99-based-standards] (SCNi8): Likewise.
13433 [C99-based-standards] (SCNo8): Likewise.
13434 [C99-based-standards] (SCNu8): Likewise.
13435 [C99-based-standards] (SCNx8): Likewise.
13436 [C99-based-standards] (PRIdLEAST8): Likewise.
13437 [C99-based-standards] (PRIiLEAST8): Likewise.
13438 [C99-based-standards] (PRIoLEAST8): Likewise.
13439 [C99-based-standards] (PRIuLEAST8): Likewise.
13440 [C99-based-standards] (PRIxLEAST8): Likewise.
13441 [C99-based-standards] (PRIXLEAST8): Likewise.
13442 [C99-based-standards] (SCNdLEAST8): Likewise.
13443 [C99-based-standards] (SCNiLEAST8): Likewise.
13444 [C99-based-standards] (SCNoLEAST8): Likewise.
13445 [C99-based-standards] (SCNuLEAST8): Likewise.
13446 [C99-based-standards] (SCNxLEAST8): Likewise.
13447 [C99-based-standards] (PRIdFAST8): Likewise.
13448 [C99-based-standards] (PRIiFAST8): Likewise.
13449 [C99-based-standards] (PRIoFAST8): Likewise.
13450 [C99-based-standards] (PRIuFAST8): Likewise.
13451 [C99-based-standards] (PRIxFAST8): Likewise.
13452 [C99-based-standards] (PRIXFAST8): Likewise.
13453 [C99-based-standards] (SCNdFAST8): Likewise.
13454 [C99-based-standards] (SCNiFAST8): Likewise.
13455 [C99-based-standards] (SCNoFAST8): Likewise.
13456 [C99-based-standards] (SCNuFAST8): Likewise.
13457 [C99-based-standards] (SCNxFAST8): Likewise.
13458 [C99-based-standards] (PRId16): Likewise.
13459 [C99-based-standards] (PRIi16): Likewise.
13460 [C99-based-standards] (PRIo16): Likewise.
13461 [C99-based-standards] (PRIu16): Likewise.
13462 [C99-based-standards] (PRIx16): Likewise.
13463 [C99-based-standards] (PRIX16): Likewise.
13464 [C99-based-standards] (SCNd16): Likewise.
13465 [C99-based-standards] (SCNi16): Likewise.
13466 [C99-based-standards] (SCNo16): Likewise.
13467 [C99-based-standards] (SCNu16): Likewise.
13468 [C99-based-standards] (SCNx16): Likewise.
13469 [C99-based-standards] (PRIdLEAST16): Likewise.
13470 [C99-based-standards] (PRIiLEAST16): Likewise.
13471 [C99-based-standards] (PRIoLEAST16): Likewise.
13472 [C99-based-standards] (PRIuLEAST16): Likewise.
13473 [C99-based-standards] (PRIxLEAST16): Likewise.
13474 [C99-based-standards] (PRIXLEAST16): Likewise.
13475 [C99-based-standards] (SCNdLEAST16): Likewise.
13476 [C99-based-standards] (SCNiLEAST16): Likewise.
13477 [C99-based-standards] (SCNoLEAST16): Likewise.
13478 [C99-based-standards] (SCNuLEAST16): Likewise.
13479 [C99-based-standards] (SCNxLEAST16): Likewise.
13480 [C99-based-standards] (PRIdFAST16): Likewise.
13481 [C99-based-standards] (PRIiFAST16): Likewise.
13482 [C99-based-standards] (PRIoFAST16): Likewise.
13483 [C99-based-standards] (PRIuFAST16): Likewise.
13484 [C99-based-standards] (PRIxFAST16): Likewise.
13485 [C99-based-standards] (PRIXFAST16): Likewise.
13486 [C99-based-standards] (SCNdFAST16): Likewise.
13487 [C99-based-standards] (SCNiFAST16): Likewise.
13488 [C99-based-standards] (SCNoFAST16): Likewise.
13489 [C99-based-standards] (SCNuFAST16): Likewise.
13490 [C99-based-standards] (SCNxFAST16): Likewise.
13491 [C99-based-standards] (PRId32): Likewise.
13492 [C99-based-standards] (PRIi32): Likewise.
13493 [C99-based-standards] (PRIo32): Likewise.
13494 [C99-based-standards] (PRIu32): Likewise.
13495 [C99-based-standards] (PRIx32): Likewise.
13496 [C99-based-standards] (PRIX32): Likewise.
13497 [C99-based-standards] (SCNd32): Likewise.
13498 [C99-based-standards] (SCNi32): Likewise.
13499 [C99-based-standards] (SCNo32): Likewise.
13500 [C99-based-standards] (SCNu32): Likewise.
13501 [C99-based-standards] (SCNx32): Likewise.
13502 [C99-based-standards] (PRIdLEAST32): Likewise.
13503 [C99-based-standards] (PRIiLEAST32): Likewise.
13504 [C99-based-standards] (PRIoLEAST32): Likewise.
13505 [C99-based-standards] (PRIuLEAST32): Likewise.
13506 [C99-based-standards] (PRIxLEAST32): Likewise.
13507 [C99-based-standards] (PRIXLEAST32): Likewise.
13508 [C99-based-standards] (SCNdLEAST32): Likewise.
13509 [C99-based-standards] (SCNiLEAST32): Likewise.
13510 [C99-based-standards] (SCNoLEAST32): Likewise.
13511 [C99-based-standards] (SCNuLEAST32): Likewise.
13512 [C99-based-standards] (SCNxLEAST32): Likewise.
13513 [C99-based-standards] (PRIdFAST32): Likewise.
13514 [C99-based-standards] (PRIiFAST32): Likewise.
13515 [C99-based-standards] (PRIoFAST32): Likewise.
13516 [C99-based-standards] (PRIuFAST32): Likewise.
13517 [C99-based-standards] (PRIxFAST32): Likewise.
13518 [C99-based-standards] (PRIXFAST32): Likewise.
13519 [C99-based-standards] (SCNdFAST32): Likewise.
13520 [C99-based-standards] (SCNiFAST32): Likewise.
13521 [C99-based-standards] (SCNoFAST32): Likewise.
13522 [C99-based-standards] (SCNuFAST32): Likewise.
13523 [C99-based-standards] (SCNxFAST32): Likewise.
13524 [C99-based-standards] (PRId64): Likewise.
13525 [C99-based-standards] (PRIi64): Likewise.
13526 [C99-based-standards] (PRIo64): Likewise.
13527 [C99-based-standards] (PRIu64): Likewise.
13528 [C99-based-standards] (PRIx64): Likewise.
13529 [C99-based-standards] (PRIX64): Likewise.
13530 [C99-based-standards] (SCNd64): Likewise.
13531 [C99-based-standards] (SCNi64): Likewise.
13532 [C99-based-standards] (SCNo64): Likewise.
13533 [C99-based-standards] (SCNu64): Likewise.
13534 [C99-based-standards] (SCNx64): Likewise.
13535 [C99-based-standards] (PRIdLEAST64): Likewise.
13536 [C99-based-standards] (PRIiLEAST64): Likewise.
13537 [C99-based-standards] (PRIoLEAST64): Likewise.
13538 [C99-based-standards] (PRIuLEAST64): Likewise.
13539 [C99-based-standards] (PRIxLEAST64): Likewise.
13540 [C99-based-standards] (PRIXLEAST64): Likewise.
13541 [C99-based-standards] (SCNdLEAST64): Likewise.
13542 [C99-based-standards] (SCNiLEAST64): Likewise.
13543 [C99-based-standards] (SCNoLEAST64): Likewise.
13544 [C99-based-standards] (SCNuLEAST64): Likewise.
13545 [C99-based-standards] (SCNxLEAST64): Likewise.
13546 [C99-based-standards] (PRIdFAST64): Likewise.
13547 [C99-based-standards] (PRIiFAST64): Likewise.
13548 [C99-based-standards] (PRIoFAST64): Likewise.
13549 [C99-based-standards] (PRIuFAST64): Likewise.
13550 [C99-based-standards] (PRIxFAST64): Likewise.
13551 [C99-based-standards] (PRIXFAST64): Likewise.
13552 [C99-based-standards] (SCNdFAST64): Likewise.
13553 [C99-based-standards] (SCNiFAST64): Likewise.
13554 [C99-based-standards] (SCNoFAST64): Likewise.
13555 [C99-based-standards] (SCNuFAST64): Likewise.
13556 [C99-based-standards] (SCNxFAST64): Likewise.
13557 [C99-based-standards] (PRIdMAX): Likewise.
13558 [C99-based-standards] (PRIiMAX): Likewise.
13559 [C99-based-standards] (PRIoMAX): Likewise.
13560 [C99-based-standards] (PRIuMAX): Likewise.
13561 [C99-based-standards] (PRIxMAX): Likewise.
13562 [C99-based-standards] (PRIXMAX): Likewise.
13563 [C99-based-standards] (SCNdMAX): Likewise.
13564 [C99-based-standards] (SCNiMAX): Likewise.
13565 [C99-based-standards] (SCNoMAX): Likewise.
13566 [C99-based-standards] (SCNuMAX): Likewise.
13567 [C99-based-standards] (SCNxMAX): Likewise.
13568 [C99-based-standards] (PRIdPTR): Likewise.
13569 [C99-based-standards] (PRIiPTR): Likewise.
13570 [C99-based-standards] (PRIoPTR): Likewise.
13571 [C99-based-standards] (PRIuPTR): Likewise.
13572 [C99-based-standards] (PRIxPTR): Likewise.
13573 [C99-based-standards] (PRIXPTR): Likewise.
13574 [C99-based-standards] (SCNdPTR): Likewise.
13575 [C99-based-standards] (SCNiPTR): Likewise.
13576 [C99-based-standards] (SCNoPTR): Likewise.
13577 [C99-based-standards] (SCNuPTR): Likewise.
13578 [C99-based-standards] (SCNxPTR): Likewise.
13579 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13580 allow.
13581 * conform/data/stdint.h-data: Update comments to clarify
13582 requirements.
13583 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13584 type.
13585 [C99-based standards] (INT8_MAX): Likewise.
13586 [C99-based standards] (INT16_MIN): Likewise.
13587 [C99-based standards] (INT16_MAX): Likewise.
13588 [C99-based standards] (INT32_MIN): Likewise.
13589 [C99-based standards] (INT32_MAX): Likewise.
13590 [C99-based standards] (INT64_MIN): Likewise.
13591 [C99-based standards] (INT64_MAX): Likewise.
13592 [C99-based standards] (UINT8_MAX): Likewise.
13593 [C99-based standards] (UINT16_MAX): Likewise.
13594 [C99-based standards] (UINT32_MAX): Likewise.
13595 [C99-based standards] (UINT64_MAX): Likewise.
13596 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13597 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13598 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13599 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13600 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13601 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13602 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13603 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13604 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13605 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13606 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13607 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13608 [C99-based standards] (INT_FAST8_MIN): Likewise.
13609 [C99-based standards] (INT_FAST8_MAX): Likewise.
13610 [C99-based standards] (INT_FAST16_MIN): Likewise.
13611 [C99-based standards] (INT_FAST16_MAX): Likewise.
13612 [C99-based standards] (INT_FAST32_MIN): Likewise.
13613 [C99-based standards] (INT_FAST32_MAX): Likewise.
13614 [C99-based standards] (INT_FAST64_MIN): Likewise.
13615 [C99-based standards] (INT_FAST64_MAX): Likewise.
13616 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13617 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13618 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13619 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13620 [C99-based standards] (INTPTR_MIN): Likewise.
13621 [C99-based standards] (INTPTR_MAX): Likewise.
13622 [C99-based standards] (UINTPTR_MAX): Likewise.
13623 [C99-based standards] (INTMAX_MIN): Likewise.
13624 [C99-based standards] (INTMAX_MAX): Likewise.
13625 [C99-based standards] (UINTMAX_MAX): Likewise.
13626 [C99-based standards] (PTRDIFF_MIN): Likewise.
13627 [C99-based standards] (PTRDIFF_MAX): Likewise.
13628 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13629 [C99-based standards] (SIZE_MAX): Likewise.
13630 [C99-based standards] (WCHAR_MAX): Likewise.
13631 [C99-based standards] (WINT_MAX): Likewise.
13632 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13633 constraint on value.
13634 [C99-based standards] (WCHAR_MIN): Likewise.
13635 [C99-based standards] (WINT_MIN): Likewise.
13636 [C99-based standards] (*_t): Allow.
13637 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13638 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13639 Include math.h-data and complex.h-data. Remove all expectations
13640 of math.h and complex.h contents.
13641 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13642 at end of line.
13643 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13644 (struct tm): Expect tag.
13645 [C99-based-standards] (wcstof): Expect function.
13646 [C99-based-standards] (wcstold): Likewise.
13647 [C99-based-standards] (wcstoll): Likewise.
13648 [C99-based-standards] (wcstoull): Likewise.
13649 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13650 macro-int-constant. Specify type.
13651 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13652 constraint on value.
13653 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13654 Specify type.
13655 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13656 Specify value.
13657 [ISO C standards]: Do not allow headers.
13658 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13659 wcs[abcdefghijklmnopqrstuvwxyz]*.
13660 [ISO C standards] (*_t): Do not allow.
13661 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13662 Expect function.
13663 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13664 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13665 Specify type.
13666 [ISO C standards]: Do not allow headers.
13667 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13668 is[abcdefghijklmnopqrstuvwxyz]*.
13669 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13670 to[abcdefghijklmnopqrstuvwxyz]*.
13671 [ISO C standards] (*_t): Do not allow.
13672 * conform/data/stdalign.h-data: New file.
13673 * conform/data/stdbool.h-data: Likewise.
13674 * conform/data/stdnoreturn.h-data: Likewise.
13675
7514feb8
RM
136762012-11-07 Roland McGrath <roland@hack.frob.com>
13677
13678 [BZ #14815]
13679 * manual/filesys.texi (Directory Entries): Typo fix.
13680 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13681
19b2ecfc
MS
136822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13683
13684 * elf/elf.h (EM_AARCH64): New macro.
13685 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13686 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13687 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13688 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13689 (R_AARCH64_TLSDESC): Likewise.
13690 (NT_ARM_TLS): Likewise.
13691 (NT_ARM_HW_BREAK): Likewise.
13692 (NT_ARM_HW_WATCH): Likewise.
13693
60e235ee
JM
136942012-11-07 Joseph Myers <joseph@codesourcery.com>
13695
13696 [BZ #14811]
13697 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13698 (__ieee754_powl): Saturate nonzero exponents with absolute value
13699 below 0x1p-79 to +/- 0x1p-79.
13700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13701 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13702 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13703 nonzero exponents with absolute value below 0x1p-32 to +/-
13704 0x1p-32.
13705 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13706 (__ieee754_powl): Saturate nonzero exponents with absolute value
13707 below 0x1p-79 to +/- 0x1p-79.
13708 * math/libm-test.inc (pow_test): Add more tests.
13709
0ab234b7
AK
137102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13711
13712 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13713 _dl_s390_cap_flags with kernel. Increase string length.
13714 (_dl_s390_platforms): Add z196 and zEC12.
13715
45832f74
JM
137162012-11-07 Joseph Myers <joseph@codesourcery.com>
13717
13718 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13719 Change XOPEN21K to XOPEN2K.
13720
19218757
MK
137212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13722
13723 * string/memmove.c: Use memcpy when possible.
13724
c5f45721
AJ
137252012-11-06 Andreas Jaeger <aj@suse.de>
13726
13727 * po/eo.po: Update from translation team.
13728
82477c28
JM
137292012-11-06 Joseph Myers <joseph@codesourcery.com>
13730
13731 [BZ #14793]
13732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13733 exponent and small x and y exponents, scale x or y up. Increase
13734 by 2 the exponent used in scaling up.
13735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13737 * math/libm-test.inc (fma_test): Add more tests.
13738 (fma_test_towardzero): Likewise.
13739 (fma_test_downward): Likewise.
13740 (fma_test_upward): Likewise.
13741
99252c8c
JM
137422012-11-05 Joseph Myers <joseph@codesourcery.com>
13743
acfa885f
JM
13744 [BZ #14805]
13745 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13746 fenv_t *.
13747
99252c8c
JM
13748 [BZ #14801]
13749 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13750 namespace for names of struct fields.
13751 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13752 fenv_t fields.
13753 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13754 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13755
d6d98dea
ST
137562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13757
13758 [BZ #3665]
13759 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13760
e10bb107
TS
137612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13762
13763 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13764 PTR_DEMANGLE.
13765
13766 [BZ #5246]
13767 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13768 PTR_DEMANGLE.
13769
a0c2940d
JM
137702012-11-04 Joseph Myers <joseph@codesourcery.com>
13771
13772 [BZ #14797]
13773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13774 definitely overflow as x * y not x * y + z.
13775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13777 * math/libm-test.inc (fma_test): Add more tests.
13778 (fma_test_towardzero): Likewise.
13779 (fma_test_downward): Likewise.
13780 (fma_test_upward): Likewise.
13781
b830319d
TS
137822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13783
13784 [BZ #157]
13785
13786 * include/stub-tag.h: Remove file.
13787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13788 '#include' of it.
13789 * manual/maint.texi (Porting): Don't reference it.
13790 * Makerules ($(objpfx)stubs): Likewise.
13791 * dirent/closedir.c: Don't include <stub-tag.h>.
13792 * dirent/dirfd.c: Likewise.
13793 * dirent/fdopendir.c: Likewise.
13794 * dirent/getdents.c: Likewise.
13795 * dirent/getdents64.c: Likewise.
13796 * dirent/opendir.c: Likewise.
13797 * dirent/readdir.c: Likewise.
13798 * dirent/readdir64.c: Likewise.
13799 * dirent/readdir64_r.c: Likewise.
13800 * dirent/readdir_r.c: Likewise.
13801 * dirent/rewinddir.c: Likewise.
13802 * dirent/seekdir.c: Likewise.
13803 * dirent/telldir.c: Likewise.
13804 * gmon/profil.c: Likewise.
13805 * grp/setgroups.c: Likewise.
13806 * inet/if_index.c: Likewise.
13807 * io/access.c: Likewise.
13808 * io/chdir.c: Likewise.
13809 * io/chmod.c: Likewise.
13810 * io/chown.c: Likewise.
13811 * io/close.c: Likewise.
13812 * io/dup.c: Likewise.
13813 * io/dup2.c: Likewise.
13814 * io/dup3.c: Likewise.
13815 * io/euidaccess.c: Likewise.
13816 * io/faccessat.c: Likewise.
13817 * io/fchdir.c: Likewise.
13818 * io/fchmod.c: Likewise.
13819 * io/fchmodat.c: Likewise.
13820 * io/fchown.c: Likewise.
13821 * io/fchownat.c: Likewise.
13822 * io/fcntl.c: Likewise.
13823 * io/flock.c: Likewise.
13824 * io/fstatfs.c: Likewise.
13825 * io/fstatfs64.c: Likewise.
13826 * io/fstatvfs.c: Likewise.
13827 * io/fstatvfs64.c: Likewise.
13828 * io/futimens.c: Likewise.
13829 * io/fxstat.c: Likewise.
13830 * io/fxstat64.c: Likewise.
13831 * io/fxstatat.c: Likewise.
13832 * io/fxstatat64.c: Likewise.
13833 * io/getcwd.c: Likewise.
13834 * io/isatty.c: Likewise.
13835 * io/lchmod.c: Likewise.
13836 * io/lchown.c: Likewise.
13837 * io/link.c: Likewise.
13838 * io/linkat.c: Likewise.
13839 * io/lseek.c: Likewise.
13840 * io/lseek64.c: Likewise.
13841 * io/lxstat64.c: Likewise.
13842 * io/mkdir.c: Likewise.
13843 * io/mkdirat.c: Likewise.
13844 * io/mkfifo.c: Likewise.
13845 * io/mkfifoat.c: Likewise.
13846 * io/open.c: Likewise.
13847 * io/open64.c: Likewise.
13848 * io/openat.c: Likewise.
13849 * io/openat64.c: Likewise.
13850 * io/pipe.c: Likewise.
13851 * io/pipe2.c: Likewise.
13852 * io/poll.c: Likewise.
13853 * io/posix_fadvise.c: Likewise.
13854 * io/posix_fadvise64.c: Likewise.
13855 * io/posix_fallocate.c: Likewise.
13856 * io/posix_fallocate64.c: Likewise.
13857 * io/read.c: Likewise.
13858 * io/readlink.c: Likewise.
13859 * io/readlinkat.c: Likewise.
13860 * io/rmdir.c: Likewise.
13861 * io/sendfile.c: Likewise.
13862 * io/sendfile64.c: Likewise.
13863 * io/statfs.c: Likewise.
13864 * io/statfs64.c: Likewise.
13865 * io/statvfs.c: Likewise.
13866 * io/statvfs64.c: Likewise.
13867 * io/symlink.c: Likewise.
13868 * io/symlinkat.c: Likewise.
13869 * io/ttyname.c: Likewise.
13870 * io/ttyname_r.c: Likewise.
13871 * io/umask.c: Likewise.
13872 * io/unlink.c: Likewise.
13873 * io/unlinkat.c: Likewise.
13874 * io/utime.c: Likewise.
13875 * io/utimensat.c: Likewise.
13876 * io/write.c: Likewise.
13877 * io/xmknod.c: Likewise.
13878 * io/xmknodat.c: Likewise.
13879 * io/xstat.c: Likewise.
13880 * io/xstat64.c: Likewise.
13881 * login/getpt.c: Likewise.
13882 * login/grantpt.c: Likewise.
13883 * login/unlockpt.c: Likewise.
13884 * math/e_acoshl.c: Likewise.
13885 * math/e_acosl.c: Likewise.
13886 * math/e_asinl.c: Likewise.
13887 * math/e_atan2l.c: Likewise.
13888 * math/e_atanhl.c: Likewise.
13889 * math/e_coshl.c: Likewise.
13890 * math/e_expl.c: Likewise.
13891 * math/e_fmodl.c: Likewise.
13892 * math/e_gammal_r.c: Likewise.
13893 * math/e_hypotl.c: Likewise.
13894 * math/e_j0l.c: Likewise.
13895 * math/e_j1l.c: Likewise.
13896 * math/e_jnl.c: Likewise.
13897 * math/e_lgammal_r.c: Likewise.
13898 * math/e_log10l.c: Likewise.
13899 * math/e_log2l.c: Likewise.
13900 * math/e_logl.c: Likewise.
13901 * math/e_powl.c: Likewise.
13902 * math/e_rem_pio2l.c: Likewise.
13903 * math/e_sinhl.c: Likewise.
13904 * math/e_sqrtl.c: Likewise.
13905 * math/fclrexcpt.c: Likewise.
13906 * math/fedisblxcpt.c: Likewise.
13907 * math/feenablxcpt.c: Likewise.
13908 * math/fegetenv.c: Likewise.
13909 * math/fegetexcept.c: Likewise.
13910 * math/fegetround.c: Likewise.
13911 * math/feholdexcpt.c: Likewise.
13912 * math/fesetenv.c: Likewise.
13913 * math/fesetround.c: Likewise.
13914 * math/feupdateenv.c: Likewise.
13915 * math/fgetexcptflg.c: Likewise.
13916 * math/fraiseexcpt.c: Likewise.
13917 * math/fsetexcptflg.c: Likewise.
13918 * math/ftestexcept.c: Likewise.
13919 * math/k_cosl.c: Likewise.
13920 * math/k_rem_pio2l.c: Likewise.
13921 * math/k_sinl.c: Likewise.
13922 * math/k_tanl.c: Likewise.
13923 * math/s_asinhl.c: Likewise.
13924 * math/s_atanl.c: Likewise.
13925 * math/s_cbrtl.c: Likewise.
13926 * math/s_erfl.c: Likewise.
13927 * math/s_expm1l.c: Likewise.
13928 * math/s_log1pl.c: Likewise.
13929 * math/s_tanhl.c: Likewise.
13930 * misc/acct.c: Likewise.
13931 * misc/brk.c: Likewise.
13932 * misc/chflags.c: Likewise.
13933 * misc/chroot.c: Likewise.
13934 * misc/fchflags.c: Likewise.
13935 * misc/fgetxattr.c: Likewise.
13936 * misc/flistxattr.c: Likewise.
13937 * misc/fremovexattr.c: Likewise.
13938 * misc/fsetxattr.c: Likewise.
13939 * misc/fsync.c: Likewise.
13940 * misc/ftruncate.c: Likewise.
13941 * misc/futimes.c: Likewise.
13942 * misc/futimesat.c: Likewise.
13943 * misc/getdomain.c: Likewise.
13944 * misc/getdtsz.c: Likewise.
13945 * misc/gethostid.c: Likewise.
13946 * misc/gethostname.c: Likewise.
13947 * misc/getloadavg.c: Likewise.
13948 * misc/getpagesize.c: Likewise.
13949 * misc/getsysstats.c: Likewise.
13950 * misc/getxattr.c: Likewise.
13951 * misc/gtty.c: Likewise.
13952 * misc/ioctl.c: Likewise.
13953 * misc/lgetxattr.c: Likewise.
13954 * misc/listxattr.c: Likewise.
13955 * misc/llistxattr.c: Likewise.
13956 * misc/lremovexattr.c: Likewise.
13957 * misc/lsetxattr.c: Likewise.
13958 * misc/lutimes.c: Likewise.
13959 * misc/madvise.c: Likewise.
13960 * misc/mincore.c: Likewise.
13961 * misc/mlock.c: Likewise.
13962 * misc/mlockall.c: Likewise.
13963 * misc/mmap.c: Likewise.
13964 * misc/mprotect.c: Likewise.
13965 * misc/msync.c: Likewise.
13966 * misc/munlock.c: Likewise.
13967 * misc/munlockall.c: Likewise.
13968 * misc/munmap.c: Likewise.
13969 * misc/preadv.c: Likewise.
13970 * misc/preadv64.c: Likewise.
13971 * misc/ptrace.c: Likewise.
13972 * misc/pwritev.c: Likewise.
13973 * misc/pwritev64.c: Likewise.
13974 * misc/readv.c: Likewise.
13975 * misc/reboot.c: Likewise.
13976 * misc/remap_file_pages.c: Likewise.
13977 * misc/removexattr.c: Likewise.
13978 * misc/revoke.c: Likewise.
13979 * misc/select.c: Likewise.
13980 * misc/setdomain.c: Likewise.
13981 * misc/setegid.c: Likewise.
13982 * misc/seteuid.c: Likewise.
13983 * misc/sethostid.c: Likewise.
13984 * misc/sethostname.c: Likewise.
13985 * misc/setregid.c: Likewise.
13986 * misc/setreuid.c: Likewise.
13987 * misc/setxattr.c: Likewise.
13988 * misc/sstk.c: Likewise.
13989 * misc/stty.c: Likewise.
13990 * misc/swapoff.c: Likewise.
13991 * misc/swapon.c: Likewise.
13992 * misc/sync.c: Likewise.
13993 * misc/syncfs.c: Likewise.
13994 * misc/syscall.c: Likewise.
13995 * misc/truncate.c: Likewise.
13996 * misc/ualarm.c: Likewise.
13997 * misc/usleep.c: Likewise.
13998 * misc/ustat.c: Likewise.
13999 * misc/utimes.c: Likewise.
14000 * misc/vhangup.c: Likewise.
14001 * misc/writev.c: Likewise.
14002 * posix/_exit.c: Likewise.
14003 * posix/alarm.c: Likewise.
14004 * posix/execve.c: Likewise.
14005 * posix/fexecve.c: Likewise.
14006 * posix/fork.c: Likewise.
14007 * posix/fpathconf.c: Likewise.
14008 * posix/getaddrinfo.c: Likewise.
14009 * posix/getegid.c: Likewise.
14010 * posix/geteuid.c: Likewise.
14011 * posix/getgid.c: Likewise.
14012 * posix/getgroups.c: Likewise.
14013 * posix/getlogin.c: Likewise.
14014 * posix/getlogin_r.c: Likewise.
14015 * posix/getpgid.c: Likewise.
14016 * posix/getpid.c: Likewise.
14017 * posix/getppid.c: Likewise.
14018 * posix/getresgid.c: Likewise.
14019 * posix/getresuid.c: Likewise.
14020 * posix/getsid.c: Likewise.
14021 * posix/getuid.c: Likewise.
14022 * posix/glob64.c: Likewise.
14023 * posix/nanosleep.c: Likewise.
14024 * posix/pathconf.c: Likewise.
14025 * posix/pause.c: Likewise.
14026 * posix/posix_madvise.c: Likewise.
14027 * posix/pread.c: Likewise.
14028 * posix/pread64.c: Likewise.
14029 * posix/pwrite.c: Likewise.
14030 * posix/pwrite64.c: Likewise.
14031 * posix/sched_getaffinity.c: Likewise.
14032 * posix/sched_getp.c: Likewise.
14033 * posix/sched_gets.c: Likewise.
14034 * posix/sched_primax.c: Likewise.
14035 * posix/sched_primin.c: Likewise.
14036 * posix/sched_rr_gi.c: Likewise.
14037 * posix/sched_setaffinity.c: Likewise.
14038 * posix/sched_setp.c: Likewise.
14039 * posix/sched_sets.c: Likewise.
14040 * posix/sched_yield.c: Likewise.
14041 * posix/setgid.c: Likewise.
14042 * posix/setlogin.c: Likewise.
14043 * posix/setpgid.c: Likewise.
14044 * posix/setresgid.c: Likewise.
14045 * posix/setresuid.c: Likewise.
14046 * posix/setsid.c: Likewise.
14047 * posix/setuid.c: Likewise.
14048 * posix/sleep.c: Likewise.
14049 * posix/spawni.c: Likewise.
14050 * posix/sysconf.c: Likewise.
14051 * posix/times.c: Likewise.
14052 * posix/wait.c: Likewise.
14053 * posix/wait3.c: Likewise.
14054 * posix/wait4.c: Likewise.
14055 * posix/waitpid.c: Likewise.
14056 * resolv/gai_sigqueue.c: Likewise.
14057 * resource/getpriority.c: Likewise.
14058 * resource/getrlimit.c: Likewise.
14059 * resource/getrusage.c: Likewise.
14060 * resource/nice.c: Likewise.
14061 * resource/setpriority.c: Likewise.
14062 * resource/setrlimit.c: Likewise.
14063 * resource/ulimit.c: Likewise.
14064 * rt/aio_cancel.c: Likewise.
14065 * rt/aio_fsync.c: Likewise.
14066 * rt/aio_read.c: Likewise.
14067 * rt/aio_sigqueue.c: Likewise.
14068 * rt/aio_suspend.c: Likewise.
14069 * rt/aio_write.c: Likewise.
14070 * rt/clock_getres.c: Likewise.
14071 * rt/clock_gettime.c: Likewise.
14072 * rt/clock_nanosleep.c: Likewise.
14073 * rt/clock_settime.c: Likewise.
14074 * rt/lio_listio.c: Likewise.
14075 * rt/mq_close.c: Likewise.
14076 * rt/mq_getattr.c: Likewise.
14077 * rt/mq_notify.c: Likewise.
14078 * rt/mq_open.c: Likewise.
14079 * rt/mq_receive.c: Likewise.
14080 * rt/mq_send.c: Likewise.
14081 * rt/mq_setattr.c: Likewise.
14082 * rt/mq_timedreceive.c: Likewise.
14083 * rt/mq_timedsend.c: Likewise.
14084 * rt/mq_unlink.c: Likewise.
14085 * rt/shm_open.c: Likewise.
14086 * rt/shm_unlink.c: Likewise.
14087 * rt/timer_create.c: Likewise.
14088 * rt/timer_delete.c: Likewise.
14089 * rt/timer_getoverr.c: Likewise.
14090 * rt/timer_gettime.c: Likewise.
14091 * rt/timer_settime.c: Likewise.
14092 * setjmp/__longjmp.c: Likewise.
14093 * setjmp/setjmp.c: Likewise.
14094 * signal/kill.c: Likewise.
14095 * signal/killpg.c: Likewise.
14096 * signal/raise.c: Likewise.
14097 * signal/sigaction.c: Likewise.
14098 * signal/sigaltstack.c: Likewise.
14099 * signal/sigblock.c: Likewise.
14100 * signal/sigignore.c: Likewise.
14101 * signal/sigintr.c: Likewise.
14102 * signal/signal.c: Likewise.
14103 * signal/sigpause.c: Likewise.
14104 * signal/sigpending.c: Likewise.
14105 * signal/sigqueue.c: Likewise.
14106 * signal/sigreturn.c: Likewise.
14107 * signal/sigset.c: Likewise.
14108 * signal/sigsetmask.c: Likewise.
14109 * signal/sigstack.c: Likewise.
14110 * signal/sigsuspend.c: Likewise.
14111 * signal/sigtimedwait.c: Likewise.
14112 * signal/sigvec.c: Likewise.
14113 * signal/sigwait.c: Likewise.
14114 * signal/sigwaitinfo.c: Likewise.
14115 * signal/sysv_signal.c: Likewise.
14116 * socket/accept.c: Likewise.
14117 * socket/accept4.c: Likewise.
14118 * socket/bind.c: Likewise.
14119 * socket/connect.c: Likewise.
14120 * socket/getpeername.c: Likewise.
14121 * socket/getsockname.c: Likewise.
14122 * socket/getsockopt.c: Likewise.
14123 * socket/isfdtype.c: Likewise.
14124 * socket/listen.c: Likewise.
14125 * socket/recv.c: Likewise.
14126 * socket/recvfrom.c: Likewise.
14127 * socket/recvmsg.c: Likewise.
14128 * socket/send.c: Likewise.
14129 * socket/sendmsg.c: Likewise.
14130 * socket/sendto.c: Likewise.
14131 * socket/setsockopt.c: Likewise.
14132 * socket/shutdown.c: Likewise.
14133 * socket/sockatmark.c: Likewise.
14134 * socket/socket.c: Likewise.
14135 * socket/socketpair.c: Likewise.
14136 * stdio-common/ctermid.c: Likewise.
14137 * stdio-common/cuserid.c: Likewise.
14138 * stdio-common/remove.c: Likewise.
14139 * stdio-common/rename.c: Likewise.
14140 * stdio-common/renameat.c: Likewise.
14141 * stdio-common/tempname.c: Likewise.
14142 * stdlib/getcontext.c: Likewise.
14143 * stdlib/makecontext.c: Likewise.
14144 * stdlib/setcontext.c: Likewise.
14145 * stdlib/swapcontext.c: Likewise.
14146 * stdlib/system.c: Likewise.
14147 * streams/fattach.c: Likewise.
14148 * streams/fdetach.c: Likewise.
14149 * streams/getmsg.c: Likewise.
14150 * streams/getpmsg.c: Likewise.
14151 * streams/putmsg.c: Likewise.
14152 * streams/putpmsg.c: Likewise.
14153 * sysdeps/unix/bsd/getpt.c: Likewise.
14154 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14155 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14156 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14158 Likewise.
14159 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14160 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14161 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14162 * sysvipc/msgctl.c: Likewise.
14163 * sysvipc/msgget.c: Likewise.
14164 * sysvipc/msgrcv.c: Likewise.
14165 * sysvipc/msgsnd.c: Likewise.
14166 * sysvipc/semctl.c: Likewise.
14167 * sysvipc/semget.c: Likewise.
14168 * sysvipc/semop.c: Likewise.
14169 * sysvipc/semtimedop.c: Likewise.
14170 * sysvipc/shmat.c: Likewise.
14171 * sysvipc/shmctl.c: Likewise.
14172 * sysvipc/shmdt.c: Likewise.
14173 * sysvipc/shmget.c: Likewise.
14174 * termios/tcdrain.c: Likewise.
14175 * termios/tcflow.c: Likewise.
14176 * termios/tcflush.c: Likewise.
14177 * termios/tcgetattr.c: Likewise.
14178 * termios/tcgetpgrp.c: Likewise.
14179 * termios/tcsendbrk.c: Likewise.
14180 * termios/tcsetattr.c: Likewise.
14181 * termios/tcsetpgrp.c: Likewise.
14182 * time/adjtime.c: Likewise.
14183 * time/clock.c: Likewise.
14184 * time/getitimer.c: Likewise.
14185 * time/gettimeofday.c: Likewise.
14186 * time/setitimer.c: Likewise.
14187 * time/settimeofday.c: Likewise.
14188 * time/stime.c: Likewise.
14189 * time/time.c: Likewise.
14190
141912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14192
a20492cf
PT
14193 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14194 /usr/old/bin.
14195
72e182e3
PT
14196 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14197 instead of spaces.
14198 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14199
fbeafede
JM
142002012-11-03 Joseph Myers <joseph@codesourcery.com>
14201
5b5b04d6
JM
14202 [BZ #14796]
14203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14204 FE_TONEAREST before applying Dekker multiplication and Knuth
14205 addition. Clear inexact exceptions and check for exact zero
14206 results afterwards.
14207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14208 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14210 * math/libm-test.inc (fma_test): Add more tests.
14211 (fma_test_towardzero): Likewise.
14212 (fma_test_downward): Likewise.
14213 (fma_test_upward): Likewise.
14214 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14215 function.
14216 (libc_fesetround): New macro.
14217 (libc_fesetroundf): Likewise.
14218 (libc_fesetroundl): Likewise.
14219 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14220 function.
14221 (libc_fesetround_387): Likewise.
14222 (libc_fesetroundf): New macro.
14223 (libc_fesetround): Likewise.
14224 (libc_fesetroundl): Likewise.
14225 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14226 function.
14227 (libc_fesetroundf): New macro.
14228 (libc_fesetround): Likewise.
14229 (libc_fesetroundl): Likewise.
14230 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14231 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14232 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14233 libm_hidden_ver.
14234 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14235 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14236 libm_hidden_def.
14237 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14238 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14239 libm_hidden_ver.
14240 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14241 libm_hidden_def.
14242
fbeafede
JM
14243 [BZ #3439]
14244 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14245 integer constant usable in #if and use that to give value to enum
14246 constant.
14247 (FE_DIVBYZERO): Likewise.
14248 (FE_UNDERFLOW): Likewise.
14249 (FE_OVERFLOW): Likewise.
14250 (FE_INVALID): Likewise.
14251 (FE_INVALID_SNAN): Likewise.
14252 (FE_INVALID_ISI): Likewise.
14253 (FE_INVALID_IDI): Likewise.
14254 (FE_INVALID_ZDZ): Likewise.
14255 (FE_INVALID_IMZ): Likewise.
14256 (FE_INVALID_COMPARE): Likewise.
14257 (FE_INVALID_SOFTWARE): Likewise.
14258 (FE_INVALID_SQRT): Likewise.
14259 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14260 (FE_TONEAREST): Likewise.
14261 (FE_TOWARDZERO): Likewise.
14262 (FE_UPWARD): Likewise.
14263 (FE_DOWNWARD): Likewise.
14264 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14265 (FE_DIVBYZERO): Likewise.
14266 (FE_OVERFLOW): Likewise.
14267 (FE_UNDERFLOW): Likewise.
14268 (FE_INEXACT): Likewise.
14269 (FE_TONEAREST): Likewise.
14270 (FE_DOWNWARD): Likewise.
14271 (FE_UPWARD): Likewise.
14272 (FE_TOWARDZERO): Likewise.
14273 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14274 (FE_UNDERFLOW): Likewise.
14275 (FE_OVERFLOW): Likewise.
14276 (FE_DIVBYZERO): Likewise.
14277 (FE_INVALID): Likewise.
14278 (FE_TONEAREST): Likewise.
14279 (FE_TOWARDZERO): Likewise.
14280 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14281 (FE_OVERFLOW): Likewise.
14282 (FE_UNDERFLOW): Likewise.
14283 (FE_DIVBYZERO): Likewise.
14284 (FE_INEXACT): Likewise.
14285 (FE_TONEAREST): Likewise.
14286 (FE_TOWARDZERO): Likewise.
14287 (FE_UPWARD): Likewise.
14288 (FE_DOWNWARD): Likewise.
14289 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14290 (FE_DIVBYZERO): Likewise.
14291 (FE_OVERFLOW): Likewise.
14292 (FE_UNDERFLOW): Likewise.
14293 (FE_INEXACT): Likewise.
14294 (FE_TONEAREST): Likewise.
14295 (FE_DOWNWARD): Likewise.
14296 (FE_UPWARD): Likewise.
14297 (FE_TOWARDZERO): Likewise.
14298
105ca950
CM
142992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14300
14301 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14302
a542b389
AS
143032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14304
14305 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14306 commands. Quote $PWD.
14307 (blacklist_exports): Don't use remove_newlines. Replace "declare
14308 -x" by "export".
14309 (remove_newlines): Remove.
14310
f62c8abc
L
143112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14312
14313 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14314 * stdlib/stdlib.h (atof): Moved to ...
14315 * include/bits/stdlib-float.h: Here. New file.
14316 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14317 * stdlib/bits/stdlib-float.h: New file.
14318 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14319 -mno-sse -mno-mmx.
14320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14321 <xmmintrin.h>.
14322
0155d5b2
JM
143232012-11-02 Joseph Myers <joseph@codesourcery.com>
14324
a68d0680
JM
14325 * conform/conformtest.pl (@headers): Add fenv.h.
14326 * conform/data/fenv.h-data: New file.
14327 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14328 include of <math/fenv.h>.
14329
caf7f573
JM
14330 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14331 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14332 && !UNIX98]. Enables tests for XOPEN2K8.
14333 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14334 POSIX2008]: Likewise.
14335
6c073ad6
JM
14336 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14337 (struct rusage): Do not expect type or its members.
14338
0155d5b2
JM
14339 [BZ #3439]
14340 * math/math.h (FP_NAN): Define macro to integer constant usable in
14341 #if and use that to give value to enum constant.
14342 (FP_INFINITE): Likewise.
14343 (FP_ZERO): Likewise.
14344 (FP_SUBNORMAL): Likewise.
14345 (FP_NORMAL): Likewise.
14346
b5dcacb4
AS
143472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14348
14349 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14350 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14351 arguments.
14352
f7934be8
RM
143532012-11-02 Roland McGrath <roland@hack.frob.com>
14354
14355 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14356 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14357 autoconf-time if not.
14358 * configure.in: Remove AC_PREREQ.
14359
d7d08bde
TMQMF
143602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14361
14362 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14363 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14364 of the internal implementation.
14365
dcdae19a
JM
143662012-11-02 Joseph Myers <joseph@codesourcery.com>
14367
14368 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14369 except include of <misc/sys/syslog.h>.
14370
d6cffd3e
AS
143712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14372
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14374 function returns with a NULL context exit with zero.
14375
b3563932
TMQMF
143762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14377
14378 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14379
b288a93d
L
143802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14381
14382 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14383 (run_program_cmd): This.
14384 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14385 (tst_langinfo): New variable. Use it.
14386
a2421a68
SAS
143872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14388
14389 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14390 floating point opcodes.
14391
6f796e1b
TS
143922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14393
7402596b
TS
14394 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14395 variable.
14396
d0d4f868
TS
14397 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14398
6f796e1b
TS
14399 * sysdeps/mach/hurd/powerpc: Remove directory.
14400 * sysdeps/mach/powerpc: Likewise.
14401
4da224a2
AS
144022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14403
14404 * scripts/check-local-headers.sh: Ignore c++ headers.
14405
341dd673
TS
144062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14407
14408 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14409 __libc_cleanup_region_start argument.
14410
473611b2
JM
144112012-11-01 Joseph Myers <joseph@codesourcery.com>
14412
14413 [BZ #14784]
14414 [BZ #14785]
14415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14416 x * y using scaling, not as x * y + z.
14417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14419 * math/libm-test.inc (fma_test): Add more tests.
14420 (fma_test_towardzero): Likewise.
14421 (fma_test_downward): Likewise.
14422 (fma_test_upward): Likewise.
14423
4078da3d
TS
144242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14425
14426 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14427
903252aa
JM
144282012-10-31 Joseph Myers <joseph@codesourcery.com>
14429
14430 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14431 New variable.
14432
cbc818d0
TS
144332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14434
14435 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14436
5a03cb1e
AS
144372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14438
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14440 Fix sort order.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14442 Likewise.
14443
90aff2ff
TMQMF
144442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14445
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14447 Fix the order of the list for glibc 2.17.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14449 Likewise.
14450
1818fcb7
AS
144512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14452
14453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14454
ef82f4da
JM
144552012-10-31 Joseph Myers <joseph@codesourcery.com>
14456
16a0e2ec
JM
14457 [BZ #14610]
14458 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14459 for low part of x being zero before using __atanl (y).
14460 * math/libm-test.inc (atan2_test): Add another test.
14461
0eb69512
JM
14462 * manual/install.texi (Configuring and compiling): Document
14463 general use of test-wrapper and test-wrapper-env.
14464 * INSTALL: Regenerated.
14465
ef82f4da
JM
14466 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14467 (__fma): Do not extract and scale down low bits on after-rounding
14468 systems when result rounded to normal precision would have normal
14469 exponent.
14470 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14471 (__fmal): Do not extract and scale down low bits on after-rounding
14472 systems when result rounded to normal precision would have normal
14473 exponent.
14474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14475 (__fmal): Do not extract and scale down low bits on after-rounding
14476 systems when result rounded to normal precision would have normal
14477 exponent.
14478 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14479 macro.
14480 (fma_test): Add more tests.
14481 (fma_test_towardzero): Likewise.
14482 (fma_test_downward): Likewise.
14483 (fma_test_upward): Likewise.
14484
954ef0d9
L
144852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14486
14487 * sysdeps/i386/tininess.h: Renamed to ...
14488 * sysdeps/x86/tininess.h: This.
14489 * sysdeps/x86_64/tininess.h: Removed.
14490
df61ffb2
JM
144912012-10-30 Joseph Myers <joseph@codesourcery.com>
14492
14493 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14494 input. Use $(build-program-cmd).
14495 ($(objpfx)tst-array1-static.out): Likewise.
14496 ($(objpfx)tst-array2.out): Likewise.
14497 ($(objpfx)tst-array3.out): Likewise.
14498 ($(objpfx)tst-array4.out): Likewise.
14499 ($(objpfx)tst-array5.out): Likewise.
14500 ($(objpfx)tst-array5-static.out): Likewise.
14501
01767843
CM
145022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14503
47cc1490
CM
14504 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14505 if defined.
14506
01767843
CM
14507 * nss/nsswitch.h (nss_interface_function): Provide new
14508 macro for use with NSS functions.
14509 * grp/initgroups.c: Use new macro.
14510 * nss/getXXbyYY.c: Likewise.
14511 * nss/getXXbyYY_r.c: Likewise.
14512 * nss/getXXent.c: Likewise.
14513 * nss/getXXent_r.c: Likewise.
14514 * sysdeps/posix/getaddrinfo.c: Likewise.
14515
8321aa97
AJ
145162012-10-30 Andreas Jaeger <aj@suse.de>
14517
14518 * po/ru.po: Update Russion translation from translation project.
14519
2a27fd6d
JM
145202012-10-30 Joseph Myers <joseph@codesourcery.com>
14521
8627a232
JM
14522 [BZ #14152]
14523 [BZ #14783]
14524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14525 result and shift together with sticky bit instead of replicating
14526 round-to-nearest rounding.
14527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14529 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14530 missing underflow exceptions.
14531 (fma_test_towardzero): Add more tests.
14532 (fma_test_downward): Likewise.
14533 (fma_test_upward): Likewise.
14534
2a27fd6d
JM
14535 [BZ #14047]
14536 * sysdeps/generic/tininess.h: New file.
14537 * sysdeps/i386/tininess.h: Likewise.
14538 * sysdeps/sh/tininess.h: Likewise.
14539 * sysdeps/x86_64/tininess.h: Likewise.
14540 * stdlib/tst-strtod-underflow.c: Likewise.
14541 * stdlib/tst-tininess.c: Likewise.
14542 * stdlib/strtod_l.c: Include <tininess.h>.
14543 (round_and_return): Do not set errno for exact underflow cases.
14544 Force an underflow exception when setting errno for underflow.
14545 Determine underflow based on rounding to normal precision if
14546 TININESS_AFTER_ROUNDING.
14547 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14548 ERANGE for exact underflow cases.
14549 * stdlib/Makefile (tests): Add tst-tininess and
14550 tst-strtod-underflow.
14551 ($(objpfx)tst-tininess): Use $(link-libm).
14552 ($(objpfx)tst-strtod-underflow): Likewise.
14553
e7170363
AJ
145542012-10-30 Andreas Jaeger <aj@suse.de>
14555
e5088dc6
AJ
14556 [BZ#14767]
14557 * elf/Makefile (tests): Remove conditional for have-initfini-array
14558 since this is now always required and the variable does not exist
14559 anymore.
14560 (tests-static): Likewise.
14561 (modules-names): Likewise.
14562
e7170363 14563 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14564
14565 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14566 merged with constructor/destructor.
14567 (init_array): Likewise.
14568 * elf/tst-array2dep.c (fini_array): Likewise.
14569 (init_array): Likewise.
14570
60457d8a
MF
145712012-10-29 Mike Frysinger <vapier@gentoo.org>
14572
14573 * manual/message.texi: Delete @cartouche tags.
14574
8bece752
PT
145752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14576
94ce799f
PT
14577 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14578 EOPNOTSUPP.
14579 * sysdeps/mach/hurd/fsync.c: Likewise.
14580
8bece752
PT
14581 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14582 [_POSIX_REALTIME_SIGNALS]: Change condition to
14583 [_POSIX_REALTIME_SIGNALS > 0].
14584
86ebe6b1
AJ
145852012-10-27 Andreas Jaeger <aj@suse.de>
14586
14587 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14588 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14590 [__WORDSIZE != 64]: Likewise.
14591
54399c08
L
145922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14593
14594 * iconvdata/tst-table.sh: Remove ${SHELL}.
14595 * iconvdata/tst-tables.sh: Likewise.
14596
e2211bed
DM
145972012-10-25 David S. Miller <davem@davemloft.net>
14598
14599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14600 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14601 of strtoull.
14602
f303f97c
DM
14603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14604 ifunc-impl-list.c
14605 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14606 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14607 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14608 file.
14609
1e9d84cd
RM
146102012-10-25 Roland McGrath <roland@hack.frob.com>
14611
14612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14613 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14614 __getdirentries.
14615
df381762
JM
146162012-10-25 Joseph Myers <joseph@codesourcery.com>
14617 Jim Blandy <jimb@codesourcery.com>
14618
14619 * scripts/cross-test-ssh.sh: New file.
14620 * manual/install.texi (Configuring and compiling): Document use of
14621 cross-test-ssh.sh.
14622 * INSTALL: Regenerated.
14623
bff64913
PT
146242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14625
14626 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14627 EOPNOTSUPP.
14628
25fe8932
JM
146292012-10-25 Joseph Myers <joseph@codesourcery.com>
14630
14631 * Makeconfig (run-program-prefix): Fix comment.
14632
cc1290d0
JM
146332012-10-24 Joseph Myers <joseph@codesourcery.com>
14634 Jim Blandy <jimb@codesourcery.com>
14635
14636 * Makeconfig (test-wrapper): New variable,
14637 (test-wrapper-env): Likewise.
14638 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14639 (run-built-tests): Define to yes.
14640 (run-program-prefix): Use $(test-wrapper).
14641 (built-program-cmd): Likewise.
14642 * Rules (make-test-out): Use $(test-wrapper-env) and
14643 $(host-built-program-cmd).
14644 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14645 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14646 tst-pathopt.sh.
14647 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14648 $(test-wrapper-env) to tst-rtld-load-self.sh.
14649 ($(objpfx)order2.out): Use $(test-wrapper).
14650 ($(objpfx)tst-initorder.out): Likewise.
14651 ($(objpfx)tst-initorder2.out): Likewise.
14652 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14653 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14654 (test_wrapper_env): New variable. Use it to run ld.so.
14655 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14656 Use it to run ld.so.
14657 (test_wrapper_env): Likewise.
14658 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14659 $(test-wrapper) to run-iconv-test.sh.
14660 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14661 (ICONV): Use $test_wrapper.
14662 * posix/Makefile ($(objpfx)globtest.out): Pass
14663 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14664 globtest.sh, not $(run-program-prefix).
14665 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14666 (test_wrapper): Likewise.
14667 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14668 set together with run_via_rtld_prefix.
14669 (run_program_prefix): Define in terms of test_wrapper and
14670 run_via_rtld_prefix.
14671
6e6249d0
RM
146722012-10-24 Roland McGrath <roland@hack.frob.com>
14673
14674 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14675 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14676 Targets removed.
14677
14678 [BZ #14743]
14679 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14680 Declare __clock_getres, __clock_gettime, __clock_settime,
14681 __clock_nanosleep, and __clock_getcpuclockid.
14682 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14683 Remove librt_hidden_def (clock_gettime).
14684 * sysdeps/unix/clock_gettime.c: Likewise.
14685 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14687 * rt/clock_getres.c: Define __clock_getres as an alias.
14688 * sysdeps/posix/clock_getres.c: Likewise.
14689 * rt/clock_settime.c: Define __clock_settime as an alias.
14690 * sysdeps/unix/clock_settime.c: Likewise.
14691 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14692 * sysdeps/unix/clock_nanosleep.c: Likewise.
14693 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14694 * rt/clock-compat.c: New file.
14695 * rt/Makefile (librt-routines): Add clock-compat and move
14696 $(clock-routines) to ...
14697 (routines): ... here, new variable.
14698 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14699 Don't add get_clockfreq here.
14700 * rt/Versions (libc: GLIBC_2.17): New version set.
14701 Add clock_* symbols here.
14702 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14703 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14704 (GLIBC_2.17): Add clock_* symbols.
14705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14709 Likewise.
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14711 Likewise.
14712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14716 * NEWS: Mention the move.
14717
14718 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14719 Use __open, __read, __close rather than their public counterparts.
14720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14721 (__get_clockfreq_via_cpuinfo): Likewise.
14722 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14723 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14724
14725 * config.h.in (HAVE_IFUNC): New #undef.
14726 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14727 was successful.
14728 * configure: Regenerated.
14729
0cae3f4b
MF
147302012-10-24 Mike Frysinger <vapier@gentoo.org>
14731
14732 * configure.in: Move READELF check to start of file.
14733 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14734 libc_cv_asm_gnu_indirect_function in the process.
14735 * configure: Regenerated.
14736
8175a253
MF
147372012-10-24 Mike Frysinger <vapier@gentoo.org>
14738
14739 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14740 send the output to /dev/null.
14741 (libc_cv_cc_with_libunwind): Likewise.
14742 (libc_cv_as_noexecstack): Likewise.
14743 * configure: Regenerate.
14744
0708a7d1
JM
147452012-10-24 Joseph Myers <joseph@codesourcery.com>
14746
10b40d85
JM
14747 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14748
0708a7d1
JM
14749 * posix/globtest.sh (TMPDIR): Do not set.
14750 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14751 (testout): Likewise.
14752
9fddec1a
AJ
147532012-10-24 Andreas Jaeger <aj@suse.de>
14754
3a8db22f
AJ
14755 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14756 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14757 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14758 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14759 posix_fadvise64, posix_fallocate64.
14760
9fddec1a
AJ
14761 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14762 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14763 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14764 Likewise.
14765 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14766 Likewise.
14767 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14768
14769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14770 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14771 <bits/fcntl-linux.h>.
14772 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14773
14774 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14775 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14776 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14777 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14778 [__WORDSIZE != 64]: Likewise.
14779
ebfd1bbd
JM
147802012-10-23 Joseph Myers <joseph@codesourcery.com>
14781
03ac099f
JM
14782 * Makeconfig (run-built-tests): New variable.
14783 * Rules [$(cross-compiling) = yes]: Change condition to
14784 [$(run-built-tests) = no].
14785 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14786 to [$(run-built-tests) = yes].
14787 * elf/Makefile [$(cross-compiling) = no]: Likewise
14788 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14789 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14790 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14791 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14792 * io/Makefile [$(cross-compiling) = no]: Likewise.
14793 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14794 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14795 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14796 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14797 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14798 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14799 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14800 * string/Makefile [$(cross-compiling) = no]: Likewise.
14801
ebfd1bbd
JM
14802 * posix/Makefile ($(objpfx)globtest.out): Pass
14803 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14804 $(rtld-installed-name).
14805 * posix/globtest.sh (elf_objpfx): Remove variable.
14806 (rtld_installed_name): Likewise.
14807 (library_path): Likewise.
14808 (run_program_prefix): New variable. Use for running globtest
14809 binary.
14810
166bca24
JB
148112012-10-23 Jim Blandy <jimb@codesourcery.com>
14812 Joseph Myers <joseph@codesourcery.com>
14813
14814 * Makeconfig (host-built-program-cmd): New variable.
14815 * elf/Makefile (tst-stackguard1-ARGS): Use
14816 $(host-built-program-cmd).
14817 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14818 (tst-spawn-ARGS): Likewise.
14819 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14820
88866099
JM
148212012-10-23 Joseph Myers <joseph@codesourcery.com>
14822 Jim Blandy <jimb@codesourcery.com>
14823
14824 * Makeconfig (run-via-rtld-prefix): New variable.
14825 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14826 (built-program-cmd): Likewise.
14827
b4b4c296
AJ
148282012-10-22 Andreas Jaeger <aj@suse.de>
14829
14830 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14831 __O_RSYNC if it exists, otherwise to O_SYNC.
14832
6fb54a22
JB
148332012-10-22 Jim Blandy <jimb@codesourcery.com>
14834 Joseph Myers <joseph@codesourcery.com>
14835
14836 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14837 /dev/null.
14838 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14839 from /dev/null
14840 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14841 /dev/null.
14842
481b90b9
AJ
148432012-10-22 Andreas Jaeger <aj@suse.de>
14844
2a0e2669
AJ
14845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14846 Define always.
14847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14848
76e38f9a
AJ
14849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14850 bits/fcntl-linux.h.
14851
7cd37b43
AJ
14852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14853 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14854
481b90b9
AJ
14855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14856 to __O_LARGEFILE.
14857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14858 to __O_LARGEFILE.
14859
aba75984
JB
148602012-10-21 Jim Blandy <jimb@codesourcery.com>
14861 Joseph Myers <joseph@codesourcery.com>
14862
14863 * config.make.in (NM): New variable.
14864
88d4247f
AJ
148652012-10-21 Andreas Jaeger <aj@suse.de>
14866
14867 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14868 definitions and declarations that are provided by
14869 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14870
f2eed205
L
148712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14872
14873 [BZ #14683]
14874 * elf/Makefile (tests-static): Add tst-leaks1-static.
14875 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14876 ($(objpfx)tst-leaks1-static): New rule.
14877 ($(objpfx)tst-leaks1-static-mem): Likewise.
14878 (tst-leaks1-static-ENV): New macro.
14879 * elf/dl-open.c (dl_open_worker): Check the main application
14880 only if SHARED is defined.
14881 * elf/tst-leaks1-static.c: New file.
14882
335e6931
AJ
148832012-10-20 Andreas Jaeger <aj@suse.de>
14884
14885 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14886 generic values for Linux.
14887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14888 and declarations that are provided by <bits/fcntl-linux.h> and
14889 include <bits/fcntl-linux.h>.
14890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14892
ac5c94d3
RM
148932012-10-20 Roland McGrath <roland@hack.frob.com>
14894
14895 * io/fcntl.h: Move include of <bits/types.h> to the top and
14896 include it unconditionally.
14897
de54b33a
L
148982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14899
228cfb01
L
14900 * wcsmbs/Makefile (tests-ifunc): New variable.
14901 (tests): Add $(tests-ifunc).
14902 * wcsmbs/test-wcschr-ifunc.c: New file.
14903 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14904 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14905 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14906 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14907 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14908
69f07e5f
L
14909 * string/Makefile (tests-ifunc): New variable.
14910 (tests): Add $(tests-ifunc).
14911 * string/test-memccpy.c (TEST_NAME): New macro.
14912 * string/test-memchr.c (TEST_NAME): Likewise.
14913 * string/test-memcmp.c (TEST_NAME): Likewise.
14914 * string/test-memcpy.c (TEST_NAME): Likewise.
14915 * string/test-memmem.c (TEST_NAME): Likewise.
14916 * string/test-memmove.c (TEST_NAME): Likewise.
14917 * string/test-memset.c (TEST_NAME): Likewise.
14918 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14919 * string/test-stpcpy.c (TEST_NAME): Likewise.
14920 * string/test-stpncpy.c (TEST_NAME): Likewise.
14921 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14922 * string/test-strcasestr.c (TEST_NAME): Likewise.
14923 * string/test-strcat.c (TEST_NAME): Likewise.
14924 * string/test-strchr.c (TEST_NAME): Likewise.
14925 * string/test-strcmp.c(TEST_NAME): Likewise.
14926 * string/test-strcpy.c (TEST_NAME): Likewise.
14927 * string/test-strcspn.c (TEST_NAME): Likewise.
14928 * string/test-strlen.c (TEST_NAME): Likewise.
14929 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14930 * string/test-strncmp.c (TEST_NAME): Likewise.
14931 * string/test-strncpy.c (TEST_NAME): Likewise.
14932 * string/test-strnlen.c (TEST_NAME): Likewise.
14933 * string/test-strpbrk.c (TEST_NAME): Likewise.
14934 * string/test-strrchr.c (TEST_NAME): Likewise.
14935 * string/test-strspn.c (TEST_NAME): Likewise.
14936 * string/test-strstr.c (TEST_NAME): Likewise.
14937 * string/test-bcopy-ifunc.c: New file.
14938 * string/test-bzero-ifunc.c: Likewise.
14939 * string/test-memccpy-ifunc.c: Likewise.
14940 * string/test-memchr-ifunc.c: Likewise.
14941 * string/test-memcmp-ifunc.c: Likewise.
14942 * string/test-memcpy-ifunc.c: Likewise.
14943 * string/test-memmem-ifunc.c: Likewise.
14944 * string/test-memmove-ifunc.c: Likewise.
14945 * string/test-mempcpy-ifunc.c: Likewise.
14946 * string/test-memset-ifunc.c: Likewise.
14947 * string/test-rawmemchr-ifunc.c: Likewise.
14948 * string/test-stpcpy-ifunc.c: Likewise.
14949 * string/test-stpncpy-ifunc.c: Likewise.
14950 * string/test-strcasecmp-ifunc.c: Likewise.
14951 * string/test-strcasestr-ifunc.c: Likewise.
14952 * string/test-strcat-ifunc.c: Likewise.
14953 * string/test-strchr-ifunc.c: Likewise.
14954 * string/test-strchrnul-ifunc.c: Likewise.
14955 * string/test-strcmp-ifunc.c: Likewise.
14956 * string/test-strcpy-ifunc.c: Likewise.
14957 * string/test-strcspn-ifunc.c: Likewise.
14958 * string/test-strlen-ifunc.c: Likewise.
14959 * string/test-strncasecmp-ifunc.c: Likewise.
14960 * string/test-strncat-ifunc.c: Likewise.
14961 * string/test-strncmp-ifunc.c: Likewise.
14962 * string/test-strncpy-ifunc.c: Likewise.
14963 * string/test-strnlen-ifunc.c: Likewise.
14964 * string/test-strpbrk-ifunc.c: Likewise.
14965 * string/test-strrchr-ifunc.c: Likewise.
14966 * string/test-strspn-ifunc.c: Likewise.
14967 * string/test-strstr-ifunc.c: Likewise.
14968
de54b33a
L
14969 * debug/Makefile (tests-ifunc): New variable.
14970 (tests): Add $(tests-ifunc).
14971 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14972 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14973 * debug/test-stpcpy_chk-ifunc.c: New file.
14974 * debug/test-strcpy_chk-ifunc.c: Likewise.
14975
88481c16
SP
149762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14977
14978 [BZ #13601]
14979 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14980 header is not read in.
14981
135948bd
JM
149822012-10-19 Joseph Myers <joseph@codesourcery.com>
14983
89f1c388
JM
14984 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14985 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14986 directly. Pass built executable to script as
14987 $(built-program-cmd).
14988 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14989 $testprogram without using LD_LIBRARY_PATH and $ldso.
14990
e40a0d21
JM
14991 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14992 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14993 $(rtld-installed-name).
14994 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14995 (rtld_installed_name): Likewise.
14996 (library_path): Likewise.
14997 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14998 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14999 $(run-program-prefix) to tst-tables.sh.
15000 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15001 it to run tst-table-from and tst-table-to.
15002 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15003 Pass it to tst-table.sh.
15004 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15005 $(run-program-prefix) to tst-gettext.sh.
15006 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15007 tst-translit.sh.
15008 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15009 tst-gettext2.sh.
15010 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15011 to run tst-gettext.
15012 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15013 to run tst-gettext2.
15014 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15015 to run tst-translit.
15016 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15017 $(run-program-prefix) to tst-mtrace.sh.
15018 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15019 to run tst-mtrace.
15020 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15021 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15022 $(rtld-installed-name).
15023 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15024 (rtld_installed_name): Likewise.
15025 (run_program_prefix): New variable. Use it to run wordexp-test.
15026
728e272a
JM
15027 * Makeconfig (ARCH): Remove all definitions.
15028 (machine): Likewise.
15029 [ARCH]: Remove conditional code.
15030 [!objdir]: Give error.
15031 [!objdir] (objpfx): Remove.
15032 [!objdir] (common-objpfx): Likewise.
15033 [!objdir] (common-objdir): Likewise.
15034 * configure.in (config_makefile): Remove. Hardcode Makefile in
15035 AC_CONFIG_FILES call.
15036 * configure: Regenerated.
15037
d528cdcf
JM
15038 [BZ #13888]
15039 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15040 or TMPDIR.
15041 (testout): Likewise.
15042
135948bd
JM
15043 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15044 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15045 $(rtld-installed-name).
15046 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15047 (rtld_installed_name): Likwise.
15048 (runit): Remove function.
15049 (run_getconf): New variable, Use it for running getconf binary.
15050
38c78296
L
150512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15052
15053 [BZ #14716]
15054 * string/test-memmem.c (check_result): New function.
15055 (do_one_test): Use it.
15056 (check1): New function.
15057 (test_main): Use it.
15058
d077f65f
MT
150592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15060
15061 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15062
ced52c71
JM
150632012-10-18 Joseph Myers <joseph@codesourcery.com>
15064
15065 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15066 (_G_LSEEK64): Likewise.
15067 (_G_MMAP64): Likewise.
15068 (_G_FSTAT64): Likewise.
15069 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15070 (_G_LSEEK64): Likewise.
15071 (_G_MMAP64): Likewise.
15072 (_G_FSTAT64): Likewise.
15073 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15074 unconditional. Call __mmap64 directly.
15075 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15076 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15077 __lseek64 directly.
15078 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15079 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15080 __mmap64 directly.
15081 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15082 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15083 __lseek64 directly.
15084 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15085 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15086 __lseek64 directly.
15087 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15088 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15089 __lseek64 directly.
15090 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15091 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15092 __fxstat64 directly.
15093 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15094 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15095 unconditional.
15096 (freopen64) [!_G_OPEN64]: Remove conditional code.
15097 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15098 unconditional.
15099 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15100 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15101 unconditional.
15102 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15103 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15104 unconditional.
15105 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15106 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15107 unconditional.
15108 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15109 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15110 unconditional.
15111 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15112 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15113 unconditional.
15114 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15115 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15116 unconditional.
15117 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15118
b741de23
SP
151192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15120
15121 [BZ #12140]
15122 * manual/memory.texi (Malloc Tunable Parameters): Add note
15123 about free list pointers overwriting some perturb bytes.
15124 Wording suggested by Roland McGrath.
15125
f9b9d9c9
JM
151262012-10-17 Joseph Myers <joseph@codesourcery.com>
15127
15128 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15129 (lgamma_test): Likewise.
15130 (tgamma_test): Likewise.
15131
172a631a
FW
151322012-10-16 Florian Weimer <fweimer@redhat.com>
15133
15134 [BZ #14700]
15135 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15136 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15137
e9f37252
MK
151382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15139
15140 * NEWS: Mention BZ #14716.
15141 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15142 when removing AVAILABLE1_USES_J macro.
15143
d394eb74
L
151442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15145
15146 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15147 (__bswap_64): __uint64_t for unsigned 64-bit int.
15148
ca38dc17
AS
151492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15150
15151 * include/string.h (memmem): Declare libc hidden alias.
15152 * string/memmem.c (memmem): Define libc hidden alias.
15153 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15154 __read, __close instead of open, read, close.
15155
9a387d1f
L
151562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15157
ac49ecaf
L
15158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15159 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15160 global and hidden.
15161 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15162 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15163 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15164 Likewise.
15165 (__rawmemchr_sse2): Likewise.
15166 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15167 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15168 (__strchr_sse2): Likewise.
15169 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15170 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15171 (__strcasecmp_sse2): Likewise.
15172 (__strncasecmp_sse2): Likewise.
15173 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15174 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15175 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15176 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15177 (__strrchr_sse2): Likewise.
15178 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15179 ifunc-impl-list.c.
15180 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15181 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15182 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15183 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15184 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15185 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15188 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15189 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15190 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15191 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15192 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15193 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15194 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15195 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15196 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15197 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15198 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15199 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15200 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15201 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15202 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15203 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15204 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15206 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15207 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15208 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15209 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15210
b090e8ea
L
15211 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15212 global and hidden.
15213 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15214 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15215 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15216 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15217 Likewise.
15218 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15219 Likewise.
15220 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15221 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15222 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15223 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15224 ifunc-impl-list.c.
15225 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15226 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15227 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15228 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15229 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15230 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15231 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15232 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15233 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15234 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15235 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15236 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15237 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15238 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15239 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15240 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15242 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15243 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15244 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15245 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15248 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15250 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15251 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15252 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15253 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15254 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15255 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15256 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15257 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15258 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15259 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15260 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15261 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15262 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15263 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15264 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15265 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15266
11dd4af6
L
15267 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15268 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15269 * include/ifunc-impl-list.h: New file.
15270 * misc/ifunc-impl-list.c: Likewise.
15271 * misc/Makefile (routines): Add ifunc-impl-list.
15272 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15273 * string/test-string.h: Include <ifunc-impl-list.h>.
15274 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15275 impl_array): New variables.
15276 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15277 are defined.
15278 (test_init): Call __libc_ifunc_impl_list to initialize
15279 func_list if TEST_IFUNC and TEST_NAME are defined.
15280
9a387d1f
L
15281 * string/Makefile (strop-tests): Add bcopy and bzero.
15282 * string/test-bcopy.c: New file.
15283 * string/test-bzero.c: Likewise.
15284 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15285 defined.
15286 * string/test-memset.c: Support bzero test if TEST_BZERO is
15287 defined.
15288 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15289 __libc_memmove.
15290 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15291 __libc_memset.
15292 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15293 of memset.
15294
472371b9
JM
152952012-10-10 Joseph Myers <joseph@codesourcery.com>
15296
1e4a9536
JM
15297 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15298 * configure: Regenerated.
15299
d173d12e
JM
15300 * Makeconfig (+link-static-before-libc): Don't include
15301 $(link-static-libc).
15302
472371b9
JM
15303 * libio/libio.h (_IO_pos_t): Remove.
15304
89a3ad0b
AO
153052012-10-10 Alexandre Oliva <aoliva@redhat.com>
15306
15307 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15308 McGrath.
15309
e7451425
AO
153102012-10-10 Alexandre Oliva <aoliva@redhat.com>
15311
15312 * crypt/crypt-entry.c: Include fips-private.h.
15313 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15314 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15315 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15316 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15317
4ba74a35
AO
153182012-10-10 Alexandre Oliva <aoliva@redhat.com>
15319
15320 * crypt/crypt-private.h: Include stdbool.h.
15321 (_ufc_setup_salt_r): Return bool.
15322 * crypt/crypt-entry.c: Include errno.h.
15323 (__crypt_r): Return NULL with EINVAL for bad salt.
15324 * crypt/crypt_util.c (bad_for_salt): New.
15325 (_ufc_setup_salt_r): Check that salt is long enough and within
15326 the specified alphabet.
15327 * crypt/badsalttest.c: New file.
15328 * crypt/Makefile (tests): Add it.
15329 ($(objpfx)badsalttest): New.
15330
f96f1242
MK
153312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15332
15333 * NEWS: Add entry for BZ #14602.
15334
0e8e0c1c
JM
153352012-10-09 Joseph Myers <joseph@codesourcery.com>
15336
15337 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15338 type-generic.
15339 * math/libm-test.inc: Update comment listing what functions and
15340 macros are tested.
15341 (isgreater_test): New function.
15342 (isgreaterequal_test): Likewise.
15343 (isless_test): Likewise.
15344 (islessequal_test): Likewise.
15345 (islessgreater_test): Likewise.
15346 (isunordered_test): Likewise.
15347 (main): Call the new functions.
15348
273edc5e
RM
153492012-10-09 Roland McGrath <roland@hack.frob.com>
15350
b8493de0
RM
15351 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15352 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15353 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15354 * sysdeps/i386/configure: Regenerated.
15355 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15356 * sysdeps/mach/configure: Regenerated.
15357 * sysdeps/mach/hurd/configure: Regenerated.
15358 * sysdeps/powerpc/configure: Regenerated.
15359 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15360 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15361 * sysdeps/s390/s390-32/configure: Regenerated.
15362 * sysdeps/s390/s390-64/configure: Regenerated.
15363 * sysdeps/sh/configure: Regenerated.
15364 * sysdeps/sparc/configure: Regenerated.
15365 * sysdeps/unix/sysv/linux/configure: Regenerated.
15366 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15367 * sysdeps/x86_64/configure: Regenerated.
15368
273edc5e
RM
15369 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15370 defined. Don't check if MAP is NULL.
15371
c8450f70
JM
153722012-10-09 Joseph Myers <joseph@codesourcery.com>
15373
15374 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15375 (_G_stat64): Likewise.
15376 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15377 (_G_stat64): Likewise.
15378 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15379 instead of struct _G_stat64.
15380 * libio/fileops.c (mmap_remap_check): Likewise.
15381 (decide_maybe_mmap): Likewise.
15382 (_IO_new_file_seekoff): Likewise.
15383 (_IO_file_stat): Likewise.
15384 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15385 _G_off64_t.
15386 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15387 instead of struct _G_stat64.
15388 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15389
57e605ba
MK
153902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15391
15392 [BZ #14602]
15393 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15394 Replace with ...
15395 (CHECK_EOL): New macro.
15396 (two_way_short_needle): Check beginning of haystack for EOL. Use
15397 CHECK_EOL.
15398 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15399 Replace with CHECK_EOL.
15400 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15401 Replace with CHECK_EOL.
15402
ef1bb361
JM
154032012-10-08 Joseph Myers <joseph@codesourcery.com>
15404
15405 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15406 type-generic.
15407 * math/libm-test.inc: Update comment listing what functions and
15408 macros are tested.
15409 (finite_test): New function.
15410 (isinf_test): Likewise.
15411 (isnan_test): Likewise.
15412 (fpclassify_test): Test subnormal input.
15413 (isfinite_test): Likewise.
15414 (isnormal_test): Likewise.
15415 (main): Call the new functions.
15416
55f11534
JN
154172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15418
15419 [BZ #14660]
15420 * Makerules (%.dynsym): Force C locale when running
15421 $(OBJDUMP) --dynamic-syms.
15422
1ab29350
AS
154232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15424
15425 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15426 <stdint.h>.
15427
f1ecb7ef
DM
154282012-10-06 David S. Miller <davem@davemloft.net>
15429
15430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15431 upper 32-bits of the length value in %o2 since we use branch-on-register
15432 tests which consider the entire 64-bit register.
15433
5d41d91a
L
154342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15435
15436 * string/test-strstr.c (check2): Add a test for page boundary.
15437
3baddb72
DM
154382012-10-05 David S. Miller <davem@davemloft.net>
15439
15440 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15441 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15442 file.
15443 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15444 sysdep_routines.
15445 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15446 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15447 and bzero when HWCAP_SPARC_CRYPTO is present.
15448
9cee5585
L
154492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15450
d7e0dab9
L
15451 [BZ #14602]
15452 * string/test-strstr.c (check2): New function.
15453 (test_main): Call check2.
15454
03759f47
L
15455 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15456 and bug-strchr1.
15457 * string/bug-strcasestr1.c (do_test): Moved to ...
15458 * string/test-strcasestr.c (check1): Here. New function.
15459 (do_one_test): Break out result checking code into ...
15460 (check_result): This. New function.
15461 (do_one_test): Call check_result.
15462 (test_main): Call check1.
15463 * string/bug-strchr1.c (do_test): Moved to ...
15464 * string/test-strchr.c (check1): Here. New function.
15465 (do_one_test): Break out result checking code into ...
15466 (check_result): This. New function.
15467 (do_one_test): Call check_result.
15468 (test_main): Call check1.
15469 * string/bug-strstr1.c (main): Moved to ...
046f153e 15470 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15471 (do_one_test): Break out result checking code into ...
15472 (check_result): This. New function.
15473 (do_one_test): Call check_result.
15474 (test_main): Call check1.
15475 * string/bug-strcasestr1.c: Removed.
15476 * string/bug-strchr1.c: Likewise.
15477 * string/bug-strstr1.c: Likewise.
15478
53cea63e
L
15479 * elf/Makefile (dl-routines): Add hwcaps.
15480 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15481 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15482 (_dl_important_hwcaps): Moved to ...
15483 * elf/dl-hwcaps.c: Here. New file.
15484 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15485
9cee5585 15486 [BZ #14557]
bb859b06
L
15487 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15488 if IS_IN_rtld isn't defined.
15489
9cee5585
L
15490 * elf/dl-support.c (_dl_sysinfo_map): New.
15491 Include "get-dynamic-info.h" and "setup-vdso.h".
15492 (_dl_non_dynamic_init): Call setup_vdso.
15493 * elf/dynamic-link.h: Don't include <assert.h>.
15494 (elf_get_dynamic_info): Moved to ...
15495 * elf/get-dynamic-info.h: Here. New file.
15496 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15497 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15498 * elf/setup-vdso.h: Here. New file.
15499 * elf/rtld.c: Include "setup-vdso.h".
15500 (dl_main): Call setup_vdso.
15501
23c31b76
JM
155022012-10-05 Joseph Myers <joseph@codesourcery.com>
15503
28234b07
JM
15504 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15505 creal in comment listing functions tested. List finite, isinf,
15506 isnan, isless, islessequal, isgreater, isgreaterequal,
15507 islessgreater, isunordered, lgamma_r and pow10 as functions and
15508 macros not tested. Mention which functions not tested are aliases
15509 for other functions. Fix typo. Note that signs of NaNs are not
15510 tested.
15511
23c31b76
JM
15512 * scripts/config.guess: Update from config.git.
15513 * scripts/config.sub: Likewise.
15514
9043e228
RM
155152012-10-04 Roland McGrath <roland@hack.frob.com>
15516
15517 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15518 * misc/madvise.c (madvise): Renamed to __madvise.
15519 Make madvise a weak alias.
15520 * include/sys/mman.h: Declare __madvise.
15521 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15522 * sysdeps/unix/syscalls.list
15523 (madvise): Make __madvise the strong name, and madvise a weak alias.
15524 * sysdeps/unix/sysv/linux/syscalls.list
15525 (madvise, mmap): Remove redundant entries.
15526 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15527 * malloc/malloc.c (mtrim): Likewise.
15528 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15529
f57f8055
RM
155302012-10-03 Roland McGrath <roland@hack.frob.com>
15531
15532 * sysdeps/mach/hurd/dl-cache.c: File removed.
15533 * config.h.in (USE_LDCONFIG): New #undef.
15534 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15535 * configure: Regenerated.
15536 * elf/Makefile (dl-routines): Add dl-cache only under
15537 [$(use-ldconfig) = yes].
15538 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15539 cache on [USE_LDCONFIG].
15540 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15541 [USE_LDCONFIG].
15542 * elf/rtld.c (dl_main): Likewise.
15543
5bb0c10a
PT
155442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15545
15546 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15547 _SC_LEVEL4_CACHE_LINESIZE.
15548
010188c6
RM
155492012-10-03 Roland McGrath <roland@hack.frob.com>
15550
15551 * sysdeps/unix/bsd/confstr.h: File removed.
15552
b6c5ec07
AO
155532012-10-02 Alexandre Oliva <aoliva@redhat.com>
15554
15555 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15556 sys/sdt-config.h.
15557
408223d4
RM
155582012-10-02 Roland McGrath <roland@hack.frob.com>
15559
15560 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15561 Make 'mapoff' field ElfW(Off) rather than off_t.
15562
bb9510dc
DL
155632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15564
fc997c6e
DL
15565 * nscd/Makefile: Remove nscd-cflags and all its users.
15566 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15567 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15568
bb9510dc
DL
15569 [BZ #10631]
15570 * malloc.c (malloc_printerr): Clarify error message.
15571
05699367
L
155722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15573
15574 [BZ #14648]
15575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15576 Set bit_FMA_Usable if FMA is supported.
15577 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15578 macro.
15579 (bit_FMA4_Usable): Updated.
15580 (index_FMA_Usable): New macro.
15581 (CPUID_FMA): Likewise
15582 (HAS_FMA): Defined with bit_FMA_Usable.
15583
51367701
RM
155842012-10-01 Roland McGrath <roland@hack.frob.com>
15585
15586 * bits/types.h (__swblk_t): Type removed.
15587 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15588 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15590 (__SWBLK_T_TYPE): Likewise.
15591 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15592 (__SWBLK_T_TYPE): Likewise.
15593 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15594 (__SWBLK_T_TYPE): Likewise.
15595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15596 (__SWBLK_T_TYPE): Likewise.
15597
4d57bf63 155982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15599 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15600
15601 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15602 (xdr_mapname): Use YPMAXMAP as maxsize.
15603 (xdr_peername): Use YPMAXPEER as maxsize.
15604 (xdr_keydat): Use YPAXRECORD as maxsize.
15605 (xdr_valdat): Use YPMAXRECORD as maxsize.
15606
93c65d43
RM
156072012-10-01 Roland McGrath <roland@hack.frob.com>
15608
497a03d6
RM
15609 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15610
93c65d43
RM
15611 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15612 * csu/init-first.c: ... here.
15613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15614 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15615 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15616 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15617 * sysdeps/i386/init-first.c: File removed.
15618 * sysdeps/sh/init-first.c: File removed.
15619
bec749fd
JM
156202012-10-01 Joseph Myers <joseph@codesourcery.com>
15621
15622 [BZ #14645]
15623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15624 if x * y might underflow to zero and z is zero.
15625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15627 * math/libm-test.inc (min_subnorm_value): New variable.
15628 (fma_test): Add more tests.
15629 (fma_test_towardzero): Likewise.
15630 (fma_test_downward): Likewise
15631 (fma_test_upward): Likewise.
15632 (initialize): Set min_subnorm_value.
15633
8ec5b013
JM
156342012-09-29 Joseph Myers <joseph@codesourcery.com>
15635
15636 [BZ #14638]
15637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15638 0 + 0.
15639 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15640 mode for addition resulting in exact zero.
15641 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15643 exact 0 + 0.
15644 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15646 * math/libm-test.inc (fma_test): Add more tests.
15647 (fma_test_towardzero): New function.
15648 (fma_test_downward): Likewise.
15649 (fma_test_upward): Likewise.
15650 (main): Call the new functions.
15651
b1fa802e
DM
156522012-09-28 David S. Miller <davem@davemloft.net>
15653
15654 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15655
d3b9fd9e
RM
156562012-09-28 Roland McGrath <roland@hack.frob.com>
15657
ea4d37b3
RM
15658 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15659 instead of SIGALRM.
15660
ac51c949
RM
15661 * sysdeps/gnu/_G_config.h: Moved to ...
15662 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15663 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15664 * sysdeps/generic/_G_config.h: ... here.
15665
28c195f7
RM
15666 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15667
848917f9
RM
15668 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15669
6bacf05b
RM
15670 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15671 Conditionalize target on [libnss_test1.so-version].
15672
91363dbb
RM
15673 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15674
cc87f7d8
RM
15675 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15676 (elfobjdir): Move out of conditionals.
15677
b1c608fe
RM
15678 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15679 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15680 (__nss_lookup_function): Conditionalize label remove_from_tree on
15681 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15682
1d9a6d96
DM
156832012-09-28 David S. Miller <davem@davemloft.net>
15684
15685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15686 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15687 file.
15688 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15689 sysdep_routines.
15690 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15692 when HWCAP_SPARC_CRYPTO is present.
15693
72581615
PT
156942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15695
15696 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15697
715a900c
JL
156982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15699
15700 [BZ #6530]
15701 * stdio-common/vfprintf.c (process_string_arg): Revert
15702 2000-07-22 change.
15703
157042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15705
15706 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15707 for testcase.
15708 * stdio-common/tst-sprintf.c: Include <locale.h>
15709 (main): Test sprintf's handling of incomplete multibyte
15710 characters.
15711
9bac1d86
L
157122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15713
15714 * elf/dl-runtime.c (VERSYMIDX): Removed.
15715 * elf/dl-version.c (VERSYMIDX): Likewise.
15716 * elf/do-rel.h (VERSYMIDX): Likewise.
15717 (VALIDX): Likewise.
15718 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15719 * elf/rtld.c (VALIDX): Likewise.
15720 (ADDRIDX): Likewise.
9bac1d86
L
15721 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15722 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15723 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15724 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15725 (VALIDX): Likewise.
15726 (ADDRIDX): Likewise.
9bac1d86 15727
b31606c0
PT
157282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15729
15730 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15731
11541177
JL
157322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15733
15734 [BZ #11438]
15735 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15736 to global scope.
15737 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15738 addresses are in the same scope as 192.0.2/24.
15739 * posix/gai.conf: Document new scope table defaults.
15740
adb26fae
SP
157412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15742
15743 [BZ #5298]
15744 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15745 for ftell. Compute offsets from write pointers instead.
15746 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15747
4573c6b0
SP
157482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15749
15750 [BZ #14543]
15751 * libio/Makefile (tests): New test case tst-fseek.
15752 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15753 combination works in wide mode.
15754 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15755 state when the external buffer state changes.
15756
aa9bbfe6
DM
157572012-09-27 David S. Miller <davem@davemloft.net>
15758
15759 [BZ #14376]
15760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15761 pass reloc->r_addend in as the 'high' argument to
15762 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15763
784421e7
DM
15764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15765
c39bc8b8
PT
157662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15767
15768 * rt/tst-aio2.c: Include <pthread.h>.
15769 * rt/tst-aio3.c: Likewise.
15770
1ccc2399
SE
157712012-09-27 Steve Ellcey <sellcey@mips.com>
15772
15773 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15774
31ed4153
L
157752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15776
25f5f885
L
15777 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15778 contents on [SHARED].
31ed4153 15779
b7bfe116
MP
157802012-09-26 Marek Polacek <polacek@redhat.com>
15781
15782 [BZ #14530]
15783 [BZ #13741]
15784 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15785 for C++ and GCC <4.3 as well as for non GCC compilers.
15786
43c4edba
MT
157872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15788
15789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15790
6a1bf82f
RM
157912012-09-25 Roland McGrath <roland@hack.frob.com>
15792
15793 * Makefile.in (all, install): Declare with .PHONY.
15794 Reported by Michael Hope <michael.hope@linaro.org>.
15795
8ad11b9a
TMQMF
157962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15797
15798 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15799 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15800 system header.
15801 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15802 Likewise.
15803 (sydep_routines): Add the new and the internal functions.
15804 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15805 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15807 (GLIBC_2.17): Add the new function.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15809 (GLIBC_2.17): Likewise.
15810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15811 (GLIBC_2.17): Likewise.
15812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15813 (GLIBC_2.17): Likewise.
15814 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15815
7e2fca8d
AM
158162012-09-25 Alan Modra <amodra@gmail.com>
15817
15818 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15819 Add release barrier before setting once_control to say
15820 initialisation is done. Add hints on lwarx. Use macro in
15821 place of isync.
15822 (clear_once_control): Add release barrier.
15823
b87c4b24
JM
158242012-09-25 Joseph Myers <joseph@codesourcery.com>
15825
d032e0d2
JM
15826 [BZ #13629]
15827 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15828 specially.
15829 * math/s_clog10.c (__clog10): Likewise.
15830 * math/s_clog10f.c (__clog10f): Likewise.
15831 * math/s_clog10l.c (__clog10l): Likewise.
15832 * math/s_clogf.c (__clogf): Likewise.
15833 * math/s_clogl.c (__clogl): Likewise.
15834 * math/Makefile (libm-calls): Add x2y2m1.
15835 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15836 (__x2y2m1): Likewise.
15837 (__x2y2m1l): Likewise.
15838 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15839 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15842 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15843 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15844 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15845 * sysdeps/i386/fpu/libm-test-ulps: Update.
15846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15847
b87c4b24
JM
15848 [BZ #14621]
15849 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15850 int as type of variable DEPTH.
15851 (glob): Use size_t instead of int as type of variables NEWCOUNT
15852 and OLD_PATHC.
15853
6d3bf199
LD
158542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15855
22bf5c17
LD
15856 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15857 Add s_sincosf-sse2.
15858 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15859 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15860 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15861 macros for using routine as __sincosf_ia32.
15862 Use macro for function declaration and weak_alias.
15863 * sysdeps/i386/fpu/libm-test-ulps: Update.
15864
15865 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15867
15868 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15869 subnormal argument.
15870 * math/s_cexpf.c (__cexpf): Likewise.
15871 * math/s_csinf.c (__csinf): Likewise.
15872 * math/s_csinhf.c (__csinhf): Likewise.
15873 * math/s_ctanf.c (__ctanf): Likewise.
15874 * math/s_ctanhf.c (__ctanhf): Likewise.
15875 * math/s_ccosh.c (__ccoshf): Likewise.
15876 * math/s_cexp.c (__cexpl): Likewise.
15877 * math/s_csin.c (__csin): Likewise.
15878 * math/s_csinh.c (__csinh): Likewise.
15879 * math/s_ctan.c (__ctan): Likewise.
15880 * math/s_ctanh.c (ctanh): Likewise.
15881 * math/s_ccoshl.c (__ccoshl): Likewise.
15882 * math/s_cexpl.c (__cexpl): Likewise.
15883 * math/s_csinl.c (__csinl): Likewise.
15884 * math/s_csinhl.c (__csinhl): Likewise.
15885 * math/s_ctanl.c (__ctanl): Likewise.
15886 * math/s_ctanhl.c (__ctanhl): Likewise.
15887
203e5603
JM
158882012-09-25 Joseph Myers <joseph@codesourcery.com>
15889
15890 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15891 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15892 (_IO_off_t): Define to __off_t, not _G_off_t.
15893 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15894 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15895 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15896 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15897 type of __dummy and __dummy2 fields.
15898 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15899 (_G_ssize_t): Likewise.
15900 (_G_off_t): Likewise.
15901 (_G_pid_t): Likewise.
15902 (_G_uid_t): Likewise.
15903 (_G_wchar_t): Likewise.
15904 (_G_wint_t): Likewise.
15905 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15906 (_G_ssize_t): Likewise.
15907 (_G_off_t): Likewise.
15908 (_G_pid_t): Likewise.
15909 (_G_uid_t): Likewise.
15910 (_G_wchar_t): Likewise.
15911 (_G_wint_t): Likewise.
15912 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15913 (_G_ssize_t): Likewise.
15914 (_G_off_t): Likewise.
15915 (_G_pid_t): Likewise.
15916 (_G_uid_t): Likewise.
15917 (_G_wchar_t): Likewise.
15918 (_G_wint_t): Likewise.
15919
9fab36eb
SP
159202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15921
15922 * malloc/arena.c: Include malloc-sysdep.h.
15923 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15924 is sufficient to shrink the heap or an unmap is needed.
15925 * sysdeps/generic/malloc-sysdep.h: New file. Define
15926 new function check_may_shrink_heap.
15927 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15928 new function check_may_shrink_heap.
15929
2b4f00d1
SP
159302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15931
15932 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15933 comments.
15934
9a9028b1
DL
159352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15936
57c69bef
DL
15937 * catgets/test-gencat.sh: Add "set -e".
15938 * elf/tst-pathopt.sh: Likewise.
15939 * grp/tst_fgetgrent.sh: Likewise.
15940 * iconvdata/run-iconv-test.sh: Likewise.
15941 * intl/tst-gettext.sh: Likewise.
15942 * intl/tst-gettext2.sh: Likewise.
15943 * intl/tst-gettext4.sh: Likewise.
15944 * intl/tst-gettext6.sh: Likewise.
15945 * intl/tst-translit.sh: Likewise.
15946 * io/ftwtest-sh: Likewise.
15947 * libio/test-freopen.sh: Likewise.
15948 * malloc/tst-mtrace.sh: Likewise.
15949 * posix/globtest.sh: Likewise.
15950 * posix/tst-getconf.sh: Likewise.
15951 * posix/wordexp-tst.sh: Likewise.
15952 * stdio-common/tst-printf.sh: Likewise.
15953 * stdio-common/tst-unbputc.sh: Likewise.
15954 * stdlib/tst-fmtmsg.sh: Likewise.
15955 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15956 * catgets/Makefile: Do not specify -e option when running
15957 testsuite shell scripts.
15958 * elf/Makefile: Likewise.
15959 * grp/Makefile: Likewise.
15960 * iconvdata/Makefile: Likewise.
15961 * intl/Makefile: Likewise.
15962 * io/Makefile: Likewise.
15963 * libio/Makefile: Likewise.
15964 * malloc/Makefile: Likewise.
15965 * posix/Makefile: Likewise.
15966 * stdio-common/Makefile: Likewise.
15967 * stdlib/Makefile: Likewise.
15968 * sysdeps/x86_64/Makefile: Likewise.
15969
9a9028b1
DL
15970 * io/ftwtest-sh: Add copyright header.
15971 * posix/globtest.sh: Likewise.
15972 * posix/tst-getconf.sh: Likewise.
15973 * posix/wordexp-tst.sh: Likewise.
15974 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15975
ced6f16e
L
159762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15977
94b32c39
L
15978 [BZ #13679]
15979 * Makeconfig (+link): Defined as $(+link-static) if
15980 $(build-shared) isn't yes.
15981 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15982 isn't yes.
15983 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15984
189e935b
L
15985 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15986
ced6f16e
L
15987 [BZ #14562]
15988 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15989 new chunk size with MALLOC_ALIGN_MASK.
15990
a9f8e53a
JM
159912012-09-24 Joseph Myers <joseph@codesourcery.com>
15992
15993 [BZ #5044]
15994 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15995 <rounding-mode.h>.
15996 (__printf_fphex): Determine rounding using get_rounding_mode and
15997 round_away.
15998 * stdio-common/tst-printf-round.c (struct hex_test): New
15999 structure.
16000 (hex_tests): New variable.
16001 (test_hex_in_one_mode): New function.
16002 (do_test): Also run tests for hex float output.
16003
43153109
JM
160042012-09-21 Joseph Myers <joseph@codesourcery.com>
16005
16006 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16007 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16008 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16009 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16010 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16011 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16012 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16013 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16014
8a26625d
JM
160152012-09-20 Joseph Myers <joseph@codesourcery.com>
16016
16017 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16018 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16019 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16020 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16021
f3fd569c
DL
160222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16023
16024 [BZ #14579]
16025 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16026 mode only.
16027 * elf/tst-rtld-load-self.sh: New test.
16028 * elf/Makefile: Run it.
16029
63bbedd4
JM
160302012-09-18 Joseph Myers <joseph@codesourcery.com>
16031
16032 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16033 (tst-writev-ENV): Remove.
16034 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16035
626f8b6a
CM
160362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16037
16038 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16039
b7aaa4d6
JM
160402012-09-17 Joseph Myers <joseph@codesourcery.com>
16041
16042 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16043 unconditional.
16044 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16045 Likewise.
16046 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16047 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16048 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16049 Likewise.
16050
65513990
L
160512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16052
16053 [BZ #14587]
16054 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16055 * config.make.in (have-cpp-asm-debuginfo): Removed.
16056 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16057 * configure: Regenerated.
16058
784761be
JM
160592012-09-14 Joseph Myers <joseph@codesourcery.com>
16060
16061 [BZ #5044]
16062 * stdio-common/printf_fp.c: Include <stdbool.h> and
16063 <rounding-mode.h>.
16064 (___printf_fp): Determine rounding using get_rounding_mode and
16065 round_away.
16066 * stdio-common/tst-printf-round.c: New file.
16067 * stdio-common/Makefile (tests): Add tst-printf-round.
16068 (link-libm): New variable.
16069 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16070
9503345f
L
160712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16072
16073 [BZ #14576]
16074 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16075 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16076 Likewise.
16077 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16078 Likewise.
16079
ad35fc00
JM
160802012-09-13 Joseph Myers <joseph@codesourcery.com>
16081
16082 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16083 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16084 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16085 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16086
6c9b0f68
JM
160872012-09-12 Joseph Myers <joseph@codesourcery.com>
16088
16089 [BZ #14518]
16090 * include/rounding-mode.h: New file.
16091 * sysdeps/generic/get-rounding-mode.h: Likewise.
16092 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16093 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16094 (MAX_VALUE): New macro.
16095 (MIN_VALUE): Likewise.
16096 (overflow_value): New function.
16097 (underflow_value): Likewise.
16098 (round_and_return): Use overflow_value and underflow_value to
16099 determine return values in overflow and underflow cases. Use
16100 round_away to determine rounding depending on rounding mode.
16101 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16102 determine return values in overflow and underflow cases.
16103 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16104 (struct test_results): New structure.
16105 (struct test): Use struct test_results to store expected results
16106 for all rounding modes.
16107 (TEST): Include expected results for all rounding modes.
16108 (test_in_one_mode): New function.
16109 (do_test): Use test_in_one_mode to compute and check results.
16110 Check results for all rounding modes.
16111 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16112 $(link-libm).
16113
19fcedd5
AM
161142012-12-09 Allan McRae <allan@archlinux.org>
16115
1e9d84cd 16116 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16117
8bbfd2f1
JM
161182012-09-11 Joseph Myers <joseph@codesourcery.com>
16119
16120 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16121 (_G_int32_t): Likewise.
16122 (_G_uint16_t): Likewise.
16123 (_G_uint32_t): Likewise.
16124 (_G_HAVE_BOOL): Likewise.
16125 (_G_HAVE_ATEXIT): Likewise.
16126 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16127 (_G_HAVE_IO_FILE_OPEN): Likewise.
16128 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16129 (_G_int32_t): Likewise.
16130 (_G_uint16_t): Likewise.
16131 (_G_uint32_t): Likewise.
16132 (_G_HAVE_BOOL): Likewise.
16133 (_G_HAVE_ATEXIT): Likewise.
16134 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16135 (_G_HAVE_IO_FILE_OPEN): Likewise.
16136 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16137 (_G_int32_t): Likewise.
16138 (_G_uint16_t): Likewise.
16139 (_G_uint32_t): Likewise.
16140 (_G_HAVE_BOOL): Likewise.
16141 (_G_HAVE_ATEXIT): Likewise.
16142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16143 (_G_HAVE_IO_FILE_OPEN): Likewise.
16144
b1dc5912
L
161452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16146
16147 * csu/libc-tls.c: Update copyright years.
16148
0e886ef9
JM
161492012-09-10 Joseph Myers <joseph@codesourcery.com>
16150
28361c5e
JM
16151 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16152 [!_G_USING_THUNKS]: Remove conditional code.
16153 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16154 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16155
0e886ef9
JM
16156 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16157 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16158 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16159 (_G_VTABLE_LABEL_PREFIX): Likewise.
16160 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16161 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16162 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16163 (_G_VTABLE_LABEL_PREFIX): Likewise.
16164 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16165 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16166 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16167 (_G_VTABLE_LABEL_PREFIX): Likewise.
16168 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16169
bcba7aa2
L
161702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16171
16172 * libio/Makefile: Include ../Makeconfig before tests.
16173 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16174 only if $(build-shared) is yes.
16175
06585ee8
L
16176 * iconv/gconv_db.c: Update copyright years.
16177
80ccd52c
LD
161782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16179
16180 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16181 unwind info if defined PIC. Fix special cases description.
16182 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16183
16184 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16185 DP_HI_MASK entry.
16186 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16187
691bc9c1
L
161882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16189
3d9b46b3
L
16190 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16191
de2139a9
L
16192 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16193 is NULL.
16194
5ca78dd0
L
16195 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16196 (LDLIBS-tst-chk4): This.
16197 (LDFLAGS-tst-chk5): Renamed to ...
16198 (LDLIBS-tst-chk5): This.
16199 (LDFLAGS-tst-chk6): Renamed to ...
16200 (LDLIBS-tst-chk6): This.
16201 (LDFLAGS-tst-lfschk4): Renamed to ...
16202 (LDLIBS-tst-lfschk4): This.
16203 (LDFLAGS-tst-lfschk5): Renamed to ...
16204 (LDLIBS-tst-lfschk5): This.
16205 (LDFLAGS-tst-lfschk6): Renamed to ...
16206 (LDLIBS-tst-lfschk6): This.
16207
691bc9c1
L
16208 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16209 on $(common-objpfx)soversions.mk.
16210
65cafb1c
JM
162112012-09-07 Joseph Myers <joseph@codesourcery.com>
16212
16213 [BZ #10014]
16214 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16215 example host name.
16216
c78ab094
SP
162172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16218
16219 * malloc/arena.c (arena_get_retry): New function that gets
16220 another arena for the caller to try its request on.
16221 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16222 current arena cannot fulfill the request.
16223 (__libc_memalign): Likewise.
16224 (__libc_memalign): Likewise.
16225 (__libc_pvalloc): Likewise.
16226 (__libc_calloc): Likewise.
16227
01f49f59
JT
162282012-09-05 John Tobey <john.tobey@gmail.com>
16229
16230 [BZ #13542]
16231 * manual/arith.texi (Operations on Complex): Fix description
16232 of carg branch cut.
16233
4c23fed5
JM
162342012-09-06 Joseph Myers <joseph@codesourcery.com>
16235
1d3c8572
JM
16236 [BZ #10014]
16237 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16238 host name.
16239
4c23fed5
JM
16240 [BZ #10038]
16241 * manual/memory.texi (Memory): Make order of menu items match
16242 order of sections.
16243
04570aaa
L
162442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16245
16246 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16247 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16248 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16249
b80af2f4
L
162502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16251
16252 * csu/libc-tls.c (static_dtv): Renamed to ...
16253 (_dl_static_dtv): This. Make it global.
16254 (_dl_initial_dtv): Removed.
16255 (__libc_setup_tls): Updated.
16256 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16257 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16258 DL_INITIAL_DTV.
16259
2abe9f15
PM
162602012-09-06 Petr Machata <pmachata@redhat.com>
16261
16262 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16263 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16264 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16265 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16266
0948c3af
L
162672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16268
16269 [BZ #14545]
16270 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16271 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16272 freeing dtv[-1].
16273
a5055ad1
L
162742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 [BZ #14544]
16277 * Makeconfig (link-static-before-libc): Replace $(+prector)
16278 with $(+prectorT).
16279 (link-static-after-libc): Replace $(+postctor) with
16280 $(+postctorT).
16281 (link-bounded): Replace $(+prector)/$(+postctor) with
16282 $(+prectorT)/$(+postctorT).
16283 (+prectorT): New macro.
16284 (+postctorT): Likewise.
16285
ed8c2ecd
JM
162862012-09-06 Joseph Myers <joseph@codesourcery.com>
16287
16288 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16289 (round_str): Handle values above the maximum for IBM long double
16290 as inexact.
16291 * stdlib/tst-strtod-round.c (tests): Regenerated.
16292
14c996c8
AK
162932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16294
16295 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16296 assembler flag.
16297 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16298 zarch_nohighgprs around the zarch optimized routines.
16299 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16300 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16301 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16302 for zarch.
16303
430d6ce6
DM
163042012-09-05 David S. Miller <davem@davemloft.net>
16305
16306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16307
ff04dda4
DM
16308 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16309 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16310 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16311 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16312 entries.
16313
24d4e01b
AO
163142012-09-05 Alexandre Oliva <aoliva@redhat.com>
16315
16316 * malloc/arena.c: Fold copyright years.
16317 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16318
61d58174
AO
163192012-09-05 Alexandre Oliva <aoliva@redhat.com>
16320
16321 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16322
20196a5e
AO
163232012-09-05 Alexandre Oliva <aoliva@redhat.com>
16324
16325 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16326
5c447383
AO
163272012-09-05 Alexandre Oliva <aoliva@redhat.com>
16328
16329 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16330 change internal state upon failure.
16331
fad64255
AO
163322012-09-05 Alexandre Oliva <aoliva@redhat.com>
16333
16334 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16335 * malloc/memusage.c (mmap): Likewise.
16336 (mmap64, mremap): Likewise. Adjust name in comment.
16337
1ffb8c90
SP
163382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16339
16340 * libio/fileops.c: Fix typos in comments.
16341 * libio/oldfileops.c: Likewise.
16342 * libio/wfileops.c: Likewise.
16343
6ef9cc37
SP
163442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16345
16346 [BZ #1349]
16347 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16348 (tst-malloc-usable-ENV): Set environment for test case.
16349 * malloc/hooks.c (malloc_check_get_size): New function to get
16350 requested size.
16351 * malloc/malloc.c (musable): Use malloc_check_get_size.
16352 * malloc/tst-malloc-usable.c: New test case.
16353
4d038ae3
AS
163542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16355
16356 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16357
c4e85184
AM
163582012-09-05 Allan McRae <allan@archlinux.org>
16359
b9dafc56 16360 [BZ #13966]
c4e85184
AM
16361 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16362 determine header location.
16363 * configure: Regenerated.
16364
e1343020
AS
163652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16366
16367 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16368 float format.
16369 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16370 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16371 format.
e1343020
AS
16372 (test): Regenerate.
16373
0a9f1987
DM
163742012-09-04 David S. Miller <davem@davemloft.net>
16375
16376 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16377 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16378 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16379
29237804
FW
163802012-09-04 Florian Weimer <fweimer@redhat.com>
16381
16382 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16383 failures.
16384
edb3cb88
FW
16385 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16386
60160d83
JM
163872012-09-04 Joseph Myers <joseph@codesourcery.com>
16388
16389 [BZ #9914]
16390 * libio/iogetdelim.c: Include <limits.h>.
16391 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16392 + len + 1 would overflow.
16393
bcd6c8dc
AJ
163942012-09-03 Andreas Jaeger <aj@suse.de>
16395
16396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16397 * sysdeps/i386/fpu/libm-test-ulps: Update.
16398
4ffffbd2
LD
163992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16400
16401 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16402 Add s_sinf-sse2, s_conf-sse2.
16403
16404 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16405 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16406 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16407 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16408
16409 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16410 for using routine as __sinf_ia32.
16411 Use macro for function declaration and weak_alias.
16412 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16413 for using routine as __cosf_ia32.
16414 Use macro for function declaration and weak_alias.
16415
16416 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16417 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16418
16419 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16420 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16422
16423 * math/libm-test.inc (cos_test): Add more test cases.
16424 (sin_test): Likewise.
16425 (sincos_test): Likewise.
16426
511fa286
AK
164272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16428
16429 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16430 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16431 hidden.
16432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16433
5f30cfec
L
164342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16435
16436 [BZ #14538]
16437 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16438 first element of the GOT.
16439 (elf_machine_load_address): Return the difference between
16440 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16441
0786794f
AM
164422012-09-01 Allan McRae <allan@archlinux.org>
16443
5f30cfec
L
16444 [BZ #13412]
16445 * configure.in (AWK): Require gawk version 3.0 or later.
16446 * configure: Regenerated.
0786794f 16447
26889eac
JM
164482012-09-01 Joseph Myers <joseph@codesourcery.com>
16449
16450 * sysdeps/unix/sysv/linux/kernel-features.h
16451 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16452 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16453 [__NR_clock_getres]: Make code unconditional.
16454 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16455 (clock_getcpuclockid): Remove code left unreachable by removal of
16456 conditionals.
16457 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16458 code unconditional.
16459 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16460 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16461 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16462 Make code unconditional.
16463 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16464 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16465 * sysdeps/unix/sysv/linux/clock_settime.c
16466 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16467 conditional code.
16468 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16469 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16470
d22e28b0
L
164712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 [BZ #14476]
16474 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16475 scripts/test-installation.pl.
16476
16477 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16478 and $ld_so_version if it is set.
16479
050af9c4
SP
164802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16481
16482 [BZ #14516]
16483 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16484 failure if reading from procfs failed.
16485 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16486
ad845c0b
JM
164872012-08-27 Joseph Myers <joseph@codesourcery.com>
16488
16489 * sysdeps/unix/sysv/linux/kernel-features.h
16490 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16491 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16492 Remove conditional code.
16493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16494 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16495 Remove conditional code.
16496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16497 * sysdeps/unix/sysv/linux/i386/fxstat.c
16498 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16500 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16501 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16503 * sysdeps/unix/sysv/linux/i386/lxstat.c
16504 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16506 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16507 Remove conditional code.
16508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16509 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16510 Remove conditional code.
16511 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16512 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16513 <kernel-features.h>.
16514 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16515 Remove.
16516 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16517 Remove conditional code.
16518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16519 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16520 Remove conditional.
16521
5dbf56af
MF
165222012-08-27 Mike Frysinger <vapier@gentoo.org>
16523
16524 [BZ #5400]
16525 * NEWS: Add fixed bug number.
16526
d6e70f43
JM
165272012-08-27 Joseph Myers <joseph@codesourcery.com>
16528
7efb4737
JM
16529 [BZ #14519]
16530 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16531 underflowing exponent in case of negative sign.
16532 * stdlib/tst-strtod-round-data: Add more tests.
16533 * stdlib/tst-strtod-round.c (tests): Regenerated.
16534
af92131a
JM
16535 [BZ #3479]
16536 * stdlib/strtod_l.c (NDIG): Remove.
16537 (HEXNDIG): Likewise.
16538 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16539 smallest representable value.
16540 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16541 lie within an exact representation of 1/2 ulp of the result.
16542 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16543 unconditionally.
16544 (TENS_P9_IDX): Define unconditionally.
16545 (TENS_P9_SIZE): Likewise.
16546 (TENS_P10_IDX): Likewise.
16547 (TENS_P10_SIZE): Likewise.
16548 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16549 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16550 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16551 entries for 10^2^13 and 10^2^14.
16552 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16553 (TENS_P13_IDX): Define.
16554 (TENS_P13_SIZE): Likewise.
16555 (TENS_P14_IDX): Likewise.
16556 (TENS_P14_SIZE): Likewise.
16557 (_fpioconst_pow10): Change array size to
16558 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16559 unconditional.
16560 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16561 1024]: Add entries for 10^2^13 and 10^2^14.
16562 [LAST_POW10 > _LAST_POW10]: Remove #error.
16563 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16564 (_fpioconst_pow10): Change array size to
16565 FPIOCONST_POW10_ARRAY_SIZE.
16566 * stdlib/gen-fpioconst.c: New file.
16567 * stdlib/gen-tst-strtod-round.c: Likewise.
16568 * stdlib/tst-strtod-round-data: Likewise.
16569 * stdlib/tst-strtod-round.c: Likewise.
16570 * stdlib/Makefile (tests): Add tst-strtod-round.
16571
d6e70f43
JM
16572 [BZ #14459]
16573 * stdlib/strtod_l.c: Include <stdint.h>.
16574 (NDEBUG): Do not define.
16575 (round_and_return): Change EXPONENT parameter to type intmax_t.
16576 Rearrange calculations to avoid internal overflow possibilities.
16577 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16578 Rearrange calculations to avoid internal overflow possibilities.
16579 Assert that number fits inside MPNSIZE limbs.
16580 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16581 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16582 calculations and add assertions to avoid internal overflow
16583 possibilities. Add casts to avoid signed/unsigned operations.
16584 * stdlib/tst-strtod-overflow.c: New file.
16585 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16586
1f529f7d
MP
165872012-08-25 Marek Polacek <polacek@redhat.com>
16588
16589 * time/time.h: Fix some typos in comments.
16590
59a629f1
RM
165912012-08-23 Roland McGrath <roland@hack.frob.com>
16592
16593 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16594 * posix/tst-rfc3484-2.c: Likewise.
16595 * posix/tst-rfc3484-3.c: Likewise.
16596
d3bafbc9
SM
165972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16598
16599 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16600 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16601
4efcc022
JM
166022012-08-23 Joseph Myers <joseph@codesourcery.com>
16603
16604 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16605 #include of fxstatat64.c.
16606
3cc3ef96
RM
166072012-08-22 Roland McGrath <roland@hack.frob.com>
16608
f04e2132
RM
16609 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16610 * shadow/getspent_r.c: Likewise.
16611 * shadow/getspnam.c: Likewise.
16612 * shadow/getspnam_r.c: Likewise.
16613 * gshadow/getsgent.c: Likewise.
16614 * gshadow/getsgent_r.c: Likewise.
16615 * gshadow/getsgnam.c: Likewise.
16616 * gshadow/getsgnam_r.c: Likewise.
16617 * inet/getnetbyad.c: Likewise.
16618 * inet/getnetbyad_r.c: Likewise.
16619 * inet/getnetbynm.c: Likewise.
16620 * inet/getnetbynm_r.c: Likewise.
16621 * inet/getnetent.c: Likewise.
16622 * inet/getnetent_r.c: Likewise.
16623 * inet/getproto.c: Likewise.
16624 * inet/getproto_r.c: Likewise.
16625 * inet/getprtent.c: Likewise.
16626 * inet/getprtent_r.c: Likewise.
16627 * inet/getprtname.c: Likewise.
16628 * inet/getprtname_r.c: Likewise.
16629 * inet/getrpcbyname.c: Likewise.
16630 * inet/getrpcbyname_r.c: Likewise.
16631 * inet/getrpcbynumber.c: Likewise.
16632 * inet/getrpcbynumber_r.c: Likewise.
16633 * inet/getrpcent.c: Likewise.
16634 * inet/getrpcent_r.c: Likewise.
16635 * inet/getaliasent.c: Likewise.
16636 * inet/getaliasent_r.c: Likewise.
16637 * inet/getaliasname.c: Likewise.
16638 * inet/getaliasname_r.c: Likewise.
16639 * nscd/getgrgid_r.c: Likewise.
16640 * nscd/getgrnam_r.c: Likewise.
16641 * nscd/gethstbyad_r.c: Likewise.
16642 * nscd/gethstbynm3_r.c: Likewise.
16643 * nscd/getpwnam_r.c: Likewise.
16644 * nscd/getpwuid_r.c: Likewise.
16645 * nscd/getsrvbynm_r.c: Likewise.
16646 * nscd/getsrvbypt_r.c: Likewise.
16647 * nscd/gai.c: Likewise.
16648
c53d909c
RM
16649 * configure.in (build_nscd): New substituted variable, set
16650 by --disable-build-nscd and defaults to $use_nscd.
16651 * configure: Regenerated.
16652 * config.make.in (build-nscd): New substituted variable.
16653 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16654 Change conditional to require [$(build-nscd) = yes] as well.
16655 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16656
3cc3ef96
RM
16657 [BZ# 13696]
16658 * configure.in (use_nscd): New substituted variable, set by
16659 --disable-nscd. If enabled, define USE_NSCD.
16660 * configure: Regenerated.
16661 * config.h.in: Add USE_NSCD.
16662 * config.make.in (use-nscd): New substituted variable.
16663 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16664 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16665 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16666 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16667 (CFLAGS-getgrnam_r.c): Likewise.
16668 (CFLAGS-initgroups.c): Likewise.
16669 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16670 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16671 Variables removed.
16672 * inet/getnetgrent_r.c
16673 (nscd_setnetgrent): New function, broken out of ...
16674 (setnetgrent): ... here. Call it.
16675 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16676 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16677 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16678 * nscd/Makefile (routines, aux): Move definitions after include of
16679 Makeconfig. Conditionalize on [$(use-nscd) != no].
16680 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16681 Conditionalize on [USE_NSCD].
16682 (is_nscd, nscd_init_cb): Likewise.
16683 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16684 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16685 * nss/nss_db/db-init.c: Likewise.
16686 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16687 [USE_NSCD].
16688 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16689 (make_request): Use it.
16690 (cache_valid_p): New function.
16691 (__check_pf): Use it.
16692 * NEWS: Add item for --disable-nscd.
16693
07e51550
DL
166942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16695
16696 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16697 to support sed >= 4.2.1-20-ga9bf076.
16698 * configure: Regenerated.
16699
35a5b08b
RM
167002012-08-22 Roland McGrath <roland@hack.frob.com>
16701
16702 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16703 Conditionalize whole body on [IREL].
16704
8479f23a
JL
167052012-08-22 Jeff Law <law@redhat.com>
16706
16707 [BZ #14505]
16708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16709 if the family is PF_UNSPEC.
16710
48da0b21
MF
167112012-08-22 Mike Frysinger <vapier@gentoo.org>
16712
16713 * Makerules (lib-version): Rename from V.
16714 (install-lib-nosubdir): Change V to lib-version.
16715
15d0da8c
WS
167162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16717
16718 [BZ #14252]
16719 * powerpc32/power6/wcschr.c: New file.
16720 * powerpc32/power6/wcscpy.c: New file.
16721 * powerpc32/power6/wcsrchr.c: New file.
16722 * powerpc64/power6/wcschr.c: New file.
16723 * powerpc64/power6/wcscpy.c: New file.
16724 * powerpc64/power6/wcsrchr.c: New file.
16725
bcca0895
MK
167262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16727
16728 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16729 (two_way_short_needle): Use it.
5a4aaa33
RM
16730 * string/strstr.c (AVAILABLE1_USES_J): Define.
16731 * string/strcasestr.c: Likewise.
99677e57
MK
16732
16733 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16734 array references.
16735 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16736
400726de
MK
16737 [BZ #11607]
16738 * NEWS: Add an entry.
16739 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16740 define their defaults.
16741 (two_way_short_needle): Detect end-of-string on-the-fly.
16742 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16743 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16744 * string/bug-strcasestr1.c: New test.
16745 * string/Makefile: Run it.
16746
20a71f2c
MK
167472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16748
16749 [BZ #11607]
16750 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16751 the first character.
16752
21ad0558
RM
167532012-08-21 Roland McGrath <roland@hack.frob.com>
16754
16755 * csu/elf-init.c (__libc_csu_irel): Function removed.
16756 * csu/libc-start.c (apply_irel): New function.
16757 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16758
0e1d9911
JM
167592012-08-21 Joseph Myers <joseph@codesourcery.com>
16760
16761 * sysdeps/unix/sysv/linux/kernel-features.h
16762 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16763 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16764 <kernel-features.h>.
16765 [__NR_fadvise64_64]: Make code unconditional.
16766 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16767 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16768 !__NR_fadvise64_64)]: Likewise.
16769 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16770 !__NR_fadvise64_64))]: Likewise.
16771 [__NR_fadvise64]: Make code unconditional.
16772 [!__NR_fadvise64]: Remove conditional code.
16773 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16774 <kernel-features.h>.
16775 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16776 unconditional.
16777 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16778 conditional code.
16779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16780 not include <kernel-features.h>.
16781 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16782 unconditional.
16783 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16784 conditional code.
16785 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16786 include <kernel-features.h>.
16787 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16788 unconditional.
16789 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16790 conditional code.
16791
14a50c9d
WS
167922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16793
16794 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16795 slight instruction rearrangements per scrollpipe analysis.
16796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16797
c0f4faf0
RM
167982012-08-20 Roland McGrath <roland@hack.frob.com>
16799
696da859
RM
16800 * manual/syslog.texi (syslog; vsyslog, closelog):
16801 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16802 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16803
c0f4faf0
RM
16804 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16805 DSOCAPS to match condition on defining it.
16806
348363b2
JM
168072012-08-20 Joseph Myers <joseph@codesourcery.com>
16808
a35cbf28
JM
16809 * sysdeps/unix/sysv/linux/kernel-features.h
16810 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16812 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16813 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16815 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16816 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16818 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16819 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16820
445f7ecd
JM
16821 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16822 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16823
348363b2
JM
16824 * sysdeps/unix/sysv/linux/kernel-features.h
16825 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16826 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16827 unconditional.
16828 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16829 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16830 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16831 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16832 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16833 Make code unconditional.
16834 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16835 (__mmap64) [!__NR_mmap2]: Likewise.
16836 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16837 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16838 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16839 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16840 [__NR_mmap2]: Make code unconditional.
16841 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16842 (__mmap64) [!__NR_mmap2]: Likewise.
16843
bc5bc0e5
AK
168442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16845
16846 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16847
88d506de
AJ
168482012-08-18 Andreas Jaeger <aj@suse.de>
16849
16850 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16851
493387d2
MF
168522012-08-18 Mike Frysinger <vapier@gentoo.org>
16853
16854 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16855 * include/unistd.h (__have_sock_cloexec): Likewise.
16856 (__have_pipe2): Likewise.
16857 (__have_dup3): Likewise.
16858
a277af22
MF
168592012-08-18 Mike Frysinger <vapier@gentoo.org>
16860
16861 [BZ #9685]
16862 * include/unistd.h (__have_pipe2): Change define into an extern int.
16863 (__have_dup3): Likewise.
16864 * socket/have_sock_cloexec.c: Include fcntl.h.
16865 (__have_pipe2): New variable.
16866 (__have_dup3): Likewise.
16867
fdab8fd3
MF
168682012-08-17 Mike Frysinger <vapier@gentoo.org>
16869
16870 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16871
31035e80
MP
168722012-08-17 Marek Polacek <polacek@redhat.com>
16873
16874 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16875 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16876
3bd9e993
RM
168772012-08-17 Roland McGrath <roland@hack.frob.com>
16878
c91c505f
RM
16879 * configure.in: Add AC_SUBST for sysheaders.
16880 * configure: Regenerated.
16881 * config.make.in (sysheaders): New substituted variable.
16882
7c6f9d53
RM
16883 * sysdeps/unix/mkfifo.c: Moved ...
16884 * sysdeps/posix/mkfifo.c: ... here.
16885 * sysdeps/unix/mkfifoat.c: Moved ...
16886 * sysdeps/posix/mkfifoat.c: ... here.
16887
16888 * sysdeps/unix/utime.c: Moved ...
16889 * sysdeps/posix/utime.c: ... here.
16890
16891 * sysdeps/unix/time.c: Moved ...
16892 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16893 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16894 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16895
16896 * sysdeps/unix/nice.c: Moved ...
16897 * sysdeps/posix/nice.c: ... here.
16898
16899 * sysdeps/unix/alarm.c: Moved ...
16900 * sysdeps/posix/alarm.c: ... here.
16901
3bd9e993
RM
16902 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16903
d1f09384
JL
169042012-08-17 Jeff Law <law@redhat.com>
16905
16906 * intl/Makefile (codeset_mo): New variable.
16907 ($(codeset_mo)): New target.
16908 (tst-codeset.out): Depend on that. Remove explicit rule.
16909 (tst-gettext3.out, tst-gettext5.out): Likewise.
16910 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16911 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16912 * intl/tst-codeset.sh: Remove.
16913 * intl/tst-gettext3.sh: Likewise.
16914 * intl/tst-gettext5.sh: Likewise.
16915
2ae1ae5c
RM
169162012-08-17 Roland McGrath <roland@hack.frob.com>
16917
c31fdb83
RM
16918 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16919 * sysdeps/unix/syscalls.list: ... here.
16920
a0844057
RM
16921 * sysdeps/posix/getaddrinfo.c
16922 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16923 (gaiconf_init, gaiconf_reload): Use them.
16924 [!_STATBUF_ST_NSEC]
16925 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16926 Define using time_t rather than struct timespec.
16927
750c1f2a
RM
16928 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16929 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16930 Macros removed.
16931 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16932 [!NO_THREADS].
16933 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16934 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16935 Likewise.
16936
2ae1ae5c
RM
16937 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16938 __libc_cleanup_push argument.
16939
e66a42f5
RM
16940 * bits/param.h: New file.
16941 * misc/sys/param.h: New file.
16942 * include/sys/param.h: New file.
16943 * misc/Makefile (headers): Add bits/param.h.
16944 * sysdeps/generic/sys/param.h: File removed.
16945 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16946 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16947 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16948 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16949
b7c08a66
RM
16950 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16951 last change.
16952
b2e1c562
RM
16953 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16954 [_IO_MTSAFE_IO].
16955 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16956 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16957 New macros.
16958
c75ccd4c
RM
16959 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16960 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16961 rather than -D_IO_MTSAFE_IO conditionally.
16962 * stdio-common/Makefile (CPPFLAGS): Likewise.
16963 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16964 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16965 Use $(libio-mtsafe).
16966 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16967 of -D_IO_MTSAFE_IO.
16968 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16969 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16970 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16971 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16972 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16973 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16974 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16975 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16976 (CFLAGS-fread_u_chk.c): Likewise.
16977 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16978 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16979 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16980 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16981 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16982 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16983 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16984 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16985 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16986
16987 * libio/Makefile: Test [$(libc-reentrant) = yes]
16988 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16989
16990 * Makeconfig
16991 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16992 * sysdeps/pthread/configure: File removed.
16993 * sysdeps/pthread/Makeconfig: New file.
16994 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16995 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16996
d9195db8
GB
169972012-08-16 Gary Benson <gbenson@redhat.com>
16998
16999 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17000 unmapping the first object in a namespace.
17001
86466cd9
RM
170022012-08-16 Roland McGrath <roland@hack.frob.com>
17003
17004 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17005 (__internal_setnetgrent): ... this. Add internal_function to
17006 definition. Add libc_hidden_def.
17007 (setnetgrent): Update caller.
17008 (internal_endnetgrent): Renamed to ...
17009 (__internal_endnetgrent): ... this. Add internal_function to
17010 definition. Add libc_hidden_def.
17011 (endnetgrent): Update caller.
17012 (internal_getnetgrent_r): Renamed to ...
17013 (__internal_getnetgrent_r): ... this. Add internal_function to
17014 definition. Add libc_hidden_def.
17015 (__getnetgrent_r): Update caller.
17016 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17017
c3c8283c
JM
170182012-08-16 Joseph Myers <joseph@codesourcery.com>
17019
17020 * stdlib/longlong.h: Update from GCC.
17021
db1ee0a8
RM
170222012-08-16 Roland McGrath <roland@hack.frob.com>
17023
17024 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17025 on _QL, which is set by umul_ppmm but never used.
17026 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17027 variables, which are set by GMP macros but never used.
17028 * stdio-common/_itowa.c (_itowa): Likewise.
17029 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17030 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17031
30f69637
CD
170322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17033
17034 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17035 struct La_sh_regs is not constant.
17036 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17037 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17038 and struct La_sparc64_regs are not constant.
17039
93a78ac4
JM
170402012-08-16 Joseph Myers <joseph@codesourcery.com>
17041
17042 * sysdeps/unix/sysv/linux/kernel-features.h
17043 (__ASSUME_POSIX_TIMERS): Remove.
17044 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17045 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17046 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17047 Make code unconditional.
17048 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17049 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17050 Make code unconditional.
17051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17052 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17053 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17054 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17055 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17056 Make code unconditional.
17057 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17058 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17059 (__libc_missing_posix_timers): Remove.
17060
dd924cd7
RM
170612012-08-15 Roland McGrath <roland@hack.frob.com>
17062
4b4f2771
RM
17063 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17064 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17065
601c888b
RM
17066 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17067
176790a7
RM
17068 * elf/dl-sym.c: Include <stdlib.h>.
17069
329bc018
RM
17070 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17071 constants, which avoids warnings in 32-bit builds.
17072
e04e272d
RM
17073 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17074 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17075
952bf94a
RM
17076 * misc/lseek.c: File moved to ...
17077 * io/lseek.c: ... here.
17078
7c99b50a
RM
17079 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17080
dd924cd7
RM
17081 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17082 shifting LEN more than 31 bits at once.
17083
b3f479a8
LD
170842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17085
17086 [BZ #14195]
8c4ae0d4
RM
17087 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17088 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17089 * string/test-strncasecmp.c (check1): Renamed to...
17090 (bz12205): ...this.
17091 (bz14195): Add new testcase for two empty input strings and N > 0.
17092 (test_main): Call new testcase, adapt for renamed function.
17093
9c55864e
AJ
170942012-08-15 Andreas Jaeger <aj@suse.de>
17095
17096 [BZ #14090]
17097 * crypt/md5test2.c: New test, based on test supplied by Serge
17098 Belyshev <belyshev@depni.sinp.msu.ru>.
17099 * crypt/Makefile (xtests): Add md5test-giant..
17100 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17101
02dcb6c5
PE
171022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17103
17104 [BZ #14090]
17105 * crypt/md5.c (md5_process_block): Don't assume the buffer
17106 length is less than 2**32.
17107 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17108 length is less than 2**64.
17109
a3f95dcc
RM
171102012-08-15 Roland McGrath <roland@hack.frob.com>
17111
be75d758
RM
17112 * string/str-two-way.h: Include <sys/param.h>.
17113 (MAX): Macro removed.
17114
7312ca90
RM
17115 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17116 Move #define and #undef of memmove to just before and after
17117 including <string.h>.
17118
9a0a5486
RM
17119 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17120 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17121 and after including <string.h>. Move declarations of
17122 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17123 to before #include "string/memmove.c".
17124
67cc348d
RM
17125 * include/dirent.h: Declare __getdirentries.
17126
a3f95dcc
RM
17127 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17128 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17129
ca98e171
MF
171302012-08-14 Mike Frysinger <vapier@gentoo.org>
17131
17132 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17133 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17134 * sysdeps/i386/configure: Regenerated.
17135 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17136 STABS_CURRENT_FILE, and STABS_FUN.
17137 (END): Remove call to STABS_FUN_END.
17138 (STABS_CURRENT_FILE1): Delete.
17139 (STABS_CURRENT_FILE): Likewise.
17140 (STABS_FUN): Likewise.
17141 (STABS_FUN_END): Likewise.
17142 (STABS_FUN2): Likewise.
17143 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17144 * sysdeps/x86_64/configure: Regenerated.
17145
5908bf46
RM
171462012-08-14 Roland McGrath <roland@hack.frob.com>
17147
17148 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17149 * elf/dl-lookup.c: Likewise.
5908bf46 17150
f2c05b9e
JM
171512012-08-14 Joseph Myers <joseph@codesourcery.com>
17152
17153 * sysdeps/unix/sysv/linux/kernel-features.h
17154 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17155 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17156 unconditionally.
17157 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17158 unconditionally.
17159 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17160 condition on __ASSUME_CLONE_THREAD_FLAGS.
17161
e11f5155
AJ
171622012-08-14 Andreas Jaeger <aj@suse.de>
17163
17164 * sysdeps/i386/fpu/libm-test-ulps: Update.
17165
51a9ba86
MK
171662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17167
2fdd4f78
AJ
17168 * include/atomic.h (atomic_exchange_and_add): Split into ...
17169 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17170 New atomic macros.
51a9ba86 17171
ba6cba9e
MT
171722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17173
17174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17175
42443a47
JL
171762012-08-13 Jeff Law <law@redhat.com>
17177
17178 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17179 null byte in the output string.
17180
121dce05
JM
171812012-08-10 Joseph Myers <joseph@codesourcery.com>
17182
17183 * sysdeps/unix/sysv/linux/kernel-features.h
17184 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17185 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17186 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17187 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17188 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17189 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17190 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17191
bf51f568
JL
171922012-08-09 Jeff Law <law@redhat.com>
17193
17194 [BZ #13939]
17195 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17196 When avoid_arena is set, don't retry in the that arena. Pick the
17197 next one, whatever it might be.
17198 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17199 (arena_lock): Pass in new parameter to arena_get2.
17200 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17201 arena_get2.
17202 (__libc_malloc): Unify retrying after main arena failure with
17203 __libc_memalign version.
17204 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17205
f85fa270
L
172062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17207
17208 [BZ #14166]
17209 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17210 to __redirect_strstr.
17211 (__strstr_sse42): Use typeof __redirect_strstr.
17212 (__strstr_ia32): Likewise.
17213 (__libc_strstr): New prototype.
17214 (strstr): Renamed to ...
17215 (__libc_strstr): This.
17216 (strstr): New strong alias of __libc_strstr.
17217 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17219 __redirect_time.
17220 Include <time.h>.
17221 (__libc_time): New prototype.
17222 (time_ifunc): Replace time with __libc_time.
17223 (time): New strong alias and hidden definition of __libc_time.
17224 (__GI_time): Remove strong alias.
17225 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17226 Include <stddef.h>.
17227 (memmove): Redefined to __redirect_memmove.
17228 (__memmove_sse2): Use typeof __redirect_memmove.
17229 (__memmove_ssse3): Likewise.
17230 (__memmove_ssse3_back): Likewise.
17231 (__libc_memmove): New prototype.
17232 (memmove): Renamed to ...
17233 (__libc_memmove): This.
17234 (memmove): New strong alias of __libc_memmove.
17235
33b4a91e
MS
172362012-08-08 Mark Salter <msalter@redhat.com>
17237
17238 * elf/elf.h
17239 (R_MN10300_TLS_GD): Define.
17240 (R_MN10300_TLS_LD): Likewise.
17241 (R_MN10300_TLS_LDO): Likewise.
17242 (R_MN10300_TLS_GOTIE): Likewise.
17243 (R_MN10300_TLS_IE): Likewise.
17244 (R_MN10300_TLS_LE): Likewise.
17245 (R_MN10300_TLS_DTPMOD): Likewise.
17246 (R_MN10300_TLS_DTPOFF): Likewise.
17247 (R_MN10300_TLS_TPOFF): Likewise.
17248 (R_MN10300_SYM_DIFF): Likewise.
17249 (R_MN10300_ALIGN): Likewise.
17250 (R_MN10300_NUM): Update.
17251
b36137f1
JM
172522012-08-08 Joseph Myers <joseph@codesourcery.com>
17253
17254 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17255 Remove.
17256
cdd915fd
RM
172572012-08-08 Roland McGrath <roland@hack.frob.com>
17258
a2433aac
RM
17259 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17260
cdd915fd
RM
17261 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17262 sysdeps/unix -> sysdeps/posix move.
17263 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17264
bf9b740a
AM
172652012-08-07 Allan McRae <allan@archlinux.org>
17266
17267 [BZ #14303]
17268 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17269 (SUNOS_CPP): Likewise.
17270 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17271 not found.
17272 (open_input): Call CPP using execvp.
17273
93df14ee
JM
172742012-08-07 Joseph Myers <joseph@codesourcery.com>
17275
17276 * sysdeps/unix/sysv/linux/kernel-features.h
17277 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17278 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17279 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17280 (__ASSUME_WAITID_SYSCALL): Likewise.
17281 * sysdeps/unix/sysv/linux/dl-execstack.c
17282 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17283 code unconditional.
17284 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17285 conditional code.
17286 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17287 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17288 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17289 code.
17290 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17291 unconditional.
17292 [__ASSUME_WAITID_SYSCALL]: Likewise.
17293 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17294
d34689de
RM
172952012-08-07 Roland McGrath <roland@hack.frob.com>
17296
a281decc
RM
17297 * sysdeps/unix/closedir.c: Renamed to ...
17298 * sysdeps/posix/closedir.c: ... here.
17299 * sysdeps/unix/dirfd.c: Renamed to ...
17300 * sysdeps/posix/dirfd.c: ... here.
17301 * sysdeps/unix/dirstream.h: Renamed to ...
17302 * sysdeps/posix/dirstream.h: ... here.
17303 * sysdeps/unix/fdopendir.c: Renamed to ...
17304 * sysdeps/posix/fdopendir.c: ... here.
17305 * sysdeps/unix/opendir.c: Renamed to ...
17306 * sysdeps/posix/opendir.c: ... here.
17307 * sysdeps/unix/readdir.c: Renamed to ...
17308 * sysdeps/posix/readdir.c: ... here.
17309 * sysdeps/unix/readdir_r.c: Renamed to ...
17310 * sysdeps/posix/readdir_r.c: ... here.
17311 * sysdeps/unix/rewinddir.c: Renamed to ...
17312 * sysdeps/posix/rewinddir.c: ... here.
17313 * sysdeps/unix/seekdir.c: Renamed to ...
17314 * sysdeps/posix/seekdir.c: ... here.
17315 * sysdeps/unix/telldir.c: Renamed to ...
17316 * sysdeps/posix/telldir.c: ... here.
17317 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17318 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17319 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17320 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17321
22895b47
RM
17322 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17323 * bits/fcntl.h: ... here.
17324
707a53b6
RM
17325 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17326 not 0.
17327 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17328 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17329 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17330 (struct flock): Move l_start, l_len to the beginning.
17331 Use __pid_t for l_pid.
17332 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17333 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17334 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17335 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17336 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17337 [__USE_LARGEFILE64] (struct flock64): New type.
17338 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17339
f0bd3e25
RM
17340 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17341 * bits/dirent.h: ... here.
17342
d34689de
RM
17343 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17344 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17345
6dad2c06
JM
173462012-08-07 Joseph Myers <joseph@codesourcery.com>
17347
17348 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17349 Change from 2.6.0 to 2.6.16.
17350 * sysdeps/unix/sysv/linux/configure: Regenerated.
17351 * sysdeps/unix/sysv/linux/kernel-features.h
17352 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17353 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17354 version.
17355 (__ASSUME_UTIMES): Likewise.
17356 (__ASSUME_CLONE_STOPPED): Remove.
17357 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17358 architectures, not kernel version.
17359 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17360 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17361 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17362 (__ASSUME_WAITID_SYSCALL): Likewise.
17363 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17364 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17365 * README: State 2.6.16 as minimum Linux kernel version. Do not
17366 refer to older versions.
17367
03af9520
RM
173682012-08-06 Roland McGrath <roland@hack.frob.com>
17369
8e49df1d
RM
17370 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17371 Define alphasort64 as an alias.
17372 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17373 Define versionsort64 as an alias.
17374 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17375 Define scandir64 as an alias.
17376 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17377 Define scandirat64 as an alias.
17378 * dirent/alphasort64.c (alphasort64):
17379 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17380 * dirent/versionsort64.c: Likewise.
17381 * dirent/scandir64.c: Likewise.
17382 * dirent/scandirat64.c: Likewise.
17383 * sysdeps/wordsize-64/alphasort.c: File removed.
17384 * sysdeps/wordsize-64/alphasort64.c: File removed.
17385 * sysdeps/wordsize-64/scandir.c: File removed.
17386 * sysdeps/wordsize-64/scandir64.c: File removed.
17387 * sysdeps/wordsize-64/scandirat.c: File removed.
17388 * sysdeps/wordsize-64/scandirat64.c: File removed.
17389 * sysdeps/wordsize-64/versionsort.c: File removed.
17390 * sysdeps/wordsize-64/versionsort64.c: File removed.
17391 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17392 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17399
17400 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17402 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17404 [defined __arch64__ || defined __sparcv9]
17405 (__INO_T_MATCHES_INO64_T): New macro.
17406 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17407 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17408 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17409 * sysdeps/unix/sysv/linux/bits/dirent.h
17410 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17411 (_DIRENT_MATCHES_DIRENT64): New macro.
17412
03af9520
RM
17413 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17414 Define lockf64 as an alias.
17415 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17416 Define fseeko64 as an alias.
17417 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17418 Define ftello64 as an alias.
17419 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17420 Define _IO_fgetpos64 and fgetpos64 as aliases.
17421 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17422 Define _IO_fsetpos64 and fsetpos64 as aliases.
17423 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17424 Conditionalize body on this.
17425 * libio/fseeko64.c: Likewise.
17426 * libio/ftello64.c: Likewise.
17427 * libio/iofgetpos64.c: Likewise.
17428 * libio/iofsetpos64.c: Likewise.
17429 * sysdeps/wordsize-64/lockf.c: File removed.
17430 * sysdeps/wordsize-64/lockf64.c: File removed.
17431 * sysdeps/wordsize-64/fseeko.c: File removed.
17432 * sysdeps/wordsize-64/fseeko64.c: File removed.
17433 * sysdeps/wordsize-64/ftello.c: File removed.
17434 * sysdeps/wordsize-64/ftello64.c: File removed.
17435 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17436 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17437 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17438 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17439 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17440 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17441 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17442 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17443 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17444 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17445 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17446 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17449
17450 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17452 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17453 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17454 [defined __arch64__ || defined __sparcv9]
17455 (__OFF_T_MATCHES_OFF64_T): New macro.
17456 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17457 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17459 (__OFF_T_MATCHES_OFF64_T): New macro.
17460
c5757acd
L
174612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17462
17463 * stdlib/secure-getenv.c (__secure_getenv): Replace
17464 GLIBC_2_16 with GLIBC_2_17.
17465
3a31811e
L
174662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17470
faa2bccb
DM
174712012-08-03 David S. Miller <davem@davemloft.net>
17472
17473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17474
85fe1997
JM
174752012-08-03 Joseph Myers <joseph@codesourcery.com>
17476
17477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17478 Remove.
17479 (__ASSUME_CORRECT_SI_PID): Likewise.
17480 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17481 (__ASSUME_TMPFS_NAME): Likewise.
17482 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17483 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17484 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17485 (HAVE_AUX_SECURE): Make definition unconditional.
17486 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17487 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17488
4f75b7a0
RM
174892012-08-03 Roland McGrath <roland@hack.frob.com>
17490
17491 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17492 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17493 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17494 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17495 __eloop_threshold instead of SYMLOOP_MAX.
17496
17497 * sysdeps/generic/eloop-threshold.h: New file.
17498 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17499 of MAXSYMLINKS.
17500 * elf/chroot_canon.c (chroot_canon): Likewise.
17501
7aab07e4
JM
175022012-08-03 Joseph Myers <joseph@codesourcery.com>
17503
17504 [BZ #13717]
17505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17506 Change to 2.6.0 everywhere.
17507 * sysdeps/unix/sysv/linux/configure: Regenerated.
17508 * sysdeps/unix/sysv/linux/kernel-features.h
17509 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17510 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17511 kernel versions.
17512 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17513 (__ASSUME_FUTEX_REQUEUE): Remove.
17514 (__ASSUME_STATFS64): Define unconditionally.
17515 (__ASSUME_AT_SECURE): Likewise.
17516 (__ASSUME_CORRECT_SI_PID): Likewise.
17517 (__ASSUME_TGKILL): Define without depending on kernel version for
17518 i386.
17519 (__ASSUME_UTIMES): Likewise.
17520 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17521 kernel version.
17522 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17523 (__ASSUME_TMPFS_NAME): Likewise.
17524 * README: Update reference to Linux kernel versions.
17525
b67e9372
MP
175262012-08-02 Marek Polacek <polacek@redhat.com>
17527
1f529f7d 17528 [BZ# 14150]
b67e9372
MP
17529 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17530 libc_cv_asm_type_prefix with %.
17531 * configure: Regenerated.
d2441631
RM
17532 * include/libc-symbols.h: Remove comment about
17533 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17534 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17535 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17536 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17537 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17538 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17539 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17540 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17541 * elf/tst-unique2mod1.c: Likewise.
17542 * elf/tst-unique1mod2.c: Likewise.
17543 * elf/tst-unique1mod1.c: Likewise.
17544 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17545 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17546 Replace ASM_TYPE_DIRECTIVE with .type.
17547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17548 * sysdeps/i386/sysdep.h: Likewise.
17549 * sysdeps/x86_64/sysdep.h: Likewise.
17550 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17552 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17553 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17554 * sysdeps/powerpc/powerpc32/sysdep.h:
17555 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17556 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17557 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17558 * sysdeps/i386/fpu/e_powf.S: Likewise.
17559 * sysdeps/i386/fpu/e_expl.S: Likewise.
17560 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17561 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17562 * sysdeps/i386/fpu/e_pow.S: Likewise.
17563 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17564 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17565 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17566 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17567 * sysdeps/i386/fpu/e_log2.S: Likewise.
17568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17570 * sysdeps/i386/fpu/e_powl.S: Likewise.
17571 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17572 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17573 * sysdeps/i386/fpu/e_logl.S: Likewise.
17574 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17575 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17576 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17577 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17578 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17579 * sysdeps/i386/fpu/e_log.S: Likewise.
17580 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17581 * sysdeps/i386/fpu/e_logf.S: Likewise.
17582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17583 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17584 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17585 * sysdeps/i386/fpu/e_log10.S: Likewise.
17586 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17587 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17588 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17589 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17590 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17591 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17592 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17593 * sysdeps/i386/i686/strtok.S: Likewise.
17594 * sysdeps/i386/i386-mcount.S: Likewise.
17595 * sysdeps/i386/strtok.S: Likewise.
17596 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17597 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17598 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17599 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17600 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17602 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17603 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17604 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17605 * sysdeps/x86_64/_mcount.S: Likewise.
17606 * sysdeps/x86_64/strtok.S: Likewise.
17607 * sysdeps/sh/_mcount.S: Likewise.
17608
2747bf9a
RM
176092012-08-01 Roland McGrath <roland@hack.frob.com>
17610
17611 * libio/iofopen.c: Include <fcntl.h>.
17612 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17613 (_IO_fopen64, fopen64): Define as aliases.
17614 * libio/iofopen64.c: Include <fcntl.h>.
17615 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17616 Conditionalize body on this.
17617 * sysdeps/wordsize-64/iofopen.c: File removed.
17618 * sysdeps/wordsize-64/iofopen64.c: File removed.
17619
3fb791b8
MP
176202012-08-01 Marek Polacek <polacek@redhat.com>
17621
17622 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17623 Use dlfcn directly instead of a variable.
17624 (binfmt-subdir): Do not define.
17625 (dlfcn): Likewise.
17626
a9f1039f
JM
176272012-08-01 Joseph Myers <joseph@codesourcery.com>
17628
23bddc06
JM
17629 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17630 Remove all definitions.
17631 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17632 <kernel-features.h>.
17633 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17634 (miss_F_GETOWN_EX): Remove all definitions.
17635 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17636 macro definition.
17637 [!__ASSUME_FCNTL64]: Remove conditional code.
17638 [__ASSUME_FCNTL64]: Make code unconditional.
17639 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17640 <kernel-features.h>.
17641 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17642 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17643 (lockf64) [__NR_fcntl64]: Make code unconditional.
17644 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17645
a9f1039f
JM
17646 * sysdeps/unix/sysv/linux/kernel-features.h
17647 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17648 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17649 Make code unconditional.
17650 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17651 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17653 [__NR_vfork]: Make code unconditional.
17654 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17655 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17657 [__NR_vfork]: Make code unconditional.
17658 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17659 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17660
09c0ee5f
RM
176612012-08-01 Roland McGrath <roland@hack.frob.com>
17662
48aec5b9
RM
17663 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17664 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17665
cd97c966
RM
17666 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17667 Define mkstemp64 as an alias.
3f55550c
RM
17668 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17669 Define mkstemps64 as an alias.
cd97c966
RM
17670 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17671 Define mkostemp64 as an alias.
b8625cfc
RM
17672 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17673 Define mkostemps64 as an alias.
cd97c966
RM
17674 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17675 Conditionalize body on this.
17676 * misc/mkostemp64.c: Likewise.
b8625cfc 17677 * misc/mkostemps64.c: Likewise.
3f55550c 17678 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17679 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17680 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17681 * sysdeps/wordsize-64/mkostemp.c: File removed.
17682 * sysdeps/wordsize-64/mkstemp.c: File removed.
17683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17684 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17685 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17686 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17687
09c0ee5f
RM
17688 [BZ #14138]
17689 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17690 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17691 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17692 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17693
17694 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17695 compat_symbol macros from <shlib-compat.h> rather than the underlying
17696 default_symbol_version and symbol_version macros, so that DEFAULT
17697 lines in shlib-versions are respected.
17698 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17699
7e66ee51
FW
177002012-08-01 Florian Weimer <fweimer@redhat.com>
17701
17702 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17703 Declare with warn_unused_result.
17704 (setgid, setregid, setegid, setresgid): Likewise.
17705 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17706 Likewise.
17707 * WUR-REPORT: Remove set*id functions.
17708
d2a54255
PT
177092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17710
17711 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17712
7ecdb005
RM
177132012-07-31 Roland McGrath <roland@hack.frob.com>
17714
b4180a5e 17715 [BZ #10191]
789bd351
RM
17716 * include/sys/socket.h (__libc_accept, __libc_accept4):
17717 Add attribute_hidden.
17718 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17719
40ce302d
RM
17720 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17721 use of PTR_MANGLE.
17722 * inet/getnetgrent_r.c (setup): Likewise.
17723
7ecdb005
RM
17724 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17725
e2eabb2c
DM
177262012-07-31 David S. Miller <davem@davemloft.net>
17727
17728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17729
d0419dbf
JM
177302012-07-31 Joseph Myers <joseph@codesourcery.com>
17731
17732 [BZ #13629]
17733 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17734 value between 1.0 and 2.0 and smaller part has absolute value less
17735 than 1.0.
17736 * math/s_clog10.c (__clog10): Likewise.
17737 * math/s_clog10f.c (__clog10f): Likewise.
17738 * math/s_clog10l.c (__clog10l): Likewise.
17739 * math/s_clogf.c (__clogf): Likewise.
17740 * math/s_clogl.c (__clogl): Likewise.
17741 * math/libm-test.inc (clog_test): Add more tests.
17742 (clog10_test): Likewise.
17743 * sysdeps/i386/fpu/libm-test-ulps: Update.
17744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17745
2bc13872
FW
177462012-07-31 Florian Weimer <fweimer@redhat.com>
17747
17748 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17749 Exit with zero in case no suitable GID is found, and write a
17750 message to standard error.
17751
bea9b193
RM
177522012-07-30 Roland McGrath <roland@hack.frob.com>
17753
17754 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17755 rather than to 1.
17756 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17757 (MAXPATHLEN): Removed.
17758 (NOGROUP, NODEV): New macros.
17759 (setbit, clrbit, isset, isclr): New macros.
17760 (howmany, roundup, powerof2): New macros.
17761 (DEV_BSIZE): New macro.
17762
17763 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17764 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17765
17766 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17767 definition on [!__NO_LONG_DOUBLE_MATH].
17768
17769 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17770 PTR_MANGLE and PTR_DEMANGLE.
17771
17772 * socket/accept4.c (accept4): Rename to __libc_accept4.
17773 Define accept4 as a weak alias.
17774
17775 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17776 on [_DIRENT_HAVE_D_TYPE].
17777 * io/ftw.c (ftw_dir): Likewise.
17778
17779 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17780
17781 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17782
17783 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17784 Use the BSD numbers rather than the arbitrary ones we had.
17785 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17786 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17787 (SIGXCPU, SIGXFSZ): New macros.
17788 (_NSIG): Now 32.
17789
17790 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17791 initializer on [_LIBC_REENTRANT].
17792
17793 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17794 definitions inside [_POSIX_MAPPED_FILES].
17795
17796 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17797
17798 * dirent/opendir.c: Include <fcntl.h>.
17799
17800 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17801 (__libc_getspecific): Likewise.
17802 (__libc_key_create): Likewise.
17803
17804 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17805 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17806 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17807 (tmpfile64): Define as alias.
17808 * sysdeps/wordsize-64/tmpfile.c: File removed.
17809 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17810 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17811 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17812
17813 * stdio-common/vfscanf.c: Include <stdbool.h>.
17814 * nss/makedb.c: Likewise.
17815 * stdio-common/_i18n_number.h: Likewise.
17816 * argp/argp-help.c: Likewise.
17817 * posix/wordexp.c: Likewise.
17818 * sysdeps/posix/spawni.c: Likewise.
17819 * nss/nss_files/files-initgroups.c: Likewise.
17820 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17821 * nss/nss_files/files-initgroups.c: Likewise.
17822 * nss/nss_db/db-netgrp.c: Likewise.
17823 * nss/nss_db/db-initgroups.c: Likewise.
17824 * io/fchmodat.c: Include <sys/stat.h>.
17825
17826 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17827 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17828
17829 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17830 [HAVE_MMAP].
17831
17832 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17833 Add multiple inclusion protection.
17834
e5abc686
DM
178352012-07-27 David S. Miller <davem@davemloft.net>
17836
17837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17838
815e6fa3
GB
178392012-07-27 Gary Benson <gbenson@redhat.com>
17840
17841 [BZ #14298]
17842 * elf/rtld.c: Include <stap-probe.h>.
17843 (dl_main): Added static probes "init_start" and "init_complete".
17844 * elf/dl-load.c: Include <stap-probe.h>.
17845 (lose): Take new parameter "nsid".
17846 Added static probe "map_failed".
17847 (_dl_map_object_from_fd): Pass namespace id to lose.
17848 Added static probe "map_start".
17849 (open_verify): Pass namespace id to lose.
17850 * elf/dl-open.c: Include <stap-probe.h>.
17851 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17852 and "reloc_complete".
17853 * elf/dl-close.c: Include <stap-probe.h>.
17854 (_dl_close_worker): Added static probes "unmap_start" and
17855 "unmap_complete".
17856 * elf/rtld-debugger-interface.txt: New file documenting the above.
17857
9f98c16c
RM
178582012-07-26 Roland McGrath <roland@hack.frob.com>
17859
17860 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17861 rather than a string variable.
17862 * sunrpc/rpc_main.c (h_output): Likewise.
17863 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17864
f3c22df3
PT
178652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17866
17867 * inet/check_native.c: New file.
17868
3129cfc6
JM
178692012-07-26 Joseph Myers <joseph@codesourcery.com>
17870
da865e95
JM
17871 [BZ #13629]
17872 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17873 if larger part has absolute value 1.0.
17874 * math/s_clog10.c (__clog10): Likewise.
17875 * math/s_clog10f.c (__clog10f): Likewise.
17876 * math/s_clog10l.c (__clog10l): Likewise.
17877 * math/s_clogf.c (__clogf): Likewise.
17878 * math/s_clogl.c (__clogl): Likewise.
17879 * math/libm-test.inc (clog_test): Add more tests.
17880 (clog10_test): Likewise.
17881 * sysdeps/i386/fpu/libm-test-ulps: Update.
17882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17883
3129cfc6
JM
17884 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17885 (pltexit): Likewise.
17886 (La_regs): Likewise.
17887 (La_retval): Likewise.
17888 (int_retval): Likewise.
17889 Update #error for removed macros to refer only to definitions in
17890 tst-audit.h.
17891 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17892 macro.
17893 (pltexit): Likewise.
17894 (La_regs): Likewise.
17895 (La_retval): Likewise.
17896 (int_retval): Likewise.
17897 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17898 macro.
17899 (pltexit): Likewise.
17900 (La_regs): Likewise.
17901 (La_retval): Likewise.
17902 (int_retval): Likewise.
17903 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17904 macro.
17905 (pltexit): Likewise.
17906 (La_regs): Likewise.
17907 (La_retval): Likewise.
17908 (int_retval): Likewise.
17909 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17910 macro.
17911 (pltexit): Likewise.
17912 (La_regs): Likewise.
17913 (La_retval): Likewise.
17914 (int_retval): Likewise.
17915 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17916 macro.
17917 (pltexit): Likewise.
17918 (La_regs): Likewise.
17919 (La_retval): Likewise.
17920 (int_retval): Likewise.
17921 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17922 macro.
17923 (pltexit): Likewise.
17924 (La_regs): Likewise.
17925 (La_retval): Likewise.
17926 (int_retval): Likewise.
17927 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17928 macro definitions in tst-audit.h.
17929 * sysdeps/i386/tst-audit.h: New file.
17930 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17931 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17932 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17933 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17934 * sysdeps/sh/tst-audit.h: Likewise.
17935 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17936 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17937 * sysdeps/x86_64/tst-audit.h: Likewise.
17938
bfc07087
AJ
179392012-07-26 Andreas Jaeger <aj@suse.de>
17940
b1b2aaf8
AJ
17941 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17942 ptrace.
17943
17944 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17945 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17946 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17947 PTRACE_O_MASK.
17948 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17949 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17950 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17951
bfc07087
AJ
17952 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17953 value.
17954
17955 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17956 _sigsys.
17957 (si_call_addr, si_syscall, si_arch): Define new macro.
17958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17959 _sigsys.
17960 (si_call_addr, si_syscall, si_arch): Define new marcro.
17961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17962 _sigsys.
17963 (si_call_addr, si_syscall, si_arch): Define new macro.
17964 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17965 _sigsys.
17966 (si_call_addr, si_syscall, si_arch): Define new macro.
17967
89b4b02f
JM
179682012-07-25 Joseph Myers <joseph@codesourcery.com>
17969
17970 [BZ #13717]
17971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17972 Change to 2.4.21 where previously 2.4.1.
17973 * sysdeps/unix/sysv/linux/configure: Regenerated.
17974 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17975 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17976 Linux kernel version.
17977 (__ASSUME_STD_AUXV): Remove.
17978 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17979 kernel version.
17980 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17981 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17982 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17983 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17984 (__ASSUME_NETLINK_SUPPORT): Likewise.
17985 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17986 (__no_netlink_support): Remove conditional definition.
17987 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17988 Remove.
17989 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17990 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17991 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17992 (if_nameindex_ioctl): Remove.
17993 (if_nameindex_netlink): Do not handle __no_netlink_support.
17994 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17995 code.
17996 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17997 Remove conditional code.
17998 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17999 code.
18000 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18001 unconditional.
18002 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18003 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18004 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18005 Remove.
18006 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18007 [!__ASSUME_STD_AUXV]: Remove conditional code.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18009 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18010 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18012 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18013 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18014 code.
18015 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18017 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18018 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18019 conditional code.
18020 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18022 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18023 code.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18025 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18026 conditional code.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18028 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18029 code unconditional.
18030 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18031 conditional code.
18032 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18033 unconditional.
18034 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18035 conditional code.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18037 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18038 unconditional.
18039 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18040 conditional code.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18042 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18043 code unconditional.
18044 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18045 conditional code.
18046 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18047 unconditional.
18048 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18049 conditional code.
18050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18051 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18052 code unconditional.
18053 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18054 conditional code.
18055 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18056 unconditional.
18057 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18058 conditional code.
18059
842a39cd
AS
180602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18061
18062 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18063 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18064 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18065 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18066 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18067 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18068 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18069 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18070 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18071 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18072 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18073 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18074 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18075 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18076 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18077 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18078 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18080 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18082 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18085
84b3fd84
FW
180862012-07-25 Florian Weimer <fweimer@redhat.com>
18087
18088 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18089 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18090 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18091 Introduce __libc_secure_getenv.
0c7936d5
FW
18092 * stdlib/Versions (2.17): Add secure_getenv
18093 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18094 * stdlib/secure-getenv.c: Rename __secure_getenv to
18095 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18096 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18097 * stdlib/tst-secure-getenv.c: New.
18098 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18099 * manual/startup.texi (Environment Access): Document
18100 secure_getenv.
84b3fd84
FW
18101 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18102 __libc_secure_getenv.
18103 * inet/ruserpass.c (ruserpass): Likewise.
18104 * malloc/mtrace.c (mtrace): Likewise.
18105 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18106 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18107 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18108 * sysdeps/posix/tempname.c: Likewise. Evaluate
18109 HAVE_SECURE_GETENV.
18110 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18111 __secure_getenv to __libc_secure_getenv.
84b3fd84 18112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18114 Likewise.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18119 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18124
56e49b71
JM
181252012-07-25 Joseph Myers <joseph@codesourcery.com>
18126
18127 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18128 (struct La_i86_retval): Likewise.
18129 (struct La_x86_64_regs): Likewise.
18130 (struct La_x86_64_retval): Likewise.
18131 (struct La_x32_regs): Likewise.
18132 (struct La_x32_retval): Likewise.
18133 (struct La_ppc32_regs): Likewise.
18134 (struct La_ppc32_retval): Likewise.
18135 (struct La_ppc64_regs): Likewise.
18136 (struct La_ppc64_retval): Likewise.
18137 (struct La_sh_regs): Likewise.
18138 (struct La_sh_retval): Likewise.
18139 (struct La_s390_32_regs): Likewise.
18140 (struct La_s390_32_retval): Likewise.
18141 (struct La_s390_64_regs): Likewise.
18142 (struct La_s390_64_retval): Likewise.
18143 (struct La_sparc32_regs): Likewise.
18144 (struct La_sparc32_retval): Likewise.
18145 (struct La_sparc64_regs): Likewise.
18146 (struct La_sparc64_retval): Likewise.
18147 (struct audit_ifaces): Remove architecture-specific pltenter and
18148 pltexit members.
18149 * sysdeps/i386/ldsodefs.h: New file.
18150 * sysdeps/powerpc/ldsodefs.h: Likewise.
18151 * sysdeps/s390/ldsodefs.h: Likewise.
18152 * sysdeps/sh/ldsodefs.h: Likewise.
18153 * sysdeps/sparc/ldsodefs.h: Likewise.
18154 * sysdeps/x86_64/ldsodefs.h: Likewise.
18155
354691b7
MP
181562012-07-25 Marek Polacek <polacek@redhat.com>
18157
18158 [BZ #6808]
18159 * math/libm-test.inc (yn_test): Add another test.
18160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18161 to ERANGE when the result is +-Inf.
18162 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18163 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18164 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18165 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18166
bf9e2071
JM
181672012-07-24 Joseph Myers <joseph@codesourcery.com>
18168
18169 * conform/data/time.h-data (NULL): Use macro-constant. Require
18170 equal to 0.
18171 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18172 clock_t.
18173 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18174
57633811
TS
181752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18176
18177 * configure.in <sysdeps resolving>: Correct printing
18178 Implies_before.
18179 * configure: Regenerate.
18180
c23c33b0
TS
181812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18182
18183 * math/w_ilogb.c: Include <limits.h>.
18184 * math/w_ilogbl.c: Likewise.
18185
b5982523
JM
181862012-07-20 Joseph Myers <joseph@codesourcery.com>
18187
18188 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18189 va_copy. Document allowing for unavailable va_copy only as
18190 pre-C99 compatibility.
18191 * manual/string.texi (Copying and Concatenation): Use va_copy
18192 instead of __va_copy in concat example.
18193
ac4ea442
PT
181942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18195
18196 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18197 (__sendto): Use create_address_port. Initialize APORT and deallocate
18198 it if not null.
18199
f98eafbd
PT
18200 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18201 with O_NOLINK passed to __file_name_lookup.
18202
898c7aab
PT
18203 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18204 with O_NOLINK passed to __file_name_lookup.
18205
0ced335a
PT
18206 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18207 negative N or less than NGIDS.
18208
b3404dbd
PT
18209 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18210 type to string_t. Set ERANGE as errno and return it if NAME is not big
18211 enough. Use memcpy instead of strncpy.
18212
0f48659e
JM
182132012-07-20 Joseph Myers <joseph@codesourcery.com>
18214
18215 * elf/Makefile (check-data): Remove.
18216 (localplt.data): New vpath directive.
18217 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18218 instead of $(check-data).
18219 * scripts/data/localplt-generic.data: Move to ...
18220 * sysdeps/generic/localplt.data: ... here.
18221 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18222 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18223 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18225 ... here.
18226 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18228 ... here.
18229 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18231 ... here.
18232 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18234 ... here.
18235 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18237 ... here.
18238 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18240 ... here.
18241
d37cbdaa
AZ
182422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18243
18244 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18245 PPC32 and PPC64 files.
18246 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18247 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18248
46f85fc2
AK
182492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18250
18251 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18252 __makecontext_ret to ...
18253 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18254 ... here and call exit if uc_link is NULL. New file.
18255 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18256 __makecontext_ret.S.
18257 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18258 __makecontext_ret to ...
18259 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18260 ... here and call exit if uc_link is NULL. New file.
18261 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18262 __makecontext_ret.S.
18263
08f43f9b
AK
182642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18265
18266 * elf/elf.h (R_390_IRELATIVE): New definition.
18267 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18268 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18269 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18270 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18271 (elf_machine_lazy_rel): Likewise.
18272 * sysdeps/s390/dl-irel.h: New file.
18273 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18274 * sysdeps/s390/s390-64/memset.S: New asm code.
18275 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18276 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18278 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18279 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18280 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18281 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18282 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18283 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18284 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18285 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18286 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18287 * sysdeps/s390/s390-32/memset.S: New asm code.
18288 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18289
3b05db33
MP
182902012-07-17 Marek Polacek <polacek@redhat.com>
18291
18292 [BZ #14349]
18293 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18294 * sysdeps/s390/s390-64/configure.in: Likewise.
18295 * sysdeps/sparc/configure.in: Likewise.
18296 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18297 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18298 * sysdeps/i386/configure.in: Likewise.
18299 * sysdeps/x86_64/configure.in: Likewise.
18300 * sysdeps/sh/configure.in: Likewise.
18301 * sysdeps/s390/s390-32/configure: Regenerated.
18302 * sysdeps/s390/s390-64/configure: Likewise.
18303 * sysdeps/x86_64/configure: Likewise.
18304 * sysdeps/sh/configure: Likewise.
18305 * sysdeps/powerpc/powerpc64/configure: Likewise.
18306 * sysdeps/powerpc/powerpc32/configure: Likewise.
18307 * sysdeps/sparc/configure: Likwise.
18308 * sysdeps/i386/configure: Likewise.
18309
a66877c6
MP
18310 * elf/dl-open.c: Comment fixes.
18311
cfc82fd8
JM
183122012-07-17 Joseph Myers <joseph@codesourcery.com>
18313
bd29910a
JM
18314 * Makefile [CXX] (check-data): Remove.
18315 [CXX] (c++-types.data): New vpath directive.
18316 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18317 vpath. Do not allow for C++ type data being missing.
18318 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18319 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18320 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18321 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18322 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18323 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18324 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18326 ... here.
18327 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18329 ... here.
18330 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18332 ... here.
18333 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18335 ... here.
18336 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18338 ... here.
18339 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18341 ... here.
18342 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18344 ... here.
18345 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18347
cfc82fd8
JM
18348 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18349 definitions to architecture-specific files.
18350 (TLS_IE): Likewise.
18351 (TLS_LD): Likewise.
18352 (TLS_GD): Likewise.
18353 * sysdeps/i386/tls-macros.h: New file.
18354 * sysdeps/powerpc/tls-macros.h: Likewise.
18355 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18356 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18357 * sysdeps/sh/tls-macros.h: Likewise.
18358 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18359 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18360 * sysdeps/x86_64/tls-macros.h: Likewise.
18361
f7db3170
TS
183622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18363
07cbfc23
TS
18364 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18365 zero value for regular exit case.
18366
f7db3170
TS
18367 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18368 (__start_context): Preserve zero value for regular exit case.
18369
dc97c227
TS
183702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18371 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18372
18373 * manual/setjmp.texi (setcontext): Clarify normal process
18374 termination when uc_link is the null pointer.
18375 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18376 exit call.
18377
d0cd7d02
AS
183782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18379
18380 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18381 preprocessor. Test for each exception mask separately.
18382
dd318934
AJ
183832012-07-16 Andreas Jaeger <aj@suse.de>
18384
18385 * po/ru.po: Update from translation team.
18386
8048311a
JM
183872012-07-15 Joseph Myers <joseph@codesourcery.com>
18388
18389 * conform/data/string.h-data (NULL): Use macro-constant. Require
18390 equal to 0.
18391 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18392 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18393 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18394 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18396
b637d46e
AJ
183972012-07-13 Andreas Jaeger <aj@suse.de>
18398
18399 * po/fr.po: Update from translation team.
18400
541428fe
MP
184012012-07-12 Marek Polacek <polacek@redhat.com>
18402
18403 [BZ #14173]
18404 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18405 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18406 loop condition.
18407
ec332e94
JM
184082012-07-12 Joseph Myers <joseph@codesourcery.com>
18409
18410 [BZ #13717]
18411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18412 Change to 2.4.1 where previously 2.4.0.
18413 * sysdeps/unix/sysv/linux/configure: Regenerated.
18414 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18415 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18416 version.
18417 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18418 (__ASSUME_AT_CLKTCK): Remove.
18419 (__ASSUME_AT_PAGESIZE): Likewise.
18420 (__ASSUME_AT_XID): Likewise.
18421 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18422 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18423 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18424 unconditionally.
18425 (HAVE_AUX_PAGESIZE): Likewise.
18426 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18427 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18428 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18429
7b6e99be
JB
184302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18431
18432 [BZ #14307]
18433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18434 the temporary buffer used to invoke __gethostbyname2_r,
18435 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18436 host_data / struct gaih_addrtuple.
18437 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18438 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18439 header file nss/nsswitch.h.
18440 * nss/nsswitch.h (global scope): Add definition of implementation
18441 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18442 resolv/nss_dns/dns-host.c).
18443
608404eb
AJ
184442012-07-11 Andreas Jaeger <aj@suse.de>
18445
18446 * po/fr.po: Update from translation team.
18447
71220aca
AJ
18448 * po/sv.po: Update from translation team
18449 * po/fr.po: Another update from translation team.
18450
28cfe843
AZ
184512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18452
18453 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18454 for subnormals or multiply small sinh result by itself.
18455 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18457
6b90f981
DM
184582012-07-11 David S. Miller <davem@davemloft.net>
18459
18460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18461
c6825772
AS
184622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18463
18464 [BZ #14347]
18465 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18466 (INTERNAL_MARK): Shift it here.
18467
7b8e0d49
MP
184682012-07-10 Marek Polacek <polacek@redhat.com>
18469
18470 [BZ #14151]
18471 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18472 libc_cv_asm_global_directive with .globl.
18473 * configure: Regenerated.
18474 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18475 with .globl.
18476 * sysdeps/i386/configure: Regenerated.
18477 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18478 with .globl.
18479 * sysdeps/x86_64/configure: Regenerated.
18480 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18481 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18482 * elf/tst-unique2mod2.c: Likewise.
18483 * elf/tst-unique2mod1.c: Likewise.
18484 * elf/tst-unique1mod2.c: Likewise.
18485 * elf/tst-unique1mod1.c: Likewise.
18486 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18487 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18489 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18490 * sysdeps/mach/sysdep.h: Likewise.
18491 * sysdeps/i386/sysdep.h: Likewise.
18492 * sysdeps/i386/i386-mcount.S: Likewise.
18493 * sysdeps/x86_64/_mcount.S: Likewise.
18494 * sysdeps/x86_64/sysdep.h: Likewise.
18495 * sysdeps/sh/_mcount.S: Likewise.
18496 * sysdeps/sh/sysdep.h: Likewise.
18497 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18498 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18499 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18501 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18502 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18503 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18504 * locale/localeinfo.h: Likewise.
18505 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18506 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18507
6c55cda3
RM
185082012-07-09 Roland McGrath <roland@hack.frob.com>
18509
18510 [BZ #14336]
18511 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18512 system".
18513 * manual/message.texi (The Uniforum approach): Likewise.
18514 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18515 (glibc iconv Implementation): Likewise.
18516
638a572e
JM
185172012-07-09 Joseph Myers <joseph@codesourcery.com>
18518
18519 [BZ #14337]
18520 * math/s_clog.c (__clog): Avoid scaling a value down where that
18521 could result in underflow.
18522 * math/s_clog10.c (__clog10): Likewise.
18523 * math/s_clog10f.c (__clog10f): Likewise.
18524 * math/s_clog10l.c (__clog10l): Likewise.
18525 * math/s_clogf.c (__clogf): Likewise.
18526 * math/s_clogl.c (__clogl): Likewise.
18527 * math/libm-test.inc (clog_test): Add more tests.
18528 (clog10_test): Likewise.
18529 * sysdeps/i386/fpu/libm-test-ulps: Update.
18530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18531
261f4859
AS
185322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18533
0abaf3e4
AS
18534 [BZ #14283]
18535 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18536 by 7 not 8 to examine high bit of fractional part.
18537
261f4859
AS
18538 [BZ #14042]
18539 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18540 for call to __mcount_internal.
18541 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18542 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18543 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18544
f17ac40d
JM
185452012-07-06 Joseph Myers <joseph@codesourcery.com>
18546
9ad63c23
JM
18547 [BZ #14154]
18548 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18549 approximation for values within 0x1p-13f of an odd multiple of
18550 pi/4.
18551 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18552 exception. Add more tests.
18553 * sysdeps/i386/fpu/libm-test-ulps: Update.
18554
f17ac40d
JM
18555 [BZ #6778]
18556 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18557 inputs and return -1 for them. Do not check for +Inf in case not
18558 reachable for +Inf.
18559 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18560 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18561 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18562 and return -1 for them. Do not check for +Inf in case not
18563 reachable for +Inf.
18564 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18565 define.
18566 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18567 and return -1 for them. Do not check for +Inf in case not
18568 reachable for +Inf.
18569 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18570 spurious underflow.
18571 * sysdeps/i386/fpu/libm-test-ulps: Update.
18572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18573
fb21f89b
MF
185742012-07-06 Mike Frysinger <vapier@gentoo.org>
18575
18576 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18577
cdfe2c5e
JM
185782012-07-05 Joseph Myers <joseph@codesourcery.com>
18579
18580 [BZ #14157]
18581 [BZ #14331]
18582 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18583 could result in spurious underflow. Scale down values above
18584 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18585 * math/s_csqrtf.c (__csqrtf): Likewise.
18586 * math/s_csqrtl.c (__csqrtl): Likewise.
18587 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18588 spurious underflow.
18589 * sysdeps/i386/fpu/libm-test-ulps: Update.
18590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18591
70d35b67
AS
185922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18593
704bc459
AS
18594 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18595 xopen-msg.sed.
18596 * catgets/xopen-msg.awk: New file.
18597 * catgets/xopen-msg.sed: Removed.
18598
70d35b67
AS
18599 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18600 po2text.sed.
18601 * intl/po2test.awk: New file.
18602 * intl/po2test.sed: Removed.
18603
ca61cf32
JM
186042012-07-04 Joseph Myers <joseph@codesourcery.com>
18605
18606 [BZ #14328]
18607 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18608 or multiply small sinh result by itself.
18609 * math/s_ctanf.c (__ctanf): Likewise.
18610 * math/s_ctanh.c (__ctanh): Likewise.
18611 * math/s_ctanhf.c (__ctanhf): Likewise.
18612 * math/s_ctanhl.c (__ctanhl): Likewise.
18613 * math/s_ctanl.c (__ctanl): Likewise.
18614 * math/libm-test.inc (ctan_test_tonearest): New function.
18615 (ctan_test_towardzero): Likewise.
18616 (ctan_test_downward): Likewise.
18617 (ctan_test_upward): Likewise.
18618 (ctanh_test_tonearest): Likewise.
18619 (ctanh_test_towardzero): Likewise.
18620 (ctanh_test_downward): Likewise.
18621 (ctanh_test_upward): Likewise.
18622 (main): Call these new functions.
18623 * sysdeps/i386/fpu/libm-test-ulps: Update.
18624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18625
ca48a46a
MF
186262012-07-03 Mike Frysinger <vapier@gentoo.org>
18627
18628 * .gitignore: Delete /ports entry.
18629
9d63d37d
AJ
186302012-07-03 Andreas Jaeger <aj@suse.de>
18631
18632 * po/bg.po: Update from translation team.
18633 * po/cs.po: Likewise.
18634 * po/de.po: Likewise.
18635 * po/hr.po: Likewise.
18636 * po/nl.pl: Likewise.
18637 * po/pl.po: Likewise.
18638 * po/vi.po: Likewise.
18639
370ca3d2
JM
186402012-07-03 Joseph Myers <joseph@codesourcery.com>
18641
95f5a9a8
JM
18642 * Makeconfig [!+link] (+link-before-libc): New variable.
18643 [!+link] (+link-after-libc): Likewise.
18644 [!+link] (+link-tests): Likewise.
18645 [!+link] (+link): Define in terms of $(+link-before-libc) and
18646 $(+link-after-libc).
18647 [!+link-static] (+link-static-before-libc): New variable.
18648 [!+link-static] (+link-static-after-libc): Likewise.
18649 [!+link-static] (+link-static-tests): Likewise.
18650 [!+link-static] (+link-static): Define in terms of
18651 $(+link-static-before-libc) and $(+link-static-after-libc).
18652 [build-shared] (link-libc-before-gnulib): New variable.
18653 [build-shared] (link-libc-tests): Likewise.
18654 [build-shared] (link-libc): Define in terms of
18655 $(link-libc-before-gnulib).
18656 [!build-shared] (link-libc-tests): New variable.
18657 (link-libc-static-tests): New variable.
18658 [!gnulib] (gnulib-arch): New variable.
18659 [!gnulib] (gnulib-tests): Likewise.
18660 [!gnulib] (static-gnulib-arch): Likewise.
18661 [!gnulib] (static-gnulib-tests): Likewise.
18662 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18663 Define with "=" instead of ":=".
18664 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18665 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18666 * Rules (binaries-all-notests): New variable.
18667 (binaries-all-tests): Likewise.
18668 (binaries-static-notests): Likewise.
18669 (binaries-static-tests): Likewise.
18670 (binaries-all): Define using $(binaries-all-notests) and
18671 $(binaries-all-tests).
18672 (binaries-static): Define using $(binaries-static-notests) and
18673 $(binaries-static-tests).
18674 (binaries-shared-tests): New variable.
18675 (binaries-shared-notests): Likewise.
18676 (binaries-shared): Remove variable.
18677 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18678 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18679 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18680 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18681 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18682 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18683 * elf/Makefile (sln-modules): New variable.
18684 (extra-objs): Add $(sln-modules:=.o).
18685 (ldconfig-modules): Add static-stubs.
18686 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18687 * elf/static-stubs.c: New file.
18688
7a845b2c
JM
18689 [BZ #14283]
18690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18691 by 7 not 8 to examine high bit of fractional part. Use volatile
18692 variables when splitting into final array of floats if
18693 __FLT_EVAL_METHOD__ != 0.
18694 * math/libm-test.inc (cos_test): Add another test.
18695 (sin_test): Likewise.
18696 * sysdeps/i386/fpu/libm-test-ulps: Update.
18697
e2283f38
JM
18698 [BZ #14273]
18699 * math/libm-test.inc (cosh_test): Add more tests.
18700
370ca3d2
JM
18701 * version.h (RELEASE): Set to "development".
18702 (VERSION): Set to "2.16.90".
18703
ee9247c3
CD
187042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18705
18706 * NEWS: Update copyright. Remove last-updated date.
18707 Mention math library bug fixes and timezone data changes.
18708 * README: Mention GNU/Hurd, x32, and HPPA support status.
18709
4648c381
TS
187102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18711
18712 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18713
aac78a43
AJ
187142012-06-27 Andreas Jaeger <aj@suse.de>
18715
18716 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18717
ed3dbfad
AJ
187182012-06-25 Andreas Jaeger <aj@suse.de>
18719
18720 * sysdeps/s390/fpu/libm-test-ulps: Update.
18721
4d0ee855
AS
187222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18723 Thomas Schwinge <thomas@codesourcery.com>
18724
18725 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18726 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18728 fanotify_mark.
18729
af1bce34
TS
187302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18731
a9fa33ba
TS
18732 * sysdeps/mach/start.c: Remove file.
18733 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18734 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18735 * sysdeps/sh/init-first.c: Likewise.
18736
58f902b8
TS
18737 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18738 registers for frame unwinding purposes, add CFI directives.
18739 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18740 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18741 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18742 Likewise.
18743
1518f58b
TS
18744 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18745 __fortify_fail returning.
18746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18747
db9b5059
TS
18748 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18749 sysdeps/sh/____longjmp_chk.S.
18750 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18751 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18752 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18753 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18754
967705fe
TS
18755 * sysdeps/sh/abort-instr.h: New file.
18756 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18757 process in case exit returns.
18758
a9def8c4
TS
18759 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18760 initialize the GOT register before use.
18761
2a649725
TS
18762 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18763 calculation of ARGC > 4.
18764
af1bce34
TS
18765 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18766 meaningful names to some local labels.
18767
d230f50a
KK
187682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18769 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18770
18771 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18772 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18773 (__arch_compare_and_exchange_val_16_acq): Likewise.
18774 (__arch_compare_and_exchange_val_32_acq): Likewise.
18775 (atomic_exchange_and_add): Fix gUSA sequence.
18776 (atomic_add): Likewise.
18777 (atomic_add_negative): Likewise.
18778 (atomic_add_zero): Likewise.
18779 (atomic_bit_test_set): Likewise.
18780
0479b305
AS
187812012-06-22 Andreas Schwab <schwab@redhat.com>
18782
18783 [BZ #13579]
18784 * include/link.h (struct link_map): Add l_free_initfini.
18785 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18786 l_initfini.
18787 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18788 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18789 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18790 set.
18791
0e3933b9
CD
187922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18793
18794 * configure.in: Use AC_LANG_SOURCE.
18795 * configure: Regenerate.
18796
4248b1b1
RM
187972012-06-22 Roland McGrath <roland@hack.frob.com>
18798
18799 * configure.in (libc_cv_localstatedir): New substituted variable.
18800 * configure: Regenerated.
18801 * config.make.in (localstatedir): New variable, substituted from
18802 libc_cv_localstatedir.
18803 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18804 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18805 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18806 * sysdeps/gnu/configure: Regenerated.
18807
006dd861
JL
188082012-06-21 Jeff Law <law@redhat.com>
18809
18810 [BZ #14277]
18811 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18812 free. Simplify list management for _LIBC case.
18813
79662d42
JM
188142012-06-21 Joseph Myers <joseph@codesourcery.com>
18815
b7abb4bf
JM
18816 [BZ #14273]
18817 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18818 Clear sign bit of 64-bit integer value before comparing against
18819 overflow value.
18820
79662d42
JM
18821 * sysdeps/mach/configure: Regenerated.
18822
1f150908
L
188232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 [BZ #14278]
18826 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18827
28363bbf
JL
188282012-06-21 Jeff Law <law@redhat.com>
18829
18830 [BZ #13882]
18831 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18832 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18833 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18834 * elf/dl-open.c (dl_open_worker): Likewise.
18835
09615db4
CD
188362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18837
18838 * scripts/list-sources.sh: Scan PORTS for translations.
18839 * po/libc.pot: Regenerated.
18840
2174c6dd
AJ
188412012-06-21 Andreas Jaeger <aj@suse.de>
18842
18843 [BZ #12194]
18844 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18845 warning.
18846 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18847 * bits/byteswap-16.h (__bswap_16): Likewise.
18848 * bits/byteswap.h (__bswap_constant_16): Likewise.
18849
3ee947b1
L
188502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18851
18852 [BZ #14117]
a2f34833
L
18853 * sysdeps/i386/fpu_control.h: Removed.
18854 * sysdeps/x86_64/fpu_control.h: Moved to ...
18855 * sysdeps/x86/fpu_control.h: Here.
18856
3ee947b1
L
18857 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18858 (_FPU_SETCW): Likewise.
18859
ed1825f8
L
188602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18861
25f1282a
L
18862 [BZ #14117]
18863 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18864 * sysdeps/x86/fpu/bits/mathinline.h: This.
18865 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18866
ed1825f8
L
18867 [BZ #14050]
18868 [BZ #14117]
18869 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18870 functions if __x86_64__ is defined.
18871
36d54b74
CLT
188722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18873
18874 * string/endian.h: Add !__ASSEMBLER__ condition for including
18875 conversion interfaces.
18876
10285c21
JM
188772012-06-15 Joseph Myers <joseph@codesourcery.com>
18878
18879 [BZ #14241]
18880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18881 of ABS(x) in calculating zero to negative powers other than odd
18882 integers.
18883 * math/libm-test.inc (pow_test): Add more tests.
18884
06c5abbd
AJ
188852012-06-15 Andreas Jaeger <aj@suse.de>
18886
18887 * manual/contrib.texi (Contributors): Update entry of Liubov
18888 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18889 Machado Filho.
18890
a3aeac40
CH
188912012-06-15 Cyril Hrubis <metan@ucw.cz>
18892
18893 * string/string.h: Add __wur to GNU version of strerror_r.
18894
49bdf4c1
L
188952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18896
18897 [BZ #14229]
18898 * string/Makefile (tests): Add tst-strtok_r.
18899 * string/tst-strtok_r.c: New file.
18900 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18901 RAX_LP/RDX_LP on SAVE_PTR.
18902
834f9b8d
RM
189032012-06-14 Roland McGrath <roland@hack.frob.com>
18904
18905 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18906
75fa1921
JM
189072012-06-14 Joseph Myers <joseph@codesourcery.com>
18908
18909 * libm_test.inc (csqrt_test): Allow more spurious underflow
18910 exceptions.
18911 (j0_test): Likewise.
18912 (j1_test): Likewise.
18913 (y0_test): Likewise.
18914 (y1_test): Likewise.
18915
771766df
CD
189162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18917
18918 * po/Makefile (libc.pot): Use UTF-8 charset.
18919
ceb9e56b
PP
189202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18921
18922 [BZ #14210]
18923 Suppress sign-conversion warning from FD_SET.
18924 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18925 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18926 not unsigned long int.
18927 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18928
ddb28975
L
189292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18930
18931 [BZ #14050]
18932 [BZ #14117]
18933 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18934 __extern_always_inline instead of __extern_inline.
18935 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18936 (__signbit): Likewise.
18937 (__signbitl): Support C++ namespace.
18938 (lrintf): New inline function.
18939 (lrint): Likewise.
18940 (llrintf): Likewise.
18941 (llrint): Likewise.
18942 (fmaxf): Likewise.
18943 (fmax): Likewise.
18944 (fminf): Likewise.
18945 (fmin): Likewise.
18946 (rint): Likewise.
18947 (rintf): Likewise.
18948 (ceil): Likewise.
18949 (ceilf): Likewise.
18950 (floor): Likewise.
18951 (floorf): Likewise.
18952 (nearbyint): Likewise.
18953 (nearbyintf): Likewise.
18954
d7b4fb26
TS
189552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18956
18957 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18958 non-default versions.
18959
eb55f5c2
RM
189602012-06-11 Roland McGrath <roland@hack.frob.com>
18961
18962 [BZ #14218]
18963 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18964
366af02c
TS
189652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18966
99ff6e5c
TS
18967 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18968 (FE_UPWARD, FE_DOWNWARD): Don't define.
18969 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18970 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18971
366af02c
TS
18972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18973 reading it.
18974 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18975 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18976
793ea851
KK
189772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18978
18979 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18981 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18982 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18983
a728a38f
L
189842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18985
18986 [BZ #14117]
c08010c7
L
18987 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18988 * sysdeps/i386/fpu/Implies: New file.
18989 * sysdeps/x86_64/fpu/Implies: Likewise.
18990 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18991 * sysdeps/x86/fpu/bits/fenv.h: This.
18992
a728a38f
L
18993 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18994 __SSE_MATH__.
18995
6e230d11
SP
189962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18997
18998 [BZ #14134]
18999 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19000 character 0xffff that matches the last element of the
19001 conversion table.
19002
1b671feb
AZ
190032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19004
19005 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19006 fmodl commit.
19007
6043738b
AZ
190082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19009
19010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19011 values higher than 25.6283.
19012
34ae0b32
AZ
190132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19014
19015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19016 subnormal exponent extraction and add some __builtin_expect.
19017 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19018 Fix for subnormal mantissa calculation.
19019
1214ec8f
MF
190202012-06-04 Mike Frysinger <vapier@gentoo.org>
19021
19022 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19023 cpu2 is -1 and errno is not ENOSYS.
19024
f3d1f93c
L
190252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19026
19027 [BZ #14117]
0e4a3cd7
L
19028 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19029 * sysdeps/x86/bits/string.h: This.
19030 * sysdeps/x86_64/bits/string.h: Removed.
19031
6704c645
L
19032 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19033 if not compiling for x86-64, but compiling for >= i486.
19034
48495318
L
19035 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19036 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19037
14adcbfc
L
19038 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19039 New macro from Linux kernel 3.4.0.
19040 (FP_XSTATE_MAGIC2): Likewise.
19041 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19042 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19043 (struct _fpx_sw_bytes): New struct.
19044 (struct _xsave_hdr): Likewise.
19045 (struct _ymmh_state): Likewise.
19046 (struct _xstate): Likewise.
19047
68e408ab
L
19048 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19049 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19051 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19052 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19053 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19054
f3d1f93c
L
19055 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19056 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19057 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19058 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19059 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19060 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19061
d9dc34cd
TMQMF
190622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19063
19064 [BZ #13743]
19065 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19066 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19067 (sysdep_headers): Include sys/platform/ppc.h.
19068 * sysdeps/powerpc/test-gettimebase.c: Test for
19069 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19070 * manual/Makefile (appendices): Include platform.texi.
19071 * manual/contrib.texi (Contributors): Update @node pointers.
19072 * manual/maint.texi (Maintenance): Likewise.
19073 (Platform): New node.
19074 * manual/platform.texi: New file. Document the new features.
19075
4af3879c
SP
190762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19077 Jakub Jelinek <jakub@redhat.com>
19078
19079 [BZ #14188]
19080 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19081 where __builtin_expect is unavailable.
19082
2fd6ff13
DM
190832012-06-03 David S. Miller <davem@davemloft.net>
19084
19085 * stdlib/longlong.h: Updated from GCC.
19086
173f7220
AS
190872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19088
19089 [BZ #14042]
19090 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19091 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19092 __mcount_internal.
19093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19094 (GLIBC_2.16): Likewise.
19095
f34a1c6f
L
190962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19097
19098 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19099
88a4576f
JM
191002012-06-01 Joseph Myers <joseph@codesourcery.com>
19101
ea32bcdd
JM
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19103 (default-abi): New variable.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19105 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19106 variable.
19107 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19108 Likewise.
19109 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19110 Likewise.
19111 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19112 Likewise.
19113
88a4576f
JM
19114 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19115 definition. Document in comment.
19116
402fe938
DM
191172012-06-01 David S. Miller <davem@davemloft.net>
19118
19119 * stdlib/longlong.h: Updated from GCC.
19120
3553723f
L
191212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19122
19123 [BZ #14117]
3bd872c4
L
19124 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19125 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19126 sys/debugreg.h sys/io.h here.
19127 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19128 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19129 sys/io.h.
19130 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19131 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19132 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19133 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19134 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19135 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19136
3553723f
L
19137 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19138 Define only if __x86_64__ is defined.
19139
4842e4fe
JM
191402012-06-01 Joseph Myers <joseph@codesourcery.com>
19141
c5bfe3d5
JM
19142 [BZ #14048]
19143 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19144 Use int64_t for variable i.
19145 * math/libm-test.inc (fmod_test): Add more tests.
19146
4842e4fe
JM
19147 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19148 z computation is not scheduled after fetestexcept.
19149 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19150 Use math_force_eval instead of asm to ensure calculation scheduled
19151 before exception test.
19152 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19153 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19154
efb73488
AJ
191552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19156
19157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19158 computation is not scheduled after fetestexcept.
19159
29bcce7c
L
191602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19161
19162 [BZ #14117]
19163 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19164 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19165
73a68f94
AZ
191662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19167
19168 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19169 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19170
67b6df78
L
191712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19172
edf2933a 19173 [BZ #14117]
ebc64a18
L
19174 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19175 <bits/wordsize.h>.
19176 (__WCHAR_MIN): Support __WORDSIZE == 64.
19177 (__WCHAR_MAX): Likewise.
19178
edf2933a
L
19179 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19180 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19181
57c6cf40
L
19182 [BZ #14183]
19183 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19184 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19185
67b6df78 19186 [BZ #14117]
8eb6281e
L
19187 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19188 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19189
aac639f4
L
19190 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19191 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19192
67b6df78
L
19193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19194 Defined to 1 if __x86_64__ isn't defined.
19195 (_STAT_VER_LINUX_OLD): New.
19196 (st_atime): Remove duplicate.
19197 (st_mtime): Likewise.
19198 (st_ctime): Likewise.
19199
1c2cfe81
DM
192002012-05-31 David S. Miller <davem@davemloft.net>
19201
19202 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19203 entries.
19204
5be8418c
AS
192052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19206
e7725326
AS
19207 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19208 gen-libm-test.pl.
19209
5be8418c
AS
19210 [BZ #14132]
19211 * elf/dl-reloc.c: Include <_itoa.h>.
19212 (_dl_reloc_bad_type): Remove use of INTUSE.
19213 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19214 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19215 * stdio-common/psiginfo.c (psiginfo): Likewise.
19216 * stdio-common/psignal.c (psignal): Likewise.
19217 * string/strsignal.c (strsignal): Likewise.
19218 * include/signal.h (_sys_siglist): Declare hidden proto.
19219 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19220 INTVARDEF with libc_hidden_data_def.
19221 * stdio-common/itoa-udigits.c: Likewise.
19222 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19223 (_itoa_lower_digits_internal): Remove declaration.
19224 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19225 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19226 (_sys_sigabbrev_internal): Remove aliases.
19227 (_sys_siglist): Define hidden alias.
19228
507352f1
MT
192292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19230
19231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19232 bits/sysctl.h.
19233
42bbb1c3
L
192342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 [BZ #14117]
6bd784b6
L
19237 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19238 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19239
8bca20f0
L
19240 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19241 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19242 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19243 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19245 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19246
f9e890a9
L
19247 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19248 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19249 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19250
471101a1
L
19251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19252 with __addr.
19253 (insw): Likewise.
19254 (insl): Likewise.
19255 (outsb): Likewise.
19256 (outsw): Likewise.
19257 (outsl): Likewise.
19258
6451c862
L
19259 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19260 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19261 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19262
a254b8c9
L
19263 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19264 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19265 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19266 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19267 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19268 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19269
b8dfdd92
L
19270 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19271 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19272
578cd270
L
19273 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19274 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19275
de662f5f
L
19276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19278 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19279
25653439
L
19280 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19281 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19282 to ...
19283 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19284
6bad24a0
L
19285 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19286 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19287 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19288
42bbb1c3
L
19289 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19290 for x86-64.
19291 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19292
2d10d547
JM
192932012-05-31 Joseph Myers <joseph@codesourcery.com>
19294
19295 * math/math.h (M_El): Use two more decimal places.
19296 (M_LOG2El): Likewise.
19297 (M_LOG10El): Likewise.
19298 (M_LN2l): Likewise.
19299 (M_LN10l): Likewise.
19300 (M_PIl): Likewise.
19301 (M_PI_2l): Likewise.
19302 (M_PI_4l): Likewise.
19303 (M_1_PIl): Likewise.
19304 (M_2_PIl): Likewise.
19305 (M_2_SQRTPIl): Likewise.
19306 (M_SQRT2l): Likewise.
19307 (M_SQRT1_2l): Likewise.
19308
f230c29b
DM
193092012-05-31 David S. Miller <davem@davemloft.net>
19310
19311 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19312 values between float registers.
19313 * sysdeps/sparc/sparc64/memset.S: Likewise.
19314 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19315
fed806c3
MF
193162012-05-31 Mike Frysinger <vapier@gentoo.org>
19317
19318 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19319 -D_FORTIFY_SOURCE=1.
19320 (CPPFLAGS-tst-longjmp_chk.c): Define.
19321 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19322 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19323 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19324 CFLAGS-tst-wchar-h.c.
19325
30917259
MP
193262012-05-31 Marek Polacek <polacek@redhat.com>
19327
19328 [BZ #14132]
19329 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19330 __endmntent_internal): Remove declaration.
19331 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19332 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19333 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19334
1c58d5dc
DM
193352012-05-30 David S. Miller <davem@davemloft.net>
19336
19337 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19338 (___Q_simulate_exceptions): Use real FP ops rather than writing
19339 into the %fsr.
19340 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19341 Likewise.
19342
7dc00e0d
L
193432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19344
19345 [BZ #14117]
0bd53985
L
19346 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19347 * sysdeps/x86/bits/xtitypes.h: This.
19348
3a257e66
L
19349 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19350 * sysdeps/x86/bits/wordsize.h: This.
19351
62f62904
L
19352 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19353 * sysdeps/x86/bits/huge_vall.h: This.
19354
404fe9d9
L
19355 * sysdeps/i386/bits/select.h: Removed.
19356 * sysdeps/x86_64/bits/select.h: Renamed to ...
19357 * sysdeps/x86/bits/select.h: This.
19358
d48d0446
L
19359 * sysdeps/i386/bits/setjmp.h: Removed.
19360 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19361 * sysdeps/x86/bits/setjmp.h: This.
19362
7dc00e0d
L
19363 * sysdeps/i386/bits/mathdef.h: Removed.
19364 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19365 * sysdeps/x86/bits/mathdef.h: This.
19366
03277f8f
AS
193672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19368
19369 [BZ #14132]
19370 * include/sys/socket.h (__connect_internal)
19371 (__libc_sa_len_internal): Remove declaration.
19372 (__connect, __libc_sa_len): Declare hidden_proto.
19373 (SA_LEN): Remove use of INTUSE.
19374 * socket/connect.c: Add libc_hidden_def.
19375 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19376 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19377 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19378 alias.
19379 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19381 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19382 of adding _internal alias.
19383
13764867
L
193842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 [BZ #14117]
6bd97696
L
19387 * sysdeps/i386/bits/link.h: Removed.
19388 * sysdeps/i386/bits/linkmap.h: Likewise.
19389 * sysdeps/x86_64/bits/link.h: Renamed to ...
19390 * sysdeps/x86/bits/link.h: This.
19391 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19392 * sysdeps/x86/bits/linkmap.h: This.
19393
f726f0bb
L
19394 * sysdeps/i386/bits/endian.h: Removed.
19395 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19396 * sysdeps/x86/bits/endian.h: This.
19397
13764867
L
19398 * sysdeps/i386/bits/byteswap.h: Removed.
19399 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19400 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19401 * sysdeps/x86/bits/byteswap.h: This.
19402 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19403 * sysdeps/x86/bits/byteswap-16.h: This.
19404 * sysdeps/i386/Implies: Add x86.
19405 * sysdeps/x86_64/Implies: Likewise.
19406
ae251b0b
DM
194072012-05-30 David S. Miller <davem@davemloft.net>
19408
19409 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19410 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19411 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19412 (FP_TRAPPING_EXCEPTIONS): Define.
19413 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19414 (FP_TRAPPING_EXCEPTIONS): Define.
19415 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19416 subnormals only when inexact has been signalled or underflow
19417 exceptions are enabled.
19418 (_FP_PACK_CANONICAL): Likewise.
19419
d5c90867
L
194202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19421
19422 [BZ #14183]
19423 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19424 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19425
63f1549e
RH
194262012-05-30 Richard Henderson <rth@twiddle.net>
19427
8d8f2279
RH
19428 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19429 with #ifndef NOT_IN_libc.
19430
63f1549e
RH
19431 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19432 marked to avoid plt entry.
19433
0ab0291b
L
194342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19435
19436 [BZ #14112]
19437 * Makeconfig (default-abi): New macro.
19438 (abi-includes): Likewise.
19439 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19440 $(abi-$(default-abi)-lib-soname) for soname if defined.
19441 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19442 abi-variants.
19443 * Makefile (installed-stubs): Likewise.
19444 * include/stubs-biarch.h: Removed.
19445 * scripts/lib-names.awk: Only handle one library at a time.
19446 * scripts/soversions.awk: Remove WORDSIZE support.
19447 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19448 entries.
19449 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19450 Removed.
19451 (syscall-list-default-condition): Likewise.
19452 (syscall-list-default-condition): Likewise.
19453 (syscall-list-includes): Likewise.
19454 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19455 syscall-list-* with abi-*. Handle undefined abi-variants.
19456 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19457 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19458 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19459 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19460 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19461 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19462 Removed.
19463 (syscall-list-32-options): Likewise.
19464 (syscall-list-32-condition): Likewise.
19465 (syscall-list-64-options): Likewise.
19466 (syscall-list-64-condition): Likewise.
19467 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19468 macro.
19469 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19470 Renamed to ...
19471 (abi-*): This.
19472 (abi-64-ld-soname): New macro.
19473 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19474 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19475 Renamed to ...
19476 (abi-*): This.
19477 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19478 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19479
4da0431d
JM
194802012-05-30 Joseph Myers <joseph@codesourcery.com>
19481
3a85279c
JM
19482 * sysdeps/unix/sysv/linux/kernel-features.h
19483 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19484 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19485 include <kernel-features.h>.
19486 [!__NR_ftruncate64]: Remove conditional code.
19487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19488 [__NR_ftruncate64]: Make code unconditional.
19489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19490 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19491 include <kernel-features.h>.
19492 [!__NR_ftruncate64]: Remove conditional code.
19493 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19494 [__NR_ftruncate64]: Make code unconditional.
19495 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19497 include <kernel-features.h>.
19498 [!__NR_ftruncate64]: Remove conditional code.
19499 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19500 [__NR_ftruncate64]: Make code unconditional.
19501 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19503 include <kernel-features.h>.
19504 [!__NR_ftruncate64]: Remove conditional code.
19505 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19506 [__NR_ftruncate64]: Make code unconditional.
19507 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19508
4da0431d
JM
19509 * configure.in (libc_cv_fpie): Weaken to a compile test using
19510 LIBC_TRY_CC_OPTION.
19511 * configure: Regenerated.
19512
11ef492c
AK
195132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19514
19515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19519 Refreshed.
19520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19526 Refreshed.
19527
d66ef399
DM
195282012-05-27 David S. Miller <davem@davemloft.net>
19529
19530 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19531 (___Q_zero): New.
19532 (__Q_simulate_exceptions): Return void. Change to simulate
19533 exceptions by writing into the %fsr.
19534 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19535 (__Qp_handle_exceptions): Likewise.
19536 (numbers): Delete.
19537 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19538 __Qp_handle_exceptions.
19539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19540 __Qp_handle_exceptions.
19541 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19542 as unused and give dummy FP_RND_NEAREST initializer.
19543 (FP_INHIBIT_RESULTS): Define.
19544 (___Q_simulate_exceptions): Update declaration.
19545 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19546 formatting.
19547 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19548 as unused and give dummy FP_RND_NEAREST initializer.
19549 (__Qp_handle_exceptions): Update declaration.
19550 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19551 formatting.
19552
04fb54b5
TS
195532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19554
19555 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19556 the temporary FPU control word.
19557 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19558 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19559 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19560 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19561 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19562 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19563 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19565 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19566 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19568
3f99608f
KK
195692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19570
19571 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19572 fields.
19573
65a4de4e
CLT
195742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19575
19576 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19577 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19578 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19579 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19580 Likewise.
19581 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19582 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19583 Likewise.
19584
15749d40
UD
195852012-05-27 Ulrich Drepper <drepper@gmail.com>
19586
19587 * po/h.po: Update from translation team.
19588
25dbcb27
AS
195892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19590
3d3f8e55
AS
19591 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19592
25dbcb27
AS
19593 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19594 handling of denormals.
19595 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19596 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19597 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19598 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19602 Likewise.
19603
7ad47a80 196042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19605
19606 [BZ #14152]
19607 * math/libm-test.inc (fma_test): Don't always expect underflow
19608 exception.
19609
9c6ea9fa
SP
196102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19611
19612 [BZ #12416]
19613 * elf/tst-execstack.c: Include stackinfo.h.
19614 (do_test): Adjust test case to ensure that pthread_getattr_np
19615 behaviour remains the same after marking stack executable.
19616
a8239222
JM
196172012-05-25 Joseph Myers <joseph@codesourcery.com>
19618
19619 * sysdeps/unix/sysv/linux/kernel-features.h
19620 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19621 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19622 kernel-features.h.
19623 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19624 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19625 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19626 kernel-features.h.
19627 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19628 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19629
918b5606
L
196302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19631
19632 * configure.in: Define the default includes to being none.
19633 * configure: Regenerated.
19634
3a097cc7
RM
196352012-05-25 Roland McGrath <roland@hack.frob.com>
19636
8422c9a5
RM
19637 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19638 * sysdeps/x86_64/setjmp.S: Likewise.
19639 * sysdeps/i386/bsd-setjmp.S: Likewise.
19640 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19641 * sysdeps/i386/setjmp.S: Likewise.
19642 * sysdeps/i386/__longjmp.S: Likewise.
19643 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19644 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19645
3a097cc7
RM
19646 * include/stap-probe.h: New file.
19647 * configure.in: Handle --enable-systemtap.
19648 * configure: Regenerated.
19649 * config.h.in (USE_STAP_PROBE): New #undef.
19650 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19651 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19652 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19653
21708942
JM
196542012-05-25 Joseph Myers <joseph@codesourcery.com>
19655
19656 [BZ #13717]
19657 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19658 to 2.4.0 where earlier.
19659 * sysdeps/unix/sysv/linux/configure: Regenerated.
19660 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19661 <kernel-features.h>.
19662 [__ASSUME_32BITUIDS]: Make code unconditional.
19663 [!__ASSUME_32BITUIDS]: Remove conditional code.
19664 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19665 <kernel-features.h>.
19666 [__ASSUME_32BITUIDS]: Make code unconditional.
19667 [!__ASSUME_32BITUIDS]: Remove conditional code.
19668 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19669 [__ASSUME_32BITUIDS]: Make code unconditional.
19670 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19671 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19672 <kernel-features.h>.
19673 [__ASSUME_32BITUIDS]: Make code unconditional.
19674 [!__ASSUME_32BITUIDS]: Remove conditional code.
19675 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19676 <kernel-features.h>.
19677 [__ASSUME_32BITUIDS]: Make code unconditional.
19678 [!__ASSUME_32BITUIDS]: Remove conditional code.
19679 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19680 <kernel-features.h>.
19681 [__ASSUME_32BITUIDS]: Make code unconditional.
19682 [!__ASSUME_32BITUIDS]: Remove conditional code.
19683 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19684 <kernel-features.h>.
19685 [__ASSUME_32BITUIDS]: Make code unconditional.
19686 [!__ASSUME_32BITUIDS]: Remove conditional code.
19687 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19688 <kernel-features.h>.
19689 [__ASSUME_32BITUIDS]: Make code unconditional.
19690 [!__ASSUME_32BITUIDS]: Remove conditional code.
19691 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19692 <kernel-features.h>.
19693 [__ASSUME_32BITUIDS]: Make code unconditional.
19694 [!__ASSUME_32BITUIDS]: Remove conditional code.
19695 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19696 <kernel-features.h>.
19697 [__ASSUME_32BITUIDS]: Make code unconditional.
19698 [!__ASSUME_32BITUIDS]: Remove conditional code.
19699 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19700 <kernel-features.h>.
19701 [__ASSUME_32BITUIDS]: Make code unconditional.
19702 [!__ASSUME_32BITUIDS]: Remove conditional code.
19703 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19704 <kernel-features.h>.
19705 [__ASSUME_32BITUIDS]: Make code unconditional.
19706 [!__ASSUME_32BITUIDS]: Remove conditional code.
19707 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19708 <kernel-features.h>.
19709 [__ASSUME_32BITUIDS]: Make code unconditional.
19710 [!__ASSUME_32BITUIDS]: Remove conditional code.
19711 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19712 <kernel-features.h>.
19713 [__NR_setresgid] (__setresgid): Do not declare.
19714 [__ASSUME_32BITUIDS]: Make code unconditional.
19715 [!__ASSUME_32BITUIDS]: Remove conditional code.
19716 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19717 <kernel-features.h>.
19718 [__NR_setresuid] (__setresuid): Do not declare.
19719 [__ASSUME_32BITUIDS]: Make code unconditional.
19720 [!__ASSUME_32BITUIDS]: Remove conditional code.
19721 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19722 <kernel-features.h>.
19723 [__ASSUME_32BITUIDS]: Make code unconditional.
19724 [!__ASSUME_32BITUIDS]: Remove conditional code.
19725 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19726 <kernel-features.h>.
19727 [__ASSUME_32BITUIDS]: Make code unconditional.
19728 [!__ASSUME_32BITUIDS]: Remove conditional code.
19729 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19730 <kernel-features.h>.
19731 [__ASSUME_32BITUIDS]: Make code unconditional.
19732 [!__ASSUME_32BITUIDS]: Remove conditional code.
19733 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19734 <kernel-features.h>.
19735 [__ASSUME_32BITUIDS]: Make code unconditional.
19736 [!__ASSUME_32BITUIDS]: Remove conditional code.
19737 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19738 <kernel-features.h>.
19739 [__ASSUME_32BITUIDS]: Make code unconditional.
19740 [!__ASSUME_32BITUIDS]: Remove conditional code.
19741 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19742 <kernel-features.h>.
19743 [__ASSUME_32BITUIDS]: Make code unconditional.
19744 [!__ASSUME_32BITUIDS]: Remove conditional code.
19745 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19746 <kernel-features.h>.
19747 [__ASSUME_32BITUIDS]: Make code unconditional.
19748 [!__ASSUME_32BITUIDS]: Remove conditional code.
19749 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19750 <kernel-features.h>.
19751 [__ASSUME_32BITUIDS]: Make code unconditional.
19752 [!__ASSUME_32BITUIDS]: Remove conditional code.
19753 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19754 <kernel-features.h>.
19755 [__ASSUME_32BITUIDS]: Make code unconditional.
19756 [!__ASSUME_32BITUIDS]: Remove conditional code.
19757 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19758 <kernel-features.h>.
19759 [__ASSUME_32BITUIDS]: Make code unconditional.
19760 [!__ASSUME_32BITUIDS]: Remove conditional code.
19761 * sysdeps/unix/sysv/linux/kernel-features.h
19762 (__ASSUME_SETRESUID_SYSCALL): Remove.
19763 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19764 (__ASSUME_32BITUIDS): Likewise.
19765 (__ASSUME_LDT_WORKS): Likewise.
19766 (__ASSUME_O_DIRECTORY): Likewise.
19767 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19768 architecture but not kernel version.
19769 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19770 (__ASSUME_MMAP2_SYSCALL): Likewise.
19771 (__ASSUME_STAT64_SYSCALL): Likewise.
19772 (__ASSUME_IPC64): Likewise.
19773 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19774 <kernel-features.h>.
19775 [__ASSUME_32BITUIDS]: Make code unconditional.
19776 [!__ASSUME_32BITUIDS]: Remove conditional code.
19777 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19778 <kernel-features.h>.
19779 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19780 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19781 132096]: Remove conditional code.
19782 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19783 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19784 <kernel-features.h>.
19785 [__ASSUME_32BITUIDS]: Make code unconditional.
19786 [!__ASSUME_32BITUIDS]: Remove conditional code.
19787 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19788 <kernel-features.h>.
19789 [__ASSUME_32BITUIDS]: Make code unconditional.
19790 [!__ASSUME_32BITUIDS]: Remove conditional code.
19791 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19792 <kernel-features.h>.
19793 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19794 unconditional.
19795 (__setresgid): Do not declare.
19796 [__ASSUME_32BITUIDS]: Make code unconditional.
19797 [!__ASSUME_32BITUIDS]: Remove conditional code.
19798 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19799 <kernel-features.h>.
19800 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19801 unconditional.
19802 (__setresuid): Do not declare.
19803 [__ASSUME_32BITUIDS]: Make code unconditional.
19804 [!__ASSUME_32BITUIDS]: Remove conditional code.
19805 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19806 <kernel-features.h>.
19807 [__ASSUME_32BITUIDS]: Make code unconditional.
19808 [!__ASSUME_32BITUIDS]: Remove conditional code.
19809 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19810 <kernel-features.h>.
19811 [__ASSUME_32BITUIDS]: Make code unconditional.
19812 [!__ASSUME_32BITUIDS]: Remove conditional code.
19813
a386f1cc
RH
198142012-05-25 Richard Henderson <rth@twiddle.net>
19815
19816 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19817 dl_hwcap to ifunc resolver.
19818 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19819 elf_ifunc_invoke.
19820 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19821 dl_hwcap to ifunc resolver.
19822 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19823
b6550497
JM
198242012-05-24 Joseph Myers <joseph@codesourcery.com>
19825
19826 [BZ #14153]
19827 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19828 for |x| <= 2**-26, not 2**-57.
19829 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19830 exception.
19831
b0bc23a1
JL
198322012-05-24 Jeff Law <law@redhat.com>
19833
19834 * stdio-common/Makefile (tests): Add bug25.
19835 * stdio-common/bug25.c: New test.
19836
347c92e9
L
198372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19838
19839 [BZ #13576]
19840 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19841 multiple of MALLOC_ALIGNMENT in size.
19842 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19843
6bcc8b3f
JM
198442012-05-24 Joseph Myers <joseph@codesourcery.com>
19845
19846 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19847 Require >= 256.
19848 (FILENAME_MAX): Use macro-int-constant.
19849 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19850 (_IOFBF): Use macro-int-constant.
19851 (_IOLBF): Likewise.
19852 (_IONBF): Likewise.
19853 (SEEK_CUR): Likewise.
19854 (SEEK_END): Likewise.
19855 (SEEK_SET): Likewise.
19856 (TMP_MAX): Likewise.
19857 (EOF): Use macro-int-constant. Require < 0.
19858 (NULL): Use macro-constant. Require == 0.
19859 (stdin): Require type to be FILE *.
19860 (stdout): Likewise.
19861 (stderr): Likewise.
19862 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19863 macro-int-constant.
19864 (EXIT_SUCCESS): Likewise.
19865 (NULL): Use macro-constant. Require == 0.
19866 (RAND_MAX): Use macro-int-constant.
19867 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19868 [C99-based standards] (strtof): Require function.
19869 [C99-based standards] (strtold): Likewise.
19870 [C99-based standards] (strtoll): Likewise.
19871 [C99-based standards] (strtoull): Likewise.
19872 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19873 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19874 [ISO || ISO99 || ISO11] (math.h): Likewise.
19875 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19876 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19878
d18ea0c5
AS
198792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19880
19881 [BZ #14132]
56d25bb8
AS
19882 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19883 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19884 * intl/dgettext.c (DCGETTEXT): Likewise.
19885 * intl/gettext.c (DCGETTEXT): Likewise.
19886 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19887 * posix/regex_internal.h (gettext): Likewise.
19888 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19889 Remove declaration.
19890 * include/argz.h (__argz_count_internal)
19891 (__argz_stringify_internal): Remove declaration.
19892 (__argz_count, __argz_stringify): Declare hidden proto.
19893 * intl/dcgettext.c: Remove use of INTDEF.
19894 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19895 * string/argz-stringify.c: Likewise.
19896 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19897 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19898 Declare hidden proto.
d18ea0c5
AS
19899 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19900 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19901 Declare hidden proto.
19902 * include/stdio.h (__asprintf_internal): Don't declare.
19903 (__asprintf): Don't define as macro. Declare hidden proto.
19904 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19905 (__fsetlocking): Declare hidden proto.
19906 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19907 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19908 hidden proto.
19909 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19910 (_IO_setlinebuf): Remove use of INTUSE.
19911 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19912 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19913 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19914 Remove declaration.
19915 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19916 (_IO_do_flush): Remove use of INTUSE.
19917 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19918 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19919 (_IO_adjust_column, _IO_least_wmarker)
19920 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19921 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19922 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19923 (_IO_default_doallocate, _IO_wdefault_doallocate)
19924 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19925 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19926 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19927 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19928 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19929 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19930 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19931 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19932 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19933 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19934 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19935 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19936 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19937 proto.
19938 (_IO_flush_all_internal, _IO_adjust_column_internal)
19939 (_IO_default_uflow_internal, _IO_default_finish_internal)
19940 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19941 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19942 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19943 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19944 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19945 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19946 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19947 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19948 (_IO_file_close_internal, _IO_file_close_it_internal)
19949 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19950 (_IO_file_init_internal, _IO_file_attach_internal)
19951 (_IO_file_fopen_internal, _IO_file_read_internal)
19952 (_IO_file_sync_internal, _IO_file_seek_internal)
19953 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19954 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19955 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19956 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19957 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19958 (_IO_list_all_internal, _IO_link_in_internal)
19959 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19960 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19961 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19962 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19963 (_IO_do_write_internal, _IO_padn_internal)
19964 (_IO_getline_info_internal, _IO_getline_internal)
19965 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19966 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19967 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19968 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19969 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19970 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19971 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19972 with libc_hidden_ver, remove use of INTUSE.
19973 * libio/genops.c: Likewise.
19974 * libio/freopen.c: Likewise.
19975 * libio/freopen64.c: Likewise.
19976 * libio/iofclose.c: Likewise.
19977 * libio/iofdopen.c: Likewise.
19978 * libio/iofflush.c: Likewise.
19979 * libio/iofflush_u.c: Likewise.
19980 * libio/iofgets.c: Likewise.
19981 * libio/iofgets_u.c: Likewise.
19982 * libio/iofopen.c: Likewise.
19983 * libio/iofopncook.c: Likewise.
19984 * libio/iofread.c: Likewise.
19985 * libio/iofread_u.c: Likewise.
19986 * libio/ioftell.c: Likewise.
19987 * libio/iofwrite.c: Likewise.
19988 * libio/iogetline.c: Likewise.
19989 * libio/iogets.c: Likewise.
19990 * libio/iogetwline.c: Likewise.
19991 * libio/iopadn.c: Likewise.
19992 * libio/iopopen.c: Likewise.
19993 * libio/ioseekoff.c: Likewise.
19994 * libio/ioseekpos.c: Likewise.
19995 * libio/iosetbuffer.c: Likewise.
19996 * libio/iosetvbuf.c: Likewise.
19997 * libio/ioungetc.c: Likewise.
19998 * libio/ioungetwc.c: Likewise.
19999 * libio/iovdprintf.c: Likewise.
20000 * libio/iovsprintf.c: Likewise.
20001 * libio/iovsscanf.c: Likewise.
20002 * libio/memstream.c: Likewise.
20003 * libio/obprintf.c: Likewise.
20004 * libio/oldfileops.c: Likewise.
20005 * libio/oldiofclose.c: Likewise.
20006 * libio/oldiofdopen.c: Likewise.
20007 * libio/oldiofopen.c: Likewise.
20008 * libio/oldiopopen.c: Likewise.
20009 * libio/oldstdfiles.c: Likewise.
20010 * libio/putc.c: Likewise.
20011 * libio/setbuf.c: Likewise.
20012 * libio/setlinebuf.c: Likewise.
20013 * libio/stdfiles.c: Likewise.
20014 * libio/strops.c: Likewise.
20015 * libio/vasprintf.c: Likewise.
20016 * libio/vscanf.c: Likewise.
20017 * libio/vsnprintf.c: Likewise.
20018 * libio/vswprintf.c: Likewise.
20019 * libio/wfiledoalloc.c: Likewise.
20020 * libio/wfileops.c: Likewise.
20021 * libio/wgenops.c: Likewise.
20022 * libio/wmemstream.c: Likewise.
20023 * libio/wstrops.c: Likewise.
20024 * libio/__fpurge.c: Likewise.
20025 * libio/__fsetlocking.c: Likewise.
20026 * assert/assert.c: Likewise.
20027 * debug/fgets_chk.c: Likewise.
20028 * debug/fgets_u_chk.c: Likewise.
20029 * debug/fread_chk.c: Likewise.
20030 * debug/fread_u_chk.c: Likewise.
20031 * debug/gets_chk.c: Likewise.
20032 * debug/obprintf_chk.c: Likewise.
20033 * debug/vasprintf_chk.c: Likewise.
20034 * debug/vdprintf_chk.c: Likewise.
20035 * debug/vsnprintf_chk.c: Likewise.
20036 * debug/vsprintf_chk.c: Likewise.
20037 * malloc/mtrace.c: Likewise.
20038 * misc/error.c: Likewise.
20039 * misc/syslog.c: Likewise.
20040 * stdio-common/asprintf.c: Likewise.
20041 * stdio-common/fxprintf.c: Likewise.
20042 * stdio-common/getw.c: Likewise.
20043 * stdio-common/isoc99_fscanf.c: Likewise.
20044 * stdio-common/isoc99_scanf.c: Likewise.
20045 * stdio-common/isoc99_vfscanf.c: Likewise.
20046 * stdio-common/isoc99_vscanf.c: Likewise.
20047 * stdio-common/isoc99_vsscanf.c: Likewise.
20048 * stdio-common/printf-prs.c: Likewise.
20049 * stdio-common/printf_fp.c: Likewise.
20050 * stdio-common/printf_fphex.c: Likewise.
20051 * stdio-common/printf_size.c: Likewise.
20052 * stdio-common/putw.c: Likewise.
20053 * stdio-common/scanf.c: Likewise.
20054 * stdio-common/sprintf.c: Likewise.
20055 * stdio-common/tmpfile.c: Likewise.
20056 * stdio-common/vfprintf.c: Likewise.
20057 * stdio-common/vfscanf.c: Likewise.
20058 * stdlib/strfmon_l.c: Likewise.
20059 * sunrpc/openchild.c: Likewise.
20060 * sunrpc/xdr_stdio.c: Likewise.
20061 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20062 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20063
d6c33fda
RM
200642012-05-24 Roland McGrath <roland@hack.frob.com>
20065
c1487492
RM
20066 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20067
20068 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20069 in the third column, to generate for the shared library an IFUNC
20070 that uses _dl_vdso_vsym.
20071 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20072 * Makeconfig (object-suffixes-noshared): New variable.
20073
20074 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20075 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20076 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20077 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20078
d6c33fda
RM
20079 [BZ #14132]
20080 * include/sys/time.h (__gettimeofday): Remove macro.
20081 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20082 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20083 Remove INTDEF.
20084 (__gettimeofday): Add libc_hidden_def.
20085 (gettimeofday): Add libc_hidden_weak.
20086 * sysdeps/mach/gettimeofday.c: Likewise.
20087 * sysdeps/posix/gettimeofday.c: Likewise.
20088 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20089 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20091 (__gettimeofday_internal): Remove strong_alias.
20092 (__gettimeofday): Add libc_hidden_def.
20093 (gettimeofday): Add libc_hidden_weak.
20094 * sysdeps/unix/syscalls.list (gettimeofday):
20095 Remove __gettimeofday_internal alias.
20096
b5a2bbe6
L
200972012-05-24 Daniel Jacobowitz <drow@false.org>
20098 H.J. Lu <hongjiu.lu@intel.com>
20099
20100 [BZ #12495]
20101 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20102 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20103 (largebin_index_32_big): New.
20104 (largebin_index): Use it for 16-byte alignment.
20105 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20106 correction with front_misalign.
20107
cfba4fda
L
201082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20109
7f907421
L
20110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20112 Likewise.
20113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20114 Likewise.
20115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20116 Likewise.
20117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20118 Likewise.
20119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20120 Likewise.
20121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20122 Likewise.
20123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20124 Likewise.
20125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20126 Likewise.
20127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20128 Likewise.
20129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20130 Likewise.
20131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20132 Likewise.
20133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20134 Likewise.
20135
cfba4fda
L
20136 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20137 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20138
80bad0cc
JM
201392012-05-24 Joseph Myers <joseph@codesourcery.com>
20140
7a25eb06
JM
20141 [BZ #10846]
20142 [BZ #14036]
20143 * math/libm-test.inc (exp_test): Add test from bug 14036.
20144 (pow_test): Add test from bug 10846.
20145
795405f9
JM
20146 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20147 and other flags.
20148 (special_function): Do not include flags in test name.
20149 (parse_args): Likewise.
20150 * sysdeps/i386/fpu/libm-test-ulps: Update.
20151 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20152 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20155
80bad0cc
JM
20156 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20157 exceptions.
20158 * math/libm-test.inc ("Philosophy"): Update comment about
20159 exception testing.
20160 (UNDERFLOW_EXCEPTION): New macro.
20161 (UNDERFLOW_EXCEPTION_OK): Likewise.
20162 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20163 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20164 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20165 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20166 (INVALID_EXCEPTION_OK): Update value.
20167 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20168 (OVERFLOW_EXCEPTION_OK): Likewise.
20169 (IGNORE_ZERO_INF_SIGN): Likewise.
20170 (test_exceptions): Handle underflow exceptions.
20171 (acos_test): Update for underflow exception expectations.
20172 (cexp_test): Likewise.
20173 (clog_test): Likewise.
20174 (clog10_test): Likewise.
20175 (csqrt_test): Likewise.
20176 (ctan_test): Likewise.
20177 (ctanh_test): Likewise.
20178 (exp_test): Likewise.
20179 (exp10_test): Likewise.
20180 (exp2_test): Likewise.
20181 (expm1_test): Likewise.
20182 (fma_test): Likewise.
20183 (j0_test): Likewise.
20184 (jn_test): Likewise.
20185 (nexttoward_test): Likewise.
20186 (pow_test): Likewise.
20187 (scalbn_test): Likewise.
20188 (scalbln_test): Likewise.
20189 (tan_test): Likewise.
20190 (y1_test): Likewise.
20191 * sysdeps/i386/fpu/libm-test-ulps: Update.
20192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20193
9e0e3d0b
DM
201942012-05-23 David S. Miller <davem@davemloft.net>
20195
20196 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20197 (__libc_sigaction): Remove unused local variables.
20198
ccd0a08f
L
201992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20200
20201 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20202
62bdf9a6
PE
202032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20204
f8591f80
PE
20205 mktime: avoid signed integer overflow
20206 * time/mktime.c (__mktime_internal): Do not mishandle the case
20207 where diff == INT_MIN.
20208
94c7d826
PE
20209 mktime: simplify computation of average
20210 * time/mktime.c (ranged_convert): Use new time_t_avg function
20211 instead of rolling our own (probably-slower) code.
20212
ce73d683
PE
20213 mktime: do not assume signed right shift propagates sign bit
20214 * time/mktime.c (isdst_differ): New static function.
20215 (__mktime_internal): No need to normalize tm_isdst now.
20216 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20217 tm_isdst values.
20218
72a22e59
PE
20219 mktime: merge another wrapv change from gnulib
20220 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20221 from some compilers.
20222
68605433
PE
20223 mktime: remove incorrect attempt at unusual arithmetics
20224 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20225 The code didn't really work on such machines anyway.
20226 (TYPE_MINIMUM): Assume two's complement.
20227 (twos_complement_arithmetic): Verify that long_int and time_t
20228 are two's complement (or unsigned, in the latter case).
20229
03cf7fe3
PE
20230 mktime: check signed shifts on long_int and time_t, too
20231 * time/mktime.c (SHR): Check that shifts work as desired
20232 on the types long_int and time_t too, as SHR is used on
20233 such types.
20234
f04dfbc2
PE
20235 mktime: do not assume 'long' is wide enough
20236 * time/mktime.c (verify): Move decl up.
20237 (long_int): New type.
20238 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20239 to remove assumption in the code that 'long' is wide enough to
20240 store year values. This assumption is not true on x32 and on
20241 some non-glibc platforms.
20242
62bdf9a6
PE
20243 mktime: merge wrapv change from gnulib
20244 * time/mktime.c (WRAPV): New macro.
20245 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20246 (guess_time_tm, __mktime_internal): Do not assume that signed
20247 integer overflow wraps around; modern compilers generate code
20248 where this assumption is no longer valid.
20249
5e292e4f
L
202502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20251
20252 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20253 Replace "jmp L(pseudo_end)" with "ret".
20254 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20255 Likewise.
20256
8caf8c87
AJ
202572012-05-23 Andreas Jaeger <aj@suse.de>
20258
20259 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20260 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20261
1a09dc56
AJ
202622012-05-23 Andreas Jaeger <aj@suse.de>
20263 Maximilian Attems <max@stro.at>
20264
20265 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20266 New macros.
20267
1c87aba0
L
202682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20269
20270 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20271 code so that pseudo_end is just ret and the stack pointer is
20272 correct also for static library in error case.
20273
40e45bd5
JM
202742012-05-23 Joseph Myers <joseph@codesourcery.com>
20275
c2670533
JM
20276 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20277 move to syscalls.list.
20278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20282
40e45bd5
JM
20283 * manual/install.texi (Running make install): Do not mention Linux
20284 kernel version for which pt_chown is not needed.
20285 (Linux): Do not mention problems with nscd with 2.0 kernels.
20286 * INSTALL: Regenerated.
20287
be08eda5
AJ
202882012-05-23 Andreas Jaeger <aj@suse.de>
20289
20290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20291 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20292 macro.
20293 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20294 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20295 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20296 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20297 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20298 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20300 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20301 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20302 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20303 * sysdeps/unix/sysv/linux/bits/in.h
20304 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20305
a6a056bb
RM
203062012-05-22 Roland McGrath <roland@hack.frob.com>
20307
20308 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20309 (PREPARE_VERSION): Just use assert instead, it will be elided
20310 under [NDEBUG] anyway.
20311
c9009328
L
203122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20313
20314 * sysdeps/unix/sysv/linux/Makefile: Include
20315 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20316 (sysdep_routines): Remove sysctl.
c9009328
L
20317 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20318 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20319 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20320 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20321 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20322
73338355
AJ
203232012-05-22 Andreas Jaeger <aj@suse.de>
20324
20325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20326 that pseudo_end is just ret and the stack pointer is correct also
20327 for static library in error case.
20328
d44638b0
PP
203292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20330
20331 [BZ #14122]
20332 * nss/nsswitch.c (defconfig_entries): New variable.
20333 (__nss_database_lookup): Don't leak defconfig entries.
20334 (nss_parse_service_list): Don't leak on error paths.
20335 (free_database_entries): New function.
20336 (free_defconfig): New function.
20337 (free_mem): Move common code to free_database_entries.
20338
31a39bd8
L
203392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20340
da0331a8
L
20341 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20342 Add arch_prctl.
20343 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20344
31a39bd8
L
20345 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20346 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20348 New macro.
20349 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20350 (INTERNAL_SYSCALL_TYPES): Likewise.
20351 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20352 (LOAD_REGS_TYPES_[1-6]): Likewise.
20353 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20354 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20355
45470df3
AZ
203562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20357
20358 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20359 copysignl for GLIBC_2_0.
20360 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20361 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20363 logbl for GLIBC_2_0.
20364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20365 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20366
98a61bcb
L
203672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20368
a4f6e481
L
20369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20370 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20371
f63d5db6
L
20372 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20373 Use "neg %eax".
20374
98a61bcb
L
20375 * time/mktime.c: Update copyright years.
20376
95770f14
PE
203772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20378
6226efbd
PE
20379 mktime: merge comment-quoting-style change from gnulib
20380 * time/mktime.c: Quote 'like this' in comments.
20381 The GNU coding standards suggest that we no longer quote `like this',
20382 as "`" and "'" are typically rendered asymmetrically nowadays.
20383 The typical gnulib style is to quote 'like this' when quoting
20384 code, and "like this" when quoting English.
20385
b99e4f78
PE
20386 * time/mktime.c (compile-command): Add "-I.".
20387
643e01e6
PE
20388 mktime: merge mktime-internal.h change from gnulib
20389 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20390
2554247d
PE
20391 mktime: merge time_r change from gnulib
20392 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20393
826dd0ab
PE
20394 mktime: merge DEBUG change from gnulib
20395 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20396 case system <time.h> has a #define.
20397
bd83aabe
PE
20398 mktime: merge <sys/types.h> change from gnulib
20399 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20400 since <time.t> is now guaranteed to define time_t.
20401
95770f14
PE
20402 mktime: merge HAVE_CONFIG_H change from gnulib
20403 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20404
5e1a27a9
L
204052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20406
0e44a77e
L
20407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20408 Use "neg %eax".
20409
5e1a27a9
L
20410 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20411 __rlim_t cast.
20412 (struct rusage): Use anonymous union to pad each field to
20413 __syscall_slong_t.
20414
46259bec
DM
204152012-05-21 David S. Miller <davem@davemloft.net>
20416
20417 * Makefules (o-iterator): Remove .s cases.
20418 (compile-command.s): Delete.
20419 (COMPILE.s): Delete.
20420 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20421
59f0c22e
JM
204222012-05-21 Joseph Myers <joseph@codesourcery.com>
20423
20424 * configure.in (libc_cv_predef_stack_protector): Only consider
20425 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20426 * configure: Regenerated.
20427
20c07380
L
204282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20429
bbb3154b
L
20430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20431 New macro. Use R*LP on int and pointer.
20432 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20433 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20434 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20435 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20436
20c07380
L
20437 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20438 [__WORDSIZE_TIME64_COMPAT32] instead of
20439 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20440 (struct utmp): Likewise.
20441 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20442 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20443 Renamed to ...
20444 (__WORDSIZE_TIME64_COMPAT32): This.
20445 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20446 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20447 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20448 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20449 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20450 (__WORDSIZE_TIME64_COMPAT32): New macro.
20451
d8d1017e
AJ
204522012-05-21 Andreas Jaeger <aj@suse.de>
20453
20454 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20455 only if [SHARED]. Add prototype for __wcschr_ia32.
20456
6c7fb145
RM
204572012-05-21 Roland McGrath <roland@hack.frob.com>
20458
20459 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20460 of %rbp unmolested in the jmp_buf while mangling the low bits.
20461 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20462 unmolested high bits of %rbp while demangling the low bits.
20463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20464
66274218
AJ
204652012-05-21 Andreas Jaeger <aj@suse.de>
20466
07c58f8f
AJ
20467 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20468 * sunrpc/svc_simple.c: Use it for registerrpc.
20469 * sunrpc/xcrypt.c: Use it for passwd2des.
20470
66274218
AJ
20471 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20472
61f65140
L
204732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20474
20475 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20476 Don't define if [__SYSCALL_WORDSIZE != 32].
20477 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20478 New macro.
20479
5fefb436
AJ
204802012-05-21 Bruno Haible <bruno@clisp.org>
20481 Andreas Jaeger <aj@suse.de>
20482
20483 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20484 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20485 inptr and inend for must_buffer_ch.
20486 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20487 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20488 * stdio-common/Makefile (tests): Remove bug15.
20489 (bug15-ENV): Remove macro.
20490 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20491 anymore.
20492
d8e272ab
AJ
204932012-05-19 Andreas Jaeger <aj@suse.de>
20494 Roland McGrath <roland@hack.frob.com>
20495
20496 * manual/contrib.texi: Completely rewritten. It contains now an
20497 alphabetical list of contributors and their contributions.
20498
4a56a162
RH
204992012-05-21 Richard Henderson <rth@twiddle.net>
20500
20501 * misc/getauxval.c (__getauxval): Use unsigned long int.
20502 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20503 (getauxval): Use unsigned long int.
20504
d024d23c
L
205052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20506
20507 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20508
cbc00a03
RM
205092012-05-21 Roland McGrath <roland@hack.frob.com>
20510
20511 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20512 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20513 __alignof__ (long double).
20514
478143fa
AZ
205152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20516
20517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20518
c7683a6d
RH
205192012-05-20 Richard Henderson <rth@twiddle.net>
20520
20521 * misc/getauxval.c: New file.
20522 * misc/sys/auxv.h: New file.
20523 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20524 (routines): Add getauxval.
20525 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20526 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20527 * elf/dl-sysdep.c (_dl_auxv): Remove.
20528 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20529 * elf/dl-support.c (_dl_auxv): New variable.
20530 (_dl_aux_init): Initialize it.
20531 * manual/startup.texi (Auxiliary Vector): New node.
20532 * sysdeps/generic/bits/hwcap.h: New file.
20533 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20534 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20535 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20536 * sysdeps/sparc/sysdep.h: ... here. Include it.
20537 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20538 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20540 Update.
c7683a6d
RH
20541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20549
a6f1845d
AZ
205502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20551
20552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20553
cbcbe830
DM
205542012-05-19 David S. Miller <davem@davemloft.net>
20555
20556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20557
e0b16cc2
JM
205582012-05-19 Joseph Myers <joseph@codesourcery.com>
20559
20560 [BZ #14123]
20561 * math/s_ccosh.c: Include <float.h>
20562 (__ccosh): Avoid internal overflow calculating sinh and cosh
20563 values before multiplying by sin and cos values.
20564 * math/s_ccoshf.c: Likewise.
20565 * math/s_ccoshl.c: Likewise.
20566 * math/s_csin.c: Likewise.
20567 * math/s_csinf.c: Likewise.
20568 * math/s_csinl.c: Likewise.
20569 * math/s_csinh.c: Likewise.
20570 * math/s_csinhf.c: Likewise.
20571 * math/s_csinhl.c: Likewise.
20572 * math/libm-test.inc (ccos_test): Add more tests.
20573 (ccosh_test): Likewise.
20574 (csin_test): Likewise.
20575 (csinh_test): Likewise.
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578
6ad13e08
L
205792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20580
f66f0ce8
L
20581 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20582 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20583
6ad13e08
L
20584 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20585
b1d072a7
JM
205862012-05-19 Joseph Myers <joseph@codesourcery.com>
20587
20588 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20589 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20590 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20591 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20592 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20593 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20594 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20595 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20596 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20597 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20598 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20599 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20600 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20601 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20602 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20603 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20604 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20605 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20606 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20607 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20608 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20609 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20610 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20611 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20612 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20613 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20614 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20615 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20616 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20617 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20618 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20619
9eae47cb
AJ
206202012-05-18 Andreas Jaeger <aj@suse.de>
20621
20622 * csu/.gitignore: Delete.
20623
bb07f69f
L
206242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20625
20626 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20627 (timex): Use __syscall_slong_t.
20628
e6bdb741
AJ
206292012-05-18 Andreas Jaeger <aj@suse.de>
20630 Carlos O'Donell <carlos_odonell@mentor.com>
20631
20632 * manual/install.texi (Configuring and compiling): Update
20633 description about files modified in the source directory.
d6c33fda 20634 * INSTALL: Regenerated.
e6bdb741 20635
1b74487e
L
206362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20637
20638 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20639 value. Use "or" to set return value to -1.
20640 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20641 negate return value.
20642
a88b64b9
TMQMF
206432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20644
20645 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20646 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20647 failure if the compiler has Graphite support disabled.
20648 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20649 Likewise.
20650 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20651 CFLAGS-memmove.c): Likewise.
20652 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20653 Likewise.
20654
3707636e
L
206552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20656
610b8622
L
20657 * sysdeps/x86_64/x32/_itoa.h: New file.
20658
7cd195df
L
20659 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20660 getdents system call only if kernel and user dirents have the
20661 same d_ino and d_off.
20662
94b07d20
L
20663 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20664 LLONG_MAX != LONG_MAX.
20665 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20666 (_fitoa_word): Likewise.
20667
18298070
L
20668 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20669 years.
20670 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20671 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20673
553c7ea4
L
20674 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20675 include <bits/wordsize.h>. Check __x86_64__ instead of
20676 __WORDSIZE.
20677 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20678 if __x86_64__ is defined. Use anonymous union on fpstate.
20679
3707636e
L
20680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20681 anonymous union.
20682
b53ef01a
AS
206832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20684
37fb1dc0
AS
20685 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20686 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20687 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20688 Refer to _rtld_local_ro instead of _rtld_global_ro.
20689 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20690 Likewise.
20691 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20692 Likewise.
20693 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20694 Likewise.
20695 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20696 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20697 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20698
b53ef01a
AS
20699 * sysdeps/powerpc/powerpc32/dl-machine.c
20700 (__elf_machine_runtime_setup) [PROF]: Don't reference
20701 _dl_prof_resolve.
20702
7a185db2
AJ
207032012-05-18 Andreas Jaeger <aj@suse.de>
20704
20705 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20706 function only available for GCCs before 3.4 since GCC 3.4
20707 introduced a builtin.
20708 (lrint): Likewise.
20709 (llrintf): Likewise.
20710 (llrint): Likewise.
20711 (fmaxf): Likewise.
20712 (fmax): Likewise.
20713 (fminf): Likewise.
20714 (fmin): Likewise.
20715 (rint): Likewise.
20716 (rintf): Likewise.
20717 (nearbyint): Likewise.
20718 (nearbyintf): Likewise.
20719 (ceil): Likewise.
20720 (ceilf): Likewise.
20721 (floor): Likewise.
20722 (floorf): Likewise.
20723
3e5aef87
L
207242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20725
428bd707
L
20726 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20727 on both fields and cast pointer to __syscall_ulong_t.
20728
3e5aef87
L
20729 * bits/types.h (__fsword_t): New type.
20730 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20731 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20733 (__FSWORD_T_TYPE): Likewise.
20734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20735 (__FSWORD_T_TYPE): Likewise.
20736 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20737 (__FSWORD_T_TYPE): Likewise.
20738 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20739 (__FSWORD_T_TYPE): Likewise.
20740 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20741 __SWORD_TYPE with __fsword_t.
20742 (statfs64): Likewise.
20743
1ba7c3dc
DM
207442012-05-17 David S. Miller <davem@davemloft.net>
20745
20746 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20747
59910343
AJ
207482012-05-17 Andreas Jaeger <aj@suse.de>
20749
20750 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20751 warning.
20752
2e4c1e9e
L
207532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20754
20755 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20756
de7f5ce7
AJ
207572012-05-17 Andreas Jaeger <aj@suse.de>
20758
20759 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20760 when it is used.
20761
286abc3d
CM
207622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20763
20764 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20765
477cc68e
L
207662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20767
20768 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20769 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20770
1a0994f5
CD
207712012-05-17 Andreas Jaeger <aj@suse.de>
20772 Carlos O'Donell <carlos_odonell@mentor.com>
20773
20774 [BZ #14059]
20775 * sysdeps/x86_64/multiarch/init-arch.h
20776 (bit_YMM_Usable): Rename to...
20777 (bit_AVX_Usable): ... this.
20778 (bit_FMA4_Usable): New macro.
20779 (bit_XMM_state): New macro.
20780 (bit_YMM_state): New macro.
20781 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20782 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20783 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20784 (CPUID_OSXSAVE): New macro.
20785 (CPUID_AVX): New macro.
20786 (CPUID_FMA4): New macro.
20787 (index_YMM_Usable): Rename to...
20788 (index_AVX_Usable): ... this.
20789 (HAS_AVX): Use HAS_ARCH_FEATURE.
20790 (HAS_FMA4): Likewise.
20791 (HAS_YMM_USABLE): Remove.
20792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20793 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20794 are present.
20795 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20796 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20797 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20798 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20799 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20800
0af797de
CM
208012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20802
20803 * math/libm-test.c: Support platforms without multiple rounding modes.
20804 * math/bug-nextafter.c: Support platforms without FP exceptions.
20805 * math/bug-nexttoward.c: Likewise.
20806 * math/test-fenv.c: Likewise.
20807 * math/test-misc.c: Likewise.
20808 * stdlib/bug-getcontext.c: Likewise.
20809
e39745ff
AJ
208102012-05-17 Andreas Jaeger <aj@suse.de>
20811
20812 * manual/examples/search.c (critter_cmp): Change signature to
20813 avoid warnings.
20814 * manual/string.texi (Collation Functions): Likewise.
20815
48970aba
L
208162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20817
20818 * bits/types.h: Fold copyright years.
20819 * bits/typesizes.h: Likewise.
20820 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20821 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20824 * time/time.h: Likewise.
20825
bedee953
PP
208262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20827
20828 [BZ #208]
20829 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20830 in instead of returning them. Return void.
20831 (__libc_mallinfo): Accumulate over all arenas.
20832 (__malloc_stats): Adjust for change in int_mallinfo interface.
20833
61653dfb
RM
208342012-05-16 Roland McGrath <roland@hack.frob.com>
20835
30b99d79
RM
20836 [BZ #10375]
20837 * configure.in (NM): Add AC_CHECK_TOOL for it.
20838 (libc_extra_cflags): New substituted variable.
20839 Check for -fstack-protector being used implicitly.
20840 * configure: Regenerated.
20841 * config.make.in (config-extra-cflags): New variable,
20842 gets @libc_extra_cflags@.
20843 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20844
61653dfb
RM
20845 [BZ #10375]
20846 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20847 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20848 * configure: Regenerated.
20849 * config.make.in (CPPUNDEFS): New substituted variable.
20850 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20851 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20852 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20853
661768bb
L
208542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20855
20856 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20857 (mq_attr): Use __syscall_slong_t.
20858
d4261567
L
208592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20862 Check __x86_64__ instead of __WORDSIZE.
20863 (_STAT_VER_LINUX): Likewise.
20864 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20865 __syscall_ulong_t and __syscall_slong_t.
20866 (stat64): Likewise.
20867
cf3ff365
L
208682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20869
20870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20871
76cf3e4d
L
208722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20873
20874 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20875
a637753a
L
208762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20879 __syscall_ulong_t.
20880
d5e05119
L
20881 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20882 include <bits/wordsize.h>. Check __x86_64__ instead of
20883 __WORDSIZE.
20884 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20885 defined.
20886 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20887
f62ee380
L
20888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20889 include <bits/wordsize.h>. Check __x86_64__ instead of
20890 __WORDSIZE.
20891 (user_regs_struct): Use "__extension__ unsigned long long"
20892 instead of "unsigned long" if __x86_64__ is defined.
20893 (user): Likewise. Pad after pointer field if __ILP32__ is
20894 defined.
20895
4e124ced
JM
208962012-05-16 Joseph Myers <joseph@codesourcery.com>
20897
6a3951a0
JM
20898 * configure.in (makeinfo): Require version 4.5 or later. Allow
20899 versions 5 to 9.
20900 * configure: Regenerated.
20901 * manual/install.texi (texinfo): Increase version requirement to
20902 4.5 or later.
20903 * INSTALL: Regenerated.
20904
4e124ced
JM
20905 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20906
953ca31a
L
209072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20908
20909 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20910
617aca05
L
20911 * sysdeps/x86_64/x32/ffs.c: New file.
20912
5762f7ae
L
20913 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20914 __syscall_ulong_t.
20915 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20916 defined. Use __syscall_ulong_t.
20917 (shminfo): Use __syscall_ulong_t.
20918 (shm_info): Likewise.
20919
a26b6856
L
20920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20921 __syscall_ulong_t.
20922
cb2b9ef7
L
20923 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20924 <bits/wordsize.h>.
20925 (msgqnum_t): Use __syscall_ulong_t.
20926 (msglen_t): Likewise.
20927 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20928 __syscall_ulong_t.
20929
34683bb0
L
20930 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20931 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20932
84a68786
L
20933 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20934
48baa5f1
L
20935 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20936 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20937
180be88b
L
20938 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20939 __syscall_slong_t.
20940
5e90c8ad
L
20941 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20942 include <bits/wordsize.h>. Check __x86_64__ instead of
20943 __WORDSIZE.
20944
23dfb58b
L
20945 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20946 "unsigned long long int" if __x86_64__ is defined.
20947 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20948
ce5d54b0
L
20949 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20950 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20951 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20952
13dc9eac
L
20953 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20954 <stdint.h>.
20955 (GET_PC): Cast to uintptr_t first.
20956 (GET_FRAME): Likewise.
20957 (GET_STACK): Likewise.
20958
a7895d15
L
20959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20960 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20961 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20962 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20963 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20964 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20965 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20966 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20967 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20968 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20969 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20970 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20971 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20972 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20974 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20975 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20976 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20977 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20979 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20980 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20981 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20982 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20983 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20984 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20985 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20988
656416c9
AS
209892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20990
5bd66283
AS
20991 * Makerules (+depfiles): Also collect depfiles from .oS in
20992 $(extra-objs).
20993 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20994 .oS, $(libnldbl-routines)).
20995
656416c9
AS
20996 * Makerules (native-compile-mkdep-flags): Define.
20997 * sunrpc/Makefile (extra-objs): Add $(addprefix
20998 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20999 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21000 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21001 calling $(make-target-directory).
21002
a46f2169
L
210032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21004
21005 * bits/types.h (__snseconds_t): Removed.
21006 * time/time.h (struct timespec): Replace __snseconds_t with
21007 __syscall_slong_t.
21008 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21009 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21010 Likewise.
21011 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21012 (__SNSECONDS_T_TYPE): Likewise.
21013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21014 (__SNSECONDS_T_TYPE): Likewise.
21015 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21016 (__SNSECONDS_T_TYPE): Likewise.
21017
6af6528b
L
210182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21019
21020 * sysdeps/mach/hurd/bits/typesizes.h
21021 (__SYSCALL_SLONG_TYPE): New macro.
21022 (__SYSCALL_ULONG_TYPE): Likewise.
21023
de986b56
L
210242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21025
21026 * bits/types.h (__syscall_slong_t): New type.
21027 (__syscall_ulong_t): Likewise.
21028
21029 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21030 (__SYSCALL_ULONG_TYPE): Likewise.
21031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21032 (__SYSCALL_SLONG_TYPE): Likewise.
21033 (__SYSCALL_ULONG_TYPE): Likewise.
21034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21035 (__SYSCALL_SLONG_TYPE): Likewise.
21036 (__SYSCALL_ULONG_TYPE): Likewise.
21037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21038 (__SYSCALL_SLONG_TYPE): Likewise.
21039 (__SYSCALL_ULONG_TYPE): Likewise.
21040
85736dc7
L
210412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21042
21043 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21044 Add sigaltstack-offsets.sym.
21045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21046 <sigaltstack-offsets.h>.
21047 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21048 longjmp_msg pointer.
21049 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21050 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21051 signal stack.
21052 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21053
cc03b296
JM
210542012-05-15 Joseph Myers <joseph@codesourcery.com>
21055
a9538892
JM
21056 * elf/stackguard-macros.h: Remove file.
21057 * sysdeps/generic/stackguard-macros.h: New file.
21058 * sysdeps/i386/stackguard-macros.h: Likewise.
21059 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21060 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21061 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21062 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21063 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21064 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21065 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21066 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21067 <elf/stackguard-macros.h>.
21068
cc03b296
JM
21069 [BZ #14109]
21070 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21071 __aligned__ in attribute.
21072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21073 (gregset_t): Likewise.
21074
93171016
L
210752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21076
21077 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21078 * sysdeps/x86_64/64/Implies-after: Here. New file.
21079 * sysdeps/x86_64/x32/Implies-after: New file.
21080
d86813a0
L
210812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21082
21083 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21084 and access return value for _dl_profile_fixup. Use R10_LP to
21085 load frame size.
21086
2953ec75
L
210872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21088
21089 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21090
3b550e9e
L
210912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21092
21093 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21094 * sysdeps/x86_64/x32/sysdep.h: New file.
21095
eda41706
L
210962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21097
21098 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21099 * sysdeps/x86_64/setjmp.S: Likewise.
21100
9ea01d93
AZ
211012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21102
21103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21104 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21105 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21106 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21107 remove unused global constant.
21108
02a91938
CM
211092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21110
21111 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21112 include of <not-cancel.h>.
21113
6540185f
RM
211142012-05-15 Roland McGrath <roland@hack.frob.com>
21115
21116 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21117
509072a0
AJ
211182012-05-15 Jeff Law <law@redhat.com>
21119 Andreas Jaeger <aj@suse.de>
21120
21121 [BZ #13594]
21122 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21123 out from...
21124 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21125 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21126 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21127 code changing __hst_map_handle.map.
21128
ba75122d
RM
211292012-05-15 Roland McGrath <roland@hack.frob.com>
21130
21131 * configure.in (sysnames): Look for Implies-before and Implies-after
21132 files.
21133 * configure: Regenerated.
21134
890d8bd8
L
211352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21136
21137 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21138 8-byte data alignment with LP_SIZE alignment.
21139
f6ee6623
L
211402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21141
21142 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21143 into R10_LP.
21144
ea2626f6
L
211452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21146
21147 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21148
085f715e
L
211492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21152 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21153 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21154 Likewise.
21155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21156
be8498fc
L
211572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21158
21159 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21160 (stackinfo_sub_sp): Likewise.
21161
70bc83b9
L
211622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21163
21164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21165 RAX_LP.
21166
9bc0b730
L
211672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21168
21169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21170 into R*_LP.
21171
6d2850e7
L
211722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21173
21174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21175 sizes into R*_LP.
21176
3cb84561
L
211772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21178
21179 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21180
54e2ed81
L
211812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21182
21183 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21184 into R11_LP and load __x86_64_shared_cache_size_half into
21185 R8_LP.
21186
8a17f349
L
211872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21188
21189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21190 R8_LP.
21191
777b1eea
AZ
211922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21193
21194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21195 logb for POWER7.
21196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21197 logbf for POWER7.
21198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21199 logbl for POWER7.
21200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21201 powerpc32/power7/fpu/s_logb.c via #include.
21202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21203 powerpc32/power7/fpu/s_logbf.c via #include.
21204 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21205 powerpc32/power7/fpu/s_logbl.c via #include.
21206
d20d4ac2
JM
212072012-05-15 Joseph Myers <joseph@codesourcery.com>
21208
21209 * README.libm: Remove file.
21210
6cdef1ab
L
212112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21212
21213 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21214 count for x32. Use R*_LP and omit operand-size suffix.
21215
0b254d8f
L
212162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21217
21218 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21219 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21220 * sysdeps/x86_64/x32/shlib-versions: New file.
21221
ceb809dc
RM
212222012-05-14 Roland McGrath <roland@hack.frob.com>
21223
21224 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21225 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21226 Use _dl_fatal_printf instead.
21227
37f1abd4
JM
212282012-05-14 Joseph Myers <joseph@codesourcery.com>
21229
21230 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21231 set if not set by the user. Do not allow for being unset.
21232 * sysdeps/unix/sysv/linux/configure: Regenerated.
21233
11de3a33
L
212342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21235
21236 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21237 the `q' suffix from lea and replace .quad with ASM_ADDR.
21238
e02f153a
L
212392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21240
21241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21242 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21243 instead of $17.
21244 (PTR_DEMANGLE): Likewise.
21245
520ae0fd
L
212462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21247
21248 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21249 (LP_OP): Likewise.
21250 (ASM_ADDR): Likewise.
21251 (RAX_LP): Likewise.
21252 (RBP_LP): Likewise.
21253 (RBX_LP): Likewise.
21254 (RCX_LP): Likewise.
21255 (RDI_LP): Likewise.
21256 (RSI_LP): Likewise.
21257 (RSP_LP): Likewise.
21258 (R8_LP): Likewise.
21259 (R9_LP): Likewise.
21260 (R10_LP): Likewise.
21261 (R10_LP): Likewise.
21262 (R11_LP): Likewise.
21263 (R12_LP): Likewise.
21264 (R13_LP): Likewise.
21265 (R14_LP): Likewise.
21266 (R15_LP): Likewise.
21267
b985be81
L
212682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21269
21270 * sysdeps/x86_64/x32/dl-machine.h: New file.
21271
6a4888ff
AJ
212722012-05-14 Andreas Jaeger <aj@suse.de>
21273
21274 * manual/Makefile (subdir): Remove export of subdir.
21275 (all): Remove target.
21276 (.PHONY): Remove all from list.
21277 (mkinstalldirs): Remove.
21278 (.PHONY): Remove installdirs from list.
21279 ($(inst_infodir)/libc.info): Use make-target-directory.
21280 (installdirs): Remove.
21281 (subdir_%): Remove.
21282 (glibc-targets): Remove.
21283 (lib): Remove.
21284 (stubs): Remove.
21285 ($(objpfx)stubs ../po/manual.pot): Remove.
21286 ($(objpfx)stamp%): Remove.
21287 (make-target-directory): Remove.
21288 (subdir_install): Remove.
21289 (routines): Remove.
21290 (aux): Remove.
21291 (sources): Remove.
21292 (objects): Remove.
21293 (headers): Remove.
21294
21295 [BZ #13750]
21296 * manual/.gitignore: Remove, it's not needed anymore.
21297 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21298 all files in it.
21299 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21300 directory.
21301 (texis): Renamed to $(objpfx)texis.
21302 (texis-path): New, contains path to generated files.
21303 (chapters.%): Use texis-path for complete path, add extra argument
21304 libc-texinfo.sh.
21305 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21306 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21307 (summary,texi, stamp-summary): Use complete path of
21308 files. Generate files in build dir.
21309 (dir-add.texi): Build in build dir.
21310 (libm-err.texi,stamp-libm-err): Likewise.
21311 (version.texi, stamp-version): Likewise.
21312 (.%c.texi): Likewise.
21313 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21314 (mostlyclean): Remove target.
21315 (realclean): Remove target.
21316 (generated): Add new variable with contents from mostlyclean and
21317 realclean, remove entries duplicated in common-mostlyclean, add
21318 stamp-libm-err and stamp-version.
21319 (generated-dirs): Add libc directory.
21320 ($(inst_infodir)/libc.info): Install files from build dir.
21321
21322 * manual/install.texi (Configuring and compiling): Adjust since
21323 the info files are not part of the tar ball anymore.
21324
7ac77294
AJ
213252012-05-14 Andreas Jaeger <aj@suse.de>
21326
21327 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21328 variable.
21329
ffb7875d
JM
213302012-05-14 Joseph Myers <joseph@codesourcery.com>
21331
21332 [BZ #13717]
21333 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21334 to 2.2.0 where earlier.
21335 * sysdeps/unix/sysv/linux/configure: Regenerated.
21336 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21337 Remove conditional code.
21338 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21339 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21340 Remove conditional code.
21341 [!__NR_lchown]: Likewise.
21342 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21343 [__NR_lchown]: Likewise.
21344 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21345 comment referencing __ASSUME_LCHOWN_SYSCALL.
21346 * sysdeps/unix/sysv/linux/i386/sigaction.c
21347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21349 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21350 Remove conditional code.
21351 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21352 (__protocol_available): Remove #if 0 code.
21353 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21354 conditional code.
21355 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21356 * sysdeps/unix/sysv/linux/kernel-features.h
21357 (__ASSUME_GETCWD_SYSCALL): Don't define.
21358 (__ASSUME_REALTIME_SIGNALS): Likewise.
21359 (__ASSUME_PREAD_SYSCALL): Likewise.
21360 (__ASSUME_PWRITE_SYSCALL): Likewise.
21361 (__ASSUME_POLL_SYSCALL): Likewise.
21362 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21363 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21364 non-SPARC.
21365 (__ASSUME_SIOCGIFNAME): Don't define.
21366 (__ASSUME_MSG_NOSIGNAL): Likewise.
21367 (__ASSUME_SENDFILE): Define unconditionally.
21368 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21369 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21370 conditional code.
21371 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21372 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21373 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21374 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21375 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21376 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21377 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21379 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21382 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21385 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21388 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21391 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21394 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21397 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21400 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21401 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21402 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21403 Remove conditional code.
21404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21405 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21406 Remove conditional code.
21407 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21408 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21409 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21410 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21411 Remove conditional code.
21412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21413 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21414 Remove conditional code.
21415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21416 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21417 Remove conditional code.
21418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21419 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21420 Remove conditional code.
21421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21422 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21423 Remove conditional code.
21424 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21425 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21428 * sysdeps/unix/sysv/linux/sigaction.c
21429 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21430 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21431 * sysdeps/unix/sysv/linux/sigpending.c
21432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21434 * sysdeps/unix/sysv/linux/sigprocmask.c
21435 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21436 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21437 * sysdeps/unix/sysv/linux/sigsuspend.c
21438 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21439 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21441 (__libc_missing_rt_sigs): Remove.
21442 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21443 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21444 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21445 Remove conditional code.
21446 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21447 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21448 return 1.
21449 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21450 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21451 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21452 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21453
1bfb7291
AJ
214542012-05-14 Andreas Jaeger <aj@suse.de>
21455
caae5a81
AJ
21456 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21457 it's not used in glibc.
21458 (__coshm1): Likewise.
21459 (__acosh1p): Likewise.
21460 (__sgn): Likewise.
21461
1bfb7291
AJ
21462 * manual/string.texi (Copying and Concatenation): Add missing
21463 variable in concat example.
21464 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21465
c044d724
L
214662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21467
144c5467 21468 [BZ #14103]
c044d724
L
21469 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21470 __builtin_clzl with __builtin_clzll.
21471
2523c62b
L
214722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21473
21474 [BZ #14104]
21475 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21476 libc_freeres_ptr.
21477
d7bb4c42
LD
214782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21479
21480 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21481 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21482 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21483 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21484
9dc4e1fb
MF
214852012-05-14 Mike Frysinger <vapier@gentoo.org>
21486
21487 * NEWS: Update ia64 info.
21488
c7df0112
AS
214892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21490
21491 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21492 used as bcopy.
21493
dc70356c
TS
214942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21495
21496 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21497 * sysdeps/unix/syscalls.list (dup3): Likewise.
21498 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21499 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21500
9fb1a21f
L
215012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21502
21503 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21504 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21505
4822a2a5
L
215062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21507
21508 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21509 thread pointer.
21510 (TLS_IE): Use mov/add instead of movq/addq to load thread
21511 pointer.
21512 (TLS_GD_PREFIX): New.
21513 (TLS_GD): Use it.
21514
842b81d6
DM
215152012-05-11 David S. Miller <davem@davemloft.net>
21516
21517 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21518 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21519 (_FPU_SETCW): Likewise.
21520
1cf463cd
L
215212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21522
21523 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21524 is 32-byte aligned.
21525
60cc4a18
AS
215262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21527
21528 [BZ #11837]
21529 * iconvdata/gb18030.c: Update tables.
21530 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21531 characters specially.
21532 (BODY for TO_LOOP): Add encoding of missing ranges.
21533
febb44a4
TS
215342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21535
21536 [BZ #13673]
21537 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21538 * sysdeps/mach/hurd/dup3.c: Likewise.
21539 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21540 * sysdeps/powerpc/memmove.c:: Likewise.
21541
0a10fb9e
L
215422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21543
21544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21545 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21546
df8a552f
L
215472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21548
21549 * elf/elf.h (R_X86_64_RELATIVE64): New.
21550 (R_X86_64_NUM): Updated.
21551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21552 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21553 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21554 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21555 tst-quad1pie tst-quad2pie
21556 (modules-names): Add tst-quadmod1 tst-quadmod2.
21557 ($(objpfx)tst-quad1): New dependency.
21558 ($(objpfx)tst-quad2): Likewise.
21559 ($(objpfx)tst-quad1pie): Likewise.
21560 ($(objpfx)tst-quad2pie): Likewise.
21561 * sysdeps/x86_64/tst-quad1.c: New file.
21562 * sysdeps/x86_64/tst-quad1pie.c: New file.
21563 * sysdeps/x86_64/tst-quad2.c: Likewise.
21564 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21565 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21566 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21567 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21568 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21569
f34d6f84
ST
215702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21571
f42d41d1
ST
21572 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21573 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21574 * streams/stropts.h (t_scalar_t): Define type.
21575
3c3571fc
ST
21576 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21577 (_PATH_PRESERVE): Set to "/var/lib".
21578 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21579
61f06bd3
ST
21580 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21581 instead of int.
21582
918d4d71
ST
21583 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21584 if __dir_mkfile succeeded.
21585
f34d6f84
ST
21586 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21587 checking for _hurd_dtablesize. Unlock it right after having
21588 finished _hurd_dtable allocation.
21589
10589b4a
TS
215902012-05-10 Thomas Schwinge <thomas@schwinge.name>
21591
674cdbc7
TS
21592 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21593 * sysdeps/mach/hurd/configure: Regenerated.
21594 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21595 special-casing to...
21596 * sysdeps/gnu/configure.in: ... this new file.
21597 * sysdeps/unix/sysv/linux/configure: Regenerated.
21598 * sysdeps/gnu/configure: New generated file.
21599
8e41b99f
TS
21600 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21601 for Linux: use nsec instead of usec, as well as:
21602 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21603 members of type struct timespec.
21604 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21605 New macros.
21606 (struct stat64): Likewise.
21607 (_STATBUF_ST_NSEC): New macro.
21608 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21609
10589b4a
TS
21610 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21611 __strtoul_internal rather than strtoul.
21612
63643c85
PT
216132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21614
21615 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21616 and reject them.
21617
3faebe6a
ST
216182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21619
21620 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21621 which preserves existing values.
21622 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21623
c6474b07
PT
216242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21625
21626 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21627 TIMEOUT values. Return EINVAL for NFDS values either negative or
21628 greater than FD_SETSIZE.
21629
1043890b
ST
216302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21631
21632 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21633 allocated, call __vm_protect to finish enabling the existing space, and
21634 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21635 allocate the remainder.
21636
37ed8b9b
PT
216372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21638
21639 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21640 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21641
db653660
ST
216422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21643
37ed8b9b
PT
21644 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21645 sysdeps/mach/hurd/readlink.c.
b29d4053 21646
db653660
ST
21647 * posix/tst-sysconf.c (posix_options): Only use
21648 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21649 _POSIX_SYNCHRONIZED_IO when they are defined
21650 * sysdeps/mach/hurd/bits/posix_opt.h:
21651 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21652 (_XOPEN_REALTIME): Undefine macro.
21653 (_XOPEN_REALTIME_THREADS): Undefine macro.
21654 (_XOPEN_SHM): Undefine macro.
21655 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21656 macro to -1.
21657 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21658 macro to -1.
21659 (_POSIX_ASYNC_IO): Undefine macro.
21660 (_POSIX_PRIORITIZED_IO): Undefine macro.
21661 (_POSIX_SPIN_LOCKS): Define macro to -1.
21662
ee16e894
ST
21663 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21664 SA_NODEFER, SA_RESETHAND.
21665 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21666 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21667 F_DUPFD_CLOEXEC.
21668
6103ae3b
TS
216692012-05-10 Thomas Schwinge <thomas@schwinge.name>
21670
21671 * elf/Makefile (pldd-modules): Define unconditionally.
21672
80b4e5f3
TS
216732012-05-10 Thomas Schwinge <thomas@schwinge.name>
21674
21675 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21676
edadcbd6
ST
216772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21678
21679 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21680 Return ENOENT when name is empty.
21681 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21682
80694780
TS
216832012-05-10 Thomas Schwinge <thomas@schwinge.name>
21684
1792c087
TS
21685 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21686
80694780
TS
21687 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21688
6b645f0d
ST
216892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21690
80694780
TS
21691 Fix mlock in all cases except non-readable pages.
21692 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21693 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21694
6b645f0d
ST
21695 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21696 (__mkdir): When path is `/', just fail with EEXIST.
21697 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21698
e468f8a3
TS
216992012-05-10 Thomas Schwinge <thomas@schwinge.name>
21700
21701 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21702 <sys/uio.h> (for writev).
21703 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21704 and <sys/param.h> (for MIN).
21705
a4186cff
PT
217062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21707
21708 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21709 REQUESTED_TIME. Properly set the remaining time and return EINTR
21710 if interrupted.
21711
510bbf14
TS
217122012-05-10 Thomas Schwinge <thomas@schwinge.name>
21713
21714 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21715 Depend on against $(link-rpcuserlibs).
21716
5d5722e8
ST
217172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21718
a4186cff
PT
21719 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21720 (__libc_stack_end): Do not use attribute_relro.
21721 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21722 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21723 to libthread-provided value.
a4186cff
PT
21724 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21725 attribute_relro.
5d5722e8 21726
37233df9
TS
217272012-05-10 Thomas Schwinge <thomas@schwinge.name>
21728
be971a2b
TS
21729 [BZ #3748]
21730 * bits/libc-lock.h (__libc_once_get): New macro.
21731 * sysdeps/mach/bits/libc-lock.h: Likewise.
21732 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21734 instead of using implementation details.
21735
37233df9
TS
21736 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21737 * libio/freopen.c: Likewise.
21738 * libio/freopen64.c: Likewise.
21739 * misc/syslog.c: Likewise.
21740 * nscd/connections.c: Likewise.
21741 * nscd/netgroupcache.c: Likewise.
21742 * sysdeps/posix/getcwd.c: Likewise.
21743
38de94a5
RM
217442012-05-10 Roland McGrath <roland@hack.frob.com>
21745
21746 * math/w_ilogbf.c: Add #include <limits.h>.
21747
67530489
ST
217482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21749
a4186cff 21750 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21751 path instead of returning without unlocking.
21752
67530489
ST
21753 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21754 immediate-write ioctls.
21755 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21756
5aa3a74a
TS
217572012-05-10 Thomas Schwinge <thomas@schwinge.name>
21758
18bad2ae
TS
21759 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21760 __builtin_frame_address instead of making assumptions about the
21761 location of the return address relative to DATA. Force early load of
21762 the return address.
21763 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21764 __builtin_frame_address.
21765
5aa3a74a
TS
21766 dup3 for GNU Hurd.
21767 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21768 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21769 implement dup3 and do some further code clean-ups.
21770 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21771 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21772
ecd0de9a
ST
217732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21774
cd9fa985
ST
21775 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21776
a4186cff
PT
21777 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21778 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21779 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21780 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21781 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21782 d->port.lock.
802ca5a5 21783
a4186cff
PT
21784 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21785 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21786 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21787
bcf55240
TS
217882012-05-10 Thomas Schwinge <thomas@schwinge.name>
21789
6960eb42
TS
21790 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21791 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21792 definitions.
21793
eb43375f
TS
21794 accept4 for GNU Hurd.
21795 * include/sys/socket.h (__libc_accept4): New prototype.
21796 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21797 to implement __libc_accept4.
21798 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21799 __libc_accept4.
21800 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21801
bcf55240
TS
21802 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21803 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21804 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21805 signal-defines.sym.
21806
6178c55b
ST
218072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21808
a4186cff 21809 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21810
6f080c2f
TS
218112012-05-10 Thomas Schwinge <thomas@schwinge.name>
21812
21813 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21814 assertion on O_CLOEXEC flag.
21815 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21816 * hurd/intern-fd.c: Likewise.
21817 * hurd/port2fd.c: Likewise.
21818
bcfe3a54
ST
218192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21820
21821 [BZ #3906]
21822 * bits/in.h (IPV6_PKTINFO): Define new macro.
21823 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21824
89c9aa49
AZ
218252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21826
21827 [BZ #13954]
21828 [BZ #13955]
21829 [BZ #13956]
21830 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21832 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21833 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21835 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21836 * math/libm-test.inc (logb_test) : Additional logb tests.
21837
021db4be
AJ
218382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21839 Andreas Jaeger <aj@suse.de>
21840
21841 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21842 * configure: Regenerated.
21843 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21844 * config.make.in (link-obsolete-rpc): New substituted variable.
21845 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21846 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21847 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21848 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21849 so that libc.a contains the symbols.
21850 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21851 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21852 * sunrpc/auth_none.c: Likewise.
21853 * sunrpc/auth_unix.c: Likewise.
21854 * sunrpc/authdes_prot.c: Likewise.
21855 * sunrpc/authuxprot.c: Likewise.
21856 * sunrpc/clnt_gen.c: Likewise.
21857 * sunrpc/clnt_perr.c: Likewise.
21858 * sunrpc/clnt_raw.c: Likewise.
21859 * sunrpc/clnt_simp.c: Likewise.
21860 * sunrpc/clnt_tcp.c: Likewise.
21861 * sunrpc/clnt_udp.c: Likewise.
21862 * sunrpc/clnt_unix.c: Likewise.
21863 * sunrpc/des_crypt.c: Likewise.
21864 * sunrpc/des_soft.c: Likewise.
21865 * sunrpc/get_myaddr.c: Likewise.
21866 * sunrpc/key_call.c: Likewise.
21867 * sunrpc/key_prot.c: Likewise.
21868 * sunrpc/netname.c: Likewise.
21869 * sunrpc/pm_getmaps.c: Likewise.
21870 * sunrpc/pm_getport.c: Likewise.
21871 * sunrpc/pmap_clnt.c: Likewise.
21872 * sunrpc/pmap_prot.c: Likewise.
21873 * sunrpc/pmap_prot2.c: Likewise.
21874 * sunrpc/pmap_rmt.c: Likewise.
21875 * sunrpc/publickey.c: Likewise.
21876 * sunrpc/rpc_cmsg.c: Likewise.
21877 * sunrpc/rpc_common.c: Likewise.
21878 * sunrpc/rpc_dtable.c: Likewise.
21879 * sunrpc/rpc_prot.c: Likewise.
21880 * sunrpc/rpc_thread.c: Likewise.
21881 * sunrpc/rtime.c: Likewise.
21882 * sunrpc/svc.c: Likewise.
21883 * sunrpc/svc_auth.c: Likewise.
21884 * sunrpc/svc_raw.c: Likewise.
21885 * sunrpc/svc_run.c: Likewise.
21886 * sunrpc/svc_tcp.c: Likewise.
21887 * sunrpc/svc_udp.c: Likewise.
21888 * sunrpc/svc_unix.c: Likewise.
21889 * sunrpc/svcauth_des.c: Likewise.
21890 * sunrpc/xcrypt.c: Likewise.
21891 * sunrpc/xdr.c: Likewise.
21892 * sunrpc/xdr_array.c: Likewise.
21893 * sunrpc/xdr_float.c: Likewise.
21894 * sunrpc/xdr_intXX_t.c: Likewise.
21895 * sunrpc/xdr_mem.c: Likewise.
21896 * sunrpc/xdr_rec.c: Likewise.
21897 * sunrpc/xdr_ref.c: Likewise.
21898 * sunrpc/xdr_sizeof.c: Likewise.
21899 * sunrpc/xdr_stdio.c: Likewise.
21900
b5c086a2
RM
219012012-05-10 Roland McGrath <roland@hack.frob.com>
21902
21903 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21904 change. Update copyright years.
21905
6d74dd09
JM
219062012-05-10 Joseph Myers <joseph@codesourcery.com>
21907
21908 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21909
28e72501
MK
219102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21911 Joseph Myers <joseph@codesourcery.com>
21912 Paul Pluzhnikov <ppluzhnikov@google.com>
21913
21914 [BZ #14012]
21915 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21916 requiring rpcgen.
21917 [cross-compiling] (extra-libs): Likewise.
21918 [cross-compiling] (extra-libs-others): Likewise.
21919 [cross-compiling] (librpcsvc-routines): Likewise.
21920 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21921 [cross-compiling] (omit-deps): Likewise.
21922 (sunrpc-CPPFLAGS): New variable.
21923 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21924 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21925 (cross-rpcgen-objs): New variable.
21926 (extra-objs): Append $(cross-rpcgen-objs).
21927 ($(cross-rpcgen-objs)): New rule.
21928 ($(objpfx)cross-rpcgen): Likewise.
21929 (rpcgen-cmd): Define to use $(built-program-file). Expand
21930 comment.
21931 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21932 ($(objpfx)x%.stmp): Likewise.
21933 * sunrpc/proto.h [IS_IN_build] (_): Define.
21934 [IS_IN_build] (_libc_intl_domainname): Likewise.
21935
c8c59454
L
219362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21937
21938 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21939 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21940 and R_X86_64_TPOFF64.
21941
6f27cd16
JM
219422012-05-10 Joseph Myers <joseph@codesourcery.com>
21943
21944 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21945 sysdeps/unix/sysv/syscalls.list.
21946 (stime): Likewise.
21947 (utime): Likewise.
21948 * sysdeps/unix/sysv/syscalls.list: Remove file.
21949
02467e1c
PE
219502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21951
21952 [BZ #3440]
21953 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21954 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21955 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21956 (__LC_IDENTIFICATION): Make these macros useful in #if
21957 expressions, as required by C99.
21958
da392631
AS
219592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21960
21961 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21962 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21963 after this.
21964
8115f29b
L
219652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21966
21967 * stdlib/longlong.h: Updated from GCC.
21968
bdd74070
AJ
219692012-05-09 Andreas Jaeger <aj@suse.de>
21970
edfe0dbe
AJ
21971 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21972 default is first entry.
21973 (run_mode): Set type.
21974 (main): Remove informal message about syslog.
21975 (options): Fix typo.
21976
bcfe3a54
ST
21977 [BZ #14053]
21978 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21979 to asm.
bcfe3a54
ST
21980 (lrint): Likewise.
21981 (llrintf): Likewise.
21982 (llrint): Likewise.
21983 (rint): Likewise.
21984 (rintf): Likewise.
21985 (nearbyint): Likewise.
21986 (nearbyintf): Likewise.
bdd74070 21987
91d8d69e
AJ
219882012-05-09 Andreas Jaeger <aj@suse.de>
21989 Pedro Alves <palves@redhat.com>
21990
21991 * nscd/nscd.c (run_mode): Use enum.
21992 (main): Cleanup coding style issue.
21993
bb90b80b
AJ
219942012-05-09 Alexandre Oliva <aoliva@redhat.com>
21995 Andreas Jaeger <aj@suse.de>
21996
bcfe3a54
ST
21997 * nscd/nscd.c (go_background): Replaced with...
21998 (run_mode): ... this.
bb90b80b 21999 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22000 (options): Add -F --foreground.
22001 (main): Implement it.
22002 (parse_opt): Parse it.
bb90b80b 22003
1a4b75a1
AJ
220042012-05-09 Andreas Jaeger <aj@suse.de>
22005
22006 [BZ #14083]
22007 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22008 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22009 -Wconversion warning.
22010 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22011 Likewise.
22012
b1cc2472
JM
220132012-05-09 Joseph Myers <joseph@codesourcery.com>
22014
22015 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22016 == 0.
22017 (LC_ALL): Use macro-int-constant.
22018 (LC_COLLATE): Likewise.
22019 (LC_CTYPE): Likewise.
22020 (LC_MESSAGES): Likewise.
22021 (LC_MONETARY): Likewise.
22022 (LC_NUMERIC): Likewise.
22023 (LC_TIME): Likewise.
22024 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22025 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22027 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22028 Specify type.
22029 [C99-based standards] (float_t): Expect type.
22030 [C99-based standards] (double_t): Expect type.
22031 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22032 type.
22033 [C99-based standards] (HUGE_VALL): Likewise.
22034 [C99-based standards] (INFINITY): Likewise.
22035 [C99-based standards] (NAN): Likewise.
22036 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22037 [C99-based standards] (FP_NAN): Likewise.
22038 [C99-based standards] (FP_NORMAL): Likewise.
22039 [C99-based standards] (FP_SUBNORMAL): Likewise.
22040 [C99-based standards] (FP_ZERO): Likewise.
22041 [C99-based standards] (FP_FAST_FMA): Use
22042 optional-macro-int-constant. Specify type. Require == 1.
22043 [C99-based standards] (FP_FAST_FMAF): Likewise.
22044 [C99-based standards] (FP_FAST_FMAL): Likewise.
22045 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22046 [C99-based standards] (FP_ILOGBNAN): Likewise.
22047 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22048 Specify type.
22049 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22050 [C99-based standards] (math_errhandling): Specify type.
22051 [ISO99 || ISO11] (signgam): Do not allow.
22052 [non-C99-based standards] (copysignf): Do not allow.
22053 [non-C99-based standards] (exp2f): Likewise.
22054 [non-C99-based standards] (log2f): Likewise.
22055 [non-C99-based standards] (modff): Allow.
22056 [non-C99-based standards] (erff): Do not allow.
22057 [non-C99-based standards] (erfcf): Likewise.
22058 [non-C99-based standards] (gammaf): Likewise.
22059 [non-C99-based standards] (hypotf): Likewise.
22060 [non-C99-based standards] (j0f): Likewise.
22061 [non-C99-based standards] (j1f): Likewise.
22062 [non-C99-based standards] (jnf): Likewise.
22063 [non-C99-based standards] (lgammaf): Likewise.
22064 [non-C99-based standards] (tgammaf): Likewise.
22065 [non-C99-based standards] (y0f): Likewise.
22066 [non-C99-based standards] (y1f): Likewise.
22067 [non-C99-based standards] (ynf): Likewise.
22068 [non-C99-based standards] (isnanf): Likewise.
22069 [non-C99-based standards] (acoshf): Likewise.
22070 [non-C99-based standards] (asinhf): Likewise.
22071 [non-C99-based standards] (atanhf): Likewise.
22072 [non-C99-based standards] (cbrtf): Likewise.
22073 [non-C99-based standards] (expm1f): Likewise.
22074 [non-C99-based standards] (ilogbf): Likewise.
22075 [non-C99-based standards] (log1pf): Likewise.
22076 [non-C99-based standards] (logbf): Likewise.
22077 [non-C99-based standards] (nextafterf): Likewise.
22078 [non-C99-based standards] (remainderf): Likewise.
22079 [non-C99-based standards] (rintf): Likewise.
22080 [non-C99-based standards] (scalbf): Likewise.
22081 [non-C99-based standards] (copysignl): Likewise.
22082 [non-C99-based standards] (exp2l): Likewise.
22083 [non-C99-based standards] (log2l): Likewise.
22084 [non-C99-based standards] (modfl): Allow.
22085 [non-C99-based standards] (erfl): Do not allow.
22086 [non-C99-based standards] (erfcl): Likewise.
22087 [non-C99-based standards] (gammal): Likewise.
22088 [non-C99-based standards] (hypotl): Likewise.
22089 [non-C99-based standards] (j0l): Likewise.
22090 [non-C99-based standards] (j1l): Likewise.
22091 [non-C99-based standards] (jnl): Likewise.
22092 [non-C99-based standards] (lgammal): Likewise.
22093 [non-C99-based standards] (tgammal): Likewise.
22094 [non-C99-based standards] (y0l): Likewise.
22095 [non-C99-based standards] (y1l): Likewise.
22096 [non-C99-based standards] (ynl): Likewise.
22097 [non-C99-based standards] (isnanl): Likewise.
22098 [non-C99-based standards] (acoshl): Likewise.
22099 [non-C99-based standards] (asinhl): Likewise.
22100 [non-C99-based standards] (atanhl): Likewise.
22101 [non-C99-based standards] (cbrtl): Likewise.
22102 [non-C99-based standards] (expm1l): Likewise.
22103 [non-C99-based standards] (ilogbl): Likewise.
22104 [non-C99-based standards] (log1pl): Likewise.
22105 [non-C99-based standards] (logbl): Likewise.
22106 [non-C99-based standards] (nextafterl): Likewise.
22107 [non-C99-based standards] (remainderl): Likewise.
22108 [non-C99-based standards] (rintl): Likewise.
22109 [non-C99-based standards] (scalbl): Likewise.
22110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22111 [non-C99-based standards] (FP_*): Do not allow.
22112 [C99-based standards] (FP_*): Change to
22113 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22114 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22115 allow.
22116 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22117 (SIG_ERR): Likewise.
22118 [X/Open-based standards] (SIG_HOLD): Likewise.
22119 (SIG_IGN): Likewise.
22120 (SIGABRT): Use macro-int-constant. Specify type. Require
22121 positive value.
22122 (SIGFPE): Likewise.
22123 (SIGILL): Likewise.
22124 (SIGINT): Likewise.
22125 (SIGSEGV): Likewise.
22126 (SIGTER): Likewise.
22127 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22128 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22129 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22130 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22131 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22132 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22133 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22134 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22135 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22136 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22137 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22138 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22139 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22140 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22141 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22142 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22143 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22144 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22145 [X/Open-based standards] (SIGTRAP): Likewise.
22146 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22147 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22148 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22149 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22150 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22151 allow.
22152
b9f1922d
IW
221532012-05-08 Ian Wienand <ianw@vmware.com>
22154
22155 [BZ #14080]
22156 * time/tzset.c (__tzset_parse_tz): Update default rules for
22157 daylight time changes in the Energy Policy Act of 2005.
22158
1db86e88
AJ
221592012-05-09 Andreas Jaeger <aj@suse.de>
22160
22161 [BZ #13983]
22162 * elf/ldconfig.c (parse_conf): Change string to make clear that
22163 ldconfig only issued a warning if ld.so.conf does not exist.
22164
dee4a4e3
DM
221652012-05-08 David S. Miller <davem@davemloft.net>
22166
ee0db190
DM
22167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22168 movxtod instead of popping the value on the stack.
22169
dee4a4e3
DM
22170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22171
6a43ec98
CD
221722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22173
22174 * config.h.in: Add HAVE_ARM_PCS_VFP.
22175
05c2c961
RMG
221762012-05-08 Roland Mc Grath <roland@hack.frob.com>
22177
bcfe3a54
ST
22178 [BZ #13979]
22179 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22180 checking but the checks are disabled for any reason.
05c2c961 22181
4b30f61a
L
221822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22183
22184 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22185 and ELF64_R_TYPE with ELFW(R_TYPE).
22186
eee2bc67
JM
221872012-05-08 Joseph Myers <joseph@codesourcery.com>
22188
7ea5391a
JM
22189 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22190 (ulimit): Likewise.
22191
eee2bc67
JM
22192 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22193 (settimeofday): Likewise.
22194
abb66a67
MF
221952012-05-08 Mike Frysinger <vapier@gentoo.org>
22196
22197 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22198 a struct th_u2 inside the union, and move tu_block/tu_code into
22199 a new th_u3 union of tu_block/tu_code inside of that. Move
22200 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22201 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22202 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22203 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22204 (th_stuff): Change to th_u1.tu_stuff.
22205 (th_data): Define.
22206 (th_msg): Change to th_u1.th_u2.tu_data.
22207
7f18b530
DM
222082012-05-07 David S. Miller <davem@davemloft.net>
22209
05760585
DM
22210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22211
7f18b530
DM
22212 [BZ #14074]
22213 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22214 (SETUP_PIC_REG): Use it.
22215 (SETUP_PIC_REG_LEAF): Use it.
22216
495fd99f
JM
222172012-05-07 Joseph Myers <joseph@codesourcery.com>
22218
22219 [BZ #13885]
22220 [BZ #13923]
22221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22222 USE_AS_EXPM1L.
22223 (EXPL_FINITE): Likewise.
22224 (FLDLOG): Likewise.
22225 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22226 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22227 e_expl.S.
22228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22229 USE_AS_EXPM1L.
22230 (EXPL_FINITE): Likewise.
22231 (FLDLOG): Likewise.
22232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22233 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22234 e_expl.S.
22235 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22236 test of -max_value argument for long double.
22237 * sysdeps/i386/fpu/libm-test-ulps: Update.
22238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22239
6693d694
DM
222402012-05-06 David S. Miller <davem@davemloft.net>
22241
22242 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22243 quad soft-float symbols whose references which are compiler
22244 generated.
22245 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22246
6c23e11c
JM
222472012-05-06 Joseph Myers <joseph@codesourcery.com>
22248
d8b82cad
JM
22249 [BZ #13884]
22250 [BZ #13914]
22251 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22252 USE_AS_EXP10L.
22253 (EXPL_FINITE): Likewise.
22254 (FLDLOG): Likewise.
22255 (c0): Likewise.
22256 (c1): Likewise.
22257 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22258 Adjust comments for base varying.
22259 (__expl_finite): Change alias to EXPL_FINITE.
22260 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22261 e_expl.S.
22262 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22263 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22265 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22267 USE_AS_EXP10L.
22268 (EXPL_FINITE): Likewise.
22269 (FLDLOG): Likewise.
22270 (c0): Likewise.
22271 (c1): Likewise.
22272 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22273 Adjust comments for base varying.
22274 (__expl_finite): Change alias to EXPL_FINITE.
22275 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22276 tests for bugs.
22277 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22278
6c23e11c
JM
22279 [BZ #14064]
22280 * math/libm-test.inc (check_float_internal): Correct ulp
22281 calculation for subnormal expected results.
22282
29ba805c
AJ
222832012-05-06 Andreas Jaeger <aj@suse.de>
22284
22285 * Makeconfig (+math-flags): New, set to -frounding-math.
22286 (+cflags): Add +math-flags so that all of glibc gets compiled with
22287 it.
22288
22289 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22290
7b17aeda
JM
222912012-05-05 Joseph Myers <joseph@codesourcery.com>
22292
5779f134
JM
22293 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22294 Disable one test.
22295
41498f4d
JM
22296 [BZ #13787]
22297 [BZ #13922]
22298 [BZ #14036]
22299 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22300 (__ieee754_expl): Allow for and saturate large arguments.
22301 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22302 (u_threshold): Likewise.
22303 (__exp): Call __ieee754_exp before checking for overflow and
22304 underflow.
22305 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22306 (u_threshold): Likewise.
22307 (__expf): Call __ieee754_expf before checking for overflow and
22308 underflow.
22309 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22310 (u_threshold): Likewise.
22311 (__expl): Call __ieee754_expl before checking for overflow and
22312 underflow.
22313 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22314 (__ieee754_expl): Allow for and saturate large arguments.
22315 * math/libm-test.inc (exp_test): Add another test. Do not allow
22316 missing overflow exception on overflow.
22317 (expm1_test): Do not allow missing overflow exception on overflow.
22318
6698b8bf
JM
22319 * sysdeps/i386/fpu/e_expl.c: Move to ...
22320 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22321 rather than using inline asm.
22322 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22323 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22324 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22325
7b17aeda
JM
22326 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22327 (nice): Likewise.
22328 (poll): Likewise.
22329 (signal): Likewise.
22330 (time): Likewise.
22331 (times): Likewise.
22332
f7c85819
JM
223332012-05-04 Joseph Myers <joseph@codesourcery.com>
22334
22335 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22336 sysdeps/unix/common/syscalls.list.
22337 (fchmod): Likewise.
22338 (fchown): Likewise.
22339 (ftruncate): Likewise.
22340 (getrusage): Likewise.
22341 (gettimeofday): Likewise.
22342 (setpgid): Likewise.
22343 (setregid): Likewise.
22344 (setreuid): Likewise.
22345 (sigaction): Likewise.
22346 (truncate): Likewise.
22347 (vhangup): Likewise.
22348 * sysdeps/unix/common/syscalls.list: Remove file.
22349 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22350 * sysdeps/unix/sysv/linux/Implies: Likewise.
22351
336270d0
L
223522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22353
22354 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22356 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22357 Moved to ...
22358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22359 Here.
22360 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22361 to ...
22362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22363 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22364 to ...
22365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22366 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22367 to ...
22368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22369 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22370 to ...
22371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22372 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22373 to ...
22374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22375 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22376 to ...
22377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22378 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22379 to ...
22380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22381 Here.
22382 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22383 to ...
22384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22385 Here.
22386 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22387 to ...
22388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22389 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22390 Moved to ...
22391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22392 Here.
22393 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22394 to ...
22395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22396
d128e450
JM
223972012-05-04 Joseph Myers <joseph@codesourcery.com>
22398
fa8ee516
JM
22399 * sysdeps/unix/common/bits/dirent.h: Remove file.
22400 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22401
d128e450
JM
22402 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22403 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22404 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22405 * sysdeps/unix/bsd/isatty.c: Likewise.
22406 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22407 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22408 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22409
ff8faaf0 224102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22411
62881be4 22412 [BZ #13563]
31dc8730
AZ
22413 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22414 long double comparison inaccuracies.
22415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22417
6fef930c
AS
224182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22419
22420 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22422
8f203e6c
JM
224232012-05-04 Joseph Myers <joseph@codesourcery.com>
22424
22425 [BZ #14049]
22426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22427 nonzero digits before rounding a hex value.
22428 * stdlib/tst-strtod.c (tests): Add another test.
22429
5197d9c2
AK
224302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22431
22432 * sysdeps/s390/fpu/libm-test-ulps: Update.
22433
f0c1dedf
AJ
224342012-05-03 Andreas Jaeger <aj@suse.de>
22435
22436 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22437 does not get optimized out.
22438 (malloc_opt_barrier): New.
22439
a65ef2ae 224402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22441 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22442
2b942cb7 22443 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22444 intermediate file deletion.
2b942cb7 22445 (generated): Add .symlist files.
a65ef2ae 22446
54b71e02
JM
224472012-05-03 Joseph Myers <joseph@codesourcery.com>
22448
22449 [BZ #13775]
22450 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22451 Redirect under this condition.
22452 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22453 [__USE_GNU] (__dprintf_chk): Not under this condition.
22454 [__USE_GNU] (__vdprintf_chk): Likewise.
22455 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22456 under this condition.
22457 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22458 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22459 [__USE_XOPEN2K8] (vdprintf): Likewise.
22460 [__USE_GNU] (__dprintf_chk): Not under this condition.
22461 [__USE_GNU] (__vdprintf_chk): Likewise.
22462 [__USE_GNU] (dprintf): Likewise.
22463 [__USE_GNU] (vdprintf): Likewise.
22464
d3dfcc41
RM
224652012-05-03 Roland McGrath <roland@hack.frob.com>
22466
22467 * elf/Makefile (common-generated): Set this instead of generated for
22468 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22469 $(all-built-dso)-derived lists.
22470
7ac30cc5
AJ
224712012-05-03 Andreas Jaeger <aj@suse.de>
22472
0c51e550
AJ
22473 * sysdeps/i386/fpu/libm-test-ulps: Update.
22474
7ac30cc5
AJ
22475 * FAQ: Removed.
22476 * FAQ.in: Likewise.
22477 * scripts/gen-FAQ.pl: Likewise.
22478 * manual/install.texi (Installation): Point to online location of
22479 FAQ.
22480 * Makefile (files-for-dist): Remove FAQ.
22481 (FAQ): Remove.
22482
d4c2917f
AM
224832012-05-02 Allan McRae <allan@archlinux.org>
22484
22485 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22486 (LDFLAGS-reldepmod5.so): Likewise.
22487 (LDFLAGS-reldep6mod1.so): Likewise.
22488 (LDFLAGS-reldep6mod4.so): Likewise.
22489 (LDFLAGS-reldep8mod3.so): Likewise.
22490 (LDFLAGS-unload4mod1.so): Likewise.
22491 (LDFLAGS-unload4mod2.so): Likewise.
22492 (LDFLAGS-tst-initorder): Likewise.
22493 (LDFLAGS-tst-initordera2.so): Likewise.
22494 (LDFLAGS-tst-initordera3.so): Likewise.
22495 (LDFLAGS-tst-initordera4.so): Likewise.
22496 (LDFLAGS-tst-initorderb2.so): Likewise.
22497 (LDFLAGS-noload): Likewise.
22498 (LDFLAGS-next): Likewise.
22499 (LDFLAGS-order2mod1.so): Likewise.
22500 (LDFLAGS-order2mod2.so): Likewise.
22501 (LDFLAGS-tst-initorder2): Likewise.
22502 (LDFLAGS-tst-initorder2a.so): Likewise.
22503 (LDFLAGS-tst-initorder2b.so): Likewise.
22504 (LDFLAGS-tst-initorder2c.so): Likewise.
22505 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22506
d77f993f
DM
225072012-05-02 David S. Miller <davem@davemloft.net>
22508
22509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22510
171a70b4
PP
225112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22512
22513 [BZ #14055]
22514 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22515
0be196ad
AJ
225162012-05-02 Andreas Jaeger <aj@suse.de>
22517
22518 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22519 since we manipulate rounding mode.
22520 (CPPFLAGS-test-idouble.c): Likewise.
22521 (CPPFLAGS-test-ifloat.c): Likewise.
22522 (CFLAGS-test-ldouble.c): Likewise.
22523 (CFLAGS-test-double.c): Likewise.
22524 (CFLAGS-test-float.c): Likewise.
22525 (CFLAGS-test-misc.c): Likewise.
22526 (CFLAGS-test-test-fenv.c): Likewise.
22527
4f9d04aa
AZ
225282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22529
2b942cb7
RM
22530 [BZ #2550]
22531 [BZ #2570]
22532 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22533 comparisons to determine direction to adjust input.
4f9d04aa 22534
82a79e7d
RM
225352012-05-01 Roland McGrath <roland@hack.frob.com>
22536
f5a01ca9
RM
22537 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22538 output to the target.
22539
90fe4186
RM
22540 * scripts/localplt.awk: New file.
22541 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22542 (check-localplt-CFLAGS): Variable removed.
22543 ($(all-built-dso:=.jmprel)): New static pattern rule.
22544 (generated): Add those targets.
22545 (localplt-built-dso): New variable.
22546 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22547
22548 * elf/check-localplt.c: File removed.
22549
82397ed6
RM
22550 * scripts/check-execstack.awk: New file.
22551 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22552 (check-execstack-CFLAGS): Variable removed.
22553 ($(objpfx)check-execstack.h): Target removed.
22554 ($(objpfx)execstack-default): New target.
22555 (generated): Add that instead of check-execstack.h.
22556 ($(all-built-dso:=.phdr)): New static pattern rule.
22557 (generated): Add those targets.
22558 * elf/check-execstack.c: File removed.
22559
82a79e7d
RM
22560 * scripts/check-textrel.awk: New file.
22561 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22562 (check-textrel-CFLAGS): Variable removed.
22563 (all-built-dso): Use := to define.o
22564 ($(all-built-dso:=.dyn)): New static pattern rule.
22565 (generated): Add those targets.
22566 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22567 * config.make.in (READELF): New substituted variable.
22568 * elf/check-textrel.c: File removed.
22569
62fde54f 225702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22571
615605c9
JM
22572 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22573 allow.
22574 * conform/data/ctype.h-data [C99-based standards] (isblank):
22575 Expect function.
22576 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22577 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22579 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22580 Specify type. Require positive value.
22581 (EILSEQ): Likewise.
22582 (ERANGE): Likewise.
22583 [ISO || POSIX] (EILSEQ): Do not expect.
22584 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22585 Specify type. Require positive value.
22586 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22587 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22588 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22589 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22590 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22591 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22592 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22593 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22594 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22595 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22596 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22597 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22598 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22599 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22600 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22601 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22602 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22603 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22604 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22605 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22606 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22607 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22608 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22609 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22610 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22611 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22612 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22613 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22614 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22615 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22616 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22617 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22618 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22619 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22620 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22621 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22622 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22623 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22624 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22625 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22626 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22627 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22628 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22629 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22630 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22631 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22632 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22633 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22634 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22635 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22636 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22637 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22638 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22639 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22640 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22641 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22642 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22643 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22644 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22645 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22646 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22647 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22648 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22649 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22650 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22651 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22652 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22653 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22654 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22655 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22656 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22657 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22658 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22659 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22660 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22661 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22662 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22663 Require >= 2.
22664 (FLT_ROUNDS): Expect as macro, not constant.
22665 (FLT_MANT_DIG): Use macro-int-constant.
22666 (DBL_MANT_DIG): Likewise.
22667 (LDBL_MANT_DIG): Likewise.
22668 (FLT_DIG): Likewise.
22669 (DBL_DIG): Likewise.
22670 (LDBL_DIG): Likewise.
22671 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22672 (DBL_MIN_EXP): Likewise.
22673 (LDBL_MIN_EXP): Likewise.
22674 (FLT_MAX_EXP): Use macro-int-constant.
22675 (DBL_MAX_EXP): Likewise.
22676 (LDBL_MAX_EXP): Likewise.
22677 (FLT_MAX_10_EXP): Likewise.
22678 (DBL_MAX_10_EXP): Likewise.
22679 (LDBL_MAX_10_EXP): Likewise.
22680 (FLT_MAX): Use macro-constant.
22681 (DBL_MAX): Likewise.
22682 (LDBL_MAX): Likewise.
22683 (FLT_EPSILON): Use macro-constant. Give upper bound.
22684 (DBL_EPSILON): Likewise.
22685 (LDBL_EPSILON): Likewise.
22686 (FLT_MIN): Likewise.
22687 (DBL_MIN): Likewise.
22688 (LDBL_MIN): Likewise.
22689 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22690 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22691 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22692 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22693 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22694 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22695 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22696 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22697 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22698 [ISO11] (FLT_TRUE_MIN): Likewise.
22699 [ISO11] (LDBL_TRUE_MIN): Likewise.
22700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22701 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22702 (SCHAR_MIN): Use macro-int-constant. Specify type.
22703 (SCHAR_MAX): Likewise.
22704 (UCHAR_MAX): Likewise.
22705 (CHAR_MIN): Likewise.
22706 (CHAR_MAX): Likewise.
22707 (MB_LEN_MAX): Use macro-int-constant.
22708 (SHRT_MIN): Use macro-int-constant. Specify type.
22709 (SHRT_MAX): Likewise.
22710 (USHRT_MAX): Likewise.
22711 (INT_MAX): Likewise.
22712 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22713 bound negative.
22714 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22715 bound with "U".
22716 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22717 bound with "L".
22718 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22719 bound negative. Suffix upper bound with "L".
22720 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22721 bound with "UL".
22722 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22723 Specify type.
22724 [C99-based standards] (LLONG_MAX): Likewise.
22725 [C99-based standards] (ULLONG_MAX): Likewise.
22726 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22727 == 0.
22728 [ISO11] (max_align_t): Require type.
22729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22730
c9140a62
JM
22731 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22732 from $CFLAGS, without defining away __attribute__ calls.
22733 (checknamespace): Use $CFLAGS_namespace.
22734
9af0bf29
JM
22735 * conform/conformtest.pl (@keywords): Only include C99 keywords
22736 for standards based on C99 or C11.
22737
343222a2
JM
22738 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22739 Disable tests.
22740 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22741 UNIX98]: Likewise.
22742
661f8cf0
JM
22743 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22744 usability of symbols in #if.
22745
ee74b9cb
JM
22746 * conform/conformtest.pl: If macro or constant types start
22747 "promoted:", expect the symbol to be of the following type
22748 promoted by the integer promotions.
62fde54f 22749
aafc49b3
JM
22750 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22751 in one place. Also handle "macro-constant".
22752
fefdf574
JM
22753 * conform/conformtest.pl: Only accept expected macro values with
22754 "==". Parse all "macro" lines in one place.
22755 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22756
f2d922fe
JM
22757 * conform/conformtest.pl: Handle braced types on "constant" lines
22758 instead of handling "typed-constant".
22759 * conform/data/signal.h-data: Use "constant" instead of
22760 "typed-constant".
22761
d22956c9
JM
22762 * conform/conformtest.pl: Handle "optional-" at start of lines in
22763 one place rather than duplicating several cases. Handle each
22764 format of "macro" line with initial "optional-".
22765
028e2e38
JM
22766 * conform/conformtest.pl: Only accept expected constant or
22767 optional-constant values with "==". Parse all "constant" lines in
22768 one place. Parse all "optional-constant" lines in one place.
22769 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22770 * conform/data/fmtmsg.h-data: Likewise.
22771 * conform/data/netinet/in.h-data: Likewise.
22772 * conform/data/tar.h-data: Likewise.
22773 * conform/data/limits.h-data: Use "==" form on "constant" and
22774 "optional-constant" lines.
22775
1b8f2850
JM
22776 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22777 Use -std=c99 for XOPEN2K.
22778 (@knownproblems): Remove.
22779 (newtoken): Don't check %isknown.
22780
a05a144b
JM
22781 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22782 Do not expect macro.
22783 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22784 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22785 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22786 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22787 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22788 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22789 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22790 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22791 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22792 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22793 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22794 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22795 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22796 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22797 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22798 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22799 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22800 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22801 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22802 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22803 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22805 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22806 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22807 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22808 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22809 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22810 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22811 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22812 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22813 [XPG3] (acosh): Likewise.
22814 [XPG3] (asinh): Likewise.
22815 [XPG3] (atanh): Likewise.
22816 [XPG3] (cbrt): Likewise.
22817 [XPG3] (expm1): Likewise.
22818 [XPG3] (ilogb): Likewise.
22819 [XPG3] (log1p): Likewise.
22820 [XPG3] (logb): Likewise.
22821 [XPG3] (nextafter): Likewise.
22822 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22823 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22824 [XPG3] (remainder): Likewise.
22825 [XPG3] (rint): Likewise.
22826 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22827 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22828 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22829 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22830 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22831 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22832 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22833 [UNIX98 || XOPEN2K] (scalb): Expect.
22834 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22835 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22836 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22837 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22838 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22839 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22840 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22841 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22842 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22843 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22844 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22845 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22846 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22847 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22848 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22849 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22850 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22851 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22852 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22853 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22854 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22855 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22856 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22857 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22858 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22859 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22860 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22861 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22862 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22863 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22864 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22865 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22866 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22867 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22868 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22869 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22870 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22871 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22872 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22873 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22874 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22875 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22876 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22877 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22878 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22879 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22880 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22881 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22882 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22883 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22884 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22885 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22886 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22887 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22888 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22889 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22890 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22891 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22892 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22893 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22894 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22895 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22896 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22897 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22898 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22899 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22900 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22901 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22902 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22903 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22904 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22905 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22906 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22907 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22908 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22909 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22910 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22911 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22912 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22913 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22914 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22915 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22916 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22917 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22918 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22919 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22920 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22921 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22922 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22923 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22924 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22925 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22926 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22927 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22928 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22929 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22930 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22931 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22932 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22933 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22934 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22935 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22936 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22937 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22938 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22939 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22940 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22941 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22942 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22943 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22944 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22945 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22946 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22947 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22948 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22949 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22950 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22951 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22952 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22953 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22954 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22955 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22956 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22957 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22958 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22959 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22960 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22961 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22962 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22963 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22964 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22965 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22966 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22967 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22968 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22969 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22970 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22971
73c5ebe3
JM
22972 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22973 _XOPEN_SOURCE_EXTENDED for XPG4.
22974
39c33b6c
JM
22975 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22976
62fde54f
JM
22977 * Makeconfig (localtime): Remove variable.
22978 (inst_localtime-file): Likewise.
22979
0741d64c
AS
229802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22981
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22983 Update.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22985 Update.
22986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22987 Update.
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22989 Update.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22991 Update.
22992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22993 Update.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22995 Update.
22996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22997 Update.
22998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22999 Update.
23000
7cb029ee
JM
230012012-05-01 Joseph Myers <joseph@codesourcery.com>
23002
23003 [BZ #2550]
23004 [BZ #2570]
23005 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23006 comparisons to determine direction to adjust input.
23007 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23008 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23010 Likewise.
23011 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23012 Likewise.
23013 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23014 Likewise.
23015 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23016 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23017 Likewise.
23018 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23019 Likewise.
23020 * math/libm-test.inc (nexttoward_test): Add more tests.
23021
412bd966
AS
230222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23023
23024 [BZ #14040]
23025 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23026 in version GLIBC_2.1, not GLIBC_2.0.
23027 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23028 Likewise.
23029
9568c0c2
JM
230302012-04-30 Joseph Myers <joseph@codesourcery.com>
23031
adfbc8ac
JM
23032 [BZ #13942]
23033 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23034 (1 - x) * (1 + x).
23035 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23036 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23037 * math/libm-test.inc (acos_test): Add more tests.
23038 (asin_test): Likewise.
23039 * sysdeps/i386/fpu/libm-test-ulps: Update.
23040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23041
5ba3cc69
JM
23042 [BZ #14034]
23043 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23044 of square root.
23045 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23046 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23047 * math/libm-test.inc (acos_test_tonearest): New function.
23048 (acos_test_towardzero): Likewise.
23049 (acos_test_downward): Likewise.
23050 (acos_test_upward): Likewise.
23051 (asin_test_tonearest): Likewise.
23052 (asin_test_towardzero): Likewise.
23053 (asin_test_downward): Likewise.
23054 (asin_test_upward): Likewise.
23055 (main): Call the new functions.
23056 * sysdeps/i386/fpu/libm-test-ulps: Update.
23057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23058
9568c0c2
JM
23059 [BZ #13884]
23060 [BZ #13924]
23061 * math/e_exp10.c: Include <float.h>.
23062 (__ieee754_exp10): Handle underflow here rather than multiplying
23063 large negative argument by M_LN10.
23064 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23065 of __ieee754_expf.
23066 * math/e_exp10l.c: Include <float.h>.
23067 (__ieee754_exp10l): Handle underflow here rather than multiplying
23068 large negative argument by M_LN10l.
23069 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23070 spurious overflow exception on underflow.
23071
5ac3ea17
MP
230722012-04-29 Marek Polacek <polacek@redhat.com>
23073
23074 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23075 (__fortify_function): New macro.
23076 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23077 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23078 __extern_always_inline.
23079 * libio/bits/stdio2.h: Likewise.
23080 * libio/bits/stdio.h: Likewise.
23081 * string/string.h: Likewise.
23082 * string/bits/string3.h: Likewise.
23083 * include/stdio.h: Likewise.
23084 * stdlib/bits/stdlib.h: Likewise.
23085 * stdlib/stdlib.h: Likewise.
23086 * rt/bits/mqueue2.h: Likewise.
23087 * rt/mqueue.h: Likewise.
23088 * posix/bits/unistd.h: Likewise.
23089 * posix/unistd.h: Likewise.
23090 * io/bits/poll2.h: Likewise.
23091 * io/bits/fcntl2.h: Likewise.
23092 * io/fcntl.h: Likewise.
23093 * io/sys/poll.h: Likewise.
23094 * misc/bits/syslog.h: Likewise.
23095 * misc/bits/syslog-ldbl.h: Likewise.
23096 * misc/sys/syslog.h: Likewise.
23097 * socket/bits/socket2.h: Likewise.
23098 * socket/sys/socket.h: Likewise.
23099 * debug/tst-chk1.c: Likewise.
23100 * wcsmbs/bits/wchar2.h: Likewise.
23101 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23102 * wcsmbs/wchar.h: Likewise.
23103
ecf0ebfb
AJ
231042012-04-29 Andreas Jaeger <aj@suse.de>
23105
23106 * Makerules (tests): Remove enable-check-abi protection.
23107 (check-abi-warn): Remove.
23108 (check-abi-%): Remove check-abi-warn usage.
23109
23110 * configure.in: Remove check-abi configure option.
23111 * configure: Regenerated.
23112 * config.make.in (enable-check-abi): Remove.
23113
6d5c57fa
AS
231142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23115
24c5d07e 23116 [BZ #14033]
ded5180a
AS
23117 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23118 double functions to double *_finite functions.
23119
7e0d315d
AS
23120 [BZ #13941]
23121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23122 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23123 LDBL_MIN_EXP.
23124 * stdio-common/Makefile (tests): Add tst-sprintf3.
23125 * stdio-common/tst-sprintf3.c: New file.
23126
6d5c57fa
AS
23127 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23128 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23129
0749ff8b
JM
231302012-04-28 Joseph Myers <joseph@codesourcery.com>
23131
23132 * conform/conformtest.pl: Remove duplicate typed-constant
23133 handling.
23134
8dbd5d7b
DM
231352012-04-28 David S. Miller <davem@davemloft.net>
23136
23137 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23138 (check-abi-%): Remove AWK script prerequisite and explicit
23139 abilist directory.
23140 (check-abi): Rewrite to just diff the symlist with the abilist.
23141 (config-tls, config-abi-config): Delete, no longer used.
23142 (update-abi-%): Remove AWK script and explicit abilist directory.
23143 (update-abi): Rewrite to simply compare and conditionally copy the
23144 symlist and the sysdep abilist file. Remove update-abi-config
23145 checks.
23146 * abilist/ld.abilist: Remove.
23147 * abilist/libBrokenLocale.abilist: Remove.
23148 * abilist/libanl.abilist: Remove.
23149 * abilist/libcrypt.abilist: Remove.
23150 * abilist/libdl.abilist: Remove.
23151 * abilist/librt.abilist: Remove.
23152 * abilist/libthread_db.abilist: Remove.
23153 * abilist/libutil.abilist: Remove.
23154 * scripts/extract-abilist.awk: Remove.
23155 * scripts/merge-abilist.awk: Remove.
23156 * sysdeps/generic/libcidn.abilist: New file.
23157 * sysdeps/generic/libnss_compat.abilist: New file.
23158 * sysdeps/generic/libnss_db.abilist: New file.
23159 * sysdeps/generic/libnss_dns.abilist: New file.
23160 * sysdeps/generic/libnss_files.abilist: New file.
23161 * sysdeps/generic/libnss_hesiod.abilist: New file.
23162 * sysdeps/generic/libnss_nis.abilist: New file.
23163 * sysdeps/generic/libnss_nisplus.abilist: New file.
23164 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23165 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23166 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23167 file.
23168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23169 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23170 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23171 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23172 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23173 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23174 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23175 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23176 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23177 file.
23178 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23179 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23180 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23181 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23182 file.
23183 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23184 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23185 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23186 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23187 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23188 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23189 file.
23190 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23191 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23192 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23193 file.
23194 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23196 New file.
23197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23198 New file.
23199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23200 New file.
23201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23202 New file.
23203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23204 New file.
23205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23206 New file.
23207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23208 New file.
23209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23210 New file.
23211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23212 New file.
23213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23214 New file.
23215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23216 New file.
23217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23218 New file.
23219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23220 New file.
23221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23222 file.
23223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23224 New file.
23225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23226 New file.
23227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23228 file.
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23230 New file.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23232 New file.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23234 file.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23236 New file.
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23238 New file.
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23240 New file.
23241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23242 New file.
23243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23244 New file.
23245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23246 New file.
23247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23249 file.
23250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23251 New file.
23252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23253 file.
23254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23255 file.
23256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23257 file.
23258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23259 file.
23260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23261 file.
23262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23263 New file.
23264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23265 file.
23266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23267 file.
23268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23269 New file.
23270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23271 file.
23272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23274 file.
23275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23276 New file.
23277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23278 file.
23279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23280 file.
23281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23282 file.
23283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23284 file.
23285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23286 file.
23287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23288 New file.
23289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23290 file.
23291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23292 file.
23293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23294 New file.
23295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23296 file.
23297 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23298 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23299 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23300 file.
23301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23302 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23303 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23304 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23305 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23306 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23307 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23308 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23309 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23310 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23313 file.
23314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23315 New file.
23316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23317 file.
23318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23319 file.
23320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23321 file.
23322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23323 file.
23324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23325 file.
23326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23327 New file.
23328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23329 New file.
23330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23331 file.
23332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23333 New file.
23334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23335 file.
23336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23338 file.
23339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23340 New file.
23341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23342 file.
23343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23344 file.
23345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23346 file.
23347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23348 file.
23349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23350 file.
23351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23352 New file.
23353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23354 New file.
23355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23356 file.
23357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23358 New file.
23359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23360 file.
23361
41d73a1b
JM
233622012-04-28 Joseph Myers <joseph@codesourcery.com>
23363
23364 * conform/conformtest.pl: Fix typo in handling typed-constant from
23365 allow-header.
23366
28aeeda4
JM
233672012-04-27 Joseph Myers <joseph@codesourcery.com>
23368
adae8f5e
JM
23369 * README: Cut down references to pre-2.6 Linux kernels and
23370 Linuxthreads. Update lists of configurations in libc and ports
23371 and sort alphabetically. Say "or newer" with Linux kernel version
23372 requirements.
23373
28aeeda4
JM
23374 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23375
a462cb63
RA
233762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23377
23378 [BZ #887]
23379 * math/libm-test.inc (logb_test_downward): New test to expose
23380 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23381 rounding mode.
23382
6ad3493e
JM
233832012-04-27 Joseph Myers <joseph@codesourcery.com>
23384
23385 [BZ #14027]
23386 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23387 to be done.
23388 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23389 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23390
2ce4f015
JM
233912012-04-26 Joseph Myers <joseph@codesourcery.com>
23392
5aeb141a
JM
23393 * sysdeps/unix/i386/brk.S: Remove file.
23394 * sysdeps/unix/i386/dl-brk.S: Likewise.
23395 * sysdeps/unix/i386/pipe.S: Likewise.
23396 * sysdeps/unix/i386/sigreturn.S: Likewise.
23397 * sysdeps/unix/i386/syscall.S: Likewise.
23398 * sysdeps/unix/i386/vfork.S: Likewise.
23399 * sysdeps/unix/i386/wait.S: Likewise.
23400
7143acae
JM
23401 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23402 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23403
2ce4f015
JM
23404 * configure.in (arm*-none*): Do not allow without
23405 --enable-hacker-mode.
23406 (netbsd*): Remove case setting base_os.
23407 (386bsd*): Likewise.
23408 (freebsd*): Likewise.
23409 (bsdi*): Likewise.
23410 (osf*): Likewise.
23411 (sunos*): Likewise.
23412 (ultrix*): Likewise.
23413 (newsos*): Likewise.
23414 (dynix*): Likewise.
23415 (*bsd*): Likewise.
23416 (sysv*): Likewise.
23417 (isc*): Likewise.
23418 (esix*): Likewise.
23419 (sco*): Likewise.
23420 (minix*): Likewise.
23421 (irix4*): Likewise.
23422 (irix6*): Likewise.
23423 (solaris[2-9]*): Likewise.
23424 (none): Likewise.
23425 * configure: Regenerated.
23426
0ac229c8
AZ
234272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23428
23429 [BZ #11521]
23430 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23431 overflow or cancellation in calculating denominator.
23432 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23434 down expression to avoid unexpected rounding in newer GCCs.
23435 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23436
33f244f4
DM
234372012-04-26 David S. Miller <davem@davemloft.net>
23438
23439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23440 long-double compat symbols.
23441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23454
cfa1f3e8
DM
234552012-04-25 David S. Miller <davem@davemloft.net>
23456
23457 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23458 HWCAP_* values only after the memory barriers have been defined.
23459 (atomic_full_barrier): Define.
23460 (atomic_read_barrier): Define.
23461 (atomic_write_barrier): Define.
23462
6e236b92
SP
234632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23464
23465 * shlib-versions: Add libgcc_s version information.
23466 * sysdeps/generic/libgcc_s.h: Remove.
23467 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23468 libgcc_s.h.
23469 * sysdeps/gnu/unwind-resume.c: Likewise.
23470 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23471
aab39a09
DM
234722012-04-25 David S. Miller <davem@davemloft.net>
23473
23474 * sysdeps/unix/sparc/brk.S: Delete.
23475 * sysdeps/unix/sparc/dl-brk.S: Delete.
23476 * sysdeps/unix/sparc/pipe.S: Delete.
23477 * sysdeps/unix/sparc/sysdep.S: Delete.
23478 * sysdeps/unix/sparc/sysdep.h: Delete.
23479 * sysdeps/unix/sparc/vfork.S: Delete.
23480 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23481 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23483 ret_ERRVAL, r0, r1, MOVE): Define.
23484 (JUMPTARGET): Remove.
23485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23486 sysdeps/unix/sparc/sysdep.h
23487 (ENTRY, END): Remove.
23488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23489
a3cc4f48
JM
234902012-04-25 Joseph Myers <joseph@codesourcery.com>
23491
2ed8cda2
JM
23492 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23493 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23494 -DIS_IN_build.
23495
35d76d59
JM
23496 * timezone/README: Update upstream location and email address for
23497 tzcode and tzdata.
23498 * timezone/zdump.c: Update from tzcode 2012b.
23499 * timezone/zic.c: Likewise.
23500
a3cc4f48
JM
23501 * configure.in (libc_cv_as_needed): Remove test.
23502 * configure: Regenerated.
23503 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23504 conditional definition.
23505 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23506 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23507 * config.make.in (have-as-needed): Remove variable.
23508
ceab42c3
SP
235092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23510 Paul Pluzhnikov <ppluzhnikov@google.com>
23511
23512 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23513 strings correctly.
23514
3ce2865f
CLT
235152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23516
23517 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23518 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23519 * sysdeps/sh/strlen.S: Likewise.
23520
f37e0d68
JM
235212012-04-24 Joseph Myers <joseph@codesourcery.com>
23522
ae186e9a
JM
23523 * sysdeps/unix/fork.S: Remove file.
23524 * sysdeps/unix/i386/fork.S: Likewise.
23525 * sysdeps/unix/sparc/fork.S: Likewise.
23526
b96914af
JM
23527 * sysdeps/unix/system.c: Remove file.
23528 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23529
f37e0d68
JM
23530 * sysdeps/unix/getegid.S: Remove file.
23531 * sysdeps/unix/geteuid.S: Likewise.
23532
87ef29ca
RM
235332012-04-24 Roland McGrath <roland@hack.frob.com>
23534
83bcd236
RM
23535 * scripts/check-localplt.awk: New file.
23536 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23537 of diff.
23538 * scripts/data/localplt-generic.data: Add a comment.
23539
87ef29ca
RM
23540 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23541 NODE when __dir_mkfile failed.
23542 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23543 Reported by Ludovic Courtès <ludo@gnu.org>.
23544
e5a6e567
AJ
235452012-04-24 Andreas Jaeger <aj@suse.de>
23546
23547 * Makerules (common-clean): Also remove gen-as-const-headers
23548 files.
23549
c1820385
JM
235502012-04-24 Joseph Myers <joseph@codesourcery.com>
23551
23552 * Makerules (native-compile): Do not change working directory for
23553 build. Use $(OUTPUT_OPTION) in command.
23554 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23555
94e02fc4
AZ
235562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23557
23558 [BZ #13886]
23559 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23560 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23561 * math/libm-test.inc (floor_test): Add more tests.
23562 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23563
3a533ca3
JM
235642012-04-24 Joseph Myers <joseph@codesourcery.com>
23565
940ab4b3
JM
23566 * sysdeps/unix/getdents.c: Remove file.
23567 * sysdeps/unix/sysv/getdents.c: Likewise.
23568 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23569
90e037bd
JM
23570 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23571 sysdeps/unix/mman/syscalls.list.
23572 (mmap): Likewise.
23573 (mprotect): Likewise.
23574 (msync): Likewise.
23575 (munmap): Likewise.
23576 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23577 * sysdeps/unix/mman/syscalls.list: Remove.
23578 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23579
3a533ca3
JM
23580 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23581 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23582 * configure: Regenerated.
23583 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23584 $(libgcc_s_suffix).
23585 * config.make.in (libgcc_s_suffix): Remove variable.
23586
1ad743de
JM
235872012-04-23 Joseph Myers <joseph@codesourcery.com>
23588
4ad451e2
JM
23589 * sysdeps/unix/sysv/gethostname.c: Move to ...
23590 * sysdeps/posix/gethostname.c: ... here.
23591
5e37ce39
JM
23592 * sysdeps/unix/execve.S: Remove file.
23593
1ad743de
JM
23594 * sysdeps/unix/_exit.S: Remove file.
23595
4e681b5b
AJ
235962012-04-23 Andreas Jaeger <aj@suse.de>
23597
23598 [BZ #13739]
23599 * manual/Makefile: Remove make dist support, there's no
23600 need for a stand-alone documentation tar ball.
23601 (TEXI2DVI): Define always, it's not in Makeconfig.
23602 (dist): Removed.
23603 (tar-it): Removed.
23604 (edition): Removed.
23605 (glibc-doc-$(edition).tar): Removed
23606 (%.Z): Removed.
23607 (%.gz): Removed.
23608 (%.uu): Removed.
23609 (ETAGS): Remove, it's in Makeconfig.
23610 (move-if-change): Remove, it's in Makeconfig.
23611
38686a03 236122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23613
23614 [BZ #13970]
23615 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23616 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23617 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23618 (strtod_l, strtof_l, strtold_l): Remove __wur.
23619 It is not necessarily an error to ignore strtol's return value.
23620 One can reliably look at the stored endptr to decide whether
23621 the number had valid syntax.
23622
7c0616fa
AJ
236232012-04-21 Andreas Jaeger <aj@suse.de>
23624
803cb6b7 23625 [BZ #13739]
7c0616fa
AJ
23626 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23627
b0fe253f
JM
236282012-04-21 Joseph Myers <joseph@codesourcery.com>
23629
23630 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23631 * sysdeps/unix/sysv/Versions: Remove file.
23632
8280f22d
MT
236332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23634
23635 [BZ #13927]
23636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23637
75ce411f 236382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23639
23640 [BZ #7064]
23641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23642 version from __vm86.
23643
097d59fa
JM
236442012-04-20 Joseph Myers <joseph@codesourcery.com>
23645
a90f3bcb
JM
23646 * sysdeps/unix/common/lxstat.c: Remove file.
23647 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23648
edc7ea78
JM
23649 * sysdeps/unix/sysv/Makefile: Remove file.
23650
cb78c221
JM
23651 * sysdeps/unix/sysv/direct.h: Remove file.
23652
efa6a45f
JM
23653 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23654 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23655 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23656 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23657 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23658 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23659 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23660
9c9f2d0c
JM
23661 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23662
4541c83b
JM
23663 * sysdeps/unix/xmknod.c: Remove file.
23664 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23665
f5d153a0
JM
23666 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23667
aa746595
JM
23668 * sysdeps/unix/sysv/i386/time.S: Remove file.
23669
cce5905e
JM
23670 * sysdeps/unix/fxstat.c: Remove file.
23671 * sysdeps/unix/xstat.c: Likewise.
23672 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23673
37fa3841
JM
23674 * sysdeps/unix/sysv/sigaction.c: Remove file.
23675
ff1962a3
JM
23676 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23677 (sysdep_headers): Remove variable.
23678 [termio.h not in sysdep_headers] (generated): Likewise.
23679 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23680 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23681 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23682 * sysdeps/unix/sysv/tcflow.c: Likewise.
23683 * sysdeps/unix/sysv/tcflush.c: Likewise.
23684 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23685 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23686 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23687 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23688 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23689
e7740d31
JM
23690 * sysdeps/unix/siglist.c: Remove file.
23691
ee06f18b
JM
23692 * sysdeps/unix/getppid.S: Remove file.
23693
097d59fa
JM
23694 * sysdeps/unix/mkdir.c: Remove file.
23695 * sysdeps/unix/rmdir.c: Likewise.
23696
ff3d51ec
AS
236972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23698
23699 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23700 ERR_MAX value.
23701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23702 errlist-compat value.
23703
50f81fd7
DM
237042012-04-18 David S. Miller <davem@davemloft.net>
23705
23706 * sysdeps/generic/memcopy.h (reg_char): Delete.
23707 * debug/strcat_chk.c: Use char, not reg_char.
23708 * debug/strcpy_chk.c: Likewise.
23709 * debug/strncat_chk.c: Likewise.
23710 * debug/strncpy_chk.c: Likewise.
23711 * string/memchr.c: Likewise.
23712 * string/memrchr.c: Likewise.
23713 * string/rawmemchr.c: Likewise.
23714 * string/strcat.c: Likewise.
23715 * string/strchr.c: Likewise.
23716 * string/strchrnul.c: Likewise.
23717 * string/strcmp.c: Likewise.
23718 * string/strcpy.c: Likewise.
23719 * string/strncat.c: Likewise.
23720 * string/strncmp.c: Likewise.
23721 * string/strncpy.c: Likewise.
23722
8ff41c46
WS
237232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23724
23725 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23726 __builtin_memcopy is called when src and dest ranges are known to not
23727 overlap.
23728
6b652f46
WS
237292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23730
23731 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23732 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23733 fwd_align_merge macro call.
23734 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23735 bwd_align_merge macro call.
23736 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23737
b282631e
WS
237382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23739
23740 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23741 bwd_align_merge macros.
23742 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23743 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23744 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23745
95aa737c
DM
237462012-04-18 David S. Miller <davem@davemloft.net>
23747
23748 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23749
7a99a614
AJ
237502012-04-18 Andreas Jaeger <aj@suse.de>
23751
23752 [BZ# 6794]
23753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23754 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23756
23757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23758 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23759 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23760
23761 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23762 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23763 Adjust for changed ldbl-128 files.
23764
23765 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23766 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23767 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23768
e5270c23
DM
237692012-04-17 David S. Miller <davem@davemloft.net>
23770
23771 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23772
fb5e92c9
AS
237732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23774
23775 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23776 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23777 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23778 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23779 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23780 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23781
76da7265
AZ
237822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23783
23784 [BZ #6794]
23785 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23786 * math/libm-test.inc: Add ilogb errno and exception tests.
23787 * math/w_ilogb.c: New file: ilogb wrapper.
23788 * math/w_ilogbf.c: New file: ilogbf wrapper.
23789 * math/w_ilogbl.c: New file: ilogbl wrapper.
23790 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23791 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23792 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23793 exception being thrown with 0.0 as argument.
23794 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23795 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23796 exception being thrown with 0.0 as argument.
23797 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23798 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23799 exception being thrown with 0.0 as argument.
23800 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23801 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23802 exception being thrown with 0.0 as argument.
23803 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23804 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23806 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23808 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23809 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23810 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23811 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23812
0396e69d
PB
238132012-04-17 Petr Baudis <pasky@ucw.cz>
23814
23815 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23816 with altivec.
23817
750b5926
MP
238182012-04-16 Marek Polacek <polacek@redhat.com>
23819
23820 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23821
751728a1
MP
238222012-04-16 Marek Polacek <polacek@redhat.com>
23823
23824 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23825 operands of fdivp instruction.
23826
34a27407
L
238272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23830 * elf/tst-auditmod3b.c: Likewise.
23831 * elf/tst-auditmod4b.c: Likewise.
23832 * elf/tst-auditmod5b.c: Likewise.
23833 * elf/tst-auditmod6b.c: Likewise.
23834 * elf/tst-auditmod6c.c: Likewise.
23835 * elf/tst-auditmod7b.c: Likewise.
23836 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23837 * sysdeps/x86_64/preconfigure.in: Likewise.
23838 * sysdeps/x86_64/preconfigure: Regenerated.
23839
7e73e17d
L
238402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23841
23842 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23843 __ILP32__.
23844
c7a6ab72
AB
238452012-04-13 Antoine Balestrat <merkil33@gmail.com>
23846
23847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23848 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23849
a9e8e0e0
CL
238502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23851
23852 [BZ #13973]
23853 * locale/iso-639.def: Fix gl language name. Spotted by
23854 Yaron Shahrabani.
23855
ec98af7d
RM
238562012-04-12 Roland McGrath <roland@hack.frob.com>
23857
23858 [BZ #2074]
23859 * libio/libio.h (__io_write_fn): Update comment.
23860
247c3ede
PB
238612012-04-12 Petr Baudis <pasky@ucw.cz>
23862
23863 [BZ #2074]
23864 * stdio.texi (Hook Functions): The user provided writer function
23865 is not allowed to return -1.
23866
55939d6d
DM
238672012-04-11 David S. Miller <davem@davemloft.net>
23868
23869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23870
90020f5a
MF
238712012-04-11 Mike Frysinger <vapier@gentoo.org>
23872
23873 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23874 Add a leading slash to rtkaio.
23875
288f9098
JM
238762012-04-11 Jim Meyering <meyering@redhat.com>
23877
90020f5a
MF
23878 [BZ #11959]
23879 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23880 It is not necessarily an error to ignore fwrite's return
23881 value. One can reliably use ferror to test for errors after
23882 the fact.
288f9098 23883
4be2b570
L
238842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23885
23886 * bits/types.h (__snseconds_t): New type.
23887 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23888
23889 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23891 (__SNSECONDS_T_TYPE): Likewise.
23892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23893 (__SNSECONDS_T_TYPE): Likewise.
23894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23895 (__SNSECONDS_T_TYPE): Likewise.
23896
288f9098 238972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23898
23899 [BZ #2636]
23900 * manual/time.texi (Processor Time): Return type of times is
23901 elapsed real time since an arbitrary point in the past.
23902 (CPU Time): Move CLK_TCK from here...
23903 (Processor Time): ...to here. Correct description.
23904 * manual/conf.texi (Constants for Sysconf): Correct description of
23905 _SC_CLK_TCK.
23906
d7dd4413
DM
239072012-04-10 David S. Miller <davem@davemloft.net>
23908
23909 [BZ #13967]
23910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23911 where the is a gap between DT_REL(A) and DT_JMPREL.
23912
b46068fc
L
239132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23914
23915 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23916 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23917 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23918
73d65cc3
SP
239192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23920
23921 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23922 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23923 (dl_main): Handle --inhibit-cache.
23924 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23925 _dl_inhibit_cache.
23926 * elf/dl-load.c (_dl_map_object): Use it.
23927 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23928
bcc8d661
JM
239292012-04-09 Joseph Myers <joseph@codesourcery.com>
23930
8f9a2fae
JM
23931 [BZ #13872]
23932 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23933 (__ieee754_powl): Saturate large exponents rather than testing for
23934 overflow of y*log2(x).
23935 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23936 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23937 exceptions.
23938
bcc8d661
JM
23939 [BZ #11521]
23940 * math/s_ctan.c: Include <float.h>.
23941 (__ctan): Avoid internal overflow or cancellation in calculating
23942 denominator.
23943 * math/s_ctanf.c: Likewise.
23944 * math/s_ctanl.c: Likewise.
23945 * math/s_ctanh.c: Likewise.
23946 * math/s_ctanhf.c: Likewise.
23947 * math/s_ctanhl.c: Likewise.
23948 * math/libm-test.inc (ctan_test): Add more tests.
23949 (ctanh_test): Likewise.
23950 * sysdeps/i386/fpu/libm-test-ulps: Update.
23951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23952
823fbbb4
AJ
239532012-04-09 Andreas Jaeger <aj@suse.de>
23954
03879793
AJ
23955 [BZ #6894]
23956 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23957 is an optional BSD extension.
23958
823fbbb4
AJ
23959 [BZ #10254]
23960 * manual/stdio.texi (Opening Streams): Document additional fopen
23961 parameters.
23962
8de131cb
RM
239632012-04-09 Roland McGrath <roland@hack.frob.com>
23964
23965 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23966 %eax without telling the compiler.
23967
c0ed9d7d
CD
239682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23969
23970 [BZ # 13963]
23971 * manual/install.texi: Use sourceware.org.
23972
c483f6b4
JM
239732012-04-09 Joseph Myers <joseph@codesourcery.com>
23974
d7dd9453
JM
23975 [BZ #13873]
23976 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23977 (__ieee754_pow): Generate overflow and underflow using huge*huge
23978 and tiny*tiny rather than just returning constant infinity or zero
23979 for large exponents.
23980 * math/libm-test.inc (pow_test): Require overflow exceptions for
23981 applicable cases of large exponents.
23982
c483f6b4
JM
23983 [BZ #706]
23984 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23985 (__ieee754_pow): Use iterative multiplication algorithm only for
23986 integer exponents with absolute value below 1024. Check for odd
23987 integer exponents when using algorithm for real exponents.
23988 * math/libm-test.inc (pow_test): Add more tests.
23989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23990
d2de7579
JM
239912012-04-08 Joseph Myers <joseph@codesourcery.com>
23992
23993 [BZ #13705]
23994 * math/libm-test.inc (exp_test): Do not allow overflow exception
23995 on underflow test.
23996
f77f1232
AJ
239972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23998
23999 [BZ #13705]
24000 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24001 instead of __kernel_standard_f.
24002
3884932b
MF
240032012-04-08 Mike Frysinger <vapier@gentoo.org>
24004
24005 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24006 * sysdeps/x86_64/memset_chk.S: Likewise.
24007
54472e9c
AJ
240082012-04-08 Andreas Jaeger <aj@suse.de>
24009
6ab0fbfc
AJ
24010 [BZ #10153]
24011 * manual/startup.texi (Environment Access): Describe return value
24012 for putenv and setenv.
24013
61efba8c
AJ
24014 [BZ #6895]
24015 * manual/filesys.texi (Directory Entries): Add description for
24016 DT_LNK.
24017
95c3f29a
AJ
24018 [BZ #6890]
24019 * manual/filesys.texi (Directory Entries): Clarify that it's file
24020 system not operating system in the description of DT_UNKNOWN.
24021
54472e9c
AJ
24022 [BZ #6578]
24023 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24024
624254b1
SC
240252012-04-08 Stephen Compall <s11@member.fsf.org>
24026
24027 [BZ #6649]
24028 * manual/llio.texi (Opening and Closing Files): Add cross
24029 reference to explain mode argument.
24030
1e4920e0
MF
240312012-04-07 Mike Frysinger <vapier@gentoo.org>
24032
24033 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24034 * sysdeps/x86_64/memset_chk.S: Likewise.
24035
5ed848f3
DM
240362012-04-07 David S. Miller <davem@davemloft.net>
24037
24038 * elf/elf.h (R_SPARC_WDISP10): Define.
24039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24040 R_SPARC_SIZE32.
24041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24042 R_SPARC_SIZE64 and R_SPARC_H34.
24043
96154cd8
CD
240442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24045
24046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24047 conditions and remove no longer applicable assertion.
24048
9904dc47
L
240492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24050
24051 * bits/byteswap.h: Include <features.h>.
24052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24054
f8887d0a
L
240552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24056
24057 * bits/byteswap.h (__bswap_16): Removed.
24058 Include <bits/byteswap-16.h> to get __bswap_16.
24059 * sysdeps/i386/bits/byteswap.h: Likewise.
24060 * sysdeps/s390/bits/byteswap.h: Likewise.
24061 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24062 * bits/byteswap-16.h: New file.
24063 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24064 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24065 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24066 * string/Makefile (headers): Add bits/byteswap-16.h.
24067
62470f60
PP
240682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24069
24070 [BZ #13895]
24071 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24072 extra indirection.
24073 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24074 * nss/tst-nss-static.c: New.
24075
4dad7bab
RM
240762012-04-06 Robert Millan <rmh@gnu.org>
24077
24078 [BZ #6486]
24079 * manual/llio.texi (File Position Primitive): lseek
24080 refers to WHENCE when it really means OFFSET.
24081
e9142a17
AJ
240822012-04-06 Andreas Jaeger <aj@suse.de>
24083
2c040eff
AJ
24084 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24085 strncmp declarations.
24086
e9142a17
AJ
24087 * abilist/libc.abilist: Add __poll and __ppoll.
24088
ff9f1c5f
DM
240892012-04-05 David S. Miller <davem@davemloft.net>
24090
dcd2ae90
DM
24091 * scripts/check-local-headers.sh: Accept a host triplet in the
24092 path matched by the exclude regexp.
24093
993eb054
DM
24094 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24095 definition.
24096 * sysdeps/powerpc/powerpc32/dl-machine.h
24097 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24098 * sysdeps/s390/s390-32/dl-machine.h
24099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24100 * sysdeps/sparc/sparc32/dl-machine.h
24101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24102 * sysdeps/sparc/sparc64/dl-machine.h
24103 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24104
ff9f1c5f
DM
24105 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24106 lazy binding.
48e2e132 24107 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24108 undefined symbol errors.
24109
48e2e132 24110 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24111 DT_NEEDED entries.
24112
e80d6f94
MM
241132012-04-05 Michael Matz <matz@suse.de>
24114
24115 [BZ #13592]
24116 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24117
349fa79f
AJ
241182012-04-05 Andreas Jaeger <aj@suse.de>
24119
24120 [BZ #13908]
24121 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24122 comment.
24123
f402708f
KK
241242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24125
24126 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24127 which ROUND is no valid rounding mode.
24128
2ecccfc9
KK
241292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24130
24131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24132 read again.
24133 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24134
8a53f50f
KK
241352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24136
24137 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24138 an exception using FPU order intentionally.
24139
241402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24141
24142 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24143 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24144 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24145 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24146
d653abb7
SJ
241472012-04-05 Simon Josefsson <simon@josefsson.org>
24148
24149 [BZ #12340]
24150 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24151 EINVAL when BUFLEN is too smal.
24152
c3b1bf7d
TS
241532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24154
24155 [BZ #13553]
24156 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24157 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24158
b1aa60f3
AJ
241592012-04-03 Andreas Jaeger <aj@suse.de>
24160
c3b1bf7d 24161 [BZ #13938]
67f60a26
AJ
24162 * manual/setjmp.texi (System V contexts): Fix sentence.
24163
b1aa60f3
AJ
24164 [BZ #13926]
24165 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24166 New macro for this case.
24167 [!__GNUC__] (__bswap_64): New inline function for this case.
24168 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24169 * bits/byteswap.h: Likewise.
24170 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24171 ull, guard with __GLIBC_HAVE_LONG_LONG.
24172
24173 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24174 __GLIBC_HAVE_LONG_LONG.
24175
24176 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24177 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24178
39c59c35
TMQMF
241792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24180
24181 [BZ #13691]
24182 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24183 inptr and inend, rather than using last_ch.
24184
135ffda8
DM
241852012-04-02 David S. Miller <davem@davemloft.net>
24186
24187 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24188 * stdio-common/printf-parse.h (read_int): Change return type to
24189 'int', return -1 on INT_MAX overflow.
24190 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24191 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24192 overflows INT_MAX. Check for overflow of in-format-string precision
24193 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24194 SIZE_MAX not INT_MAX for integer overflow test.
24195 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24196 skip the construct in the format string but do not record anything.
24197 * stdio-common/bug22.c: Adjust to test both width/prevision
24198 INT_MAX overflow as well as total length INT_MAX overflow. Check
24199 explicitly for proper errno values.
24200
228c019e
TS
242012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24202
302cadd3
TS
24203 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24204 CHAR_MAX.
24205 * string/test-strcmp.c [! WIDE]: Likewise.
24206 * time/tst-mktime2.c: Likewise for INT_MAX.
24207 * string/test-string.h: #include <sys/param.h> for MIN.
24208
228c019e
TS
24209 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24210 * sysdeps/i386/init-first.c (init): Likewise.
24211 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24212 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24213 * sysdeps/sh/init-first.c (init): Likewise.
24214
cfa633f5
UD
242152012-04-01 Ulrich Drepper <drepper@gmail.com>
24216
24217 * po/ru.po: Update from translation team.
d1635ef8 24218 * po/vi.po: Likewise.
cfa633f5 24219
6cd0a5ea
SP
242202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24221
24222 * resolv/nss_dns/dns-host.c: Merge copyright years.
24223
4b43400f
LD
242242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24225
24226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24227 Optimize memcpy with prefetch if
24228 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24229 src, dst pointers have unequal 16 byte alignments.
24230
48c41d04
SP
242312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24232
24233 [BZ #13928]
24234 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24235 from a CNAME entry and return the minimum ttl for the query.
24236 (gaih_getanswer_slice): Likewise.
24237
b8dc394d
JL
242382012-03-30 Jeff Law <law@redhat.com>
24239
24240 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24241 due to long keys.
24242 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24243 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24244
2f5a5ed0
JL
24245 * resolv/nss_dns/dns-host.c: Update copyright year.
24246
1d39e359
UD
242472012-03-30 Ulrich Drepper <drepper@gmail.com>
24248
c030f70c 24249 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24250 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24251
1d39e359
UD
24252 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24253 comments for sendmmsg.
24254
242552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24256
24257 [BZ #13691]
24258 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24259 with only 1 character between 0x0041 and 0x01b0.
24260 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24261 * wcsmbs/tst-mbsnrtowcs.c: New file.
24262
20fde227
DM
242632012-03-29 David S. Miller <davem@davemloft.net>
24264
24265 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24266 small copies by hand.
24267
984a4237
JL
242682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24269
24270 [BZ #13761]
24271 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24272 _nss_compat_initgroups_dyn): Fall back to malloc/free
24273 for large group memberships.
24274
18c9d62b
DM
242752012-03-28 David S. Miller <davem@davemloft.net>
24276
88d85d4f
DM
24277 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24278 that branches into memcpy.
24279 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24282 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24284 bits.
24285 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24286 implementation too.
24287 * sysdeps/sparc/mempcpy.S: New file.
24288
e5aa83e1
DM
24289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24290 the IFUNC routine in the libc case.
24291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24292
88570753
DM
24293 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24294 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24295 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24296 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24297 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24298 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24299 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24300 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24301
249d7567
DM
24302 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24303 loop to 256 bytes instead of 64 bytes and fix test signedness.
24304
18c9d62b
DM
24305 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24306 * sysdeps/sparc/sparc32/Makefile: rather than here...
24307 * sysdeps/sparc/sparc64/Makefile: and here.
24308
05f3d1f6
UD
243092012-03-28 Ulrich Drepper <drepper@gmail.com>
24310
24311 * malloc/mallocbug.c: Avoid warnings about unused variables.
24312
86ae07a8
JL
243132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24314
24315 [BZ #13760]
24316 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24317 in the right place. Discard and retry query if response is
24318 larger than input buffer size.
24319
41bf21a1
JM
243202012-03-28 Joseph Myers <joseph@codesourcery.com>
24321
d6270972
JM
24322 [BZ #369]
24323 [BZ #2678]
24324 [BZ #3866]
24325 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24326 x for large integer exponent.
24327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24329 sign of result as needed afterwards.
24330 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24331 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24332 result for underflowing pow the same as for overflow.
24333 (__kernel_standard_l): Handle powl overflow and underflow here
24334 rather than calling __kernel_standard.
24335 * math/libm-test.inc (pow_test): Add more tests.
24336
414fca03 24337 [BZ #3868]
41bf21a1
JM
24338 [BZ #13879]
24339 [BZ #13910]
24340 [BZ #13911]
24341 [BZ #13912]
24342 [BZ #13913]
24343 [BZ #13915]
24344 [BZ #13916]
24345 [BZ #13917]
24346 [BZ #13918]
24347 [BZ #13919]
24348 [BZ #13920]
24349 [BZ #13921]
24350 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24351 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24352 (__kernel_standard_l): New function.
24353 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24354 __kernel_standard.
24355 * math/w_acosl.c (__acosl): Likewise.
24356 * math/w_asinl.c (__asinl): Likewise.
24357 * math/w_atan2l.c (__atan2l): Likewise.
24358 * math/w_atanhl.c (__atanhl): Likewise.
24359 * math/w_coshl.c (__coshl): Likewise.
24360 * math/w_exp10l.c (__exp10l): Likewise.
24361 * math/w_exp2l.c (__exp2l): Likewise.
24362 * math/w_fmodl.c (__fmodl): Likewise.
24363 * math/w_hypotl.c (__hypotl): Likewise.
24364 * math/w_j0l.c (__j0l, __y0l): Likewise.
24365 * math/w_j1l.c (__j1l, __y1l): Likewise.
24366 * math/w_jnl.c (__jnl, __ynl): Likewise.
24367 * math/w_lgammal.c (__lgammal): Likewise.
24368 * math/w_log10l.c (__log10l): Likewise.
24369 * math/w_log2l.c (__log2l): Likewise.
24370 * math/w_logl.c (__logl): Likewise.
24371 * math/w_powl.c (__powl): Likewise.
24372 * math/w_remainderl.c (__remainderl): Likewise.
24373 * math/w_scalbl.c (sysv_scalbl): Likewise.
24374 * math/w_sinhl.c (__sinhl): Likewise.
24375 * math/w_sqrtl.c (__sqrtl): Likewise.
24376 * math/w_tgammal.c (__tgammal): Likewise.
24377 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24378 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24379 * math/libm-test.inc (acos_test): Add more tests.
24380 (acosh_test): Likewise.
24381 (asin_test): Likewise.
24382 (atanh_test): Likewise.
24383 (exp_test): Likewise.
24384 (exp10_test): Likewise.
24385 (exp2_test): Likewise.
24386 (expm1_test): Likewise.
24387 (lgamma_test): Likewise.
24388 (log_test): Likewise.
24389 (log10_test): Likewise.
24390 (log1p_test): Likewise.
24391 (log2_test): Likewise.
24392 (pow_test): Do not allow some spurious overflow exceptions.
24393 (sqrt_test): Add more tests.
24394 (tgamma_test): Likewise.
24395 (y0_test): Likewise.
24396 (y1_test): Likewise.
24397 (yn_test): Likewise.
24398
dd62fda6
AB
243992012-03-27 Anton Blanchard <anton@samba.org>
24400
24401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24402 MAP_HUGETLB.
24403 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24404 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24406
1e3cdfda
AJ
244072012-03-27 David S. Miller <davem@davemloft.net>
24408
b855ab85
DM
24409 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24410
1e3cdfda
AJ
24411 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24412 have-as-vis3 check.
24413
244142012-03-27 Andreas Jaeger <aj@suse.de>
24415
24416 * sysdeps/x86_64/elf/configure.in: Moved to ...
24417 * sysdeps/x86_64/configure.in: ... here.
24418 * sysdeps/x86_64/elf/start.S: Moved to ...
24419 * sysdeps/x86_64/start.S: ... here.
24420 * sysdeps/x86_64/elf/configure: Delete.
24421
24422 * sysdeps/x86_64/configure.in: Merge contents from
24423 sysdeps/i386/configure.in (without i686 check).
24424
24425 * sysdeps/i386/elf/Versions: Merge into ...
24426 * sysdeps/i386/Versions: ... this.
24427 * sysdeps/i386/elf/Versions: Delete file.
24428 * sysdeps/i386/elf/start.S: Moved to ...
24429 * sysdeps/i386/start.S: ...here.
24430 * sysdeps/i386/elf/configure.in: Merge into...
24431 * sysdeps/i386/configure.in: ...here.
24432 * sysdeps/i386/elf/configure.in: Delete file.
24433 * sysdeps/i386/elf/configure: Delete file.
24434
24435 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24436 * debug/backtracesyms.c: ... here.
24437 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24438 * debug/backtracesymsfd.c: ... here.
24439 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24440 * sysdeps/generic/ifunc-sel.h: ... here.
24441
24442 * sysdeps/unix/i386/start.c: Delete file.
24443 * sysdeps/unix/sparc/start.c: Delete file.
24444 * sysdeps/unix/start.c: Delete file.
24445
24446 * sysdeps/sh/elf/configure.in: Moved to ...
24447 * sysdeps/sh/configure.in: ... here.
24448 * sysdeps/sh/elf/start.S: Moved to ...
24449 * sysdeps/sh/start.S: ... here.
24450 * sysdeps/sh/elf/configure: Delete file.
24451
24452 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24453 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24454 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24455 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24456 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24457 * sysdeps/powerpc/powerpc64/start.S: here.
24458 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24459 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24460 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24461 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24462 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24463
24464 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24465 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24466 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24467 * sysdeps/powerpc/powerpc32/start.S: ... here.
24468 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24469 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24470 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24471
24472 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24473 * sysdeps/powerpc/ifunc-sel.h: ... here.
24474 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24475 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24476
24477 * sysdeps/sparc/elf/configure.in: Moved to ...
24478 * sysdeps/sparc/configure.in: ... here.
24479 * sysdeps/sparc/elf/configure: Delete file.
24480 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24481 * sysdeps/sparc/sparc32/start.S: ... here.
24482 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24483 * sysdeps/sparc/sparc64/start.S: ... here.
24484 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24485 * sysdeps/sparc/sparc32/Makefile: ... this.
24486 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24487 * sysdeps/sparc/sparc64/Makefile: ... this.
24488
24489 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24490 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24491 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24492 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24493 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24494 * sysdeps/s390/s390-32/setjmp.S: ... here.
24495 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24496 * sysdeps/s390/s390-32/configure.in: ... here.
24497 * sysdeps/s390/s390-32/elf/configure: Delete file.
24498 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24499 * sysdeps/s390/s390-32/start.S: ... here.
24500
24501 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24502 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24503 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24504 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24505 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24506 * sysdeps/s390/s390-64/setjmp.S: ... here.
24507 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24508 * sysdeps/s390/s390-64/configure.in: ... here
24509 * sysdeps/s390/s390-64/elf/configure: Delete file.
24510 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24511 * sysdeps/s390/s390-64/start.S: ... here.
24512 * sysdeps/s390/s390-64/elf/configure: Delete.
24513
24514 * configure.in: Remove support for elf directories in sysdeps.
24515
24516 * configure: Regenerated.
24517 * sysdeps/i386/configure: Regenerated.
24518 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24519 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24520 * sysdeps/s390/s390-32/configure: Regenerated.
24521 * sysdeps/s390/s390-64/configure: Regenerated.
24522 * sysdeps/sh/configure: Regenerated.
24523 * sysdeps/sparc/configure: Regenerated.
24524 * sysdeps/x86_64/configure: Regenerated.
24525
a3f61311
AS
245262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24527
c876e002
AS
24528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24529
a3f61311
AS
24530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24531 denormal result into account.
24532
ac4c54f0
RM
245332012-03-25 Roland McGrath <roland@hack.frob.com>
24534
24535 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24536 Reported by Allan McRae <allan@archlinux.org>.
24537
6a9b9c02
JL
245382012-03-23 Jeff Law <law@redhat.com>
24539
24540 * nss/getnssent.c (__nss_getent): Fix typo.
24541
4c42a0c1
DM
245422012-03-23 David S. Miller <davem@davemloft.net>
24543
24544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24545
1532c7ac
L
245462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24547
24548 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24549 to pad to uint64_t for each field.
24550 (dl_tls_index): Replace unsigned long with uint64_t.
24551
3ff42526
PP
245522012-03-23 Daniel Jacobowitz <dmj@google.com>
24553 Paul Pluzhnikov <ppluzhnikov@google.com>
24554
24555 [BZ #6528]
24556 * grp/Makefile (otherlibs): Don't set it.
24557 * inet/Makefile (otherlibs): Likewise.
24558 * login/Makefile (otherlibs): Likewise.
24559 * nscd/Makefile (otherlibs): Likewise.
24560 * posix/Makefile (otherlibs): Likewise.
24561 * pwd/Makefile (otherlibs): Likewise.
24562 * rt/Makefile (otherlibs): Likewise.
24563 * sunrpc/Makefile (otherlibs): Likewise.
24564 * nss/Makefile (otherlibs): Likewise.
24565 Add libnss_files to routines and static-only-routines.
24566 ($(objpfx)getent): Remove rule.
24567 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24568 static-only-routines.
24569
7c69cd14
JM
245702012-03-22 Joseph Myers <joseph@codesourcery.com>
24571
24572 [BZ #13892]
24573 * math/s_cexp.c: Include <float.h>.
24574 (__cexp): Handle exp result overflowing not necessarily
24575 overflowing both real and imaginary parts of result.
24576 * math/s_cexpf.c: Likewise.
24577 * math/s_cexpl.c: Likewise.
24578 * math/libm-test.inc (cexp_test): Add more tests.
24579 * sysdeps/i386/fpu/libm-test-ulps: Update.
24580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24581
81b035fe
L
245822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24583
24584 * include/link.h (ELFW): New macro.
24585 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24586 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24587
1da7940c
L
245882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24589
24590 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24591 with uint64_t.
24592
b749dbb9
L
245932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24594
24595 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24596 declaration.
24597 (struct La_x32_retval): Likewise.
24598
2ff87f3f
L
245992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24600
24601 * sysdeps/x86_64/preconfigure.in: New file.
24602 * sysdeps/x86_64/preconfigure: New generated file.
24603
c0df8e69
JM
246042012-03-22 Joseph Myers <joseph@codesourcery.com>
24605
48e44791
JM
24606 [BZ #13824]
24607 * math/e_exp2l.c: Include <float.h>.
24608 (__ieee754_exp2l): Handle overflow and underflow cases
24609 separately. Only pass fractional part of argument to
24610 __ieee754_expl.
24611 * math/libm-test.inc (exp2_test): Add more tests.
24612
c0df8e69
JM
24613 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24614 negating x to take absolute value.
24615 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24616 Likewise.
24617 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24619 Likewise.
24620 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24621 computing low part if x was negated.
24622 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24623
c8e43ba7
L
246242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24625
24626 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24627 la_x32_gnu_pltexit.
24628 (pltexit): Cast int_retval to ptrdiff_t.
24629 * elf/tst-auditmod3b.c: Likewise.
24630 * elf/tst-auditmod4b.c: Likewise.
24631 * elf/tst-auditmod5b.c: Likewise.
24632 * elf/tst-auditmod6b.c: Likewise.
24633 * elf/tst-auditmod6c.c: Likewise.
24634 * elf/tst-auditmod7b.c: Likewise.
24635
24636 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24637 and x32_gnu_pltexit.
24638
24639 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24640 __ELF_NATIVE_CLASS.
24641 (La_x32_regs): New macro.
24642 (La_x32_retval): Likewise.
24643 (la_x32_gnu_pltenter): New function prototype.
24644 (la_x32_gnu_pltexit): Likewise.
24645
7998fa78
AS
246462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24647
dcb33988
AS
24648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24649 exponent.
24650
233fc563
AS
24651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24652
7998fa78
AS
24653 * configure.in (libc_cv_cc_nofma): Check for option to disable
24654 generation of FMA instructions.
24655 * configure: Regenerate.
24656 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24657 * sysdeps/ieee754/dbl-64/Makefile: New file.
24658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24659 Remove brandred-fma4.
24660 (CFLAGS-brandred-fma4.c): Remove.
24661 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24663 define.
24664 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24665 define.
24666
8e95c99a
L
246672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24668
24669 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24670 LLONG_MAX != LONG_MAX.
24671 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24672 (_fitoa_word): Likewise.
24673 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24674 LLONG_MAX != LONG_MAX.
24675 * stdio-common/_itowa.h: Include <_itoa.h>.
24676 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24677 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24678 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24679 only if not defined.
24680 (_ITOA_WORD_TYPE): Likewise.
24681 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24682 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24683
6f4db457
DM
246842012-03-21 David S. Miller <davem@davemloft.net>
24685
24686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24687
7785fe5a
L
246882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24689
24690 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24691 of x86_64 when setting libc_cv_slibdir, libdir and
24692 libc_cv_localedir.
24693 * sysdeps/unix/sysv/linux/configure: Regenerated.
24694
4535cd55
JM
246952012-03-21 Joseph Myers <joseph@codesourcery.com>
24696
24697 * manual/lang.texi (Old Varargs): Remove section.
24698 (How Variadic): Update menu.
24699 (va_start): Do not mention varargs.h.
24700
17228132
TS
247012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24702 Joseph Myers <joseph@codesourcery.com>
24703
24704 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24705 link test.
24706 * configure: Regenerated.
24707
8149f976
TS
247082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24709
05f3d1f6
UD
24710 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24711 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24712 conformtest.pl
8149f976 24713
1a4ac776
JM
247142012-03-21 Joseph Myers <joseph@codesourcery.com>
24715
be22ce65
JM
24716 * NOTES: Remove.
24717 * Makefile (files-for-dist): Remove NOTES.
24718 (NOTES): Remove rule.
24719 * README: Don't refer to NOTES.
24720 * manual/creature.texi: Don't include macros.texi.
24721 * manual/intro.texi (creature.texi): Remove comment referring to
24722 NOTES.
24723
40b601fb
JM
24724 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24725 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24726 * configure: Regenerated.
24727 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24728 LIBC_TRY_CC_OPTION.
24729 (libc_cv_as_i686): Likewise.
24730 (libc_cv_cc_avx): Likewise.
24731 (libc_cv_cc_sse2avx): Likewise.
24732 (libc_cv_cc_fma4): Likewise.
24733 (libc_cv_cc_novzeroupper): Likewise.
24734 * sysdeps/i386/configure: Regenerated.
24735
1a4ac776
JM
24736 [BZ #13883]
24737 * sysdeps/i386/fpu/s_cexp.S: Remove.
24738 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24739 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24740 * math/libm-test.inc (cexp_test): Add more tests.
24741 * sysdeps/i386/fpu/libm-test-ulps: Update.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743
a458e7fe
AM
247442012-03-21 Allan McRae <allan@archlinux.org>
24745
24746 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24747
0cb7efc5
JM
247482012-03-21 Joseph Myers <joseph@codesourcery.com>
24749
24750 [BZ #13871]
24751 * math/w_exp2.c: Do not include <float.h>.
24752 (o_threshold, u_threshold): Remove.
24753 (__exp2): Calculate result before checking finiteness and calling
24754 __kernel_standard.
24755 * math/w_exp2f.c: Likewise.
24756 * math/w_exp2l.c: Likewise.
24757 * math/libm-test.inc (exp2_test): Require overflow exception for
24758 1e6 input.
2460d3aa
JM
24759
24760 [BZ #3866]
24761 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24762 range of signed 64-bit integers before using fistpll. Remove
24763 checks for whether integers fit in mantissa bits.
24764 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24765 the range of signed 32-bit integers before using fistpl. Remove
24766 checks for whether integers fit in mantissa bits.
24767 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24768 (__ieee754_powl): Test for y outside the range of signed 64-bit
24769 integers before using fistpll. Reduce 64-bit values to 63-bit
24770 ones as needed.
24771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24772 divide-by-zero is raised for zero to large negative powers.
24773 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24774 (__ieee754_powl): Test for y outside the range of signed 64-bit
24775 integers before using fistpll. Reduce 64-bit values to 63-bit
24776 ones as needed.
24777 * math/libm-test.inc (pow_test): Add more tests.
24778
eb96ffb0
L
247792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24780
24781 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24782 <stdio-common/_itoa.h>.
24783 * debug/segfault.c: Likewise.
24784 * elf/dl-cache.c: Likewise.
24785 * elf/dl-minimal.c: Likewise.
24786 * elf/dl-misc.c: Likewise.
24787 * elf/dl-sysdep.c: Likewise.
24788 * elf/dl-version.c: Likewise.
24789 * elf/rtld.c: Likewise.
24790 * hurd/hurdsock.c: Likewise.
24791 * hurd/lookup-retry.c: Likewise.
24792 * malloc/malloc.c: Likewise.
24793 * malloc/mtrace.c: Likewise.
24794 * nscd/nscd_getgr_r.c: Likewise.
24795 * nscd/nscd_getpw_r.c: Likewise.
24796 * nscd/nscd_getserv_r.c: Likewise.
24797 * posix/getopt_init.c: Likewise.
24798 * posix/wordexp.c: Likewise.
24799 * stdio-common/_itoa.c: Likewise.
24800 * stdio-common/printf_fphex.c: Likewise.
24801 * stdio-common/vfprintf.c: Likewise.
24802 * string/_strerror.c: Likewise.
24803 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24804 * sysdeps/i386/i686/hp-timing.h: Likewise.
24805 * sysdeps/mach/_strerror.c: Likewise.
24806 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24807 * sysdeps/mach/hurd/sethostid.c: Likewise.
24808 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24809 * sysdeps/mach/xpg-strerror.c: Likewise.
24810 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24811 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24812 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24813 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24814 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24815 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24816 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24817 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24818 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24819 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24820 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24821 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24822 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24823 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24824 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24825 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24826 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24827 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24828 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24829 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24830 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24831
24832 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24833
24834 * stdio-common/_itoa.h: Moved to ...
24835 * sysdeps/generic/_itoa.h: Here.
24836
24837 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24838
24839 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24840 instead of "_itoa.h" and "_itowa.h".
24841 * stdio-common/vfprintf.: Likewise.
24842
d1af992d
L
248432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24844
24845 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24846 <bits/wordsize.h>.
24847 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24848 (__signbit): Likwise.
24849 (llrintf): Likwise.
24850 (llrint): Likwise.
24851
114883e0
L
248522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24853
24854 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24855 __WORDSIZE != 64.
24856
c135cc1b
JM
248572012-03-20 Joseph Myers <joseph@codesourcery.com>
24858
24859 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24860 OVERFLOW_EXCEPTION_OK.
24861 * math/libm-test.inc ("Philosophy"): Update comment about
24862 exception testing.
24863 (OVERFLOW_EXCEPTION): Define.
24864 (OVERFLOW_EXCEPTION_OK): Likewise.
24865 (INVALID_EXCEPTION_OK): Renumber.
24866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24867 (IGNORE_ZERO_INF_SIGN): Likewise.
24868 (test_exceptions): Handle FE_OVERFLOW.
24869 (exp10_test): Expect overflow exceptions.
24870 (exp2_test): Likewise.
24871 (expm1_test): Likewise.
24872 (nextafter_test): Likewise.
24873 (pow_test): Likewise.
24874 (scalbn_test): Likewise.
24875 (scalbln_test): Likewise.
24876
95443d88
L
248772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24878
24879 * sysdeps/x86_64/bits/atomic.h
24880 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24881 64bit integer.
24882 (atomic_exchange_acq): Likewise.
24883 (__arch_exchange_and_add_body): Likewise.
24884 (__arch_add_body): Likewise.
24885 (atomic_add_negative): Likewise.
24886 (atomic_add_zero): Likewise.
24887
490df6c4
L
248882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24889
c2722551 24890 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24891 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24892
5e52b189
L
248932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24894
24895 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24896 Check __x86_64__ instead of __WORDSIZE.
24897
a9879d4c
L
248982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24899
24900 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24901
5df98260
DM
249022012-03-19 David S. Miller <davem@davemloft.net>
24903
e1497744
DM
24904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24905
5df98260
DM
24906 * sysdeps/sparc/fpu/fenv_private.h: New file.
24907 * sysdeps/sparc/fpu/math_private.h: Use it.
24908 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24909 Remove.
24910 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24911 (libc_feholdexcept_setroundl): Remove.
24912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24913 Remove.
24914 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24915 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24916
b4c35121
L
249172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24918
24919 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24920 int64_t instead of long int.
24921 (INSERT_WORDS64): Likwise.
24922
56965fd7
L
249232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24924
24925 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24926 _Unwind_GetCFA return to _Unwind_Ptr first.
24927
83d1aec8
JM
249282012-03-19 Joseph Myers <joseph@codesourcery.com>
24929
1897ad44
JM
24930 [BZ #13629]
24931 * math/s_clog.c: Include <float.h>.
24932 (__clog): Scale large or subnormal inputs.
24933 * math/s_clogf.c: Likewise.
24934 * math/s_clogl.c: Likewise.
24935 * math/s_clog10.c: Include <float.h>.
24936 (M_LOG10_2): Define.
24937 (__clog10): Scale large or subnormal inputs.
24938 * math/s_clog10f.c: Likewise.
24939 * math/s_clog10l.c: Likewise.
24940 * math/libm-test.inc (clog_test): Add more tests.
24941 (clog10_test): Likewise.
24942 * sysdeps/i386/fpu/libm-test-ulps: Update.
24943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24944
7726d6a9
JM
24945 [BZ #11451]
24946 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24947 x and y.
24948 * math/libm-test.inc (atan2_test): Add another test.
24949
83d1aec8
JM
24950 * Makerules (common-objdir-compile): Remove.
24951 * sysdeps/unix/Makefile (config-generated): Do not add
24952 $(unix-generated) to variable.
24953 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24954 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24955 Remove rule.
24956 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24957 Likewise.
24958 [generic bits/local_lim.h] (before-compile): Do not append to
24959 variable.
24960 [generic bits/local_lim.h] (common-generated): Likewise.
24961 [generic sys/param.h] (before-compile): Do not append to variable.
24962 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24963 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24964 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24965 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24966 include.
24967 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24968 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24969 [generic sys/param.h] ($(addprefix
24970 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24971 [generic sys/param.h] (common-generated): Do not append to
24972 variable.
24973 [generic sys/param.h] (sysdep_headers): Likewise.
24974 [generic bits/errno.h] (before-compile): Do not append to
24975 variable.
24976 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24977 rule.
24978 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24979 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24980 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24981 [generic bits/errno.h] (common-generated): Do not append to
24982 variable.
24983 [generic bits/ioctls.h] (before-compile): Do not append to
24984 variable.
24985 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24986 rule.
24987 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24988 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24989 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24990 rule.
24991 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24992 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24993 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24994 [generic bits/ioctls.h] (common-generated): Do not append to
24995 variable.
24996 [generic sys/syscall.h] (syscall.h): Remove variable.
24997 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24998 rule.
24999 [generic sys/syscall.h] (before-compile): Do not append to
25000 variable.
25001 [generic sys/syscall.h] (common-generated): Likewise.
25002 * sysdeps/unix/errnos-tmpl.c: Remove file.
25003 * sysdeps/unix/errnos.awk: Likewise.
25004 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25005 * sysdeps/unix/ioctls.awk: Likewise.
25006 * sysdeps/unix/mk-local_lim.c: Likewise.
25007 * sysdeps/unix/snarf-ioctls: Likewise.
25008
4851a949
RH
250092012-03-19 Richard Henderson <rth@twiddle.net>
25010
bd37f2ee
RH
25011 * sysdeps/i386/fpu/fenv_private.h: New file.
25012 * sysdeps/i386/fpu/math_private.h: Use it.
25013 (math_opt_barrier, math_force_eval): Remove.
25014 (libc_feholdexcept_setround_53bit): Remove.
25015 (libc_feupdateenv_53bit): Remove.
25016 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25017 (math_opt_barrier, math_force_eval): Remove.
25018 (libc_feholdexcept): Remove.
25019 (libc_feholdexcept_setround): Remove.
25020 (libc_fetestexcept, libc_fesetenv): Remove.
25021 (libc_feupdateenv_test): Remove.
25022 (libc_feupdateenv, libc_feholdsetround): Remove.
25023 (libc_feresetround): Remove.
25024
d0adc922
RH
25025 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25026 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25027
0fe0f1f8
RH
25028 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25029 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25030 (libc_feupdateenv_testl): New.
25031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25032 (libc_feupdateenv_testf): New.
25033 (libc_feupdateenv): Use libc_feupdateenv_test.
25034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25036
eb92c487
RH
25037 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25038 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25039 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25040 (libc_feresetround_noex): New.
25041 (libc_feresetround_noexf): New.
25042 (libc_feresetround_noexl): New.
25043 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25044 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25045 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25046 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25047 SET_RESTORE_ROUND.
25048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25050 (__cos): Likewise.
25051 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25052 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25053 SET_RESTORE_ROUND_NOEX.
25054 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25055 SET_RESTORE_ROUND_NOEXF.
25056 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25057 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25058 (libc_feholdsetroundf): New.
25059 (libc_feresetround, libc_feresetroundf): New.
25060
7d2e8012
RH
25061 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25062 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25063 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25064
b4dabbb4
RH
25065 * sysdeps/generic/math_private.h: Include <fenv.h>.
25066 (default_libc_feholdexcept): New.
25067 (default_libc_feholdexcept_setround): New.
25068 (default_libc_fesetenv, default_libc_feupdateenv): New.
25069 (libc_feholdexcept): Only define if undefined.
25070 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25071 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25072 (libc_feholdexcept_setroundl): Likewise.
25073 (libc_feholdexcept_setround_53bit): Likewise.
25074 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25075 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25076 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25077 (libc_feupdateenv_53bit): Likewise.
25078 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25079 (libc_feholdexcept): Convert from macro to inline function.
25080 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25081 (libc_fesetenv, libc_feupdateenv): Likewise.
25082
4851a949
RH
25083 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25084 not previously defined.
25085 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25086 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25087 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25088 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25089 * sysdeps/ieee754/flt-32/math_private.h: New file.
25090 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25091 math_private.h below SET_FLOAT_WORD.
25092 (__isnan, __isinf_ns, __finite): Remove.
25093 (__isnanf, __isinf_nsf, __finitef): Remove.
25094
e79d442e
AS
250952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25096
25097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25098
90b80344
DM
250992012-03-17 David S. Miller <davem@davemloft.net>
25100
25101 [BZ #6471]
25102 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25103 for 2.16.
25104
edc21804
DM
251052012-03-16 David S. Miller <davem@davemloft.net>
25106
77e927af
DM
25107 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25108 warnings.
25109
374976dd
DM
25110 [BZ #6471]
25111 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25112 properly.
25113 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25114 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25115 sysdep_routines when subdir is sysvipc.
25116 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25117 __getshmlba helper.
25118
edc21804
DM
25119 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25120
473c3ef3
L
251212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25122
25123 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25124 [__LP64__].
25125
eb0f39b6
L
251262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25127
25128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25129 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25130 (__lround): Renamed to ...
25131 (__llround): This. Replace long int with long long int.
25132 Define lround functions as aliases of llround functions.
25133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25134
6b6cd74b
L
251352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25136
25137 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25138 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25139 adresses to uintptr_t. Replace "long int" and "unsigned long
25140 int" with "greg_t" on va_arg.
25141
f1a77b01
L
251422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25143
25144 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25145 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25146
25147 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25148 Move e_machine check before EI_CLASS check. Handle x32
25149 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25150 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25151 SKIP_EM_IA_64 and include
25152 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25153
25154 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25155 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25156 (add_system_dir): New macro.
25157
25158 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25159 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25160
11b90b9f
JM
251612012-03-16 Joseph Myers <joseph@codesourcery.com>
25162
c36e1d23
JM
25163 [BZ #2551]
25164 [BZ #2552]
25165 [BZ #2553]
25166 [BZ #2554]
25167 [BZ #2562]
25168 [BZ #2563]
25169 [BZ #2565]
25170 [BZ #2566]
25171 [BZ #2576]
25172 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25173 (y0): Likewise.
25174 * math/w_j0f.c (j0f): Likewise.
25175 (y0f): Likewise.
25176 * math/w_j0l.c (__j0l): Likewise.
25177 (__y0l): Likewise.
25178 * math/w_j1.c (j1): Likewise.
25179 (y1): Likewise.
25180 * math/w_j1f.c (j1f): Likewise.
25181 (y1f): Likewise.
25182 * math/w_j1l.c (__j1l): Likewise.
25183 (__y1l): Likewise.
25184 * math/w_jn.c (jn): Likewise.
25185 (yn): Likewise.
25186 * math/w_jnf.c (jnf): Likewise.
25187 (ynf): Likewise.
25188 * math/w_jnl.c (__jnl): Likewise.
25189 (__ynl): Likewise.
25190 * math/libm-test.inc (j0_test): Add more tests.
25191 (j1_test): Likewise.
25192 (jn_test): Likewise. Add trailing semicolon to existing test.
25193 (y0_test): Likewise.
25194 (y1_test): Likewise.
25195 * sysdeps/i386/fpu/libm-test-ulps: Update.
25196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25197
11b90b9f
JM
25198 [BZ #13851]
25199 [BZ #13854]
25200 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25201 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25202 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25203 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25204 (__tanl): Set errno for infinite argument.
25205 * sysdeps/i386/fpu/mptan.c: Remove.
25206 * sysdeps/i386/fpu/s_tan.S: Likewise.
25207 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25208 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25209 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25210 * math/libm-test.inc (tan_test): Add more tests and enable more
25211 tests for double and long double.
25212 * sysdeps/i386/fpu/libm-test-ulps: Update.
25213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25214
6a1bd2a1
JK
252152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25216
25217 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25218 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25219
10a803e0
RM
252202012-03-16 Roland McGrath <roland@hack.frob.com>
25221
25222 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25223 * configure.in: Use it for both main tree and add-ons.
25224 * configure: Regenerated.
25225
f196c7f7
L
252262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25227
25228 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25229
8848d99d
JM
252302012-03-16 Joseph Myers <joseph@codesourcery.com>
25231
96cbe7f4
JM
25232 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25233 in comment.
25234
8848d99d
JM
25235 [BZ #13851]
25236 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25237 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25241 infinite argument.
25242 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25243 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25244 != 0 for prec == 2.
25245 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25246 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25247 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25248 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25249 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25250 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25251 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25252 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25253 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25254 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25255 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25256 * math/libm-test.inc (cos_test): Add more tests and enable more
25257 tests for long double.
25258 (sin_test): Likewise.
25259 (sincos_test): Likewise.
25260 * sysdeps/i386/fpu/libm-test-ulps: Update.
25261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25262
dd7f4703
DM
252632012-03-16 David S. Miller <davem@davemloft.net>
25264
25265 * sysdeps/sparc/fpu/math_private.h: New file.
25266
006f1daa
DM
252672012-03-15 David S. Miller <davem@davemloft.net>
25268
c0c83bc8
DM
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25270 file.
e6a62e18 25271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25273 file.
e6a62e18
DM
25274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25280 sysdep routines.
25281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25282
88cb87d9
DM
25283 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25284 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25285
006f1daa 25286 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25288 sparc-ifunc.h
006f1daa 25289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25291 Likewise.
25292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25293 Likewise.
006f1daa
DM
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25298 Likewise.
006f1daa
DM
25299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25304 Likewise.
25305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25306 Likewise.
006f1daa
DM
25307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25331
11e0098e
AS
253322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25333
25334 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25335 scaling.
25336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25337
e85b09d0
AJ
253382012-03-15 Andreas Jaeger <aj@suse.de>
25339
25340 [BZ #13852]
25341 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25342 ieee754/flt-32 implementation for sin, cos and sincos.
25343 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25344 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25345 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25346 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25347 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25348 ieee754/flt-32 implementation for tan.
25349
25350 * math/libm-test.inc (cos_test): Enable some large input tests for
25351 float as well
25352 (sin_test): Likewise.
25353 (sincos_test): Likewise.
25354 (tan_test): Add tests for large input.
25355
25356 * sysdeps/i386/fpu/libm-test-ulps: Update.
25357
81c64153
AJ
253582012-03-15 Andreas Jaeger <aj@suse.de>
25359
25360 [BZ #13658]
25361 * math/libm-test.inc (cos_test): Add more test cases.
25362 (sin_test): Likewise.
25363 (sincos_test): Likewise.
25364
7bbfa5c6
AJ
253652012-03-15 Andreas Jaeger <aj@suse.de>
25366
25367 [BZ #13837]
25368 * math/libm-test.inc (cos_test): Add a test case for large input
25369 value.
25370 (sin_test): Likewise.
25371 (sincos_test): Likewise.
25372
253732012-03-15 Andreas Jaeger <aj@suse.de>,
25374 Joseph Myers <joseph@codesourcery.com>
25375
25376 [BZ #13658]
0671f479 25377 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25378 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25379 * sysdeps/i386/fpu/branred.c: Likewise.
25380 * sysdeps/i386/fpu/dosincos.c: Likewise.
25381 * sysdeps/i386/fpu/mpa.c: Likewise.
25382 * sysdeps/i386/fpu/s_cos.S: Likewise.
25383 * sysdeps/i386/fpu/s_sin.S: Likewise.
25384 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25385 * sysdeps/i386/fpu/sincos32.c: Likewise.
25386
25387 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25388 Define.
25389 (libc_feupdateenv_53bit): Define.
25390 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25391 Define.
25392 (libc_feupdateenv_53bit): Define.
25393
25394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25395 53 bit (without extend i386 double precision).
25396
25397 * math/libm-test.inc (sincos_test): Add tests for large input.
25398 (sin): Likewise.
25399 (cos): Likewise.
25400
25401 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25402
9cad04ea
AS
254032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25404
25405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25406
f7062b9a
DM
254072012-03-15 David S. Miller <davem@davemloft.net>
25408
25409 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25410 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25411 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25412 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25425 file.
f7062b9a 25426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25428 file.
f7062b9a 25429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25431 file.
f7062b9a 25432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25434 file.
f7062b9a
DM
25435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25437 fmin/fmax sysdep routines.
25438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25439
7bd951ff
DM
254402012-03-14 David S. Miller <davem@davemloft.net>
25441
559398ab
DM
25442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25471 routines.
25472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25473 file.
559398ab 25474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25476 file.
559398ab 25477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25479 file.
559398ab 25480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25482 file.
559398ab 25483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25485 file.
559398ab 25486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25488 file.
25489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25490 file.
25491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25492 file.
25493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25494 file.
25495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25496 New file.
25497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25498 file.
25499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25500 file.
559398ab 25501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25503 file.
559398ab 25504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25506 file.
559398ab 25507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25509 file.
559398ab 25510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25512 VIS3 routines.
559398ab
DM
25513
25514 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25515 New file.
25516
5a1c1e32
DM
25517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25518
eae47a36
DM
25519 * sysdeps/sparc/configure.in: New file.
25520 * sysdeps/sparc/configure: Generate.
25521 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25522 * configure: Regenerate.
25523 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25524 * config.make.in (have-as-vis3): New.
25525 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25526 available use -Av9d instead of -Av9a.
25527 * sysdeps/sparc/sparc64/Makefile: Likewise.
25528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25530 New file.
25531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25532 file.
25533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25534 New file.
25535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25536 file.
eae47a36
DM
25537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25542
c0c83bc8
DM
25543 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25544 fzeros/fnegs to load 0x80000000 into a float register instead of
25545 using the stack.
7bd951ff
DM
25546 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25547
bd951ccb
JM
255482012-03-14 Joseph Myers <joseph@codesourcery.com>
25549
25550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25551 bits/syscall.h.
25552 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25553 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25554 ($(inst_includedir)/bits/syscall.h): Remove rule.
25555 ($(objpfx)bits/syscall.d): Include instead of
25556 $(objpfx)syscall-list.d.
25557 (generated): Change syscall-list.h and syscall-list.d to
25558 bits/syscall.h and bits/syscall.d.
25559
bb4e6db2
RM
255602012-03-14 Roland McGrath <roland@hack.frob.com>
25561
25562 [BZ #13846]
25563 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25564
aa4a2ae1
JM
255652012-03-14 Joseph Myers <joseph@codesourcery.com>
25566
e456826d
JM
25567 [BZ #13841]
25568 * math/s_csqrt.c: Include <float.h>.
25569 (__csqrt): Scale large or subnormal inputs.
25570 * math/s_csqrtf.c: Likewise.
25571 * math/s_csqrtl.c: Likewise.
25572 * math/libm-test.inc (csqrt_test): Add more tests.
25573 * sysdeps/i386/fpu/libm-test-ulps: Update.
25574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25575
aa4a2ae1
JM
25576 [BZ #13840]
25577 * math/libm-test.inc (hypot_test): Add more tests.
25578
7c10fd35
DM
255792012-03-13 David S. Miller <davem@davemloft.net>
25580
25581 [BZ #13840]
25582 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25583 double-precision for the calculation instead of scaling.
25584
f453b98b
JM
255852012-03-13 Joseph Myers <joseph@codesourcery.com>
25586
25587 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25588 manipulate bits before adding and subtracting TWO52[sx].
25589 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25590 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25591 Likewise.
25592 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25593
09a3453f
DM
255942012-03-13 David S. Miller <davem@davemloft.net>
25595
8e59da90
DM
25596 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25597 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25599 rtld-global-offsets.h
25600 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25601
2a8ab7f2
DM
25602 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25603 large parameters.
25604
10f62770
DM
25605 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25606
5f0bdb18
DM
25607 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25608 'err' in the ifdef scope in which it is actually used.
25609
09a3453f
DM
25610 * nss/nss_db/db-init.c: Include string.h
25611
b4b2eb5e
DM
256122012-03-12 David S. Miller <davem@davemloft.net>
25613
98bb2f1c
DM
25614 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25615 masking out of the most significant byte of random value used.
25616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25617 Fix coding style in previous change.
25618
b4b2eb5e
DM
25619 * sysdeps/unix/sysv/linux/kernel-features.h
25620 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25621 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25622 expression.
25623 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25624 later.
25625
6e226b09
DM
256262012-03-11 David S. Miller <davem@davemloft.net>
25627
a1bcbd40
DM
25628 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25629 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25631 for 'resultvar' otherwise things get truncated on 64-bit.
25632
cb9d6174
DM
25633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25634 Fix masking out of the most significant byte of random value used.
25635
6e226b09
DM
25636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25637
058c132d
AS
256382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25639
25640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25641
2d2cd515
DM
256422012-03-09 David S. Miller <davem@davemloft.net>
25643
25644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25645 variables with appropriate CPP guards.
25646 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25647 frame pointer, not the stack pointer. Correct layout comments. Fix test
25648 on resulting framesize and the management of the outregs buffer for pltexit.
25649 Preserve floating point return values across _dl_call_pltexit call.
25650 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25651 framesize and the management of the outregs buffer for pltexit.
25652 Preserve floating point return values across _dl_call_pltexit
25653 call.
25654 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25655 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25656 (print_exit): Fix format string for return register value.
25657
9a07f9d0
JM
256582012-03-10 Joseph Myers <joseph@codesourcery.com>
25659
25660 * sunrpc/Makefile (others): Add rpcgen.
25661 ($(objpfx)rpcgen): Remove special build rule and dependency on
25662 libc.
25663 * sunrpc/rpcgen.c: New file.
25664
547b5e30
PE
256652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25666
c524201a
PE
25667 [BZ #13673]
25668 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25669 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25670 * sysdeps/i386/crti.S: Likewise.
25671 * sysdeps/i386/crtn.S: Likewise.
25672 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25673 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25674 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25675 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25676 * sysdeps/sh/crti.S: Likewise.
25677 * sysdeps/sh/crtn.S: Likewise.
25678 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25679
7b6235f2
PE
25680 [BZ #13673]
25681 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25682 with URL.
25683 * locale/programs/locfile-kw.gperf: Likewise.
25684 * locale/programs/charmap-kw.h: Regenerated.
25685 * locale/programs/locfile-kw.h: Likewise.
25686
547b5e30
PE
25687 [BZ #13673]
25688 * intl/plural.y: Replace FSF snail mail address with URL.
25689 * intl/plural.c: Regenerated.
25690
5f0a5dae
RH
256912012-03-09 Richard Henderson <rth@twiddle.net>
25692
25693 * include/math_private.h: Remove file.
25694 * math/math_private.h: Move file ...
25695 * sysdeps/generic/math_private.h: ... here.
25696
b8c03620
RH
25697 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25698 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25699 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25700
4e234f5d 25701 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25702 and <math_private.h>.
25703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25708 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25711 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25714 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25718 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25725 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25743 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25744 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25746 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25747 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25748 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25749 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25750 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25751 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25752 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25753 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25754 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25755 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25756 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25757 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25767 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25768 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25769 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25770 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25772 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25773 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25777 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25787 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25790 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25791 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25794 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25796 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25797 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25798 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25800 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25803 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25804 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25805 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25806 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25807 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25808 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25809 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25810 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25811 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25813 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25814 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25815 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25816 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25817 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25819 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25820 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25823 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25824 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25826 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25827 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25828 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25829 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25830 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25831 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25832 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25833 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25834 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25835 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25836 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25837 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25838 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25839 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25840 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25841 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25842 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25843 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25844 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25845 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25846 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25847 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25848 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25849 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25851 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25852 * sysdeps/ieee754/k_standard.c: Likewise.
25853 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25930 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25946 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25951 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25952 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25957 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25960 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25961 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25962 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25963 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25972 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25974 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25975 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25976 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25977 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25979 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25980 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25981 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25982 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25983 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25984 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25985 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25986 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25987 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25988 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25990 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25991 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25992 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25993 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25994 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25995 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25996 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25997 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25999 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26000 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26001 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26002 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26003 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26006 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26007 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26008 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26009 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26010 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26012 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26013 * sysdeps/ieee754/s_lib_version.c: Likewise.
26014 * sysdeps/ieee754/s_matherr.c: Likewise.
26015 * sysdeps/ieee754/s_signgam.c: Likewise.
26016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26018 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26019 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26020 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26021 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26022 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26023 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26024 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26025 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26026 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26027 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26028 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26030 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26031 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26033 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26037
1991fa03
JM
260382012-03-09 Joseph Myers <joseph@codesourcery.com>
26039
26040 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26041 * sunrpc/rpc_main.c: Likewise.
26042 * sunrpc/rpc_svcout.c: Likewise.
26043
60d6f5a6
DM
260442012-03-09 David S. Miller <davem@davemloft.net>
26045
26046 * include/math_private.h: New file.
26047
4962050e
JM
260482012-03-09 Joseph Myers <joseph@codesourcery.com>
26049
02a6f887
JM
26050 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26051 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26052 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26053 from <bits/socket_type.h>.
26054 (enum __socket_type): Don't define here.
26055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26057 bits/socket_type.h.
26058
c6e013c1
JM
26059 [BZ #13566]
26060 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26061 checking __USE_GNU.
26062
4962050e
JM
26063 * Makerules ($(inst_includedir)/%.h): New rule.
26064 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26065 (install-others): Remove variable setting.
26066 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26067
38842f45
RH
260682012-03-08 Richard Henderson <rth@twiddle.net>
26069
67bb6da6
RH
26070 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26071 from macro to inline function; merge with the
26072 !__LIBC_INTERNAL_MATH_INLINES version.
26073 (__ieee754_sqrtf): Likewise.
26074
15194b4b
RH
26075 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26076 to inline function.
26077 (__rintf, __floor, __floorf): Likewise.
26078
64e21ede
RH
26079 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26080 macro to inline function.
26081 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26082
38842f45
RH
26083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26084 not <math/math_private.h>.
26085
c64bf5fe
DM
260862012-03-08 David S. Miller <davem@davemloft.net>
26087
26088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26089 copyright year.
26090 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26091
82d86f28
TS
260922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26093
26094 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26095 normalization.
26096 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26097 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26098
aea5d727
UD
260992012-03-08 Ulrich Drepper <drepper@gmail.com>
26100
26101 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26102 be defined individually, they must be defined as a block. Define
26103 S for printing a string instead of hidint the different by using a
26104 macro for adding the 'l'.
26105 * stdio-common/tst-fphex-wide.c: Adjust.
26106
70bca0a3
MP
261072012-03-07 Marek Polacek <polacek@redhat.com>
26108
26109 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26110
65b81130
MP
261112012-03-08 Marek Polacek <polacek@redhat.com>
26112
26113 [BZ #13806]
26114 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26115 * stdio-common/tst-fphex.c: Define a few macros to make the
26116 test reusable. Use them.
26117 * stdio-common/tst-fphex-wide.c: New file.
26118
07037eeb
JM
261192012-03-08 Joseph Myers <joseph@codesourcery.com>
26120
a7a93d50
JM
26121 [BZ #6911]
26122 * manual/macros.texi (gnusystems): New macro.
26123 (nongnusystems): Likewise.
26124 (gnulinuxhurdsystems): Likewise.
26125 (gnuhurdsystems): Likewise..
26126 (gnulinuxsystems): Likewise.
26127 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26128 variants of the GNU system, not "GNU system".
26129 * manual/conf.texi: Likewise.
26130 * manual/errno.texi: Likewise. Update example of errno macro
26131 expansion.
26132 * manual/filesys.texi: Likewise.
26133 (getumask): Document as specific to GNU/Hurd.
26134 * manual/install.texi: Likewise. Reword some references to
26135 GNU/Linux.
26136 * manual/intro.texi: Likewise.
26137 * manual/io.texi: Likewise.
26138 (File Name Portability): Detail which constraints are inapplicable
26139 to all GNU systems and which are only inapplicable to GNU/Hurd.
26140 * manual/job.texi: Likewise.
26141 * manual/llio.texi: Likewise.
26142 (O_NOCTTY): Document as present on GNU/Linux.
26143 * manual/maint.texi: Likewise.
26144 * manual/memory.texi: Likewise.
26145 * manual/pattern.texi: Likewise.
26146 * manual/pipe.texi: Likewise.
26147 * manual/process.texi: Likewise.
26148 * manual/resource.texi: Likewise.
26149 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26150 child on GNU/Hurd.
26151 * manual/setjmp.texi: Likewise.
26152 * manual/signal.texi: Likewise.
26153 * manual/startup.texi: Likewise.
26154 * manual/stdio.texi: Likewise.
26155 * manual/terminal.texi: Likewise.
26156 (ONLCR): Document as POSIX.
26157 (OXTABS): Document availability on GNU/Linux as XTABS.
26158 (ONOEOT): Document availability separately from other bits.
26159 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26160 * manual/time.texi: Likewise.
26161 * manual/users.texi: Likewise.
26162 * INSTALL: Regenerated.
26163 * sysdeps/gnu/errlist.c: Regenerated.
26164
07037eeb
JM
26165 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26166 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26167 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26168 puts.
26169 * configure: Regenerated.
26170
d1d3431a
JM
261712012-03-07 Joseph Myers <joseph@codesourcery.com>
26172
af6a1e37
JM
26173 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26174 default includes instead of AC_HEADER_CHECK.
26175 * sysdeps/i386/configure: Regenerated.
26176
d1d3431a
JM
26177 [BZ #10716]
26178 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26179 * math/s_cacoshf.c (__cacoshf): Likewise.
26180 * math/s_cacoshl.c (__cacoshl): Likewise.
26181 * math/s_casinh.c (__casinh): Set signs of result from argument.
26182 * math/s_casinhf.c (__casinhf): Likewise.
26183 * math/s_casinhl.c (__casinhl): Likewise.
26184 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26185 (casinh_test): Add more tests.
26186 * sysdeps/i386/fpu/libm-test-ulps: Update.
26187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26188
482ff4da
UD
261892012-03-07 Ulrich Drepper <drepper@gmail.com>
26190
872fda05
UD
26191 * po/zh_TW.po: Update from translation team.
26192
a4300c7a
UD
26193 * login/Makefile (distribute): Remove variable.
26194 * catgets/Makefile: Likewise.
26195 * mach/Makefile: Likewise.
26196 * malloc/Makefile: Likewise.
26197 * misc/Makefile: Likewise.
26198 * iconv/Makefile: Likewise.
26199 * nscd/Makefile: Likewise.
26200 * hurd/Makefile: Likewise.
26201 * manual/Makefile: Likewise.
26202 * locale/Makefile: Likewise.
26203 * intl/Makefile: Likewise.
26204 * conform/Makefile: Likewise.
26205 * nss/Makefile: Likewise.
26206 * time/Makefile: Likewise.
26207 * soft-fp/Makefile: Likewise.
26208 * dirent/Makefile: Likewise.
26209 * gmon/Makefile: Likewise.
26210 * po/Makefile: Likewise.
26211 * rt/Makefile: Likewise.
26212 * socket/Makefile: Likewise.
26213 * math/Makefile: Likewise.
26214 * signal/Makefile: Likewise.
26215 * debug/Makefile: Likewise.
26216 * elf/Makefile: Likewise.
26217 * timezone/Makefile: Likewise.
26218 * stdlib/Makefile: Likewise.
26219 * iconvdata/Makefile: Likewise.
26220 * sunrpc/Makefile: Likewise.
26221 * io/Makefile: Likewise.
26222 * argp/Makefile: Likewise.
26223 * inet/Makefile: Likewise.
26224 * hesiod/Makefile: Likewise.
26225 * grp/Makefile: Likewise.
26226 * csu/Makefile: Likewise.
26227 * wctype/Makefile: Likewise.
26228 * crypt/Makefile: Likewise.
26229 * libio/Makefile: Likewise.
26230 * string/Makefile: Likewise.
26231 * nis/Makefile: Likewise.
26232 * resolv/Makefile: Likewise.
26233 * stdio-common/Makefile: Likewise.
26234 * wcsmbs/Makefile: Likewise.
26235 * dlfcn/Makefile: Likewise.
26236 * posix/Makefile: Likewise.
26237
3b7c4e74 26238 [BZ #6959]
482ff4da
UD
26239 * timezone/Makefile: Don't install timezone files, just the programs
26240 and scripts.
26241
f72ed77d
UD
262422012-03-06 Ulrich Drepper <drepper@gmail.com>
26243
a000466f
UD
26244 * nss/databases.def: Add missing gshadow entry.
26245
f72ed77d
UD
26246 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26247
a53b7a4e
MP
262482012-03-06 Marek Polacek <polacek@redhat.com>
26249
26250 [BZ #13726]
26251 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26252 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26253 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26254 * stdio-common/tst-long-dbl-fphex.c: New file.
26255
e9258400
DM
262562012-03-06 David S. Miller <davem@davemloft.net>
26257
26258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26259 (set_obp_int): New function.
26260 (get_obp_int): New function.
26261 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26263 Avoid unused variable warnings on 'val' and use builtin_expect.
26264 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26265 __builtin_expect.
e9258400
DM
26266 (INLINE_CLONE_SYSCALL): Likewise.
26267
3bd2c723
DM
262682012-03-05 David S. Miller <davem@davemloft.net>
26269
26270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26271
bbb78d03
AS
262722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26273
884c5db4
AS
26274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26275
bbb78d03
AS
26276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26277 only for |x| >= 40.
26278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26279
1c9f702a 262802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26281
26282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26283 Replace gettimeofday with __vdso_gettimeofday.
26284
7be16f82
RM
26285 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26286 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26287 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26288
26289 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26290 time with __vdso_time.
26291
ed58a00f
JM
262922012-03-05 Joseph Myers <joseph@codesourcery.com>
26293
26294 * manual/lang.texi (size_t): Note types to which size_t may be
26295 equivalent with the GNU C Library, but do not describe when
26296 differences between them are significant.
26297
30ee4ced
AJ
262982012-03-05 Andreas Jaeger <aj@suse.de>
26299
26300 * sysdeps/i386/fpu/libm-test-ulps: Update.
26301
b7cd39e8
JM
263022012-03-05 Joseph Myers <joseph@codesourcery.com>
26303
26304 [BZ #3976]
26305 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26306 (__ieee754_pow): Save and restore rounding mode and use
26307 round-to-nearest for main computations.
26308 * math/libm-test.inc (pow_test_tonearest): New function.
26309 (pow_test_towardzero): Likewise.
26310 (pow_test_downward): Likewise.
26311 (pow_test_upward): Likewise.
26312 (main): Call the new functions.
26313 * sysdeps/i386/fpu/libm-test-ulps: Update.
26314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26315
26316 [BZ #3976]
26317 * math/libm-test.inc (cosh_test_tonearest): New function.
26318 (cosh_test_towardzero): Likewise.
26319 (cosh_test_downward): Likewise.
26320 (cosh_test_upward): Likewise.
26321 (sinh_test_tonearest): Likewise.
26322 (sinh_test_towardzero): Likewise.
26323 (sinh_test_downward): Likewise.
26324 (sinh_test_upward): Likewise.
26325 (main): Call the new functions.
26326 * sysdeps/i386/fpu/libm-test-ulps: Update.
26327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26328
6c6a98c9
TV
263292012-03-05 Tom de Vries <tom@codesourcery.com>
26330
26331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26332 default stack guard is set in last bytes.
26333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26334
21bb2d2e 263352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26336
21bb2d2e 26337 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26338
21bb2d2e
AJ
26339 [BZ #13656]
26340 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26341 possibly allocate from heap instead of stack.
26342 * stdio-common/bug-vfprintf-nargs.c: New file.
26343 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26344
c6922934
AS
263452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26346
26347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26348
bc957d53
MP
263492012-03-03 Marek Polacek <polacek@redhat.com>
26350
26351 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26352 * math/math_private.h: Likewise.
26353 * stdlib/tst-strtod.c: Likewise.
26354 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26355 * sysdeps/x86_64/bits/atomic.h: Likewise.
26356
6358490d
DM
263572012-03-02 David S. Miller <davem@davemloft.net>
26358
26359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26363 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26364 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26365 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26366 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26367
01ae168d
RM
263682012-03-02 Roland McGrath <roland@hack.frob.com>
26369
d9a17c07
RM
26370 [BZ #13792]
26371 * manual/examples/README: New file, says the example source files
26372 can be used under GPL>=2.
26373 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26374 line containing just "*/".
26375 * manual/examples/add.c: Add copyright header (GPL>=2).
26376 * manual/examples/argp-ex1.c: Likewise.
26377 * manual/examples/argp-ex2.c: Likewise.
26378 * manual/examples/argp-ex3.c: Likewise.
26379 * manual/examples/argp-ex4.c: Likewise.
26380 * manual/examples/atexit.c: Likewise.
26381 * manual/examples/db.c: Likewise.
26382 * manual/examples/dir.c: Likewise.
26383 * manual/examples/dir2.c: Likewise.
26384 * manual/examples/execinfo.c: Likewise.
26385 * manual/examples/filecli.c: Likewise.
26386 * manual/examples/filesrv.c: Likewise.
26387 * manual/examples/fmtmsgexpl.c: Likewise.
26388 * manual/examples/genpass.c: Likewise.
26389 * manual/examples/inetcli.c: Likewise.
26390 * manual/examples/inetsrv.c: Likewise.
26391 * manual/examples/isockad.c: Likewise.
26392 * manual/examples/longopt.c: Likewise.
26393 * manual/examples/memopen.c: Likewise.
26394 * manual/examples/memstrm.c: Likewise.
26395 * manual/examples/mkfsock.c: Likewise.
26396 * manual/examples/mkisock.c: Likewise.
26397 * manual/examples/mygetpass.c: Likewise.
26398 * manual/examples/pipe.c: Likewise.
26399 * manual/examples/popen.c: Likewise.
26400 * manual/examples/rprintf.c: Likewise.
26401 * manual/examples/search.c: Likewise.
26402 * manual/examples/select.c: Likewise.
26403 * manual/examples/setjmp.c: Likewise.
26404 * manual/examples/sigh1.c: Likewise.
26405 * manual/examples/sigusr.c: Likewise.
26406 * manual/examples/stpcpy.c: Likewise.
26407 * manual/examples/strdupa.c: Likewise.
26408 * manual/examples/strftim.c: Likewise.
26409 * manual/examples/strncat.c: Likewise.
26410 * manual/examples/subopt.c: Likewise.
26411 * manual/examples/swapcontext.c: Likewise.
26412 * manual/examples/termios.c: Likewise.
26413 * manual/examples/testopt.c: Likewise.
26414 * manual/examples/testpass.c: Likewise.
26415 * manual/examples/timeval_subtract.c: Likewise.
26416
01ae168d
RM
26417 [BZ #13792]
26418 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26419 function to ...
26420 * manual/timeval_subtract.c.texi: ... here, new file.
26421
49efa33d
DM
264222012-03-02 David S. Miller <davem@davemloft.net>
26423
26424 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26425
28afd92d
JM
264262012-03-02 Joseph Myers <joseph@codesourcery.com>
26427
804360ed
JM
26428 [BZ #3976]
26429 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26430 (__sin): Save and restore rounding mode and use round-to-nearest
26431 for all computations.
26432 (__cos): Save and restore rounding mode and use round-to-nearest
26433 for all computations.
26434 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26435 <fenv.h>.
26436 (tan): Save and restore rounding mode and use round-to-nearest for
26437 all computations.
26438 * math/libm-test.inc (cos_test_tonearest): New function.
26439 (cos_test_towardzero): Likewise.
26440 (cos_test_downward): Likewise.
26441 (cos_test_upward): Likewise.
26442 (sin_test_tonearest): Likewise.
26443 (sin_test_towardzero): Likewise.
26444 (sin_test_downward): Likewise.
26445 (sin_test_upward): Likewise.
26446 (tan_test_tonearest): Likewise.
26447 (tan_test_towardzero): Likewise.
26448 (tan_test_downward): Likewise.
26449 (tan_test_upward): Likewise.
26450 (main): Call the new functions.
26451 * sysdeps/i386/fpu/libm-test-ulps: Update.
26452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26453
a6d06d7b
JM
26454 [BZ #10135]
26455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26456 small n, then large n, before computing and testing k+n.
26457 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26459 Likewise.
26460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26461 Likewise.
26462 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26463 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26468 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26470 * math/libm-test.inc (scalbn_test): Add more tests.
26471 (scalbln_test): Likewise.
26472
07e12bb3
JM
26473 * manual/filesys.texi (mode_t): Describe constraints on size and
26474 signedness, not exact equivalence to a particular type.
26475 (ino_t): Likewise.
26476 (ino64_t): Likewise.
26477 (dev_t): Likewise.
26478 (nlink_t): Likewise.
26479 (blkcnt_t): Likewise.
26480 (blkcnt64_t): Likewise.
26481 * manual/llio.texi (off_t): Likewise.
26482
28afd92d
JM
26483 [BZ #3976]
26484 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26485 (__ieee754_exp): Save and restore rounding mode and use
26486 round-to-nearest for all computations.
26487 * math/libm-test.inc (exp_test_tonearest): New function.
26488 (exp_test_towardzero): Likewise.
26489 (exp_test_downward): Likewise.
26490 (exp_test_upward): Likewise.
26491 (main): Call the new functions.
26492 * sysdeps/i386/fpu/libm-test-ulps: Update.
26493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26494
b1eeb65d
CD
264952012-03-01 Chris Demetriou <cgd@google.com>
26496
26497 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26498 have predictable order.
26499
53362a4b
DM
265002012-03-01 David S. Miller <davem@davemloft.net>
26501
3c969083
DM
26502 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26503
759707de
DM
26504 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26505 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26506 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26507 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26508
dfdb8ff2
DM
26509 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26510 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26511 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26513 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26514 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26515 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26516 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26517 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26518
ead89f96
DM
26519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26520
7f66bd07
DM
26521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26522 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26524
53362a4b
DM
26525 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26527 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26528 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26529 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26532 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26533 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26534 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26535 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26541 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26542 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26543 * sysdeps/sparc/elf/configure: Regenerated.
26544
7b1902cb
JM
265452012-03-01 Joseph Myers <joseph@codesourcery.com>
26546
bec039bc
JM
26547 * configure.in (AS, LD): Require binutils 2.20 or later.
26548 * configure: Regenerated.
26549 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26550 as required minimum version.
26551 * INSTALL: Regenerated.
26552
7b1902cb
JM
26553 [BZ #2541]
26554 [BZ #4108]
26555 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26556 before squaring exponent.
26557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26558 bottom long double and 27 bits of top long double before squaring
26559 exponent.
26560 * math/libm-test.inc (erfc_test): Add more tests.
26561 * sysdeps/i386/fpu/libm-test-ulps: Update.
26562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26564
f775c276
KT
265652012-03-01 Kai Tietz <ktietz@redhat.com>
26566
26567 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26568 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26569 containing bit-fields.
26570 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26571 * soft-fp/single.h (_FP_UNION_S): Likewise.
26572 * soft-fp/double.h (_FP_UNION_D): Likewise.
26573
5b8a4d4a
JM
265742012-02-29 Joseph Myers <joseph@codesourcery.com>
26575
0bab47b6
JM
26576 [BZ #13786]
26577 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26578 not include ../strcmp.S.
26579 [USE_AS_STRNCASECMP_L]: Likewise.
26580 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26581 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26582 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26583 (__strncasecmp_l_ia32): Define as alias to
26584 __strncasecmp_l_nonascii.
26585
0fcad3e2
JM
26586 [BZ #5794]
26587 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26588 * sysdeps/i386/fpu/libm-test-ulps: Update.
26589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26590
5b8a4d4a
JM
26591 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26593
8fdceb2e
JL
265942012-02-29 Jeff Law <law@redhat.com>
26595
26596 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26597 out of bounds read.
26598
1f393a11
MP
265992012-02-29 Marek Polacek <polacek@redhat.com>
26600
26601 [BZ #13706]
26602 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26603 * elf/Makefile: Add rules to run tst-unused-dep.out.
26604
8847f037
DM
266052012-02-28 David S. Miller <davem@davemloft.net>
26606
26607 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26608 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26611 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26612 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26613
169d7f11
JM
266142012-02-29 Joseph Myers <joseph@codesourcery.com>
26615
26616 * math/libm-test.inc (llround_test): Move one test from
26617 lround_test. Use TEST_f_L in moved test.
26618 (lround_test): Move misplaced test to llround_test. Add testcase
26619 from bug 2561.
26620
39adf059
UD
266212012-02-28 Ulrich Drepper <drepper@gmail.com>
26622
26623 * sysdeps/x86_64/fpu/e_expf.S: New file.
26624 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26625
71b5d1c5
SB
266262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26627
26628 [BZ #13637]
26629 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26630 of remain_len that may cause incomplete multi-byte character and
26631 false match.
26632 * posix/bug-regex33.c: New file.
26633 * posix/Makefile (tests): Add bug-regex33.
26634
1f77f049
JM
266352012-02-28 Joseph Myers <joseph@codesourcery.com>
26636
26637 * manual/macros.texi: New file.
26638 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26639 * manual/libc.texinfo: Include macros.texi.
26640 * manual/creatute.texi: Likewise.
26641 * manual/install.texi: Likewise.
26642 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26643 @glibcadj{} in references to the GNU C Library.
26644 * manual/charset.texi: Likewise.
26645 * manual/conf.texi: Likewise.
26646 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26647 when not using those macros.
26648 * manual/creature.texi: Likewise.
26649 * manual/crypt.texi: Likewise.
26650 * manual/errno.texi: Likewise.
26651 * manual/filesys.texi: Likewise.
26652 * manual/header.texi: Likewise.
26653 * manual/install.texi: Likewise.
26654 * manual/intro.texi: Likewise.
26655 * manual/io.texi: Likewise.
26656 * manual/job.texi: Likewise.
26657 * manual/lang.texi: Likewise.
26658 * manual/libc.texiinfo: Likewise.
26659 * manual/llio.texi: Likewise.
26660 * manual/locale.texi: Likewise.
26661 * manual/maint.texi: Likewise.
26662 * manual/math.texi: Likewise.
26663 * manual/memory.texi: Likewise.
26664 * manual/message.texi: Likewise.
26665 * manual/nss.texi: Likewise.
26666 * manual/pattern.texi: Likewise.
26667 * manual/process.texi: Likewise.
26668 * manual/resource.texi: Likewise.
26669 * manual/search.texi: Likewise.
26670 * manual/setjmp.texi: Likewise.
26671 * manual/signal.texi: Likewise.
26672 * manual/socket.texi: Likewise.
26673 * manual/startup.texi: Likewise.
26674 * manual/stdio.texi: Likewise.
26675 * manual/string.texi: Likewise.
26676 * manual/sysinfo.texi: Likewise.
26677 * manual/syslog.texi: Likewise.
26678 * manual/terminal.texi: Likewise.
26679 * manual/time.texi: Likewise.
26680 * manual/users.texi: Likewise.
26681 * INSTALL: Regenerated.
26682 * NOTES: Regenerated.
d40c5d54 26683 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26684
450bf206
AS
266852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26686
26687 * include/dirent.h: Include <dirstream.h> before
26688 <dirent/dirent.h>.
26689
741a235b
DM
266902012-02-28 David S. Miller <davem@davemloft.net>
26691
26692 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26693 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26694 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26695 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26696
d6b5aa58
DM
266972012-02-27 David S. Miller <davem@davemloft.net>
26698
1aff59a3
DM
26699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26701 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26702 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26703
d6b5aa58
DM
26704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26705 frame pointer instead of stack pointer relative arg slot.
26706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26709
433f48bf
CD
267102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26711
26712 [BZ #3992]
26713 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26714
d674b76d
DM
267152012-02-27 David S. Miller <davem@davemloft.net>
26716
26717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26721 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26722 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26723 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26724 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26725
0e7727f7
JM
267262012-02-27 Joseph Myers <joseph@codesourcery.com>
26727
26728 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26729 later. Allow versions 5-9.
43be4ca2 26730 * configure: Regenerated.
0e7727f7
JM
26731 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26732 required minimum version and 4.6 as recommended version. Do not
26733 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26734 * INSTALL: Regenerated.
0e7727f7 26735
a78bc654
DM
267362012-02-27 David S. Miller <davem@davemloft.net>
26737
428d5830
DM
26738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26742 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26743 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26744 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26745 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26746
a78bc654
DM
26747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26748 manipulate bits before adding and subtracting TWO112[sx].
26749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26750
4579f81c
RM
267512012-02-27 Roland McGrath <roland@hack.frob.com>
26752
36c8acb4
RM
26753 [BZ #13775]
26754 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26755 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26756 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26757 being in POSIX, because they are in 1003.1-2008.
26758
84ad622b
RM
26759 * rt/tst-aio.c: Include <fcntl.h>.
26760 * rt/tst-aio7.c: Likewise.
26761 * rt/tst-aio64.c: Likewise.
26762
4579f81c
RM
26763 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26764
abd923db
JM
267652012-02-27 Joseph Myers <joseph@codesourcery.com>
26766
26767 * manual/install.texi (--with-headers): Describe headers as
26768 interface headers, not private headers.
26769 (Specific advice for GNU/Linux systems): Describe use of headers
26770 from "make headers_install", not private headers from older
26771 kernels.
43be4ca2 26772 * INSTALL: Regenerated.
abd923db
JM
26773 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26774 Change to 2.6.19.
26775 * sysdeps/unix/sysv/linux/configure: Regenerated.
26776
6664049b
JM
26777 * manual/llio.texi (fclean): Remove documentation.
26778
bb8b6697
JM
26779 * manual/Makefile (libc-texi-generated): New variable. Include
26780 version.texi.
26781 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26782 $(libc-texi-generated), not duplicated list of files.
26783 (version.texi, stamp-version): New rules.
26784 (realclean): Remove $(libc-texi-generated), not individual files
26785 from that list. Do not remove dir-add.texinfo.
26786 * manual/libc.texinfo: Comment out uses of edition numbers and
26787 references to printed manual. Remove last-updated dates.
26788 (EDITION): Comment out.
26789 (ISBN): Likewise.
26790 (VERSION, UPDATED): Remove.
26791 (version.texi): Include.
26792
12e5c3b9
AS
267932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26794
26795 * sysdeps/posix/spawni.c: Include <signal.h>.
26796 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26797 * sysdeps/pthread/aio_fsync.c: Likewise.
26798
4efeffc1 267992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26800
ba63ba08
UD
26801 * conform/Makefile (tests): Run only when not cross-compiling and
26802 when fast-check is not defined.
26803
d94a4670
UD
26804 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26805 * conform/data/limits.h-data: Fixes for POSIX2008.
26806 * conform/run-conformtest.sh: Run all tests.
26807 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26808 headers.
26809 * include/bits/dlfcn.h: Likewise.
26810 * include/langinfo.h: Likewise.
26811 * include/monetary.h: Likewise.
26812 * include/sys/poll.h: Likewise.
26813
26814 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26815 for __USE_GNU.
26816 * posix/spawn.h: Define __need_sigset_t.
26817 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26818 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26819 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26820 to get sigevent_t only.
26821 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26822 only for __USE_GNU.
26823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26824 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26825 process_vm_writev only for __USE_GNU.
26826 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26827
26828 * conform/Makefile: For now ignore errors from run-conformtest.
26829 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26830 POSIX to avoid namespace pollution. Don't prepend headers.
26831 * conform/data/aio.h-data: Fixes for POSIX testing.
26832 * conform/data/fcntl.h-data: Likewise.
26833 * conform/data/glob.h-data: Likewise.
26834 * conform/data/grp.h-data: Likewise.
26835 * conform/data/pthread.h-data: Likewise.
26836 * conform/data/pwd.h-data: Likewise.
26837 * conform/data/signal.h-data: Likewise.
26838 * conform/data/spawn.h-data: Likewise.
26839 * conform/data/stdio.h-data: Likewise.
26840 * conform/data/stdlib.h-data: Likewise.
26841 * conform/data/stropts.h-data: Likewise.
26842 * conform/data/sys/mman.h-data: Likewise.
26843 * conform/data/sys/stat.h-data: Likewise.
26844 * conform/data/sys/types.h-data: Likewise.
26845 * conform/data/sys/wait.h-data: Likewise.
26846 * conform/data/time.h-data: Likewise.
26847 * conform/data/unistd.h-data: Likewise.
26848 * conform/data/utime.h-data: Likewise.
26849
26850 * io/sys/stat.h: fchmod was always in POSIX.
26851 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26852 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26853 * rt/aio.h: Define __need_timespec before including <time.h>.
26854 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26855 struct. Add forward declaration of pthread_attr_t and use it in
26856 sigevent.
26857 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26859 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26860 always remove CLK_TCK definition.
26861
c20105c3
AS
268622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26863
26864 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26865
7a270350
UD
268662012-02-25 Ulrich Drepper <drepper@gmail.com>
26867
31341567
UD
26868 * conform/run-conformtest.sh: New file.
26869 * conform/Makefile: Run run-conformtest for tests.
26870 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26871 support.
26872
26873 * conform/data/uchar.h-data: New file.
26874 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26875 * conform/data/arpa/inet.h-data: Likewise.
26876 * conform/data/assert.h-data: Likewise.
26877 * conform/data/complex.h-data: Likewise.
26878 * conform/data/cpio.h-data: Likewise.
26879 * conform/data/ctype.h-data: Likewise.
26880 * conform/data/dirent.h-data: Likewise.
26881 * conform/data/dlfcn.h-data: Likewise.
26882 * conform/data/errno.h-data: Likewise.
26883 * conform/data/fcntl.h-data: Likewise.
26884 * conform/data/float.h-data: Likewise.
26885 * conform/data/fmtmsg.h-data: Likewise.
26886 * conform/data/fnmatch.h-data: Likewise.
26887 * conform/data/ftw.h-data: Likewise.
26888 * conform/data/glob.h-data: Likewise.
26889 * conform/data/grp.h-data: Likewise.
26890 * conform/data/iconv.h-data: Likewise.
26891 * conform/data/inttypes.h-data: Likewise.
26892 * conform/data/langinfo.h-data: Likewise.
26893 * conform/data/libgen.h-data: Likewise.
26894 * conform/data/limits.h-data: Likewise.
26895 * conform/data/locale.h-data: Likewise.
26896 * conform/data/math.h-data: Likewise.
26897 * conform/data/monetary.h-data: Likewise.
26898 * conform/data/mqueue.h-data: Likewise.
26899 * conform/data/ndbm.h-data: Likewise.
26900 * conform/data/net/if.h-data: Likewise.
26901 * conform/data/netdb.h-data: Likewise.
26902 * conform/data/netinet/in.h-data: Likewise.
26903 * conform/data/nl_types.h-data: Likewise.
26904 * conform/data/poll.h-data: Likewise.
26905 * conform/data/pthread.h-data: Likewise.
26906 * conform/data/pwd.h-data: Likewise.
26907 * conform/data/regex.h-data: Likewise.
26908 * conform/data/sched.h-data: Likewise.
26909 * conform/data/search.h-data: Likewise.
26910 * conform/data/semaphore.h-data: Likewise.
26911 * conform/data/setjmp.h-data: Likewise.
26912 * conform/data/signal.h-data: Likewise.
26913 * conform/data/spawn.h-data: Likewise.
26914 * conform/data/stdarg.h-data: Likewise.
26915 * conform/data/stdio.h-data: Likewise.
26916 * conform/data/stdlib.h-data: Likewise.
26917 * conform/data/string.h-data: Likewise.
26918 * conform/data/strings.h-data: Likewise.
26919 * conform/data/stropts.h-data: Likewise.
26920 * conform/data/sys/ipc.h-data: Likewise.
26921 * conform/data/sys/mman.h-data: Likewise.
26922 * conform/data/sys/msg.h-data: Likewise.
26923 * conform/data/sys/resource.h-data: Likewise.
26924 * conform/data/sys/select.h-data: Likewise.
26925 * conform/data/sys/sem.h-data: Likewise.
26926 * conform/data/sys/shm.h-data: Likewise.
26927 * conform/data/sys/socket.h-data: Likewise.
26928 * conform/data/sys/stat.h-data: Likewise.
26929 * conform/data/sys/statvfs.h-data: Likewise.
26930 * conform/data/sys/time.h-data: Likewise.
26931 * conform/data/sys/timeb.h-data: Likewise.
26932 * conform/data/sys/times.h-data: Likewise.
26933 * conform/data/sys/types.h-data: Likewise.
26934 * conform/data/sys/uio.h-data: Likewise.
26935 * conform/data/sys/un.h-data: Likewise.
26936 * conform/data/sys/utsname.h-data: Likewise.
26937 * conform/data/sys/wait.h-data: Likewise.
26938 * conform/data/syslog.h-data: Likewise.
26939 * conform/data/tar.h-data: Likewise.
26940 * conform/data/termios.h-data: Likewise.
26941 * conform/data/utime.h-data: Likewise.
26942 * conform/data/utmpx.h-data: Likewise.
26943 * conform/data/varargs.h-data: Likewise.
26944 * conform/data/wchar.h-data: Likewise.
26945 * conform/data/wctype.h-data: Likewise.
26946 * conform/data/wordexp.h-data: Likewise.
26947
26948 * include/stropts.h: New file.
26949 * include/uchar.h: New file.
26950 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26951 * include/assert.h: Likewise.
26952 * include/ctype.h: Likewise.
26953 * include/dirent.h: Likewise.
26954 * include/dlfcn.h: Likewise.
26955 * include/fcntl.h: Likewise.
26956 * include/fnmatch.h: Likewise.
26957 * include/glob.h: Likewise.
26958 * include/grp.h: Likewise.
26959 * include/libio.h: Likewise.
26960 * include/locale.h: Likewise.
26961 * include/math.h: Likewise.
26962 * include/net/if.h: Likewise.
26963 * include/netdb.h: Likewise.
26964 * include/netinet/in.h: Likewise.
26965 * include/pthread.h: Likewise.
26966 * include/pwd.h: Likewise.
26967 * include/regex.h: Likewise.
26968 * include/sched.h: Likewise.
26969 * include/search.h: Likewise.
26970 * include/setjmp.h: Likewise.
26971 * include/signal.h: Likewise.
26972 * include/stdio.h: Likewise.
26973 * include/stdlib.h: Likewise.
26974 * include/string.h: Likewise.
26975 * include/sys/cdefs.h: Likewise.
26976 * include/sys/mman.h: Likewise.
26977 * include/sys/msg.h: Likewise.
26978 * include/sys/resource.h: Likewise.
26979 * include/sys/select.h: Likewise.
26980 * include/sys/socket.h: Likewise.
26981 * include/sys/stat.h: Likewise.
26982 * include/sys/statvfs.h: Likewise.
26983 * include/sys/time.h: Likewise.
26984 * include/sys/times.h: Likewise.
26985 * include/sys/uio.h: Likewise.
26986 * include/sys/utsname.h: Likewise.
26987 * include/sys/wait.h: Likewise.
26988 * include/termios.h: Likewise.
26989 * include/time.h: Likewise.
26990 * include/ulimit.h: Likewise.
26991 * include/unistd.h: Likewise.
26992 * include/utime.h: Likewise.
26993 * include/wchar.h: Likewise.
26994 * include/wctype.h: Likewise.
26995 * include/wordexp.h: Likewise.
26996
26997 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26998
7a270350
UD
26999 * time/time.h: TIME_UTC must be a macro.
27000 Make timespec_get available for ISO C11 only as well.
27001
7724defc
UD
270022012-02-24 Ulrich Drepper <drepper@gmail.com>
27003
27004 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27005 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27006
6b1d1d46
JM
270072012-02-24 Joseph Myers <joseph@codesourcery.com>
27008
27009 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27010
0f8bbd69
JM
270112012-02-24 Joseph Myers <joseph@codesourcery.com>
27012
27013 * manual/texinfo.tex: Update to version 2012-01-19.16.
27014
66ab80bc
JM
270152012-02-24 Joseph Myers <joseph@codesourcery.com>
27016
27017 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27018
74981cc5
RM
270192012-02-24 Roland McGrath <roland@hack.frob.com>
27020
ee968201
RM
27021 [BZ #13738]
27022 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27023 * manual/fdl-1.3.texi: New file.
27024 * manual/fdl-1.1.texi: File removed.
27025
74981cc5
RM
27026 [BZ #13738]
27027 * manual/libc.texinfo (FDL_VERSION): New @set.
27028 Use it for mention of FDL in cover text.
27029 (Documentation License): Use it in @include file name.
27030
7bb764bc
JM
270312012-02-22 Joseph Myers <joseph@codesourcery.com>
27032 Roland McGrath <roland@hack.frob.com>
27033
27034 [BZ #5461]
27035 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27036 not LONG_LONG_MAX and LONG_LONG_MIN.
27037 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27038 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27039 name.
27040 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27041
6cbeae47
JM
270422012-02-22 Joseph Myers <joseph@codesourcery.com>
27043
27044 [BZ #2547]
27045 [BZ #11365]
27046 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27047 manipulate bits before adding and subtracting TWO23[sx].
27048 * math/libm-test.inc (nearbyint_test): Add more tests.
27049
fe45ce09
JM
270502012-02-22 Joseph Myers <joseph@codesourcery.com>
27051
27052 [BZ #2548]
27053 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27054 bits before adding and subtracting TWO23[sx].
27055 * math/libm-test.inc (rint_test): Add more tests.
27056 (rint_test_tonearest): Likewise.
27057 (rint_test_towardzero): Likewise.
27058 (rint_test_downward): Likewise.
27059 (rint_test_upward: Likewise.
27060
ff3b3d82
JM
270612012-02-22 Joseph Myers <joseph@codesourcery.com>
27062
27063 [BZ #10110]
27064 * include/stdc-predef.h: New file. Extracted from features.h.
27065 * include/features.h: Include stdc-predef.h.
27066 * Makefile (headers): Add stdc-predef.h.
27067 * CONFORMANCE (Compiler limitations): Update.
27068
ef0aab35
JM
270692012-02-22 Joseph Myers <joseph@codesourcery.com>
27070
27071 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27072
58639409
DM
270732012-02-21 David S. Miller <davem@davemloft.net>
27074
27075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27077
c0e70b25
DM
270782012-02-20 David S. Miller <davem@davemloft.net>
27079
27080 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27081 using a normal save/restore sequence, rather than allocating a
27082 dummy stack frame just to store a frame pointer and restore.
27083 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27084
fb06851d
JM
270852012-02-21 Joseph Myers <joseph@codesourcery.com>
27086
27087 * manual/install.texi: Fix stray word in line-wrapped comment.
27088
7a8b71c3
DM
270892012-02-20 David S. Miller <davem@davemloft.net>
27090
d510c123
DM
27091 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27092 both binutils and gcc support GOTDATA.
27093
0722d7c2
DM
27094 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27095 "rd %pc" in the PIC register setup sequences.
27096
3d2b3019
DM
27097 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27098 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27100 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27101 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27106 (SYSCALL_ERROR_HANDLER): Likewise.
27107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27108 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27110 (SYSCALL_ERROR_HANDLER): Likewise.
27111
c80098a9
DM
27112 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27113 (HAVE_GCC_GOTDATA): New.
27114 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27115 relocation support in both binutils and gcc.
27116 * sysdeps/sparc/elf/configure: Regenerate.
27117
3a2545a0
DM
27118 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27119 * sysdeps/sparc/sparc32/elf/configure: Delete.
27120 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27121 * sysdeps/sparc/sparc64/elf/configure: Delete.
27122 * sysdeps/sparc/elf/configure.in: New file.
27123 * sysdeps/sparc/elf/configure: Generate.
27124
7a8b71c3
DM
27125 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27126 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27127 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27128 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27129 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27130
f1e86fca
JM
271312012-02-21 Joseph Myers <joseph@codesourcery.com>
27132
27133 * manual/install.texi: Do not mention specific glibc version
27134 numbers.
27135 * manual/libc.texinfo (VERSION, UPDATED): Update.
27136 (@copying): Use @copyright{} and range of years.
27137
0e7dfaef
JM
271382012-02-21 Joseph Myers <joseph@codesourcery.com>
27139
27140 [BZ #13695]
27141 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27142 [crti.S not in sysdirs] (generated): Do not append.
27143 [crti.S not in sysdirs] (omit-deps): Likewise.
27144 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27145 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27146 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27147 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27148 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27149 Likewise.
27150 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27151 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27152 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27153 * csu/defs.awk: Remove file.
27154 * sysdeps/generic/initfini.c: Likewise.
27155 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27156 variable.
27157 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27158 Likewise.
27159
599af3ca
JM
271602012-02-20 Joseph Myers <joseph@codesourcery.com>
27161
27162 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27163 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27167 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27168 <bits/epoll.h>.
27169 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27170 (__EPOLL_PACKED): Define to empty if not defined by
27171 <bits/epoll.h>.
27172 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27174 bits/epoll.h.
27175
0e499750
JM
271762012-02-20 Joseph Myers <joseph@codesourcery.com>
27177
27178 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27179 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27180 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27182 <bits/timerfd.h>.
27183 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27185 bits/timerfd.h.
27186
5ad91f6e
JM
271872012-02-20 Joseph Myers <joseph@codesourcery.com>
27188
27189 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27190 in C locale.
27191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27192 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27193 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27195
06b99b02
AJ
271962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27197
27198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27200
7638c0fd
AS
272012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27202
27203 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27204 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27205 defined.
27206 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27207 Likewise.
27208 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27209 entry for 2.16.
27210
92221550
AJ
272112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27212
27213 * math/w_acos.c: Use non-signaling floating-point comparisons.
27214 * math/w_acosf.c: Likewise.
27215 * math/w_acosh.c: Likewise.
27216 * math/w_acoshf.c: Likewise.
27217 * math/w_acoshl.c: Likewise.
27218 * math/w_acosl.c: Likewise.
27219 * math/w_asin.c: Likewise.
27220 * math/w_asinf.c: Likewise.
27221 * math/w_asinl.c: Likewise.
27222 * math/w_atanh.c: Likewise.
27223 * math/w_atanhf.c: Likewise.
27224 * math/w_atanhl.c: Likewise.
27225 * math/w_exp2.c: Likewise.
27226 * math/w_exp2f.c: Likewise.
27227 * math/w_exp2l.c: Likewise.
27228 * math/w_j0.c: Likewise.
27229 * math/w_j0f.c: Likewise.
27230 * math/w_j0l.c: Likewise.
27231 * math/w_j1.c: Likewise.
27232 * math/w_j1f.c: Likewise.
27233 * math/w_j1l.c: Likewise.
27234 * math/w_jn.c: Likewise.
27235 * math/w_jnf.c: Likewise.
27236 * math/w_log.c: Likewise.
27237 * math/w_log10.c: Likewise.
27238 * math/w_log10f.c: Likewise.
27239 * math/w_log10l.c: Likewise.
27240 * math/w_log2.c: Likewise.
27241 * math/w_log2f.c: Likewise.
27242 * math/w_log2l.c: Likewise.
27243 * math/w_logf.c: Likewise.
27244 * math/w_logl.c: Likewise.
27245 * math/w_sqrt.c: Likewise.
27246 * math/w_sqrtf.c: Likewise.
27247 * math/w_sqrtl.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27252 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27253
ebaf36eb
JM
272542012-02-19 Joseph Myers <joseph@codesourcery.com>
27255
27256 [BZ #9739]
27257 * manual/string.texi (strnlen): Use correct parameter name in
27258 equivalent expression.
27259
71c254a6
JM
272602012-02-19 Joseph Myers <joseph@codesourcery.com>
27261
27262 [BZ #11174]
27263 * manual/users.texi (seteuid): Consistently use neweuid for
27264 argument name.
27265
16d2c631
JM
272662012-02-19 Joseph Myers <joseph@codesourcery.com>
27267
27268 [BZ #13704]
27269 * manual/nss.texi (Services in the NSS configuration): Correct
27270 list of services in example configuration file.
27271
cd837b09
NB
272722012-02-19 Nick Bowler <nbowler@draconx.ca>
27273
27274 [BZ #11322]
27275 * manual/arith.texi: Remove statements about negative zero
27276 behaving identically to zero.
27277
02c4bbad
JM
272782012-02-18 Joseph Myers <joseph@codesourcery.com>
27279
27280 [BZ #5993]
27281 * manual/install.texi: Do not document upgrading from libc5.
27282
366842e7
JM
272832012-02-18 Joseph Myers <joseph@codesourcery.com>
27284
27285 [BZ #4596]
27286 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27287
dd54084d
DM
272882012-02-18 David S. Miller <davem@davemloft.net>
27289
27290 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27291 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27292 %o7 across the call.
27293 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27294 instead.
27295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27296 SETUP_PIC_REG_LEAF.
27297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27298 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27299 * sysdeps/sparc/crtn.S: Likewise.
27300
2bcc53a3
UD
273012012-02-17 Ulrich Drepper <drepper@gmail.com>
27302
27303 * aout/Makefile: Remove.
27304
09c093b5
RK
273052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27306
27307 [BZ #13058]
27308 * manual/examples/argp-ex1.c (main): Format definition in GNU
27309 style.
27310 * manual/examples/argp-ex2.c (main): Likewise.
27311 * manual/examples/argp-ex3.c (main): Likewise.
27312 * manual/examples/argp-ex4.c (main): Likewise.
27313 * manual/examples/longopt.c (main): Use new-style prototype
27314 definition.
27315 * manual/examples/strncat.c (main): Specify return type and use
27316 (void) for arguments.
27317 * manual/examples/subopt.c (main): Use char **argv argument.
27318
2ee633a2
JM
273192012-02-17 Joseph Myers <joseph@codesourcery.com>
27320
27321 [BZ #5077]
27322 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27323 rounding modes.
27324
0520adde
FB
273252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27326
27327 [BZ #6907]
27328 * manual/string.texi (strchr): Change when strchrnul is
27329 recommended.
27330
3f4081cd
DGM
273312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27332
27333 [BZ #174]
27334 * manual/locale.texi (setlocale): Document LOCPATH.
27335
d1b10e78
JM
273362012-02-17 Joseph Myers <joseph@codesourcery.com>
27337
27338 [BZ #10210]
27339 * manual/process.texi (execle): Move @dots{} before last argument.
27340
79c6869c
PB
273412012-02-17 Paul Bolle <pebolle@tiscali.nl>
27342
27343 [BZ #12047]
27344 * manual/charset.texi (Generic Charset Conversion): Fix typo
27345 (LC_TYPE -> LC_CTYPE).
27346
cc6e48bc
NB
273472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27348
27349 [BZ #5805]
27350 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27351 (scalbnf): Likewise.
27352 (scalbnl): Likewise.
27353 (scalbln): Likewise.
27354 (scalblnf): Likewise.
27355 (scalblnl): Likewise.
27356 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27357 (vwarnx): Likewise.
27358 (verr): Likewise.
27359 (verrx): Likewise.
27360 * manual/filesys.texi (telldir): Use braces around return type.
27361 * manual/llio.texi (mmap): Add space after comma.
27362 (mmap64): Likewise.
27363 * manual/math.texi (jn): Use @var{} on parameter names.
27364 (jnf): Likewise.
27365 (jnl): Likewise.
27366 (yn): Likewise.
27367 (ynf): Likewise.
27368 (ynl): Likewise.
27369 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27370 line.
27371 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27372 "...".
27373 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27374 (sched_get_priority_max): Likewise.
27375 * manual/signal.texi (sigvec): Add space after comma.
27376 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27377 names.
27378 (if_indextoname): Likewise.
27379 (if_freenameindex): Likewise.
27380 (sendto): Use ',' instead of '.' in prototype.
27381 * manual/startup.texi (syscall): Use @dots{} instead of literal
27382 "...".
27383 * manual/stdio.texi (__fpending): Separate initial words of
27384 paragraph from @deftypefun line.
27385 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27386 "...".
27387 (vsyslog): Use @var{} on parameter names.
27388 * manual/terminal.texi (stty): Use @var{} on parameter names.
27389 * manual/users.texi (getutmp): Use @var{} on parameter names.
27390 (getutmpx): Likewise.
27391
5b23062f
JM
273922012-02-17 Joseph Myers <joseph@codesourcery.com>
27393
27394 [BZ #6884]
27395 * manual/stdio.texi (fopen): Fix typos in description of
27396 ",ccs=STRING".
27397
8dee4833
AJ
273982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27399
27400 [BZ #4026]
27401 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27402 get clock_id definition.
27403
9078ce93
TS
274042012-02-17 Thomas Schwinge <thomas@schwinge.name>
27405
27406 [BZ #4822]
27407 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27408 (madvise): Cast every argument to void on its own.
27409
3835c55f
JM
274102012-02-17 Joseph Myers <joseph@codesourcery.com>
27411
27412 [BZ #9902]
27413 * manual/startup.texi (Exit Status): Fix typo.
27414
35c47e37
JM
274152012-02-17 Joseph Myers <joseph@codesourcery.com>
27416
27417 [BZ #10140]
27418 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27419 * manual/examples/argp-ex2.c: Likewise.
27420 * manual/examples/argp-ex3.c: Likewise.
27421
e3b69ca7
RH
274222012-02-16 Richard Henderson <rth@redhat.com>
27423
27424 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27425 * sysdeps/s390/s390-32/initfini.c: Remove.
27426 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27427 * sysdeps/s390/s390-64/initfini.c: Remove.
27428
df83af67
KK
274292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27430
27431 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27432 compiler output for sysdeps/generic/initfini.c.
27433 * sysdeps/sh/elf/initfini.c: Remove file.
27434
f63f3380
DM
274352012-02-16 David S. Miller <davem@davemloft.net>
27436
fb59b3a4
DM
27437 [BZ #11494]
27438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27439
f63f3380
DM
27440 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27441 * sysdeps/sparc/crti.S: New file.
27442 * sysdeps/sparc/crtn.S: New file.
27443 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27444 * sysdeps/sparc/sparc64/Makefile: Likewise.
27445
df6a4a4a
MF
274462012-02-15 Mike Frysinger <vapier@gentoo.org>
27447
6dd8f3dc 27448 [BZ #3335]
df6a4a4a
MF
27449 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27450
1cac7236
RM
274512012-02-15 Roland McGrath <roland@hack.frob.com>
27452
d2c736f8
RM
27453 [BZ #4822]
27454 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27455
1cac7236
RM
27456 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27457 (write, read, close): Likewise.
27458 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27459
8e475601
JM
274602012-02-15 Joseph Myers <joseph@codesourcery.com>
27461
27462 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27463 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27464 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27465 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27466 <bits/signalfd.h>.
27467 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27469 bits/signalfd.h.
27470
ed656b40
MP
274712012-02-14 Marek Polacek <polacek@redhat.com>
27472
27473 * sysdeps/x86_64/crti.S: New file.
27474 * sysdeps/x86_64/crtn.S: New file.
27475 * sysdeps/x86_64/elf/initfini.c: Remove file.
27476
2a979d3a
JM
274772012-02-13 Joseph Myers <joseph@codesourcery.com>
27478
27479 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27480 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27481 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27482 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27483 <bits/inotify.h>.
27484 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27486 bits/inotify.h.
27487
2a418ac3
JM
274882012-02-13 Joseph Myers <joseph@codesourcery.com>
27489
27490 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27491 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27492 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27493 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27494 <bits/eventfd.h>.
27495 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27497 bits/eventfd.h.
27498
fb779be7
TS
274992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27500
e19e83c5
RM
27501 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27502 __feraiseexcept instead of feraiseexcept.
7c35ffed 27503
fb779be7
TS
27504 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27505 nanosleep invocations.
27506 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27507 strings, and add error checking for a nanosleep invocations.
27508
59ba27a6
PE
275092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27510
27511 Replace FSF snail mail address with URLs, as per GNU coding standards.
27512 Most of the snail mail addresses were wrong anyway, and omitting
27513 them makes the source code easier to maintain. Almost all of the
27514 changes are to license notices and to locale LC_IDENTIFICATION
27515 addresses, except for this one:
27516 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27517 not its snail mail address.
27518
57b957eb
RH
275192012-02-09 Richard Henderson <rth@twiddle.net>
27520
af850b1c
RH
27521 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27522 of kernel-features.h.
27523
57b957eb
RH
27524 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27525
6b73181a
MP
275262012-02-08 Marek Polacek <polacek@redhat.com>
27527
27528 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27529 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27530 * sysdeps/gnu/_G_config.h: Likewise.
27531 * sysdeps/generic/_G_config.h: Likewise.
27532
26ecc33a
AS
275332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27534
6c6dbc63
AS
27535 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27536 tests.
27537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27538
e216c012
AS
27539 * sysdeps/powerpc/powerpc32/crti.S: New file.
27540 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27541 * sysdeps/powerpc/powerpc64/crti.S: New file.
27542 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27543
26ecc33a
AS
27544 * Makeconfig (have-initfini): Don't set.
27545 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27546 * configure.in (nopic_initfini): Don't substitute.
27547 * config.h.in (HAVE_INITFINI): Don't #undef.
27548 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27549 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27550
3add8e13
JM
275512012-02-08 Joseph Myers <joseph@codesourcery.com>
27552
27553 Support crti.S and crtn.S provided directly by architectures.
27554 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27555 [crti.S in sysdirs] (omit-deps): Likewise.
27556 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27557 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27558 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27559 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27560 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27561 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27562 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27563 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27564 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27565 compiler output for sysdeps/generic/initfini.c.
27566 * sysdeps/i386/elf/Makefile: Remove file.
27567 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27568
a22f12b4
MP
275692012-02-07 Marek Polacek <polacek@redhat.com>
27570
27571 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27572 * sysdeps/gnu/_G_config.h: Likewise.
27573 * sysdeps/mach/hurd/_G_config.h: Likewise.
27574
148cf100
MP
275752012-02-07 Marek Polacek <polacek@redhat.com>
27576
27577 * math/Makefile (tests): Add tst-CMPLX2.
27578 * math/tst-CMPLX2.c: New file.
27579
cfdc0dd7
AS
275802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27581
84ba42c4
AS
27582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27583
cfdc0dd7
AS
27584 * math/libm-test.inc (jn_test): Add missing L suffix.
27585
622c86f4
MP
275862012-02-06 Marek Polacek <polacek@redhat.com>
27587
27588 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27589 * sysdeps/i386/fpu/e_powf.S: Likewise.
27590 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27591 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27592 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27593 * sysdeps/i386/fpu/e_pow.S: Likewise.
27594 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27595 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27596 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27597 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27598 * sysdeps/i386/fpu/e_log2.S: Likewise.
27599 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27600 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27601 * sysdeps/i386/fpu/e_powl.S: Likewise.
27602 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27605 * sysdeps/i386/fpu/e_logl.S: Likewise.
27606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27607 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27608 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27609 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27610 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27612 * sysdeps/i386/fpu/e_log.S: Likewise.
27613 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27615 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27616 * sysdeps/i386/fpu/e_logf.S: Likewise.
27617 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27618 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27619 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27620 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27621 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27622 * sysdeps/i386/fpu/e_log10.S: Likewise.
27623 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27624 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27625 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27626 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27627 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27628 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27629 * sysdeps/i386/asm-syntax.h: Likewise.
27630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27633 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27634 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27639 * sysdeps/powerpc/sysdep.h: Likewise.
27640 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27641 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27642
d4a54ac6
JM
276432012-02-06 Joseph Myers <joseph@codesourcery.com>
27644
27645 [BZ #411]
27646 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27647
314054ea
JM
276482012-02-06 Joseph Myers <joseph@codesourcery.com>
27649
27650 * sysdeps/i386/sysdep.h: Include <features.h>.
27651 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27652 version.
27653
d8e0ca50
JM
276542012-02-05 Joseph Myers <joseph@codesourcery.com>
27655
27656 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27657 Define.
27658 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27659 LOAD_PIC_REG_STR.
27660
b1da7dd9
JM
276612012-02-03 Joseph Myers <joseph@codesourcery.com>
27662
27663 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27664 (SETUP_PIC_REG): Use GET_PC_THUNK.
27665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27666 macro.
27667
9a1d9254
JM
276682012-02-03 Joseph Myers <joseph@codesourcery.com>
27669
27670 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27671 for non-PIC compilation.
27672 (SETUP_PIC_REG): Add .p2align directive.
27673 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27674 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27675 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27676 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27678 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27679 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27688 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27689 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27695 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27696 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27705 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27706 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27707 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27708 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27709 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27710 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27711 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27712 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27713 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27714
65dc3b75
JM
277152012-02-03 Joseph Myers <joseph@codesourcery.com>
27716
27717 * math/tst-CMPLX.c: Include <stdio.h>.
27718
d55bf177
JM
277192012-01-31 Joseph Myers <joseph@codesourcery.com>
27720
27721 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27722 float.
27723 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27724 * sysdeps/sparc/bits/mathdef.h: Likewise.
27725
69db4f8f
MP
277262012-01-31 Marek Polacek <polacek@redhat.com>
27727
27728 * libio/libio.h: Don't define _PARAMS.
27729 * locale/programs/config.h: Don't define PARAMS.
27730 * stdlib/strtol_l.c: Likewise.
27731 (__strtol_l): Remove PARAMS from the prototype.
27732
41b81892
UD
277332012-01-31 Ulrich Drepper <drepper@gmail.com>
27734
3b49edc0
UD
27735 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27736 names. Just use the correct names. Remove unnecessary wrapper
27737 functions.
27738 * malloc/arena.c: Likewise.
27739 * malloc/hooks.c: Likewise.
27740
41b81892
UD
27741 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27742 ARENA_TEST says not to. Simplify test for creation of a new arena.
27743 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27744
27a25b6e
UD
277452012-01-30 Ulrich Drepper <drepper@gmail.com>
27746
27747 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27748 into tail calls.
27749 (update_get_addr): New function.
27750 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27751 GET_ADDR_MODULE parameter.
27752
c8a89e7d
JM
277532012-01-30 Joseph Myers <joseph@codesourcery.com>
27754
27755 * crypt/cert.c: Remove __STDC__ conditionals.
27756 * crypt/crypt-entry.c: Likewise.
27757 * crypt/crypt_util.c: Likewise.
27758 * libio/filedoalloc.c: Likewise.
27759 * libio/fileops.c: Likewise.
27760 * libio/genops.c: Likewise.
27761 * libio/iofclose.c: Likewise.
27762 * libio/iofdopen.c: Likewise.
27763 * libio/iofopen.c: Likewise.
27764 * libio/iofopen64.c: Likewise.
27765 * libio/iogetdelim.c: Likewise.
27766 * libio/iopopen.c: Likewise.
27767 * libio/obprintf.c: Likewise.
27768 * libio/oldfileops.c: Likewise.
27769 * libio/oldiofclose.c: Likewise.
27770 * libio/oldiofdopen.c: Likewise.
27771 * libio/oldiofopen.c: Likewise.
27772 * libio/oldiopopen.c: Likewise.
27773 * libio/wfiledoalloc.c: Likewise.
27774 * libio/wgenops.c: Likewise.
27775 * locale/programs/xmalloc.c: Likewise.
27776 * misc/syslog.c: Likewise.
27777 * stdio-common/xbug.c: Likewise.
27778 * string/memchr.c: Likewise.
27779 * string/memcmp.c: Likewise.
27780 * string/memrchr.c: Likewise.
27781 * string/rawmemchr.c: Likewise.
27782 * sysdeps/posix/getcwd.c: Likewise.
27783 * time/strftime_l.c: Likewise.
27784
3b100462
JM
277852012-01-30 Joseph Myers <joseph@codesourcery.com>
27786
27787 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27788 * config.make.in (config-cflags-sse2avx): Define.
27789 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27790 Fix typo.
27791
607998af
CM
277922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27793
27794 * scripts/config.guess: Update from upstream config git repository.
27795 * scripts/config.sub: Likewise.
27796
3601428f
CM
277972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27798
3ac8b282
CM
27799 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27800 (EM_NUM): Update.
27801 (R_TILEPRO_*, R_TILEGX_*): New macros.
27802
e034841e
CM
27803 * scripts/firstversions.awk: Fix bug in version range handling.
27804
540d7568
CM
27805 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27806
3601428f
CM
27807 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27808
463de862
CM
27809 * include/sys/epoll.h: New file.
27810 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27811 libc_hidden_def.
27812
73139a76
UD
278132012-01-28 Ulrich Drepper <drepper@gmail.com>
27814
96bc5b45
UD
27815 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27816 Avoid unnecessary __WORDSIZE == 64 test.
27817 (fmaxf): Use VEX format if possible.
27818 (fmax): Likewise.
27819 (fminf): Likewise.
27820 (fmin): Likewise.
27821
56f6f6a2
UD
27822 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27823 * math/math_private.h: Remove libc_fegetround* and
27824 libc_fesetround*.
27825 * sysdeps/i386/configure.in: Check for -msse2avx.
27826 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27827 also if SSE2AVX is defined.
27828 Remove libc_fegetround* and libc_fesetround*.
27829 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27830 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27832 of HAS_YMM_USABLE.
27833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27838
73139a76
UD
27839 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27840
d73f93a4
AZ
278412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27842
27843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27844 size is not set.
27845 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27846
6ee65ed6
UD
278472012-01-27 Ulrich Drepper <drepper@gmail.com>
27848
27849 [BZ #13618]
27850 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27851 relocation.
27852 * Makeconfig (libm): Define.
27853 * elf/Makefile: Add rules to build and run tst-relsort1.
27854 * elf/tst-relsort1.c: New file.
27855 * elf/tst-relsort1mod1.c: New file.
27856 * elf/tst-relsort1mod2.c: New file.
27857
8db21882
JM
278582012-01-27 Joseph Myers <joseph@codesourcery.com>
27859
27860 * math/s_ldexp.c: Remove __STDC__ conditionals.
27861 * math/s_ldexpf.c: Likewise.
27862 * math/s_ldexpl.c: Likewise.
27863 * math/s_nextafter.c: Likewise.
27864 * math/s_nexttowardf.c: Likewise.
27865 * math/s_significand.c: Likewise.
27866 * math/s_significandf.c: Likewise.
27867 * math/s_significandl.c: Likewise.
27868 * math/w_jnl.c: Likewise.
27869 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27870 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27871 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27872 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27873 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27877 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27878 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27879 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27883 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27884 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27885 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27890 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27895 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27896 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27897 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27899 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27900 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27902 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27903 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27904 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27905 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27906 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27907 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27908 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27909 * sysdeps/ieee754/k_standard.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27914 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27916 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27919 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27939 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27940 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27941 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27942 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27943 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27945 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27946 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27949 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27950 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27969 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27970 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27971 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27984 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27989 * sysdeps/ieee754/s_matherr.c: Likewise.
27990 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27991 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27993 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27994
965a54a4
JM
279952012-01-26 Joseph Myers <joseph@codesourcery.com>
27996
27997 * crypt/md5.h: Remove __STDC__ conditionals.
27998 * libio/libioP.h: Likewise.
27999 * locale/programs/config.h: Likewise.
28000 * sysdeps/generic/sysdep.h: Likewise.
28001 * sysdeps/i386/asm-syntax.h: Likewise.
28002 * sysdeps/s390/asm-syntax.h: Likewise.
28003 * sysdeps/unix/sysdep.h: Likewise.
28004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28006
7071ad79
JM
280072012-01-26 Joseph Myers <joseph@codesourcery.com>
28008
28009 * libio/libio.h: Remove __STDC__ conditionals.
28010 * malloc/obstack.h: Likewise.
28011 * math/complex.h: Likewise.
28012 * math/math.h: Likewise.
28013 * sysdeps/generic/_G_config.h: Likewise.
28014 * sysdeps/gnu/_G_config.h: Likewise.
28015 * sysdeps/mach/hurd/_G_config.h: Likewise.
28016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28017 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28018 * sysdeps/sparc/bits/mathdef.h: Likewise.
28019
afc5ed09
UD
280202012-01-26 Ulrich Drepper <drepper@gmail.com>
28021
28022 [BZ #13583]
28023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28024 Clean up HAS_* macros.
afc5ed09 28025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28026 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28027 possible.
28028 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28029 HAS_AVX.
28030 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28031 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28035
bdb6de1d
JM
280362012-01-25 Joseph Myers <joseph@codesourcery.com>
28037
28038 * elf/tst-unique3.cc (gets): Remove declaration.
28039 * elf/tst-unique3lib.cc (gets): Likewise.
28040 * elf/tst-unique3lib2.cc (gets): Likewise.
28041 * elf/tst-unique4.cc (gets): Likewise.
28042
b15549e6
UD
280432012-01-24 Ulrich Drepper <drepper@gmail.com>
28044
28045 * include/stdio.h: Add C++ protection. Add gets declarations and
28046 definitions.
28047 * debug/tst-chk1.c: Don't declare gets here.
28048 * stdio-common/tst-gets.c: Likewise.
28049
a037381f
JM
280502012-01-24 Joseph Myers <joseph@codesourcery.com>
28051
28052 * posix/glob: Remove directory.
28053
f1d4aa75
JM
280542012-01-24 Joseph Myers <joseph@codesourcery.com>
28055
28056 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28057
81c0c964
PT
280582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28059
28060 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28061 of the non-standard EPFNOSUPPORT.
28062
0ea698ae
ST
280632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28064
28065 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28066 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28067 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28068
d220b117
UD
280692012-01-21 Ulrich Drepper <drepper@gmail.com>
28070
28071 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28072
3e1aa84e
UD
280732012-01-20 Ulrich Drepper <drepper@gmail.com>
28074
28075 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28076 transient errors.
28077 * nscd/grpcache.c (cache_addgr): Likewise.
28078 * nscd/hstcache.c (cache_addhst): Likewise.
28079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28080 * nscd/pwdcache.c (cache_addpw): Likewise.
28081 * nscd/servicescache.c (cache_addserv): Likewise.
28082
400aa020
UD
280832012-01-16 Ulrich Drepper <drepper@gmail.com>
28084
d77e7869
UD
28085 * malloc/malloc.c: Various cleanups.
28086 * malloc/hooks.c: Likewise.
28087
400aa020
UD
28088 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28089 * stdlib/bug-fmtmsg1.c: New file.
28090
28091 * stdlib/fmtmsg.c (init): Add missing unlock.
28092 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28093
e0a309cf
MP
280942012-01-12 Marek Polacek <polacek@redhat.com>
28095
28096 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28097 and _GNU_SOURCE.
28098
929d11c7
WS
280992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28100
28101 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28102 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28103 macro to ensure uniqueness of label name.
28104 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28105 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28106
41d0e869
UD
281072012-01-11 Ulrich Drepper <drepper@gmail.com>
28108
0cc5ed3b
UD
28109 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28110
41d0e869
UD
28111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28112 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28115
a47a831a
UD
281162012-01-10 Ulrich Drepper <drepper@gmail.com>
28117
daa891c0
UD
28118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28119
28120 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28121 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28123
e58ef0f2
UD
28124 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28125
a47a831a 28126 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28127 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28130
28131 * math/bits/math-finite.h: Add ldexp support.
28132
a0bfc9c7
MP
281332012-01-10 Marek Polacek <polacek@redhat.com>
28134
28135 * locale/programs/localedef.h (show_archive_content): Add noreturn
28136 attribute.
28137
d6e97a1d
UD
281382012-01-09 Ulrich Drepper <drepper@gmail.com>
28139
28140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28141
d5835c26
UD
281422012-01-08 Ulrich Drepper <drepper@gmail.com>
28143
e5f484c6
UD
28144 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28145
d5835c26
UD
28146 * io/Makefile (headers): Add bits/poll2.h.
28147
d1f741e9
WS
281482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28149
28150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28151 typo #include statement.
28152
ec09c1c4
UD
281532012-01-08 Ulrich Drepper <drepper@gmail.com>
28154
28155 * include/sys/cdefs.h: Define __attribute_alloc_size.
28156 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28157 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28158 * elf/pldd.c: Likewise.
28159 * iconv/iconv_charmap.c: Likewise.
28160 * iconv/iconvconfig.c: Likewise.
28161 * iconv/strtab.c: Likewise.
28162 * locale/programs/locale.c: Likewise.
28163 * locale/programs/localedef.h: Likewise.
28164 * locale/programs/simple-hash.c: Likewise.
28165 * nscd/nscd.h: Likewise.
28166 * nss/makedb.c: Likewise.
28167 * sysdeps/generic/ldconfig.h: Likewise.
28168 * locale/programs/localedef.c: Remove xmalloc prototype.
28169 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28170
20b38e03
PP
281712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28172
28173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28174 appropriate.
28175
a0da5fe1
UD
281762012-01-08 Ulrich Drepper <drepper@gmail.com>
28177
1d5a644a 28178 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28179 * math/tst-CMPLX.c: New file.
1d5a644a 28180
8784a6db
UD
28181 * math/complex.h (CMPLXL): Fix typo.
28182
d9a216c0
UD
28183 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28184 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28185 GLIBC_2.16.
28186 * debug/tst-chk1.c: Add poll and ppoll tests.
28187 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28188 * include/sys/poll.h: Add hidden proto for ppoll.
28189 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28190 * sysdeps/mach/hurd/ppoll.c: Likewise.
28191 * io/ppoll.c: Likewise.
28192 * debug/poll_chk.c: New file.
28193 * debug/ppoll_chk.c: New file.
28194 * include/bits/poll2.h: New file.
28195 * io/bits/poll2.h: New file.
28196
ac097f5c
UD
28197 [BZ #1350]
28198 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28199
2119dcfa
UD
28200 * configure.in: static is always set to yes. Remove.
28201 * config.make.in: Don't set build-static.
28202 * Makeconfig: Remove use of build-static.
28203 * dlfcn/Makefile: Likewise.
28204 * elf/Makefile: Likewise.
28205 * math/Makefile: Likewise.
28206 * misc/Makefile: Likewise.
28207 * nptl/Makefile: Likewise.
28208 * sysdeps/mach/hurd/Makefile: Likewise.
28209
121766a9
UD
28210 * configure.in: PWD_P is not used anymore.
28211 * config.make.in: Remove PWD_P entry.
28212
51a1d39c 28213 * configure.in: Remove last remnants of RANLIB.
8720d066 28214 No need to check for signed size_t anymore.
215f4bdc
UD
28215 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28216 and IA-64.
3857022a 28217 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28218 * aclocal.m4: Likewise.
28219
d3ed7225
UD
28220 * wcsmbs/mbrtoc16.c: Implement using towc function.
28221 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28222 * wcsmbs/wcsmbsload.c: Likewise.
28223 * iconv/gconv_simple.c: Likewise.
28224 * iconv/gconv_int.h: Likewise.
28225 * iconv/gconv_builtin.h: Likewise.
28226 * iconv/iconv_prog.c: Remove CHAR16 handling.
28227
28228 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28229
28230 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28231
a0da5fe1
UD
28232 * configure.in: Remove --with-elf and --enable-bounded options.
28233 Dont set base_machine for ia64. More non-ELF conditions removed.
28234 Remove testing and setting of leading underscore information.
28235 * config.make.in (build-bounded): Set to no.
28236 * config.h.in: Remove NO_UNDERSCORES entry.
28237 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28238 them.
28239 * csu/start.c: Remove !NO_UNDERSCORE code.
28240 * locale/localeinfo.h: Likewise.
28241 * sysdeps/generic/machine-gmon.h: Likewise.
28242 * sysdeps/generic/sysdep.h: Likewise.
28243 * sysdeps/i386/sysdep.h: Likewise.
28244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28245 * sysdeps/mach/sysdep.h: Likewise.
28246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28248 * sysdeps/sh/sysdep.h: Likewise.
28249 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28250 * sysdeps/unix/i386/sysdep.S: Likewise.
28251 * sysdeps/unix/sparc/start.c: Likewise.
28252 * sysdeps/unix/sparc/sysdep.S: Likewise.
28253 * sysdeps/unix/sparc/sysdep.h: Likewise.
28254 * sysdeps/unix/start.c: Likewise.
28255 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28256 * sysdeps/x86_64/sysdep.h: Likewise.
28257
df78418a
UD
282582012-01-07 Ulrich Drepper <drepper@gmail.com>
28259
a784e502
UD
28260 [BZ #13553]
28261 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28262 for non-gcc.
28263 * argp/argp-fmtstream.h: Use const instead __const.
28264 * argp/argp.h: Likewise.
28265 * assert/assert.h: Likewise.
28266 * bits/fenv.h: Likewise.
28267 * bits/sched.h: Likewise.
28268 * bits/sigset.h: Likewise.
28269 * bits/sigthread.h: Likewise.
28270 * catgets/nl_types.h: Likewise.
28271 * conform/data/pthread.h-data: Likewise.
28272 * crypt/crypt-private.h: Likewise.
28273 * crypt/crypt.h: Likewise.
28274 * crypt/crypt_util.c: Likewise.
28275 * ctype/ctype.h: Likewise.
28276 * debug/execinfo.h: Likewise.
28277 * debug/mbsnrtowcs_chk.c: Likewise.
28278 * debug/mbsrtowcs_chk.c: Likewise.
28279 * debug/wcsnrtombs_chk.c: Likewise.
28280 * debug/wcsrtombs_chk.c: Likewise.
28281 * debug/wcstombs_chk.c: Likewise.
28282 * dirent/dirent.h: Likewise.
28283 * dlfcn/dlfcn.h: Likewise.
28284 * elf/neededtest4.c: Likewise.
28285 * grp/grp.h: Likewise.
28286 * gshadow/gshadow.h: Likewise.
28287 * iconv/gconv.h: Likewise.
28288 * iconv/gconv_int.h: Likewise.
28289 * iconv/gconv_simple.c: Likewise.
28290 * iconv/iconv.h: Likewise.
28291 * iconv/loop.c: Likewise.
28292 * iconv/skeleton.c: Likewise.
28293 * include/aio.h: Likewise.
28294 * include/aliases.h: Likewise.
28295 * include/argz.h: Likewise.
28296 * include/arpa/inet.h: Likewise.
28297 * include/assert.h: Likewise.
28298 * include/dirent.h: Likewise.
28299 * include/dlfcn.h: Likewise.
28300 * include/execinfo.h: Likewise.
28301 * include/fcntl.h: Likewise.
28302 * include/fenv.h: Likewise.
28303 * include/glob.h: Likewise.
28304 * include/grp.h: Likewise.
28305 * include/libintl.h: Likewise.
28306 * include/mntent.h: Likewise.
28307 * include/netdb.h: Likewise.
28308 * include/pwd.h: Likewise.
28309 * include/rpc/netdb.h: Likewise.
28310 * include/sched.h: Likewise.
28311 * include/search.h: Likewise.
28312 * include/shadow.h: Likewise.
28313 * include/signal.h: Likewise.
28314 * include/stdio.h: Likewise.
28315 * include/stdlib.h: Likewise.
28316 * include/string.h: Likewise.
28317 * include/sys/socket.h: Likewise.
28318 * include/sys/stat.h: Likewise.
28319 * include/sys/statfs.h: Likewise.
28320 * include/sys/statvfs.h: Likewise.
28321 * include/sys/syslog.h: Likewise.
28322 * include/sys/time.h: Likewise.
28323 * include/sys/uio.h: Likewise.
28324 * include/time.h: Likewise.
28325 * include/unistd.h: Likewise.
28326 * include/utmp.h: Likewise.
28327 * include/wchar.h: Likewise.
28328 * include/wctype.h: Likewise.
28329 * inet/aliases.h: Likewise.
28330 * inet/arpa/inet.h: Likewise.
28331 * inet/netinet/ether.h: Likewise.
28332 * inet/netinet/in.h: Likewise.
28333 * intl/libintl.h: Likewise.
28334 * io/bits/fcntl2.h: Likewise.
28335 * io/fcntl.h: Likewise.
28336 * io/ftw.h: Likewise.
28337 * io/sys/poll.h: Likewise.
28338 * io/sys/stat.h: Likewise.
28339 * io/sys/statfs.h: Likewise.
28340 * io/sys/statvfs.h: Likewise.
28341 * io/utime.h: Likewise.
28342 * libio/bits/stdio.h: Likewise.
28343 * libio/bits/stdio2.h: Likewise.
28344 * libio/libio.h: Likewise.
28345 * libio/libioP.h: Likewise.
28346 * libio/stdio.h: Likewise.
28347 * locale/lc-ctype.c: Likewise.
28348 * locale/locale.h: Likewise.
28349 * login/utmp.h: Likewise.
28350 * malloc/arena.c: Likewise.
28351 * malloc/malloc.c: Likewise.
28352 * malloc/malloc.h: Likewise.
28353 * malloc/mcheck.c: Likewise.
28354 * malloc/mtrace.c: Likewise.
28355 * math/bits/mathcalls.h: Likewise.
28356 * math/fenv.h: Likewise.
28357 * math/math_private.h: Likewise.
28358 * misc/bits/error.h: Likewise.
28359 * misc/bits/syslog.h: Likewise.
28360 * misc/err.h: Likewise.
28361 * misc/error.h: Likewise.
28362 * misc/fstab.h: Likewise.
28363 * misc/mntent.h: Likewise.
28364 * misc/regexp.h: Likewise.
28365 * misc/search.h: Likewise.
28366 * misc/sgtty.h: Likewise.
28367 * misc/sys/mman.h: Likewise.
28368 * misc/sys/syslog.h: Likewise.
28369 * misc/sys/uio.h: Likewise.
28370 * misc/sys/xattr.h: Likewise.
28371 * misc/ttyent.h: Likewise.
28372 * nis/rpcsvc/ypclnt.h: Likewise.
28373 * nss/nss.h: Likewise.
28374 * posix/bits/unistd.h: Likewise.
28375 * posix/fnmatch.h: Likewise.
28376 * posix/glob.h: Likewise.
28377 * posix/sched.h: Likewise.
28378 * posix/spawn.h: Likewise.
28379 * posix/sys/wait.h: Likewise.
28380 * posix/unistd.h: Likewise.
28381 * posix/wordexp.h: Likewise.
28382 * pwd/pwd.h: Likewise.
28383 * resolv/netdb.h: Likewise.
28384 * resource/sys/resource.h: Likewise.
28385 * rt/aio.h: Likewise.
28386 * rt/bits/mqueue2.h: Likewise.
28387 * rt/mqueue.h: Likewise.
28388 * shadow/shadow.h: Likewise.
28389 * signal/signal.h: Likewise.
28390 * socket/send.c: Likewise.
28391 * socket/sendto.c: Likewise.
28392 * socket/sys/socket.h: Likewise.
28393 * stdio-common/printf.h: Likewise.
28394 * stdlib/bits/stdlib.h: Likewise.
28395 * stdlib/fmtmsg.h: Likewise.
28396 * stdlib/monetary.h: Likewise.
28397 * stdlib/stdlib.h: Likewise.
28398 * stdlib/ucontext.h: Likewise.
28399 * streams/stropts.h: Likewise.
28400 * string/argz.h: Likewise.
28401 * string/bits/string2.h: Likewise.
28402 * string/string.h: Likewise.
28403 * string/strings.h: Likewise.
28404 * sunrpc/rpc/auth.h: Likewise.
28405 * sunrpc/rpc/auth_des.h: Likewise.
28406 * sunrpc/rpc/clnt.h: Likewise.
28407 * sunrpc/rpc/netdb.h: Likewise.
28408 * sunrpc/rpc/pmap_clnt.h: Likewise.
28409 * sunrpc/rpc/xdr.h: Likewise.
28410 * sysdeps/generic/inttypes.h: Likewise.
28411 * sysdeps/generic/net/if.h: Likewise.
28412 * sysdeps/generic/sys/swap.h: Likewise.
28413 * sysdeps/gnu/net/if.h: Likewise.
28414 * sysdeps/gnu/utmpx.h: Likewise.
28415 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28416 * sysdeps/i386/i486/bits/string.h: Likewise.
28417 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28418 * sysdeps/s390/bits/string.h: Likewise.
28419 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28420 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28421 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28422 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28423 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28424 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28425 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28426 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28427 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28428 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28429 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28430 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28431 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28432 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28433 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28434 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28440 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28441 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28442 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28443 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28444 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28447 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28448 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28449 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28450 * sysvipc/sys/ipc.h: Likewise.
28451 * sysvipc/sys/msg.h: Likewise.
28452 * sysvipc/sys/sem.h: Likewise.
28453 * sysvipc/sys/shm.h: Likewise.
28454 * termios/termios.h: Likewise.
28455 * time/sys/time.h: Likewise.
28456 * time/time.h: Likewise.
28457 * wcsmbs/bits/wchar2.h: Likewise.
28458 * wcsmbs/uchar.h: Likewise.
28459 * wcsmbs/wchar.h: Likewise.
28460 * wctype/wctype.h: Likewise.
28461
0269750c
UD
28462 [BZ #13551]
28463 * Makeconfig: Remove all but ELF support including AIX support.
28464 * Makerules: Likewise.
28465 * config.h.in: Likewise.
28466 * config.make.in: Likewise.
28467 * configure: Likewise.
28468 * configure.in: Likewise.
28469 * csu/Makefile: Likewise.
28470 * csu/version.c: Likewise.
28471 * debug/Makefile: Likewise.
28472 * dlfcn/Makefile: Likewise.
28473 * elf/Makefile: Likewise.
28474 * extra-lib.mk: Likewise.
28475 * iconv/Makefile: Likewise.
28476 * include/libc-symbols.h: Likewise.
28477 * include/shlib-compat.h: Likewise.
28478 * resolv/Makefile: Likewise.
28479 * resolv/res_libc.c: Likewise.
28480 * rt/Makefile: Likewise.
28481 * sysdeps/i386/asm-syntax.h: Likewise.
28482 * sysdeps/i386/sysdep.h: Likewise.
28483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28484 * sysdeps/mach/sysdep.h: Likewise.
28485 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28486 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28487 * sysdeps/s390/asm-syntax.h: Likewise.
28488 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28490 * sysdeps/sh/sysdep.h: Likewise.
28491 * sysdeps/unix/sparc/sysdep.h: Likewise.
28492 * sysdeps/wordsize-32/divdi3.c: Likewise.
28493 * sysdeps/x86_64/sysdep.h: Likewise.
28494
00bbd29b
UD
28495 * argp/Versions: Remove _argp_unlock_xxx.
28496
28497 [BZ #13559]
28498 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28499 * abilist/libBrokenLocale.abilist: Likewise.
28500 * abilist/libanl.abilist: Likewise.
28501 * abilist/libc.abilist: Likewise.
28502 * abilist/libcrypt.abilist: Likewise.
28503 * abilist/libdl.abilist: Likewise.
28504 * abilist/libm.abilist: Likewise.
28505 * abilist/libnsl.abilist: Likewise.
28506 * abilist/libpthread.abilist: Likewise.
28507 * abilist/libresolv.abilist: Likewise.
28508 * abilist/librt.abilist: Likewise.
28509 * abilist/libthread_db.abilist: Likewise.
28510 * abilist/libutil.abilist: Likewise.
28511 * abilist/libnss_db.abilist: New file.
28512
28513 * scripts/abilist.awk: Add support for indirect functions.
28514
a2693a0e
UD
28515 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28516
3f05895f
UD
28517 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28518
ecb6fb48
UD
28519 * shlib-versions: Remove entries for ports architectures.
28520
664f8cb9
UD
28521 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28522 files in ports.
28523 * elf/stackguard-macros.h: Remove support for IA-64.
28524 * elf/tst-auditmod1.c: Likewise.
28525 * sysdeps/generic/ldsodefs.h: Likewise.
28526
7ae81d88
UD
28527 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28528 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28529 configure files.
28530
bdeba135
UD
28531 [BZ #13552]
28532 * configure.in: Remove --enable-omitfp support.
28533 * FAQ.in: Adjust.
28534 * config.make.in: Likewise.
28535 * Makeconfig: Likewise.
28536 * manual/install.texi: Likewise.
28537
d75a0a62
UD
28538 In case anyone cares, the IA-64 architecture could move to ports.
28539 * sysdeps/ia64/*: Removed.
28540 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28541 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28542
dcc9756b
UD
28543 [BZ #13555]
28544 * configure.in: Remove entries for unsupported architectures.
28545
d3761ebc 28546 [BZ #13533]
9954432e
UD
28547 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28548 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28549 routines.
28550 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28551 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28552 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28553 fall back to using wcrtomb.
28554 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28555 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28556 renaming.
28557 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28558 * wcsmbs/tst-c16c32-1.c: New file.
28559
28560 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28561 local variable.
28562
c3a87236
UD
28563 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28564
28926a1b
UD
28565 * elf/tst-unique3.cc: Add explicit declaration of gets.
28566 * elf/tst-unique3lib.cc: Likewise.
28567 * elf/tst-unique3lib2.cc: Likewise.
28568 * elf/tst-unique4.cc: Likewise.
28569
df78418a
UD
28570 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28571
8ecd6b2a
JM
285722012-01-06 Joseph Myers <joseph@codesourcery.com>
28573
28574 [BZ #13566]
28575 * assert/assert.h (static_assert): Don't define for C++.
28576 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28577 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28578
9f115170
UD
285792012-01-03 Ulrich Drepper <drepper@gmail.com>
28580
5e0d0300
UD
28581 * iconv/loop.c (single loop): Fix assertion in storing of
28582 remaining bytes.
28583
9f115170
UD
28584 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28585
81fb02b0
UD
285862012-01-01 Ulrich Drepper <drepper@gmail.com>
28587
28588 * posix/getconf.c: Update copyright year.
28589 * nss/getent.c: Likewise.
a316c1f6 28590 * nss/makedb.c: Likewise.
81fb02b0
UD
28591 * iconv/iconvconfig.c: Likewise.
28592 * iconv/iconv_prog.c: Likewise.
28593 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28594 * elf/pldd.c: Likewise.
28595 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28596 * catgets/gencat.c: Likewise.
28597 * csu/version.c: Likewise.
28598 * elf/ldd.bash.in: Likewise.
28599 * elf/sprof.c (print_version): Likewise.
28600 * locale/programs/locale.c: Likewise.
28601 * locale/programs/localedef.c: Likewise.
a316c1f6 28602 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28603 * nscd/nscd.c (print_version): Likewise.
28604 * debug/xtrace.sh: Likewise.
28605 * malloc/memusage.sh: Likewise.
28606 * malloc/mtrace.pl: Likewise.
28607 * debug/catchsegv.sh: Likewise.
28608
2ba92745
JJ
286092011-12-30 Jakub Jelinek <jakub@redhat.com>
28610
28611 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28612 pure attribute.
28613
dadebdae
UD
286142011-12-24 Ulrich Drepper <drepper@gmail.com>
28615
d3761ebc 28616 [BZ #13533]
db6af3eb
UD
28617 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28618 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28619 transformations.
28620 * iconv/gconv_int.h: Likewise.
28621 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28622 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28623 from libc for GLIBC_2.16.
28624 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28625 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28626 * wcsmbs/uchar.h: Really define mbstate_t.
28627 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28628 * wcsmbs/c16rtomb.c: New file.
28629 * wcsmbs/mbrtoc16.c: New file.
28630 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28631 for C/POSIX locale.
28632 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28633 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28634
dadebdae
UD
28635 * wcsmbs/wchar.h: Add missing __restrict.
28636
67371b56
UD
286372011-12-23 Ulrich Drepper <drepper@gmail.com>
28638
74033a25
UD
28639 [BZ #13532]
28640 * time/Makefile (routines): Add timespec_get.
28641 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28642 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28643 timespec for ISO C11.
28644 * time/timespec_get.c: New file.
28645 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28646 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28647
380d7e87
UD
28648 [BZ #13531]
28649 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28650 * stdlib/stdlib.h: Declare aligned_alloc.
28651 * Versions.def: Add GLIBC_2.16 for libc.
28652 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28653
4e9e7a35
UD
28654 [BZ 13527]
28655 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28656 ISO C11.
28657
380d7e87 28658 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28659 code.
28660
03a71829
UD
28661 [BZ #13528]
28662 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28663
839e283e
UD
28664 [BZ #13529]
28665 * assert/assert.h (static_assert): Define.
28666
ce5294e2 28667 * version.h: Update for 2.16 development version.
90fa7312 28668
8d44e150 28669 [BZ #13526]
d7809905
UD
28670 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28671 _ISOC11_SOURCE.
28672
c0da14cd
UD
28673 * version.h (RELEASE): Bump for 2.15 release.
28674 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28675
530a3249
MP
28676 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28677 Patch by Marek Polacek <mpolacek@redhat.com>.
28678
67371b56
UD
28679 * bits/byteswap.h: Protect long long constants with __extension__.
28680 * sysdeps/i386/bits/byteswap.h: Likewise.
28681 * sysdeps/ia64/bits/byteswap.h: Likewise.
28682 * sysdeps/s390/bits/byteswap.h: Likewise.
28683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28684
15db4de1
LD
286852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28686
28687 [BZ #13540]
bbe315ea
LD
28688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28689 destination buffer.
15db4de1
LD
28690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28691
2b2596b1
MP
286922011-12-23 Marek Polacek <polacek@redhat.com>
28693
28694 * elf/dl-addr.c (determine_info): Add inline keyword.
28695 * elf/tst-auditmod4b.c (check_avx): Likewise.
28696 * elf/tst-auditmod6b.c (check_avx): Likewise.
28697 * elf/tst-auditmod6c.c (check_avx): Likewise.
28698 * elf/tst-auditmod7b.c (check_avx): Likewise.
28699
70c6c246
UD
287002011-12-23 Ulrich Drepper <drepper@gmail.com>
28701
28702 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28703 !__SSE_MATH__.
28704
c044cf14
LD
287052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28706
15db4de1 28707 [BZ #13540]
c044cf14
LD
28708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28709 processing for last bytes.
28710
6b13d9d9
BH
287112011-08-06 Bruno Haible <bruno@clisp.org>
28712
d455f537
BH
28713 [BZ #13061]
28714 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28715 U+0385, not to U+1FEE.
28716
6b13d9d9
BH
28717 [BZ #13062]
28718 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28719 entry for U+00A5 U+0301.
28720
db910efd
UD
287212011-12-22 Ulrich Drepper <drepper@gmail.com>
28722
27deeafc
UD
28723 [BZ #13166]
28724 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28725 buffer for the output is too small.
28726
aed9d171
UD
28727 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28728 optimization.
28729
db910efd
UD
28730 [BZ #13185]
28731 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28732 SSE flags if possible.
28733
2bd779ae
LD
287342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28735
e7f9dac3 28736 [BZ #13540]
2bd779ae
LD
28737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28738 processing for last bytes.
28739
154bfc16
JM
287402011-12-22 Joseph Myers <joseph@codesourcery.com>
28741
28742 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28743 (syscall-list-default-options, syscall-list-default-condition)
28744 (syscall-list-includes): Define.
28745 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28746 list of ABIs and options and #if conditions for each ABI. Do not
28747 handle common syscalls between ABIs specially.
28748 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28749 Remove.
28750 (syscall-list-variants, syscall-list-32bit-options)
28751 (syscall-list-32bit-condition, syscall-list-64bit-options)
28752 (syscall-list-64bit-condition): Define.
28753 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28754 (syscall-list-variants, syscall-list-32bit-options)
28755 (syscall-list-32bit-condition, syscall-list-64bit-options)
28756 (syscall-list-64bit-condition): Define.
28757 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28758 Remove.
28759 (syscall-list-variants, syscall-list-32bit-options)
28760 (syscall-list-32bit-condition, syscall-list-64bit-options)
28761 (syscall-list-64bit-condition): Define.
28762 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28763 Remove.
28764 (syscall-list-variants, syscall-list-32bit-options)
28765 (syscall-list-32bit-condition, syscall-list-64bit-options)
28766 (syscall-list-64bit-condition): Define.
28767
21eaf3a5
UD
287682011-12-22 Ulrich Drepper <drepper@gmail.com>
28769
16c6f992
UD
28770 * locale/iso-639.def: Add brx entry.
28771
41043168
UD
28772 [BZ #13328]
28773 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28774 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28775
21eaf3a5
UD
28776 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28777 __feraiseexcept_renamed.
28778
e3a851a2
UD
287792011-12-21 Ulrich Drepper <drepper@gmail.com>
28780
4920765e
UD
28781 [BZ #13538]
28782 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28783 EPOLLET with unsigned values.
28784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28786
e3a851a2
UD
28787 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28788 to large cancellation.
28789 * math/s_cacoshf.c: Likewise.
28790 * math/s_cacoshl.c: Likewise.
28791
b27e24b8
RK
287922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28793
28794 [BZ #13305]
aebefeee 28795 [BZ #12786]
b27e24b8
RK
28796 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28797 * math/s_cacoshf.c: Likewise.
28798 * math/s_cacoshl.c: Likewise.
28799
ee190f67
UD
288002011-12-21 Ulrich Drepper <drepper@gmail.com>
28801
28802 [BZ #13439]
28803 * iconv/gconv.h: Define __GCONV_SWAP.
28804 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28805 * iconvdata/utf-16.c: Likewise.
28806 * iconvdata/utf-32.c: Likewise.
28807
707f25df
AS
288082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28809
28810 [BZ #13524]
28811 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28812 numerator after shifting it by one limb.
28813
d2daaa1e
RÁE
288142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28815
28816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28817 under [__USE_EXTERN_INLINES].
28818
a4647e72
UD
288192011-12-17 Ulrich Drepper <drepper@gmail.com>
28820
28821 [BZ #13446]
28822 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28823
f0b264f1
AZ
288242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28825
28826 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28827 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28828 optimized code.
28829 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28830 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28831 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28832 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28833 for strncasecmp/strncasecmp_l compilation.
28834 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28835 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28836
8ef4f244
MP
288372011-12-08 Marek Polacek <mpolacek@redhat.com>
28838
28839 [BZ #13484]
28840 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28841 of __asm__.
28842
97ac2654
UD
288432011-12-17 Ulrich Drepper <drepper@gmail.com>
28844
28845 [BZ #13506]
28846 * time/tzfile.c (__tzfile_read): Check values from file header.
28847
91d2a845
WS
288482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28849
28850 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28851 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28852 * powerpc/powerpc32/dl-start.S: Likewise.
28853 * powerpc/powerpc32/elf/start.S: Likewise.
28854 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28855 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28856 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28857 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28858 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28859 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28860 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28861 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28862 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28863 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28864 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28865 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28866 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28867 * powerpc/powerpc32/memset.S: Likewise.
28868 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28869 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28870 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28871 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28872 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28873 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28874 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28875 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28876 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28877 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28878 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28879 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28880 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28881
a1267ba1
AZ
288822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28883
28884 * math/libm-test.inc: Added more nearbyint tests.
28885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28889
ad8ac1bd
RL
288902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28891
28892 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28893 FD_CLOEXEC.
28894
1d3e4b61
UD
288952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28896
28897 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28898 Add wcscpy-ssse3 wcscpy-c.
28899 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28900 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28901 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28902 * sysdeps/x86_64/wcschr.S: New file.
28903 * sysdeps/x86_64/wcsrchr.S: New file.
28904 * string/test-strcmp.c: Remove checking of wcscmp function for
28905 wrong alignments.
28906 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28907 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28908 wcsrchr-sse2 wcsrchr-c.
28909 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28910 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28911 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28912 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28913 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28914 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28915 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28916 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28917 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28918 * wcsmbc/wcschr.c (WCSCHR): New macro.
28919
5b330a2d
UD
289202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28921
28922 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28923 * wcsmbs/test-wcsrchr.c: New file.
28924 * string/test-strrchr.c: Add wcsrchr support.
28925 (WIDE): New macro.
28926 * wcsmbs/test-wcscpy.c: New file.
28927 * string/test-strcpy.c: Add wcscpy support.
28928 (WIDE): New macro.
26428b7c 28929
f039c043
UD
289302011-12-10 Ulrich Drepper <drepper@gmail.com>
28931
28932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28933 the inner loop.
28934
850fb039
AS
289352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28936
28937 [BZ #13472]
28938 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28939
4efbd5cb
UD
289402011-12-04 Ulrich Drepper <drepper@gmail.com>
28941
52ff5dd0 28942 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28943 Minor optimizations.
52ff5dd0 28944
4efbd5cb
UD
28945 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28946 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28947 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28948
8a426e12
UD
289492011-12-03 Ulrich Drepper <drepper@gmail.com>
28950
aff2453d
UD
28951 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28952 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28953 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28954 for gcc to avoid warnings.
28955 * inet/Makefile (tests): Add tst-checks.
28956 * inet/tst-checks.c: New file.
28957
28958 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28959 warning.
28960
28961 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28962 __wmemcmp_sse2.
28963
28964 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28965 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28966
8a426e12
UD
28967 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28968
9bea3473
UD
289692011-12-02 Ulrich Drepper <drepper@gmail.com>
28970
3a965496
UD
28971 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28972 problem.
28973
9bea3473
UD
28974 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28975
f101631b
UD
289762011-11-29 Joseph Myers <joseph@codesourcery.com>
28977
28978 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28979 conditional on GCC version.
28980 (__arch_compare_and_exchange_val_8_acq)
28981 (__arch_compare_and_exchange_val_16_acq)
28982 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28983 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28984 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28985
a98275aa
UD
289862011-12-02 Joseph Myers <joseph@codesourcery.com>
28987
28988 * sysdeps/sh/backtrace.c: New file.
28989
d4cc29a2
AS
289902011-12-02 Andreas Schwab <schwab@redhat.com>
28991
28992 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28993 parenthesis.
28994
6257af2d
AS
289952011-12-01 Andreas Schwab <schwab@redhat.com>
28996
28997 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28998 falling back to utime.
28999
b5f44c1a
AS
290002011-11-30 Andreas Schwab <schwab@redhat.com>
29001
29002 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29003 expectations for float.
29004
f3a6cc0a
AS
290052011-11-29 Andreas Schwab <schwab@redhat.com>
29006
29007 * locale/weight.h (findidx): Add parameter len.
29008 * locale/weightwc.h (findidx): Likewise.
29009 * posix/fnmatch_loop.c (FCT): Adjust caller.
29010 * posix/regcomp.c (build_equiv_class): Likewise.
29011 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29012 * posix/regexec.c (check_node_accept_bytes): Likewise.
29013 * string/strcoll_l.c (STRCOLL): Likewise.
29014 * string/strxfrm_l.c (STRXFRM): Likewise.
29015
9d65ea3a
UD
290162011-11-17 Ulrich Drepper <drepper@gmail.com>
29017
29018 * Makefile.in: Remove CVSOPT handling.
29019 * configure.in: Remove use of AC_REVISION.
29020 * iconvdata/Makefile (distribute): No need to filter out CVS.
29021 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29022 handling.
29023
5583a086
AS
290242011-11-16 Andreas Schwab <schwab@redhat.com>
29025
29026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29027 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29028 [USE_AS_STRNCASECMP_L]: Likewise.
29029 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29030 NO_TLS_DIRECT_SEG_REFS.
29031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29032 Fix argument offsets for non-PIC.
29033 [USE_AS_STRNCASECMP_L]: Likewise.
29034 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29035 NO_TLS_DIRECT_SEG_REFS.
29036
d62a8200
UD
290372011-11-15 Ulrich Drepper <drepper@gmail.com>
29038
9d65ea3a 29039 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29040 O_CLOEXEC.
29041 * locale/loadlocale.c (_nl_load_locale): Likewise.
29042
09f93bd3
AS
290432011-11-15 Andreas Schwab <schwab@redhat.com>
29044
446514f9
AS
29045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29046 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29048 (SYSCALL_GETTIME): Set errno on error.
29049
09f93bd3
AS
29050 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29051 count references to noai6ai_cached.
29052
312be3f9
UD
290532011-11-15 Ulrich Drepper <drepper@gmail.com>
29054
29055 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29056
29057 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29058 FD_CLOEXEC for /proc/self/maps.
29059
29060 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29061 FD_CLOEXEC for /proc/meminfo.
29062
29063 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29064 gai.conf.
29065
29066 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29067 FD_CLOEXEC for given file.
29068
29069 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29070
29071 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29072 FD_CLOEXEC for /etc/hosts.
29073 (_gethtent): Likewise.
29074
29075 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29076
29077 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29078 cancellation and set FD_CLOEXEC for /etc/netgroup.
29079
29080 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29081 reading /etc/publickey.
29082
29083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29084 allow cancellation when reading /etc/group.
29085
29086 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29087 cancellation.
29088 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29089
29090 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29091 when using data file.
29092
29093 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29094
29095 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29096 (write_nis_obj): Use "c" and "e" in fopen.
29097
29098 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29099
29100 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29101
29102 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29103
29104 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29105
29106 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29107 locale.alias.
29108
29109 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29110
29111 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29112
29113 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29114
29115 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29116 file parsing and set FD_CLOEXEC.
29117
82af0fa8
UD
291182011-11-14 Ulrich Drepper <drepper@gmail.com>
29119
29120 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29121
a5fb313c
AS
291222011-11-14 Andreas Schwab <schwab@redhat.com>
29123
29124 * malloc/arena.c (arena_get2): Don't call reused_arena when
29125 _int_new_arena failed.
29126
6abf3465
UD
291272011-11-14 Ulrich Drepper <drepper@gmail.com>
29128
29129 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29130 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29132 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29135 to compile strcasecmp and strncasecmp.
29136 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29137 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29138
29139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29140
76e3966e
UD
291412011-11-13 Ulrich Drepper <drepper@gmail.com>
29142
29143 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29144 locale-defines.sym to gen-as-const-headers.
29145 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29146 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29148 to compile strcasecmp and strncasecmp.
29149 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29150 strcasecmp_l and strncasecmp_l.
29151 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29152 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29153 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29154 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29155 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29156 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29157 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29158 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29159 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29160 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29161 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29162
ab26144e
UD
291632011-11-12 Ulrich Drepper <drepper@gmail.com>
29164
7edb22ef
UD
29165 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29166 result of SYSDEP_GETTIME_CPU to retval.
29167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29168 parameter list to macro. Remove trailing semicolon. Adjust users.
29169
9694fc44
UD
29170 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29171 variable.
29172
8ad89ef8
UD
29173 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29174 mantissa words.
29175 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29176
0c822ef9
UD
29177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29178 from unused variable.
29179
874e0564
UD
29180 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29181 DWARF definitions.
29182 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29183 for assembling.
29184
3a2edc79
UD
29185 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29186 over namespaces.
29187
f3c2577f
UD
29188 * sunrpc/rpc_prot.c (rejected): Fix case value.
29189
294ce126
UD
29190 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29191 unsigned long long int to avoid warnings in shift.
29192
5e2b63c6
UD
29193 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29194 of use of trans.
29195 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29196 variable tmp.
29197
e7f4b08e
UD
29198 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29199 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29200 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29201
ab26144e
UD
29202 * nis/nis_table.c (nis_list): Use variable of correct type for
29203 result of __follow_path call.
29204
8a6d5255
AZ
292052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29206
29207 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29208 of math functions ceil, trunc, floor, round, and sqrt, when
29209 avaliable on the platform.
29210 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29211 name clash.
29212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29213 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29214 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29215
aaddc98c
MP
292162011-10-30 Marek Polacek <mpolacek@redhat.com>
29217
29218 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29220
95b7042b
RM
292212011-11-11 Roland McGrath <roland@hack.frob.com>
29222
29223 * include/unistd.h: Fix __readlink return type.
29224 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29225
57769839
UD
292262011-11-11 Ulrich Drepper <drepper@gmail.com>
29227
29228 * stdlib/ucontext.h: Undo last change for makecontext.
29229
edc5984d
AS
292302011-11-11 Andreas Schwab <schwab@redhat.com>
29231
98591e58
AS
29232 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29233
edc5984d
AS
29234 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29235 * setjmp/setjmp.h: Mark functions as non-leaf.
29236 * setjmp/bits/setjmp2.h: Likewise.
29237 * stdlib/ucontext.h: Likewise.
29238
77cdc054
AS
292392011-11-10 Andreas Schwab <schwab@redhat.com>
29240
29241 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29242 (reused_arena): Don't check arena limit.
29243 (arena_get2): Atomically check arena limit.
29244
fe72eebd
UD
292452011-11-08 Ulrich Drepper <drepper@gmail.com>
29246
5f078c32
UD
29247 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29248 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29249
fe72eebd
UD
29250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29251 instructions.
29252
ae1bc2fa
AS
292532011-11-07 Andreas Schwab <schwab@redhat.com>
29254
7583a88d
AS
29255 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29256 handler when locking.
29257
ae1bc2fa
AS
29258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29259 Fix size of allocated buffer.
29260
10fb0bfa
AS
292612011-11-04 Andreas Schwab <schwab@redhat.com>
29262
998832a4
AS
29263 [BZ #10103]
29264 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29265 declarations for long double functions.
29266 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29267
10fb0bfa
AS
29268 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29269
3d7ba52b
AS
292702011-11-03 Andreas Schwab <schwab@redhat.com>
29271
a9ae54a1
AS
29272 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29273 installed.
29274
3d7ba52b
AS
29275 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29276 is disabled.
29277
bc8db248
ST
292782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29279
29280 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29281
45b96dd6
AS
292822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29283
647776f6
AS
29284 * include/alloca.h (stackinfo_alloca_round): Define.
29285 (extend_alloca): Use it.
29286 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29287 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29288 here.
29289
d91a8b93
AS
29290 * scripts/check-local-headers.sh: Ignore libaudit.h.
29291
45b96dd6
AS
29292 * nscd/Makefile (extra-objs): Make recursively expanded.
29293
432d41ce
UD
292942011-11-01 Ulrich Drepper <drepper@gmail.com>
29295
34372fc6
UD
29296 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29298
fadb59f8
UD
29299 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29300 * posix/tst-rfc3484-2.c: Likewise.
29301 * posix/tst-rfc3484-3.c: Likewise.
29302
78239589
UD
29303 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29304 process_vm_writev.
29305 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29306 process_vm_writev.
29307 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29308 process_vm_writev from libc using GLIBC_2.15 version.
29309
432d41ce
UD
29310 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29311
02f9c6cf
PP
293122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29313
29314 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29315 stack usage.
29316
3a2c0242
UD
293172011-10-31 Ulrich Drepper <drepper@gmail.com>
29318
f4ec4833
UD
29319 [BZ #13367]
29320 * nss/getent.c (initgroups_keys): Show error message in case no group
29321 names are given.
29322
3a2c0242
UD
29323 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29324 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29325 __bump_nl_timestamp.
29326 * nscd/connections (nscd_init): When host database is served open
29327 netlink socket and request notification about configuration changes.
29328 (main_loop_poll): Track netlink file descriptor and bump timestamp
29329 in case data becomes available.
29330 (main_loop_epoll): Likewise.
29331 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29332 (database_pers_head): Add extra_data fileds.
29333 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29335 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29336 Adjust caller.
29337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29338 in6ai data, call __free_in6ai.
29339 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29340 Add -DHAVE_NETLINK.
29341 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29342 interface information. Reuse previous data if netlink timestamp
29343 is not changed.
29344 (__bump_nl_timestamp): New function.
29345 (__free_in6ai): New function.
29346
636064eb
UD
293472011-10-30 Ulrich Drepper <drepper@gmail.com>
29348
29349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29350 close_not_cancel_no_status here.
29351 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29352
9beb2334
UD
293532011-10-29 Ulrich Drepper <drepper@gmail.com>
29354
6ef76f3b
UD
29355 [BZ #13276]
29356 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29357 return value.
29358
0ffc4f3e 29359 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29360 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29361 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29362
cb95113e
UD
293632011-07-03 Andreas Jaeger <aj@suse.de>
29364
29365 [BZ #10709]
29366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29367 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29368 * math/libm-test.inc (sin_test): Add test case.
29369
a1b560ff
UD
293702011-10-29 Ulrich Drepper <drepper@gmail.com>
29371
c9aaface
UD
29372 [BZ #13337]
29373 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29374 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29375
d272e7f1
UD
29376 * elf/chroot_canon.c (chroot_canon): Cleanups.
29377
1bc33071
UD
29378 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29379
1760874d
TJ
29380 [BZ #13335]
29381 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29382 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29383
51d91b18
UD
29384 * string/test-strchr.c: Make usable for strchrnul testing.
29385 * string/test-strchrnul.c: New file.
29386 * string/Makefile (strop-tests): Add strchrnul.
29387
a1b560ff 29388 * po/it.po: Update from translation team.
b611fb81 29389 * po/es.po: Likewise.
a1b560ff 29390
a5b81e1f
UD
293912011-10-28 Ulrich Drepper <drepper@gmail.com>
29392
fd52bc6d
UD
29393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29394 the three constants needed as parameters. Drop the others.
29395 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29396 __m128i_strloadu_tolower.
52e4b9eb
UD
29397 Create and initialize variable zero and use it in all the places
29398 where _mm_setzero_si128 was used.
fd52bc6d 29399
a5b81e1f
UD
29400 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29401 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29402 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29404 anymore.
29405 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29406 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29407 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29408 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29410 __mpranred, __mptan.
29411 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29412 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29413 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29414 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29415 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29416 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29418 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29419 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29420
b4343346
AS
294212011-10-28 Andreas Schwab <schwab@redhat.com>
29422
0c92d8a8
AS
29423 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29424 redefine if SHARED.
29425 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29426
b4343346
AS
29427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29428 wide char related routines to wcsmbs subdir.
29429
3871f58f
AS
294302011-10-27 Andreas Schwab <schwab@redhat.com>
29431
29432 [BZ #13344]
29433 * misc/sys/cdefs.h (__THROWNL): Define.
29434 * posix/unistd.h: Use __THREADNL instead of __THREAD
29435 for memory synchronization functions.
29436
94d44d9f
RM
294372011-10-26 Roland McGrath <roland@hack.frob.com>
29438
21b64b15 29439 [BZ #13349]
94d44d9f
RM
29440 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29441 doesn't exist.
29442 * manual/stdio.texi (Obstack Streams): Node removed.
29443
f6ce9294
AS
294442011-10-26 Andreas Schwab <schwab@redhat.com>
29445
80479147
AS
29446 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29449
f6ce9294
AS
29450 * math/math_private.h (math_force_eval): Allow non-addressable
29451 arguments.
29452 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29453
618280a1
UD
294542011-10-25 Ulrich Drepper <drepper@gmail.com>
29455
e0016b11
UD
29456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29457 file is not needed.
29458
29459 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29466 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29467 Add AVX variants.
29468 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29469 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29470 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29471 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29473 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29474 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29476 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29477 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29478 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29479 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29482 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29483 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29484 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29485 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29486 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29487
29488 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29489 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29490
618280a1
UD
29491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29492 place. Use VEX encoding when compiling for AVX.
29493
37822576
AS
294942011-10-25 Andreas Schwab <schwab@redhat.com>
29495
1f1e1947
AS
29496 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29497 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29498
37822576
AS
29499 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29500
31ea014d
UD
295012011-10-25 Ulrich Drepper <drepper@gmail.com>
29502
d7826aa1 29503 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29504 useless if() expression.
d7826aa1
UD
29505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29506 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29507 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29509 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29511 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29513 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29515 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29517 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29519 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29521 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29522 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29523 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29524
31ea014d
UD
29525 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29526
16437fec
AS
295272011-10-25 Andreas Schwab <schwab@redhat.com>
29528
29529 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29530 condition.
29531 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29532
31d3cc00
UD
295332011-10-25 Ulrich Drepper <drepper@gmail.com>
29534
29535 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29536 .text section. Avoid duplicate constants.
29537 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29539 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29545 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29546 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29547 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29548 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29549 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29550 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29551 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29553 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29554 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29560 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29561 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29562 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29563 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29564 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29568 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29569 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29573 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29575 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29579 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29580 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29581 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29582
58985aa9
UD
295832011-10-24 Ulrich Drepper <drepper@gmail.com>
29584
202c9deb
UD
29585 * sysdeps/x86_64/dla.h: Move to ...
29586 * sysdeps/x86_64/fpu/dla.h: ...here.
29587 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29588 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29589
af968f62
UD
29590 * config.make.in: Add have-mfma4 entry.
29591 * configure.in: Substitute libc_cv_cc_fma4.
29592 * math/Makefile (dbl-only-routines): Add sincostab.
29593 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29594 Use __sincostab not sincos.
29595 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29596 name is a macro.
29597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29601 using __copysign.
29602 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29603 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29604 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29605 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29606 and __inv.
29607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29608 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29609 __copysign.
29610 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29611 define aliases when function name is a macro.
29612 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29613 sysdeps/ieee754/dbl-64/sincos.tbl.
29614 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29615 fma4-enabled routines.
29616 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29617 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29618 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29619 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29621 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29623 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29626 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29627 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29628 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29629 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29631 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29632 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29633 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29634 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29636 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29637 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29639 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29643 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29644 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29645 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29646
58985aa9
UD
29647 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29648 rename.
29649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29657
a201fbcf
AS
296582011-10-24 Andreas Schwab <schwab@redhat.com>
29659
29660 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29661
fc2ee42a
LD
296622011-10-23 Ulrich Drepper <drepper@gmail.com>
29663
bb3129bd
UD
29664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29665
0275fff8
UD
29666 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29667 prediction.
29668 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29669
2fa2ae85
UD
29670 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29671 Remove unused variable magic_bits.
29672 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29673
fc2ee42a
LD
29674 * string/strnlen.c: Define and use STRNLEN macro.
29675 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29676 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29678 * wcsmbs/wcslen.c: Define and use WCSLEN.
29679 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29680 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29681 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29682 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29683 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29684 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29685 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29686
ce7dd29f
LD
296872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29688
29689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29690 strnlen-sse2-no-bsf.
29691 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29693 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29694 Add strnlen support.
29695 (USE_AS_STRNLEN): New macro.
29696 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29698 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29699 * sysdeps/x86_64/wcslen.S: New file.
29700
979c70a3
MZ
297012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29702
29703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29704 XMM-moves are used for copying on small sizes.
29705
2d09f82f
LD
297062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29707
29708 * wcsmbs/Makefile (strop-tests): Add wcschr.
29709 * wcsmbs/test-wcschr.c: New file.
29710 * string/test-strchr.c: Update.
29711 Add wcschr support.
29712 (WIDE): New macro.
29713
619fccca
LD
297142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29715
2d09f82f 29716 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29717 * wcsmbs/test-wcslen.c: New file.
29718 * string/test-strlen.c: Update.
29719 Add wcslen support.
29720 (WIDE): New macro.
29721
09f699ea
UD
297222011-10-23 Ulrich Drepper <drepper@gmail.com>
29723
29724 * po/it.po: Update from translation team.
29725
95584d3b
LD
297262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29727
29728 * sysdeps/x86_64/wcscmp.S: Update.
29729 Fix wrong comparison semantics.
29730 wcscmp shall use signed comparison not unsigned.
29731 Don't use substraction to avoid overflow bug.
29732 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29733 * wcsmbc/wcscmp.c: Likewise.
29734 * string/test-strcmp.c: Likewise.
29735 Add new tests to check cases with negative values.
29736
c8b3296b
UD
297372011-10-23 Ulrich Drepper <drepper@gmail.com>
29738
29739 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29740 * sysdeps/x86_64/dla.h: ...here. New file.
29741 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29750
246ad57a
AS
297512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29752
29753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29754 __ynl_finite aliases.
29755
a1a87169
UD
297562011-10-22 Ulrich Drepper <drepper@gmail.com>
29757
0d355eb7
UD
29758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29759
a1a87169
UD
29760 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29761 define DLA_FMA.
29762 [DLA_FMA] (EMULV): Use DLA_FMA.
29763 [DLA_FMA] (MUL12): Use EMULV.
29764 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29765 that are not needed.
29766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29773
ee2aafe0
AS
297742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29775
29776 * math/s_nan.c: Undef __nan.
29777 * math/s_nanf.c: Undef __nanf.
29778 * math/s_nanl.c: Undef __nanl.
29779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29780 "math_private.h".
29781
bc62c2fb
UD
297822011-10-22 Ulrich Drepper <drepper@gmail.com>
29783
77425c63
UD
29784 * math/s_catan.c: Add branch predictions.
29785 * math/s_catanf.c: Likewise.
29786 * math/s_catanh.c: Likewise.
29787 * math/s_catanhf.c: Likewise.
29788 * math/s_catanhl.c: Likewise.
29789 * math/s_catanl.c: Likewise.
29790 * math/s_cexp.c: Likewise.
29791 * math/s_cexpf.c: Likewise.
29792 * math/s_cexpl.c: Likewise.
29793 * math/s_clog.c: Likewise.
29794 * math/s_clog10.c: Likewise.
29795 * math/s_clog10f.c: Likewise.
29796 * math/s_clog10l.c: Likewise.
29797 * math/s_clogf.c: Likewise.
29798 * math/s_clogl.c: Likewise.
29799 * math/s_csqrt.c: Likewise.
29800 * math/s_csqrtf.c: Likewise.
29801 * math/s_csqrtl.c: Likewise.
29802 * math/s_ctanf.c: Likewise.
29803 * math/s_ctanh.c: Likewise.
29804 * math/s_ctanhf.c: Likewise.
29805 * math/s_ctanhl.c: Likewise.
29806 * math/s_ctanl.c: Likewise.
29807
bc62c2fb
UD
29808 * math/math_private.h: Define __nan, __nanf, __nanl.
29809 * math/s_cacosh.c: Include <math_private.h>.
29810 * math/s_cacoshl.c: Likewise.
29811 * math/s_casinh.c: Likewise.
29812 * math/s_casinhf.c: Likewise.
29813 * math/s_casinhl.c: Likewise.
29814 * math/s_ccos.c: Rely entire on ccosh.
29815 * math/s_ccosf.c: Rely entire on ccoshf.
29816 * math/s_ccosl.c: Rely entirely on ccoshl.
29817 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29818 Remove tests for FE_INVALID.
29819 * math/s_ccoshf.c: Likewise.
29820 * math/s_ccoshl.c: Likewise.
29821 * math/s_csin.c: Likewise.
29822 * math/s_csinf.c: Likewise.
29823 * math/s_csinh.c Likewise.
29824 * math/s_csinhf.c: Likewise.
29825 * math/s_csinhl.c: Likewise.
29826 * math/s_csinl.c: Likewise.
29827 * math/s_ctan.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29829 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29830 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29831
8ec250a4
UD
298322011-10-21 Ulrich Drepper <drepper@gmail.com>
29833
c196fed8
UD
29834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29835 compilation problems.
29836
8ec250a4
UD
29837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29838 __builtin_expect.
29839
8d4f46c6
UD
298402011-10-20 Ulrich Drepper <drepper@gmail.com>
29841
ed72b654
UD
29842 * sysdeps/i386/configure.in: Test for -mfma4 option.
29843 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29844 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29845 COMMON_CPUID_INDEX_80000001.
29846 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29847 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29848 use it if FMA3 is not supported.
29849 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29850
8d4f46c6
UD
29851 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29852 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29853
d45c60c2
AS
298542011-10-20 Andreas Schwab <schwab@redhat.com>
29855
29856 [BZ #12892]
29857 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29858 it would create a cycle with a link time dependency.
29859
d9a4d2ab
UD
298602011-10-19 Ulrich Drepper <drepper@gmail.com>
29861
855d1560
UD
29862 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29863 instruction.
29864 * string/Makefile (strop-tests): Add rawmemchr.
29865 * string/test-rawmemchr.c: New file.
29866
d9a4d2ab
UD
29867 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29869 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29870 when compiling str{,n}casecmp and when AVX is available. Hook up
29871 new optimized code in initializers.
29872
8f3b1ffe
AS
298732011-10-19 Andreas Schwab <schwab@redhat.com>
29874
29875 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29876 __feraiseexcept instead of feraiseexcept.
29877
d38f1dba
UD
298782011-10-18 Ulrich Drepper <drepper@gmail.com>
29879
d9a8d0ab
UD
29880 * math/math_private.h: Define defaults for libc_fetestexcept and
29881 libc_feupdateenv.
29882 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29883 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29884 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29885 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29887 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29888 libc_fetestexcept and libc_feupdateenv.
29889
4855e3dd
UD
29890 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29891 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29892 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29893 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29894 libc_feholdexcept_setround.
29895
581d30e3
UD
29896 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29897 Add s_nearbyint-c and s_nearbyintf-c.
29898 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29899 nearbyintf inlines.
29900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29901 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29904
d38f1dba
UD
29905 * math/math_private.h: Define defaults for libc_fegetround,
29906 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29907 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29908 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29910 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29911 standard functions.
29912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29913 Remove comments and hacks for old compiler versions.
29914 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29915 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29916 libc_feholdexceptl.
29917
caa6c9d8
AS
299182011-10-18 Andreas Schwab <schwab@redhat.com>
29919
29920 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29921 (__feraiseexcept_renamed): Add __NTH.
29922 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29923 namespace violations.
29924
97c066e6
UD
299252011-10-17 Ulrich Drepper <drepper@gmail.com>
29926
99ce7b04
UD
29927 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29928
1004d182
UD
29929 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29930
228a984d
UD
29931 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29932 recently added interfaces.
29933 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29934
c8553a6a
UD
29935 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29936 about macro parameter expansion.
29937
ed22dcf6
UD
29938 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29939 __NO_MATH_INLINES is defined. Cleanups.
29940
29941 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29942 and __floorf is target has SSE4.1.
29943 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29944 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29946 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29947
b171c137
UD
29948 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29949 name.
29950 (floorf): Likewise.
29951
97c066e6
UD
29952 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29953
629f62ef
AS
299542011-10-17 Andreas Schwab <schwab@redhat.com>
29955
49a43d80
AS
29956 * misc/sys/cdefs.h: Fix last change.
29957
629f62ef
AS
29958 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29959 database lookup.
29960
e453f6cd
UD
299612011-10-16 Ulrich Drepper <drepper@gmail.com>
29962
aa78043a
UD
29963 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29964
ad0f5cad
UD
29965 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29967 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29973 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29974 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29975 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29976 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29977 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29978 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29979 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29980 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29981 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29982 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29983 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29984 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29985 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29986 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29987
29988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29989 ceil, ceilf, floor, floorf.
29990
29991 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29992 Perform IRELATIVE relocations last.
29993
e453f6cd
UD
29994 * elf/do-rel.h: Add another parameter nrelative, replacing the
29995 local variable with the same name. Change name of the function
29996 to end in Rel or Rela (uppercase).
29997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29998 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29999 elf_dynamic_do_##reloc function.
30000
fd5bdc09
UD
300012011-10-15 Ulrich Drepper <drepper@gmail.com>
30002
79b195b5
UD
30003 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30004 is sufficient, at least on modern CPUs.
30005
d4a28569
UD
30006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30007
b61099b5
UD
30008 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30010
bcf01e6d
UD
30011 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30012 __expl_finite.
30013 * math/bits/math-finite.h: Add entries for exp.
30014 * math/e_expl.c: Add __*_finite alias.
30015 * sysdeps/i386/fpu/e_exp.S: Likewise.
30016 * sysdeps/i386/fpu/e_expf.S: Likewise.
30017 * sysdeps/i386/fpu/e_expl.c: Likewise.
30018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30022 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30025
ba1a0d59
UD
30026 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30027 is sufficient, at least on modern CPUs.
30028
fd5bdc09
UD
30029 * ctype/ctype-info.c (__ctype_init): Define.
30030 * include/ctype.h (__ctype_init): Declare.
30031 (__ctype_b_loc): The variable is always initialized.
30032 (__ctype_toupper_loc): Likewise.
30033 (__ctype_tolower_loc): Likewise.
30034 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30035 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30036
7872cfb0
AS
300372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30038
b468825a
AS
30039 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30040
7872cfb0
AS
30041 * configure.in: Also look in $cxxmachine/include for C++ system
30042 headers.
30043
be13f7bf
LD
300442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30045
30046 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30047 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30048 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30049 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30051 (USE_AS_WMEMCMP): New macro.
30052 Fixing indents.
30053 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30054 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30055 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30056 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30058 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30059 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30060 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30061 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30062 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30064 (USE_AS_WMEMCMP): New macro.
30065 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30066 * sysdeps/string/test-memcmp.c: Update.
30067 Fix simple_wmemcmp.
30068 Add new tests.
30069 * wcsmbs/wmemcmp.c: Update.
30070 (WMEMCMP): New macro.
30071 Fix overflow bug.
30072
556a2007
AJ
300732011-10-12 Andreas Jaeger <aj@suse.de>
30074
30075 [BZ #13268]
30076 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30077
538faaa7
UD
300782011-10-15 Ulrich Drepper <drepper@gmail.com>
30079
ab6737ff
UD
30080 * libio/iofwide.c (do_length): Avoid warning.
30081
538faaa7
UD
30082 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30083
396a21b1
UD
300842011-10-14 Ulrich Drepper <drepper@gmail.com>
30085
cdf2901f
UD
30086 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30087
38ad40ce
UD
30088 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30089 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30090 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30091 * sysdeps/i386/i686/fpu/e_log.S: New file.
30092 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30093 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30094
396a21b1
UD
30095 * ctype/ctype.h: Add support for inlined isXXX functions when
30096 compiling C++ code.
30097
6b1f68c9
AS
300982011-10-14 Andreas Schwab <schwab@redhat.com>
30099
349290c0
AS
30100 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30101
6b1f68c9
AS
30102 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30103
f2282d42
RM
301042011-10-13 Roland McGrath <roland@hack.frob.com>
30105
30106 [BZ #13291]
30107 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30108
5298ffa8
AS
301092011-10-13 Andreas Schwab <schwab@redhat.com>
30110
714fad23
AS
30111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30112 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30113 feraiseexcept.
30114
81dcc7fb
AS
30115 * sysdeps/x86_64/memrchr.S: Check for zero size.
30116
5298ffa8
AS
30117 * string/stratcliff.c: Add memrchr tests.
30118
951fbcec
LD
301192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30120
30121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30122 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30123 rawmemchr-sse2 rawmemchr-sse2-bsf.
30124 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30125 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30126 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30127 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30128 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30129 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30130 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30131 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30132 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30133 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30134 * string/memrchr.c (MEMRCHR): New macro.
30135
0ac5ae23
UD
301362011-10-12 Ulrich Drepper <drepper@gmail.com>
30137
30138 Add integration with gcc's -ffinite-math-only and optimize wrapper
30139 functions in libm.
30140 * Versions.def: Define GLIBC_2.15 version for libm.
30141 * math/Makefile (headers): Add bits/math-finite.h.
30142 * math/bits/math-finite.h: New file.
30143 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30144 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30145 * math/e_acoshl.c: Add __*_finite alias.
30146 * math/e_acosl.c: Likewise.
30147 * math/e_asinl.c: Likewise.
30148 * math/e_atan2l.c: Likewise.
30149 * math/e_atanhl.c: Likewise.
30150 * math/e_coshl.c: Likewise.
30151 * math/e_exp10.c: Likewise.
30152 * math/e_exp10f.c: Likewise.
30153 * math/e_exp10l.c: Likewise.
30154 * math/e_exp2l.c: Likewise.
30155 * math/e_fmodl.c: Likewise.
30156 * math/e_gammal_r.c: Likewise.
30157 * math/e_hypotl.c: Likewise.
30158 * math/e_j0l.c: Likewise.
30159 * math/e_j1l.c: Likewise.
30160 * math/e_jnl.c: Likewise.
30161 * math/e_lgammal_r.c: Likewise.
30162 * math/e_log10l.c: Likewise.
30163 * math/e_log2l.c: Likewise.
30164 * math/e_logl.c: Likewise.
30165 * math/e_powl.c: Likewise.
30166 * math/e_sinhl.c: Likewise.
30167 * math/e_sqrtl.c: Likewise.
30168 * math/e_scalb.c: Completely rewritten and optimized.
30169 * math/e_scalbf.c: Likewise.
30170 * math/e_scalbl.c: Likewise.
30171 * math/w_acos.c: Likewise.
30172 * math/w_acosf.c: Likewise.
30173 * math/w_acosl.c: Likewise.
30174 * math/w_acosh.c: Likewise.
30175 * math/w_acoshf.c: Likewise.
30176 * math/w_acoshl.c: Likewise.
30177 * math/w_asin.c: Likewise.
30178 * math/w_asinf.c: Likewise.
30179 * math/w_asinl.c: Likewise.
30180 * math/w_atan2.c: Likewise.
30181 * math/w_atan2f.c: Likewise.
30182 * math/w_atan2l.c: Likewise.
30183 * math/w_atanh.c: Likewise.
30184 * math/w_atanhf.c: Likewise.
30185 * math/w_atanhl.c: Likewise.
30186 * math/w_exp10.c: Likewise.
30187 * math/w_exp10f.c: Likewise.
30188 * math/w_exp10l.c: Likewise.
30189 * math/w_fmod.c: Likewise.
30190 * math/w_fmodf.c: Likewise.
30191 * math/w_fmodl.c: Likewise.
30192 * math/w_j0.c: Likewise.
30193 * math/w_j0f.c: Likewise.
30194 * math/w_j0l.c: Likewise.
30195 * math/w_j1.c: Likewise.
30196 * math/w_j1f.c: Likewise.
30197 * math/w_j1l.c: Likewise.
30198 * math/w_jn.c: Likewise.
30199 * math/w_jnf.c: Likewise.
30200 * math/w_log.c: Likewise.
30201 * math/w_logf.c: Likewise.
30202 * math/w_logl.c: Likewise.
30203 * math/w_log10.c: Likewise.
30204 * math/w_log10f.c: Likewise.
30205 * math/w_log10l.c: Likewise.
30206 * math/w_log2.c: Likewise.
30207 * math/w_log2f.c: Likewise.
30208 * math/w_log2l.c: Likewise.
30209 * math/w_pow.c: Likewise.
30210 * math/w_powf.c: Likewise.
30211 * math/w_powl.c: Likewise.
30212 * math/w_remainder.c: Likewise.
30213 * math/w_remainderf.c: Likewise.
30214 * math/w_remainderl.c: Likewise.
30215 * math/w_scalb.c: Likewise.
30216 * math/w_scalbf.c: Likewise.
30217 * math/w_scalbl.c: Likewise.
30218 * math/w_sqrt.c: Likewise.
30219 * math/w_sqrtf.c: Likewise.
30220 * math/w_sqrtl.c: Likewise.
30221 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30222 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30223 used.
30224 * math/math_private.h: Declare __kernel_standard_f.
30225 * math/w_cosh.c: Remove cruft and optimize a bit.
30226 * math/w_coshf.c: Likewise.
30227 * math/w_coshl.c: Likewise.
30228 * math/w_exp2.c: Likewise.
30229 * math/w_exp2f.c: Likewise.
30230 * math/w_exp2l.c: Likewise.
30231 * math/w_hypot.c: Likewise.
30232 * math/w_hypotf.c: Likewise.
30233 * math/w_hypotl.c: Likewise.
30234 * math/w_lgamma.c: Likewise.
30235 * math/w_lgamma_r.c: Likewise.
30236 * math/w_lgammaf.c: Likewise.
30237 * math/w_lgammaf_r.c: Likewise.
30238 * math/w_lgammal.c: Likewise.
30239 * math/w_lgammal_r.c: Likewise.
30240 * math/w_sinh.c: Likewise.
30241 * math/w_sinhf.c: Likewise.
30242 * math/w_sinhl.c: Likewise.
30243 * math/w_tgamma.c: Likewise.
30244 * math/w_tgammaf.c: Likewise.
30245 * math/w_tgammal.c: Likewise.
30246 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30248 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30249 Minor optimizations. Pretty printing. Remove cruft.
30250 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30254 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30255 * sysdeps/i386/fpu/e_asin.S: Likewise.
30256 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30257 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30258 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30259 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30260 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30263 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30264 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30265 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30266 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30267 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30268 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30269 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30270 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30271 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30272 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30273 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30274 * sysdeps/i386/fpu/e_log.S: Likewise.
30275 * sysdeps/i386/fpu/e_log10.S: Likewise.
30276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30278 * sysdeps/i386/fpu/e_log2.S: Likewise.
30279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30280 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30281 * sysdeps/i386/fpu/e_logf.S: Likewise.
30282 * sysdeps/i386/fpu/e_logl.S: Likewise.
30283 * sysdeps/i386/fpu/e_pow.S: Likewise.
30284 * sysdeps/i386/fpu/e_powf.S: Likewise.
30285 * sysdeps/i386/fpu/e_powl.S: Likewise.
30286 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30287 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30288 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30289 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30290 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30292 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30293 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30294 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30295 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30300 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30302 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30304 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30305 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30306 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30309 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30311 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30312 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30315 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30316 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30319 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30320 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30321 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30322 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30324 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30326 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30327 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30329 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30330 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30331 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30332 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30333 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30334 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30335 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30336 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30341 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30354 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30355 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30366 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30369 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30373 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30374 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30376 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30388 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30390 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30391 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30392 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30393 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30394 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30395 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30396 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30397 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30398 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30399 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30400 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30402 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30403 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30404 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30405 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30406 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30407 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30408 (__isnanf): Likewise.
30409 (__isinf_ns): Likewise.
30410 (__isinf_nsf): Likewise.
30411 (__finite): Likewise.
30412 (__finitef): Likewise.
30413 (__ieee754_sqrt): Define as macro.
30414 (__ieee754_sqrtf): Define as macro.
30415 (__ieee754_sqrtl): Define as macro.
30416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30417 inlined copy.
30418 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30419 __FINITE_MATH_ONLY__ consistent.
30420 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30421
12cc2fcd
AS
304222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30423
a843a204
AS
30424 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30425 of rawmemchr.
30426
12cc2fcd
AS
30427 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30428
c853acd5
UD
304292011-10-09 Ulrich Drepper <drepper@gmail.com>
30430
30431 * po/ja.po: Update from translation team.
30432
c658d255
RM
304332011-10-08 Roland McGrath <roland@hack.frob.com>
30434
110946e4
RM
30435 * locale/programs/locarchive.c (prepare_address_space): New function.
30436 (create_archive, enlarge_archive, open_archive): Use it.
30437
50604220
RM
30438 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30439 inside [SHARED], where it is used.
30440
c658d255
RM
30441 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30442
30443 * nss/getent.c (netgroup_keys): Remove unused variable.
30444 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30445
6a621eb7
UD
304462011-10-08 Ulrich Drepper <drepper@gmail.com>
30447
7edb55ce
UD
30448 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30449 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30452 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30453 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30454 * math/Makefile (libm-calls): Add s_isinf_ns.
30455 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30456 * math/multc3.c: Likewise.
30457 * math/s_casin.c: Likewise.
30458 * math/s_casinf.c: Likewise.
30459 * math/s_casinl.c: Likewise.
30460 * math/s_ccos.c: Likewise.
30461 * math/s_ccosf.c: Likewise.
30462 * math/s_ccosl.c: Likewise.
30463 * math/s_ctan.c: Likewise.
30464 * math/s_ctanf.c: Likewise.
30465 * math/s_ctanh.c: Likewise.
30466 * math/s_ctanhf.c: Likewise.
30467 * math/s_ctanhl.c: Likewise.
30468 * math/s_ctanl.c: Likewise.
30469 * math/w_fmod.c: Likewise.
30470 * math/w_fmodf.c: Likewise.
30471 * math/w_fmodl.c: Likewise.
30472 * math/w_remainder.c: Likewise.
30473 * math/w_remainderf.c: Likewise.
30474 * math/w_remainderl.c: Likewise.
30475 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30476 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30479 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30480 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30481 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30482 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30483
187da0ae
UD
30484 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30485 of the number.
30486 * stdio-common/printf_fphex.c: Likewise.
30487 * stdio-common/printf_size.c: Likewise.
30488
9277c064
UD
30489 * math/e_exp10.c: Include math_private.h using <...> not "...".
30490 * math/e_exp10f.c: Likewise.
30491 * math/e_exp10l.c: Likewise.
30492 * math/e_exp2l.c: Likewise.
30493 * math/e_j0l.c: Likewise.
30494 * math/e_j1l.c: Likewise.
30495 * math/e_jnl.c: Likewise.
30496 * math/e_lgammal_r.c: Likewise.
30497 * math/e_rem_pio2l.c: Likewise.
30498 * math/e_scalb.c: Likewise.
30499 * math/e_scalbf.c: Likewise.
30500 * math/e_scalbl.c: Likewise.
30501 * math/k_cosl.c: Likewise.
30502 * math/k_sinl.c: Likewise.
30503 * math/k_tanl.c: Likewise.
30504 * math/s_cacoshf.c: Likewise.
30505 * math/s_catan.c: Likewise.
30506 * math/s_catanf.c: Likewise.
30507 * math/s_catanh.c: Likewise.
30508 * math/s_catanhf.c: Likewise.
30509 * math/s_catanhl.c: Likewise.
30510 * math/s_catanl.c: Likewise.
30511 * math/s_ccosh.c: Likewise.
30512 * math/s_ccoshf.c: Likewise.
30513 * math/s_ccoshl.c: Likewise.
30514 * math/s_cexp.c: Likewise.
30515 * math/s_cexpf.c: Likewise.
30516 * math/s_cexpl.c: Likewise.
30517 * math/s_clog.c: Likewise.
30518 * math/s_clog10.c: Likewise.
30519 * math/s_clog10f.c: Likewise.
30520 * math/s_clog10l.c: Likewise.
30521 * math/s_clogf.c: Likewise.
30522 * math/s_clogl.c: Likewise.
30523 * math/s_csin.c: Likewise.
30524 * math/s_csinf.c: Likewise.
30525 * math/s_csinh.c: Likewise.
30526 * math/s_csinhf.c: Likewise.
30527 * math/s_csinhl.c: Likewise.
30528 * math/s_csinl.c: Likewise.
30529 * math/s_csqrt.c: Likewise.
30530 * math/s_csqrtf.c: Likewise.
30531 * math/s_csqrtl.c: Likewise.
30532 * math/s_ctan.c: Likewise.
30533 * math/s_ctanf.c: Likewise.
30534 * math/s_ctanh.c: Likewise.
30535 * math/s_ctanhf.c: Likewise.
30536 * math/s_ctanhl.c: Likewise.
30537 * math/s_ctanl.c: Likewise.
30538 * math/s_ldexp.c: Likewise.
30539 * math/s_ldexpf.c: Likewise.
30540 * math/s_ldexpl.c: Likewise.
30541 * math/s_significand.c: Likewise.
30542 * math/s_significandf.c: Likewise.
30543 * math/s_significandl.c: Likewise.
30544 * math/w_acos.c: Likewise.
30545 * math/w_acosf.c: Likewise.
30546 * math/w_acosh.c: Likewise.
30547 * math/w_acoshf.c: Likewise.
30548 * math/w_acoshl.c: Likewise.
30549 * math/w_acosl.c: Likewise.
30550 * math/w_asin.c: Likewise.
30551 * math/w_asinf.c: Likewise.
30552 * math/w_asinl.c: Likewise.
30553 * math/w_atan2.c: Likewise.
30554 * math/w_atan2f.c: Likewise.
30555 * math/w_atan2l.c: Likewise.
30556 * math/w_atanh.c: Likewise.
30557 * math/w_atanhf.c: Likewise.
30558 * math/w_atanhl.c: Likewise.
30559 * math/w_cosh.c: Likewise.
30560 * math/w_coshf.c: Likewise.
30561 * math/w_coshl.c: Likewise.
30562 * math/w_dremf.c: Likewise.
30563 * math/w_exp10.c: Likewise.
30564 * math/w_exp10f.c: Likewise.
30565 * math/w_exp10l.c: Likewise.
30566 * math/w_exp2.c: Likewise.
30567 * math/w_exp2f.c: Likewise.
30568 * math/w_fmod.c: Likewise.
30569 * math/w_fmodf.c: Likewise.
30570 * math/w_fmodl.c: Likewise.
30571 * math/w_hypot.c: Likewise.
30572 * math/w_hypotf.c: Likewise.
30573 * math/w_hypotl.c: Likewise.
30574 * math/w_j0.c: Likewise.
30575 * math/w_j0f.c: Likewise.
30576 * math/w_j0l.c: Likewise.
30577 * math/w_j1.c: Likewise.
30578 * math/w_j1f.c: Likewise.
30579 * math/w_j1l.c: Likewise.
30580 * math/w_jn.c: Likewise.
30581 * math/w_jnf.c: Likewise.
30582 * math/w_jnl.c: Likewise.
30583 * math/w_lgamma.c: Likewise.
30584 * math/w_lgamma_r.c: Likewise.
30585 * math/w_lgammaf.c: Likewise.
30586 * math/w_lgammaf_r.c: Likewise.
30587 * math/w_lgammal.c: Likewise.
30588 * math/w_lgammal_r.c: Likewise.
30589 * math/w_log.c: Likewise.
30590 * math/w_log10.c: Likewise.
30591 * math/w_log10f.c: Likewise.
30592 * math/w_log10l.c: Likewise.
30593 * math/w_log2.c: Likewise.
30594 * math/w_log2f.c: Likewise.
30595 * math/w_log2l.c: Likewise.
30596 * math/w_logf.c: Likewise.
30597 * math/w_logl.c: Likewise.
30598 * math/w_pow.c: Likewise.
30599 * math/w_powf.c: Likewise.
30600 * math/w_powl.c: Likewise.
30601 * math/w_remainder.c: Likewise.
30602 * math/w_remainderf.c: Likewise.
30603 * math/w_remainderl.c: Likewise.
30604 * math/w_scalb.c: Likewise.
30605 * math/w_scalbf.c: Likewise.
30606 * math/w_scalbl.c: Likewise.
30607 * math/w_sinh.c: Likewise.
30608 * math/w_sinhf.c: Likewise.
30609 * math/w_sinhl.c: Likewise.
30610 * math/w_sqrt.c: Likewise.
30611 * math/w_sqrtf.c: Likewise.
30612 * math/w_sqrtl.c: Likewise.
30613 * math/w_tgamma.c: Likewise.
30614 * math/w_tgammaf.c: Likewise.
30615 * math/w_tgammal.c: Likewise.
30616
6a621eb7
UD
30617 * po/ja.po: Update from translation team.
30618
bf582445
AJ
306192011-09-29 Andreas Jaeger <aj@suse.de>
30620
f9efbf3a
AJ
30621 [BZ #13179]
30622 * sunrpc/netname.c (netname2host): Fix logic.
30623
bf582445
AJ
30624 [BZ #6779]
30625 [BZ #6783]
30626 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30627 correctly.
30628 * math/w_remainder.c (__remainder): Likewise.
30629 * math/w_remainderf.c (__remainderf): Likewise.
30630 * math/libm-test.inc (remainder_test): Add test cases.
30631
48693bea
AK
306322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30633
30634 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30635 sdiv_qrnnd.
30636
42622229
LD
306372011-10-07 Ulrich Drepper <drepper@gmail.com>
30638
30639 * string/test-memcmp.c: Avoid unncessary #defines.
30640 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30641
093ecf92
LD
306422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30643
30644 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30645 Use new sse2 version for core i3 - i7 as it's faster
30646 than sse42 version.
30647 (bit_Prefer_PMINUB_for_stringop): New.
30648 * sysdeps/x86_64/rawmemchr.S: Update.
30649 Replace with faster SSE2 version.
30650 * sysdeps/x86_64/memrchr.S: New file.
30651 * sysdeps/x86_64/memchr.S: Update.
30652 Replace with faster SSE2 version.
30653
fde56e5c
MP
306542011-09-12 Marek Polacek <mpolacek@redhat.com>
30655
30656 * elf/dl-load.c (lose): Add cast to avoid warning.
30657
21fd49a9
UD
306582011-10-07 Ulrich Drepper <drepper@gmail.com>
30659
5a06e643
UD
30660 * po/ca.po: Update from translation team.
30661
684ae515
UD
30662 * inet/getnetgrent_r.c: Hook up nscd.
30663 * nscd/Makefile (routines): Add nscd_netgroup.
30664 (nscd-modules): Add netgroupcache.
30665 (CFLAGS-netgroupcache.c): Define.
30666 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30667 (cache_search): Add const to second parameter.
30668 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30669 INNETGR.
30670 (dbs): Add netgrdb entry.
30671 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30672 (verify_persistent_db): Handle netgrdb.
30673 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30674 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30675 GETFDNETGR.
30676 (netgroup_response_header): Define.
30677 (innetgroup_response_header): Define.
30678 (datahead): Add netgroup_response_header and innetgroup_response_header
30679 elements.
30680 * nscd/nscd.conf: Add entries for netgroup cache.
30681 * nscd/nscd.h (dbtype): Add netgrdb.
30682 (_PATH_NSCD_NETGROUP_DB): Define.
30683 (netgroup_iov_disabled): Declare.
30684 (xmalloc, xcalloc, xrealloc): Move declarations here.
30685 (cache_search): Adjust prototype.
30686 Add netgroup-related prototypes.
30687 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30688 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30689 (__nscd_innetgr): Declare.
30690 * nscd/selinux.c (perms): Use access_vector_t as element type and
30691 add netgroup-related initializers.
30692 * nscd/netgroupcache.c: New file.
30693 * nscd/nscd_netgroup.c: New file.
30694 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30695 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30696 For four parameters use innetgr.
30697 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30698 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30699 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30700 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30701
21fd49a9
UD
30702 * nscd/connections.c (register_traced_file): Don't register file
30703 for disabled databases.
30704
054c0457
UD
307052011-10-06 Ulrich Drepper <drepper@gmail.com>
30706
32b63198
UD
30707 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30708
054c0457
UD
30709 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30710 from tree and freeing node.
30711
64031225
JO
307122011-09-25 Jiri Olsa <jolsa@redhat.com>
30713
30714 * nss/nsswitch.c (__nss_database_lookup): Handle
30715 nss_parse_service_list out of memory case.
30716
0490345c
JO
307172011-09-15 Jiri Olsa <jolsa@redhat.com>
30718
30719 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30720 out of memory case.
30721
3a62d00d
AS
307222011-10-04 Andreas Schwab <schwab@redhat.com>
30723
30724 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30725 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30726 pass it down.
30727 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30728 elf_machine_rela, elf_machine_lazy_rel.
30729 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30730 (ELF_DYNAMIC_DO_REL): Likewise.
30731 (ELF_DYNAMIC_DO_RELA): Likewise.
30732 (ELF_DYNAMIC_RELOCATE): Likewise.
30733 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30734 to ELF_DYNAMIC_DO_REL.
30735 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30736 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30737 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30738 elf_machine_rela.
30739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30740 skip_ifunc, don't call ifunc function if non-zero.
30741 (elf_machine_rela): Likewise.
30742 (elf_machine_lazy_rel): Likewise.
30743 (elf_machine_lazy_rela): Likewise.
30744 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30745 (elf_machine_lazy_rel): Likewise.
30746 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30747 Likewise.
30748 (elf_machine_lazy_rel): Likewise.
30749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30750 Likewise.
30751 (elf_machine_lazy_rel): Likewise.
30752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30753 (elf_machine_lazy_rel): Likewise.
30754 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30755 (elf_machine_lazy_rel): Likewise.
30756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30757 (elf_machine_lazy_rel): Likewise.
30758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30759 (elf_machine_lazy_rel): Likewise.
30760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30761 (elf_machine_lazy_rel): Likewise.
30762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30763 (elf_machine_lazy_rel): Likewise.
30764
68577918
UD
307652011-09-28 Ulrich Drepper <drepper@gmail.com>
30766
30767 * nss/nss_files/files-init.c (_nss_files_init): Use static
30768 initialization for all the *_traced_file variables.
30769
68822d74
AS
307702011-09-28 Andreas Schwab <schwab@redhat.com>
30771
30772 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30773
2056100b
RM
307742011-09-27 Roland McGrath <roland@hack.frob.com>
30775
30776 [BZ #13226]
30777 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30778
32c76b63
AS
307792011-09-27 Andreas Schwab <schwab@redhat.com>
30780
30781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30782 Reread the line before reparsing it.
30783
bf972c9d
AS
307842011-09-26 Andreas Schwab <schwab@redhat.com>
30785
30786 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30787
e057a1b5
JM
307882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30789 Maxim Kuvyrkov <maxim@codesourcery.com>
30790 Joseph Myers <joseph@codesourcery.com>
30791
30792 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30793 if needed for __stack_chk_guard.
30794
bc7e1c36
RM
307952011-09-19 Roland McGrath <roland@hack.frob.com>
30796
ecb1482f
RM
30797 * sysdeps/posix/spawni.c (script_execute): Always define it.
30798 It will be optimized away if unused.
30799 (maybe_script_execute): New function.
30800 (__spawni): Call it.
30801
bc7e1c36
RM
30802 * Makerules: Don't include tls.make.
30803 (config-tls): Always set to thread.
30804 * tls.make.c: File removed.
30805
1c3b002b
MF
308062011-09-19 Mike Frysinger <vapier@gentoo.org>
30807
30808 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30809 * config.make.in (CPPFLAGS-config): New substituted variable.
30810
2840865d
UD
308112011-09-15 Ulrich Drepper <drepper@gmail.com>
30812
88738eb6
UD
30813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30814
cbf645a6 30815 [BZ #13192]
2840865d
UD
30816 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30817 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30818
b402e91a
RM
308192011-09-15 Roland McGrath <roland@hack.frob.com>
30820
30821 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30822 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30823 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30824 (CALL_FAIL): Likewise.
30825 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30826 (CALL_FAIL): Macro removed.
30827 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30828
4c1a1f71
UD
308292011-09-15 Ulrich Drepper <drepper@gmail.com>
30830
30831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30832 for __FINITE_MATH_ONLY__ == 1.
30833
edc121be
AS
308342011-09-15 Andreas Schwab <schwab@redhat.com>
30835
30836 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30837 __ieee754_sqrt instead of sqrt.
30838 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30839 __ieee754_sqrtf instead of sqrtf.
30840 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30841 __floorf instead of floorf.
30842 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30843 __floorf, __truncf instead of floorf, truncf.
30844
cd205654
UD
308452011-09-14 Ulrich Drepper <drepper@gmail.com>
30846
ee4d0315
UD
30847 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30848
cd205654
UD
30849 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30850 __extern_always_inline.
30851 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30852 32-bit.
30853
48b67d71
AS
308542011-09-14 Andreas Schwab <schwab@redhat.com>
30855
30856 * elf/rtld.c (dl_main): Also relocate in dependency order when
30857 doing symbol dependency testing.
30858
1ae12c75
AS
308592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30860
30861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30862 Always define `refsym'.
30863
995a80df
AS
308642011-09-13 Andreas Schwab <schwab@redhat.com>
30865
e529793b
AS
30866 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30867 (__FD_ELT): Renamed from __FDELT.
30868 * misc/bits/select2.h (__FD_ELT): Likewise.
30869 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30870 __FD_MASK instead of __FDELT, __FDMASK.
30871 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30872 Likewise.
30873 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30874 Likewise.
30875
52d4fef8
AS
30876 * elf/Makefile (gen-ldd): Fix pattern.
30877
995a80df
AS
30878 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30879 (init_tls): Likewise.
30880
8682f8b0
UD
308812011-09-12 Ulrich Drepper <drepper@gmail.com>
30882
30883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30884
de82006d
AS
308852011-09-12 Andreas Schwab <schwab@redhat.com>
30886
a7c8e6a1
AS
30887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30888 `struct cmsghdr *' instead of `void *'.
30889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30890 Likewise.
30891
0f31fe77
AS
308922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30893
30894 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30895 if non-absolute.
30896 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30897 ldd_rewrite_script.
0f31fe77 30898
32b4c839
UD
308992011-09-11 Ulrich Drepper <drepper@gmail.com>
30900
83cd1420
UD
30901 * configure.in: Remove --with-tls option.
30902 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30903 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30904 out in case it is missing.
30905 * sysdeps/ia64/elf/configure.in: Likewise.
30906 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30907 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30908 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30909 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30910 * sysdeps/sh/elf/configure.in: Likewise.
30911 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30913 * sysdeps/x86_64/elf/configure.in: Likewise.
30914 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30915 * sysdeps/mach/hurd/tls.h: Likewise.
30916
633f745d
UD
30917 [BZ #13067]
30918 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30919
f318beb8
UD
30920 [BZ #13090]
30921 * configure.in: Fix use of AC_INIT.
30922
32b4c839
UD
30923 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30924
3ce1f295
UD
309252011-09-10 Ulrich Drepper <drepper@gmail.com>
30926
bb016596
UD
30927 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30928 __set_errno.
8e58439c
UD
30929 * malloc/hooks.c: Likewise.
30930
aebae053 30931 [BZ #11929]
02d46fc4
UD
30932 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30933 variables statically.
30934 (narenas): Initialize.
30935 (list_lock): Initialize.
bb016596
UD
30936 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30937 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30938 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30939 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30940 Add initializers to main_arena and mp_.
30941 (malloc_state): Remove pagesize member. Change all users to use
30942 GLRO(dl_pagesize).
30943
30944 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30945 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30946 is always initialized.
30947
22a89187
UD
30948 * malloc/malloc.c: Removed unused configurations and dead code.
30949 * malloc/arena.c: Likewise.
30950 * malloc/hooks.c: Likewise.
02d46fc4 30951 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30952
d063d164
UD
30953 * include/tls.h: Removed. USE___THREAD must always be defined.
30954 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30955 * elf/dl-libc.c: Likewise.
30956 * elf/dl-tsd.c: Likewise.
30957 * include/errno.h: Likewise.
30958 * include/netdb.h: Likewise.
30959 * include/resolv.h: Likewise.
30960 * inet/herrno-loc.c: Likewise.
30961 * inet/herrno.c: Likewise.
30962 * malloc/arena.c: Likewise.
30963 * malloc/hooks.c: Likewise.
30964 * malloc/malloc.c: Likewise.
30965 * resolv/res-state.c: Likewise.
30966 * resolv/res_libc.c: Likewise.
30967 * sysdeps/i386/dl-machine.h: Likewise.
30968 * sysdeps/ia64/dl-machine.h: Likewise.
30969 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30970 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30971 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30972 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30973 * sysdeps/sh/dl-machine.h: Likewise.
30974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30975 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30976 * sysdeps/unix/i386/sysdep.S: Likewise.
30977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30978 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30983 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30987 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30988 * sysdeps/x86_64/dl-machine.h: Likewise.
30989 * tls.make.c: Likewise.
30990
3ce1f295
UD
30991 * configure.in: Remove --with-__thread option. Make tests for
30992 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30993 tls_model attribute fail if no support is available. Remove
30994 USE_IN_LIBIO.
30995 * Makeconfig: Adjust for dropped configure option. All features are
30996 now mandatory.
30997 * Makerules: Likewise.
30998 * Versions.def: Likewise.
30999 * argp/argp-fmtstream.c: Likewise.
31000 * argp/argp-fmtstream.h: Likewise.
31001 * argp/argp-help.c: Likewise.
31002 * assert/assert.c: Likewise.
31003 * config.h.in: Likewise.
31004 * config.make.in: Likewise.
31005 * configure: Likewise.
31006 * configure.in: Likewise.
31007 * csu/Versions: Likewise.
31008 * csu/init.c: Likewise.
31009 * elf/tst-audit2.c: Likewise.
31010 * elf/tst-tls10.c: Likewise.
31011 * elf/tst-tls10.h: Likewise.
31012 * elf/tst-tls11.c: Likewise.
31013 * elf/tst-tls12.c: Likewise.
31014 * elf/tst-tls14.c: Likewise.
31015 * elf/tst-tlsmod11.c: Likewise.
31016 * elf/tst-tlsmod12.c: Likewise.
31017 * elf/tst-tlsmod13.c: Likewise.
31018 * elf/tst-tlsmod13a.c: Likewise.
31019 * elf/tst-tlsmod14a.c: Likewise.
31020 * elf/tst-tlsmod15b.c: Likewise.
31021 * elf/tst-tlsmod16a.c: Likewise.
31022 * elf/tst-tlsmod16b.c: Likewise.
31023 * elf/tst-tlsmod7.c: Likewise.
31024 * elf/tst-tlsmod8.c: Likewise.
31025 * elf/tst-tlsmod9.c: Likewise.
31026 * gmon/gmon.c: Likewise.
31027 * grp/fgetgrent_r.c: Likewise.
31028 * grp/putgrent.c: Likewise.
31029 * hurd/fopenport.c: Likewise.
31030 * include/libc-symbols.h: Likewise.
31031 * include/tls.h: Likewise.
31032 * intl/gettextP.h: Likewise.
31033 * intl/loadinfo.h: Likewise.
31034 * locale/global-locale.c: Likewise.
31035 * locale/localeinfo.h: Likewise.
31036 * mach/devstream.c: Likewise.
31037 * malloc/arena.c: Likewise.
31038 * malloc/set-freeres.c: Likewise.
31039 * misc/err.c: Likewise.
31040 * misc/getttyent.c: Likewise.
31041 * misc/mntent_r.c: Likewise.
31042 * posix/getopt.c: Likewise.
31043 * posix/wordexp.c: Likewise.
31044 * pwd/fgetpwent_r.c: Likewise.
31045 * resolv/Versions: Likewise.
31046 * resolv/res_hconf.c: Likewise.
31047 * shadow/fgetspent_r.c: Likewise.
31048 * shadow/putspent.c: Likewise.
31049 * stdio-common/printf_fphex.c: Likewise.
31050 * stdio-common/tmpfile.c: Likewise.
31051 * stdlib/abort.c: Likewise.
31052 * stdlib/fmtmsg.c: Likewise.
31053 * sunrpc/auth_unix.c: Likewise.
31054 * sunrpc/clnt_perr.c: Likewise.
31055 * sunrpc/clnt_tcp.c: Likewise.
31056 * sunrpc/clnt_udp.c: Likewise.
31057 * sunrpc/clnt_unix.c: Likewise.
31058 * sunrpc/openchild.c: Likewise.
31059 * sunrpc/svc_simple.c: Likewise.
31060 * sunrpc/svc_tcp.c: Likewise.
31061 * sunrpc/svc_udp.c: Likewise.
31062 * sunrpc/svc_unix.c: Likewise.
31063 * sunrpc/xdr.c: Likewise.
31064 * sunrpc/xdr_array.c: Likewise.
31065 * sunrpc/xdr_rec.c: Likewise.
31066 * sunrpc/xdr_ref.c: Likewise.
31067 * sunrpc/xdr_stdio.c: Likewise.
31068
1248c1c4
PB
310692011-09-09 Ulrich Drepper <drepper@gmail.com>
31070
31071 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31072
310732011-07-03 Andreas Jaeger <aj@suse.de>
31074
31075 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31076 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31077 regenerate with gen-libm-tests.pl.
31078
310792010-05-12 Petr Baudis <pasky@suse.cz>
31080
31081 [BZ #11589]
31082 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31083 around j0() zero points by switching to j1().
31084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31088
f22e1074
UD
310892011-09-09 Ulrich Drepper <drepper@gmail.com>
31090
f19009c1
UD
31091 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31092 instead of 0.
31093 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31094 instead of 0.
f19009c1
UD
31095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31096 Patch in part by Pavel Roskin <proski@gnu.org>.
31097
3f8cc204
UD
31098 [BZ #13138]
31099 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31100 realloc.
31101 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31102 Free memory block if necessary.
31103
f22e1074
UD
31104 [BZ #12847]
31105 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31106 be NULL. Don't lock in this case.
31107
0a2349f9
RM
311082011-09-09 Roland McGrath <roland@hack.frob.com>
31109
31110 * elf/elf.h (ELFOSABI_GNU): New macro.
31111 (ELFOSABI_LINUX): Define to that.
31112
f3cdd467
DZ
311132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31114
31115 * string/strncat.c (strncat): Undef the symbol in case it has been
31116 defined in bits/string.h.
31117
74718d13
UD
311182011-09-09 Ulrich Drepper <drepper@gmail.com>
31119
633e9e0f
UD
31120 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31121
0a2349f9 31122 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31123 link map.
31124
f9924780
AJ
311252011-08-17 Andreas Jaeger <aj@suse.de>
31126
31127 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31128
7f5517aa
PP
311292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31130 Ian Lance Taylor <iant@google.com>
31131
31132 * math/libm-test.inc (lround_test): New testcase.
31133 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31134
762011fe
UD
311352011-09-08 Ulrich Drepper <drepper@gmail.com>
31136
92963737
UD
31137 * Makefile: Remove support for automatic cvs check-ins.
31138 * Makerules: Likewise.
31139 * config.make.in: Likewise.
31140 * configure.in: Likewise.
31141 * intl/Makefile: Likewise.
31142 * locale/Makefile: Likewise.
31143 * po/Makefile: Likewise.
31144 * posix/Makefile: Likewise.
31145 * sysdeps/gnu/Makefile: Likewise.
31146 * sysdeps/mach/hurd/Makefile: Likewise.
31147 * sysdeps/sparc/sparc32/Makefile: Likewise.
31148
b0727fd8
JS
31149 [BZ #13118]
31150 * posix/Makefile (bug-regex32-ENV): Define.
31151 Patch by John Stanley <jpsinthemix@verizon.net>.
31152
a0f33f99
UD
31153 * misc/Makefile (headers): Add bits/select2.h.
31154 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31155 * misc/bits/select2.h: New file.
31156 * include/bits/select2.h: New file.
31157 * debug/Makefile (routines): Add fdelt_chk.
31158 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31159 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31160 FD_ISSET.
31161 * debug/fdelt_chk.c: New file.
31162
762011fe
UD
31163 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31164 * wcsmbs/test-wmemcmp.c: Likewise.
31165 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31166 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31167
311682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31169
31170 * string/Makefile (strop-tests): Add memcmp.
31171 * string/test-wmemcmp.c: New file.
31172 * string/test-memcmp.c: Add wmemcmp support.
31173
7f513ec8
RM
311742011-09-08 Roland McGrath <roland@hack.frob.com>
31175
0442afb4
RM
31176 [BZ #13153]
31177 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31178 2011-07-19 change.
31179
7f513ec8
RM
31180 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31181 garbage value in a __mach_port_mod_refs call in the cases of the
31182 task-self and thread-self ports.
31183
a12b2239
ST
311842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31185
31186 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31187
610f9ab4
AS
311882011-09-08 Andreas Schwab <schwab@redhat.com>
31189
7f513ec8 31190 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31191
48882a1a
LD
311922011-09-07 Ulrich Drepper <drepper@gmail.com>
31193
b49865be
UD
31194 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31195
fdc86bc9
UD
31196 * elf/dl-libc.c (dlerror_run): Pass back error code from
31197 dl_catch_error.
31198
c966526a
UD
31199 [BZ #13123]
31200 * elf/dl-load.c (lose): Free l_origin if it is valid.
31201
48882a1a
LD
31202 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31203 names.
31204 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31205 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31206 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31208 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31209 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31210
77a2a8b4
AZ
312112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31212
31213 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31214 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31215 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31216 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31217 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31218 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31219 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31220 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31221 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31222 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31223
24f579d8
AM
312242011-08-15 Alan Modra <amodra@gmail.com>
31225
31226 [BZ #13092]
31227 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31228 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31229 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31230 ppc_mcount to static-only-routines.
31231 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31232 __mcount_internal.
31233 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31234 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31235
3d4837df
UD
312362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31237
31238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31239 for finite and infinity parameters.
31240
22700377
WS
312412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31242
31243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31244 and add nop instructions for throughput optimization.
31245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31246
5025581e
WS
312472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31248
31249 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31250 aligned copy for power7 with vector-scalar instructions.
31251 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31252
08a300c9
L
312532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31254
31255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31256 AVX check.
31257
59178ef9
AS
312582011-09-07 Andreas Schwab <schwab@redhat.com>
31259
31260 [BZ #13144]
31261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31262 last change.
31263
e38ba7ab
UD
312642011-09-07 Ulrich Drepper <drepper@gmail.com>
31265
31266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31267 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31268 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31269 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31270 clock_gettime.
31271
d53a73ac
UD
312722011-09-06 Ulrich Drepper <drepper@gmail.com>
31273
fc8bffcc
UD
31274 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31275 Forgot to demangle the pointer.
31276
ceaa0c5d
UD
31277 * sysdeps/i386/sysdep.h: Define atom_text_section.
31278 * sysdeps/x86_64/sysdep.h: Likewise.
31279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31280 section with atom_text_section.
31281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31282 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31283 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31285 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31286
a77d3c17
UD
31287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31288 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31289 already be defined. Change to take two parameters and don't assign
31290 result to variable. Adjust all users.
31291 Define INTERNAL_GETTIME if not already defined.
31292 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31293 call.
31294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31295 HAVE_CLOCK_GETTIME_VSYSCALL.
31296 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31297
d53a73ac
UD
31298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31299 gettimeofday vsyscall, just use time.
31300
a8f84144
AS
313012011-09-06 Andreas Schwab <schwab@redhat.com>
31302
31303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31304 <errno.h>.
31305
ef606249
UD
313062011-09-06 Ulrich Drepper <drepper@gmail.com>
31307
31308 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31309 syscall on x86-64.
31310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31311 syscall.
31312 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31314 syscall if possible.
31315
6585cb60
UD
313162011-09-05 Ulrich Drepper <drepper@gmail.com>
31317
31318 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31319 e_ident. Don't pass to find_mapsXX.
31320 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31321
a5f524e4
LD
313222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31323
31324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31325 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31326 * sysdeps/x86_64/multiarch/strchr.S: Update.
31327 Check bit_slow_BSF bit.
31328 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31329 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31330 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31331
554881ef
UD
313322011-09-05 Ulrich Drepper <drepper@gmail.com>
31333
d96de963
UD
31334 [BZ #13134]
31335 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31336 before glibc 2.15.
31337 (tryshell): Define.
31338 (__spawni): Change last parameter to be flag. Test
31339 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31340 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31341 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31342 * posix/spawni.c: Likewise.
31343 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31344 * posix/spawnp.c: Likewise. Change normal version to use
31345 SPAWN_XFLAGS_USE_PATH.
31346 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31347 SPAWN_XFLAGS_TRY_SHELL.
31348
d48e5868
UD
31349 [BZ #13150]
31350 * posix/glob.h: Remove gcc 1.x support.
31351
554881ef
UD
31352 [BZ #13068]
31353 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31354
693fb948
LD
313552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31356
31357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31358 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31359 strrchr-sse2-bsf
31360 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31361 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31366
1b48c537
UD
313672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31368
49d42c37
UD
31369 * sysdeps/x86_64/wcscmp.S: New file.
31370
1b48c537
UD
31371 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31372 wcscmp-c wcscmp-sse2
31373 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31374 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31375 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31376 * wcsmbs/wcscmp.c: Allow renaming.
31377
15c95c5d
DM
313782011-09-05 David S. Miller <davem@davemloft.net>
31379
31380 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31381 stack slot, rather than the struct return pointer slot.
31382 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31383 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31385 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31386
2f0ad8f3
UD
313872011-09-05 Ulrich Drepper <drepper@gmail.com>
31388
d88ae418
UD
31389 * po/ja.po: Update from translation team.
31390
2f0ad8f3
UD
31391 [BZ #13144]
31392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31393 kernel in 64-bit binaries.
31394
5f4318d1
DM
313952011-09-01 David S. Miller <davem@davemloft.net>
31396
31397 * elf/elf.h (HWCAP_SPARC_*): Move to..
31398 * sysdeps/sparc/sysdep.h: this new file and add new values.
31399 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31400 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31401 _DL_HWCAP_COUNT to 24.
31402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31403 entries.
31404 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31405 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31406 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31408 instead of magic constants.
31409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31410
3ba57516
DM
314112011-08-31 David S. Miller <davem@davemloft.net>
31412
31413 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31415 Reimplement to do errno handling inline.
31416 (SYSCALL_ERROR_HANDLER): New macro.
31417 (__SYSCALL_STRING): Do not do errno handling in asm.
31418 (__CLONE_SYSCALL_STRING): Delete.
31419 (__INTERNAL_SYSCALL_STRING): Delete.
31420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31421 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31422 (PSEUDO): Reimplement to do errno handling inline.
31423 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31424 (SYSCALL_ERROR_HANDLER): New macro.
31425 (__SYSCALL_STRING): Do not do errno handling in asm.
31426 (__CLONE_SYSCALL_STRING): Delete.
31427 (__INTERNAL_SYSCALL_STRING): Delete.
31428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31429 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31430 i386.
31431 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31432 (inline_syscall*): Add 'err' argument.
31433 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31434 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31435 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31436 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31437
31438 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31439 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31440
2bc17433
AS
314412011-08-30 Andreas Schwab <schwab@redhat.com>
31442
31443 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31444
fbeb5f4d
JO
314452011-08-29 Jiri Olsa <jolsa@redhat.com>
31446
31447 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31448 directive.
31449
ad69cc26
DM
314502011-08-24 David S. Miller <davem@davemloft.net>
31451
31452 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31453
39dd69df
AS
314542011-08-24 Andreas Schwab <schwab@redhat.com>
31455
31456 * elf/Makefile: Add rules to build and run unload8 test.
31457 * elf/unload8.c: New file.
31458 * elf/unload8mod1.c: New file.
31459 * elf/unload8mod1x.c: New file.
31460 * elf/unload8mod2.c: New file.
31461 * elf/unload8mod3.c: New file.
31462
31463 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31464 it wasn't used.
31465
2c0b250a
DM
314662011-08-23 David S. Miller <davem@davemloft.net>
31467
31468 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31469 subtract stack bias.
31470 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31471 %sp not %fp in calculations.
31472 (_JMPBUF_UNWINDS_ADJ): Likewise.
31473
22044b48
DM
31474 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31475 (aio_suspend): Call it to force an exception region around the
31476 AIO_MISC_WAIT() invocation.
31477
2cae4995
AS
314782011-08-23 Andreas Schwab <schwab@redhat.com>
31479
31480 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31481 backslash.
31482
873a772e
AJ
314832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31484
31485 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31486 protection macro.
31487 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31488 and <dl-machine.h>.
31489 (Elf64_FuncDesc): Remove.
31490
25ad0df1
DM
314912011-08-22 David S. Miller <davem@davemloft.net>
31492
31493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31494 sigaltstack check, add missing cfi directives.
31495 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31496 missing cfi directives, and sigaltstack handling.
31497
e888bcbe
AS
314982011-08-16 Andreas Schwab <schwab@redhat.com>
31499
31500 [BZ #11724]
31501 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31502 object is seen twice.
31503 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31504
31505 * elf/Makefile (distribute): Add tst-initorder2.c.
31506 (tests): Add tst-initorder2.
31507 (modules-names): Add tst-initorder2a tst-initorder2b
31508 tst-initorder2c tst-initorder2d. Add rules to build them.
31509 ($(objpfx)tst-initorder2.out): New rule.
31510 * elf/tst-initorder2.c: New file.
31511 * elf/tst-initorder2.exp: New file.
31512
87162f46
AS
315132011-08-22 Andreas Schwab <schwab@redhat.com>
31514
70538b7f
AS
31515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31516
f55ffe58
AS
31517 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31518 dependencies back to end of function.
31519
87162f46
AS
31520 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31521 $(elfobjdir)/ld.so.
31522
91b392a4
UD
315232011-08-21 Ulrich Drepper <drepper@gmail.com>
31524
31525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31526 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31528 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31529 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31530 of __vdso_gettimeofday.
31531 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31532 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31533 attribute_hidden.
31534 (_libc_vdso_platform_setup): Remove initialization of
31535 __vdso_gettimeofday and __vdso_time.
31536
5c43483f
UD
315372011-08-20 Ulrich Drepper <drepper@gmail.com>
31538
775a77e7
UD
31539 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31540 and fgetc_unlocked.
31541 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31542 getc_unlocked.
89f447ed 31543
49c74ba9
UD
31544 * elf/dl-open.c (add_to_global): Report additions to the global scope
31545 for LD_DEBUG=scopes.
31546 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31547 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31548
5c43483f
UD
31549 [BZ #13114]
31550 * stdio-common/Makefile (tests): Add bug24.
31551 * stdio-common/bug24.c: New file.
31552
a101b025
AJ
315532011-08-19 Andreas Jaeger <aj@suse.de>
31554
31555 [BZ #13114]
31556 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31557 non-existant file when using close-on-exec mode.
31558
c88f1766
UD
315592011-08-20 Ulrich Drepper <drepper@gmail.com>
31560
0276a718
UD
31561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31562 the very first instruction.
31563
c88f1766
UD
31564 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31565 the CFI state in the end.
31566 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31567 inclusion of dl-trampoline.h.
31568 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31569
51ccffa0
AS
315702011-08-19 Andreas Schwab <schwab@redhat.com>
31571
94d7165f
AS
31572 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31573 expectations for long double.
31574
51ccffa0
AS
31575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31576 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31577
fd708658 315782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31579
31580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31581 artificual limit depends upon the system page size.
31582
44f0a71e
UD
315832011-08-17 Ulrich Drepper <drepper@gmail.com>
31584
31585 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31586 * resolv/Makefile: Define CFLAGS-libresolv.
31587
8de79a24
AS
315882011-08-17 Andreas Schwab <schwab@redhat.com>
31589
31590 * nss/makedb.c (compute_tables): Make variables used in nested
31591 function static.
31592
27724598
UD
315932011-08-17 Ulrich Drepper <drepper@gmail.com>
31594
c5305d88
UD
31595 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31596 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31597 if buffer was too small.
31598
27724598
UD
31599 * elf/pldd.c (main): Attach to all threads in the process.
31600 Rewrite /proc handling to use *at functions.
31601
076fe015
UD
316022011-08-16 Ulrich Drepper <drepper@gmail.com>
31603
174baab3
UD
31604 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31605 specifies first scope to show.
31606 (dl_open_worker): Update callers. Move printing scope of new
31607 object to before the relocation.
44f0a71e 31608 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31609 * sysdeps/generic/ldsodefs.h: Update declaration.
31610
076fe015
UD
31611 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31612 string for the scope number.
31613
a60df2c3
UD
316142011-08-14 Ulrich Drepper <drepper@gmail.com>
31615
31616 * nscd/servicescache.c (cache_addserv): Make sure written is always
31617 initialized.
31618
5e4287d1
RM
316192011-08-14 Roland McGrath <roland@hack.frob.com>
31620
85ae0589
RM
31621 * sysdeps/i386/i486/bits/atomic.h
31622 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31623 statement expression, so as to suppress "set but not used" warning.
31624 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31625
69f63097
RM
31626 * string/strncat.c (STRNCAT): Use prototype definition.
31627
675456ef
RM
31628 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31629 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31630 -Iprograms here.
31631 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31632 (localedef-modules): Add localedef.
31633 (locale-modules): Add locale.
31634
5e4287d1
RM
31635 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31636 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31637 to avoid a warning.
31638
9c96ff23
DM
316392011-08-14 David S. Miller <davem@davemloft.net>
31640
31641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31642 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31643
f9ddf089
UD
316442011-08-13 Ulrich Drepper <drepper@gmail.com>
31645
44f0a71e 31646 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31647 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31648 * elf/rtld.c (dl_main): Set l_name of vDSO.
31649 Call _dl_show_scope when DL_DEBUG_SCOPES.
31650 (process_dl_debug): Recognize scopes flag and also set it for all.
31651 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31652 Declare _dl_show_scope.
31653
1dc27704
UD
31654 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31655 (do_dlopen): Pass caller_dlopen to dl_open.
31656 (__libc_dlopen_mode): Initialize caller_dlopen.
31657
f9ddf089
UD
31658 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31659 of libc. Make tolower call locale-independent. Optimize a bit by
31660 using isdigit instead of isalnum.
31661 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31662
9ac533d3
UD
316632011-08-12 Ulrich Drepper <drepper@gmail.com>
31664
31665 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31666 was a dependency or dynamically loaded.
31667
89edf2e9
UD
316682011-08-11 Ulrich Drepper <drepper@gmail.com>
31669
8e999d29
UD
31670 * intl/l10nflist.c: Allow architecture-specific pop function.
31671 * sysdeps/x86_64/l10nflist.c: New file.
31672
89edf2e9
UD
31673 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31674 classification.
31675
14d96785
AS
316762011-08-10 Andreas Schwab <schwab@redhat.com>
31677
31678 * include/dirent.h: Add libc_hidden_proto for scandirat and
31679 scandirat64. Don't declare __scandirat64.
31680 * dirent/scandirat.c: Add libc_hidden_def.
31681 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31682 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31683
6761ac04
DM
316842011-08-10 David S. Miller <davem@davemloft.net>
31685
31686 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31687 enum.
31688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31691
c55fbd1e
UD
316922011-08-09 Ulrich Drepper <drepper@gmail.com>
31693
31694 * Versions.def [libc]: Add GLIBC_2.15.
31695 * dirent/Makefile (routines): Add scandirat and scandirat64.
31696 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31697 GLIBC_2.15.
31698 * dirent/dirent.h: Declare scandirat and scandirat64.
31699 * dirent/scandirat.c: New file.
31700 * dirent/scandirat64.c: New file.
31701 * sysdeps/wordsize-64/scandirat.c: New file.
31702 * sysdeps/wordsize-64/scandirat64.c: New file.
31703 * dirent/opendir.c: Define opendirat.
31704 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31705 using scandirat.
31706 * dirent/scandir64.c: Adjust for scandir.c change.
31707 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31708 __scandirat64, and __scandir_cancel_handler.
31709 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31710 additional parameter and use openat instead of open (outside of ld.so).
31711 Add new __opendir as wrapper around __opendirat.
31712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31713 here without requiring old scandirat implementation.
31714
879165f2
UD
317152011-08-08 Ulrich Drepper <drepper@gmail.com>
31716
31717 * dirent/scandir.c (cancel_handler): Renamed to
31718 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31719 defined. Adjust users.
31720 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31721 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31722
cb7e923b
UD
317232011-08-04 Ulrich Drepper <drepper@gmail.com>
31724
16292edd
UD
31725 * string/test-string.h (IMPL): Use __STRING to expand name and then
31726 stringify it.
31727
cb7e923b
UD
31728 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31729 of cleanups.
31730
cff82933
LD
317312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31732
31733 * string/Makefile: Update.
31734 (strop-tests): Append strncat.
31735 * string/test-wcscmp.c: New file.
31736 New comprehensive test for wcscmp.
31737 * string/test-strcmp.c: Update.
31738 (WIDE): New define.
31739
9be9bfcc
AS
317402011-07-22 Andreas Schwab <schwab@redhat.com>
31741
31742 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31743 line.
31744
2e96f1c7
AS
317452011-07-26 Andreas Schwab <schwab@redhat.com>
31746
31747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31748 encoding to ACE if AI_IDN.
31749
85188888
JJ
317502011-08-01 Jakub Jelinek <jakub@redhat.com>
31751
31752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31753 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31754
5fa16e9b
LD
317552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31756
31757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31758 Fix overflow bug in strncat.
31759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31760
31761 * string/test-strncat.c: Update.
31762 Add new tests for checking overflow bugs.
31763
317642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31765
31766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31767 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31768 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31769 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31771 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31772 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31773 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31774 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31775
31776 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31777 (USE_AS_STRCAT): Define.
31778 Add strcat and strncat support.
31779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31780
8c1a459f
AS
317812011-07-25 Andreas Schwab <schwab@redhat.com>
31782
31783 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31784 __n bigger than INT_MAX+1.
31785 (__strncmp_g): Likewise.
31786
bba33c28
UD
317872011-07-23 Ulrich Drepper <drepper@gmail.com>
31788
798be72d
UD
31789 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31790 * libio/stido.h: Likewise.
31791
8accd4dc
UD
31792 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31793 (AF_NFC): Define.
31794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31795 (AF_NFC): Define.
31796
cbff0d96
UD
31797 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31799 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31802
9191c04a
UD
31803 [BZ #13021]
31804 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31805 installed.
31806
bba33c28
UD
31807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31808 typo.
31809 (_dl_x86_64_save_sse): Likewise.
31810
90f139dd
UD
318112011-07-22 Ulrich Drepper <drepper@gmail.com>
31812
1aae088a
UD
31813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31814 OSXSAVE.
31815 (_dl_x86_64_save_sse): Likewise.
31816
8e2045f5
UD
31817 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31818
90f139dd
UD
31819 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31820
1d002f25
AS
318212011-07-21 Andreas Schwab <schwab@redhat.com>
31822
31823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31824 change.
31825 (_dl_x86_64_save_sse): Use correct AVX check.
31826
21137f89
UD
318272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31828
31829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31830 bug in strncpy/strncat.
31831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31832
a65c0b7a
UD
318332011-07-21 Ulrich Drepper <drepper@gmail.com>
31834
31835 * string/tester.c (test_strcat): Add tests for different alignments
31836 of source and destination.
31837 (test_strncat): Likewise.
31838
6986b98a
UD
318392011-07-20 Ulrich Drepper <drepper@gmail.com>
31840
90bb2039
UD
31841 [BZ #12852]
31842 * posix/glob.c (glob): Check passed in values before using them in
31843 expressions to avoid some overflows.
31844 (glob_in_dir): Likewise.
31845
5644ef54
UD
31846 [BZ #13007]
31847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31848 check for AVX enablement so that we don't crash with old kernels and
31849 new hardware.
31850 * elf/tst-audit4.c: Add same checks here.
31851 * elf/tst-audit6.c: Likewise.
31852
31853 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31854
bfc9dc9b
AS
318552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31856
31857 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31858
702e64bb
UD
318592011-07-20 Ulrich Drepper <drepper@gmail.com>
31860
31861 * po/cs.po: Update from translation team.
31862 * po/bg.po: Likewise.
31863
295e904f
MP
318642011-07-12 Marek Polacek <mpolacek@redhat.com>
31865
31866 * misc/sys/cdefs.h: Add support for const attribute.
31867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31868 to gnu_dev_{major,minor,makedev} functions.
31869
3ff94596
MP
318702011-07-20 Marek Polacek <mpolacek@redhat.com>
31871
31872 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31873
28b59fca
AS
318742011-07-20 Andreas Schwab <schwab@redhat.com>
31875
31876 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31877 strlen results.
31878
19df733e
AK
318792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31880
31881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31882 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31883 register in order to avoid conflicts with the soft frame pointer
31884 being held in r11 when necessary.
31885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31886 (INTERNAL_VSYSCALL_NCS): Likewise.
31887
c8835729
MP
318882011-07-14 Marek Polacek <mpolacek@redhat.com>
31889
31890 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31891 * elf/dl-fini.c (_dl_fini): Adjust caller.
31892 * elf/dl-close.c (_dl_close_worker): Likewise.
31893 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31894
b902330c
MP
318952011-07-15 Marek Polacek <mpolacek@redhat.com>
31896
8991e135
MP
31897 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31898 "aux_cache->nlibs < 0".
31899
b902330c
MP
31900 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31901 in the reload-count case.
31902
99710781
LD
319032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31904
31905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31906 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31907 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31908 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31909 * sysdeps/x86_64/multiarch/strcat.S: New file.
31910 * sysdeps/x86_64/multiarch/strncat.S: New file.
31911 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31913 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31914 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31916 (USE_AS_STRCAT): Define.
31917 Add strcat and strncat support.
31918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31920 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31921 * string/strncat.c: Update.
31922 (USE_AS_STRNCAT): Define.
31923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31924 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31925 and i7.
31926 * sysdeps/x86_64/multiarch/init-arch.h
31927 (bit_Prefer_PMINUB_for_stringop): New.
31928 (index_Prefer_PMINUB_for_stringop): Likewise.
31929 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31930 bit_Prefer_PMINUB_for_stringop.
31931
7dc6bd90
UD
319322011-07-19 Ulrich Drepper <drepper@gmail.com>
31933
31934 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31935 buffer64.
31936 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31937 of casting of buffer.
31938 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31939 buffer32 and buffer64.
31940 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31941 writes instead of casting of buffer.
31942 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31943 buffer32.
31944 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31945 casting of buffer.
31946
e0e72284
AS
319472011-07-19 Andreas Schwab <schwab@redhat.com>
31948
31949 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31950
feb1eb0b
UD
319512011-07-19 Ulrich Drepper <drepper@gmail.com>
31952
31953 * nscd/nscd.c (termination_handler): Don't do anything for a database
31954 if it has not yet been initialized.
31955
298711ff
UD
319562011-07-18 Ulrich Drepper <drepper@gmail.com>
31957
31958 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31959
319602011-07-15 Marek Polacek <mpolacek@redhat.com>
31961
31962 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31963
f9d68389
UD
319642011-07-18 Ulrich Drepper <drepper@gmail.com>
31965
31966 * po/nl.po: Update from translation team.
31967 * po/sv.po: Likewise.
31968
db290cf5
RM
319692011-07-16 Roland McGrath <roland@hack.frob.com>
31970
31971 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31972 now disallowed by GCC.
5c550700 31973
fd5e21c7
RM
31974 * configure.in (use-default-link): Default to yes if a test -shared
31975 link meets our qualifications.
31976 * configure: Regenerated.
31977
5c550700
RM
31978 * config.make.in (output-format): New variable.
31979 * configure.in: Check for ld --print-output-format support.
31980 * configure: Regenerated.
31981 * Makerules ($(common-objpfx)format.lds)
31982 [$(output-format) != unknown]: Just use $(output-format),
31983 instead of the linker-script munging.
31984
9fa2c032
RM
319852011-07-14 Roland McGrath <roland@hack.frob.com>
31986
a6928d51
RM
31987 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31988 of $(common-objpfx)shlib.lds.
31989 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31990
661607b3
RM
31991 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31992 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31993
9fa2c032
RM
31994 * configure.in (-z relro check): Adjust test code to add a large
31995 writable data section after it.
31996 * configure: Regenerated.
31997
defe9061
RM
319982011-07-11 Roland McGrath <roland@hack.frob.com>
31999
32000 * configure.in (-z relro check): Fix test code to make the variable
32001 truly const.
32002 * configure: Regenerated.
32003
319b9ad4
UD
320042011-07-11 Ulrich Drepper <drepper@gmail.com>
32005
32006 * nscd/nscd.h (struct traced_file): Define.
32007 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32008 elements. Add traced_files.
32009 (inotify_fd): Declare.
32010 (register_traced_file): Declare.
32011 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32012 (inotify_fd): Export.
32013 (resolv_conf_descr): Remove.
32014 (nscd_init): Move inotify descriptor creation to main.
32015 Don't register files for notification here.
32016 (register_traced_file): New function.
32017 (invalidate_cache): Don't use reset_res to determine whether to call
32018 res_init, go through the list of registered files.
32019 (main_loop_poll): The inotify descriptors are now stored in the
32020 structures for the traced files.
32021 (main_loop_epoll): Likewise
32022 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32023 to __nss_disable_nscd.
32024 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32025 for a database anymore. Check the records for all the registered
32026 files instead.
32027 * nss/Makefile (libnss_files-routines): Add files-init.
32028 (libnss_db-routines): Add db-init.
32029 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32030 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32031 * nss/nss_db/db-init.c: New file.
32032 * nss/nss_files/files-init.c: New file.
32033 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32034 __nss_lookup_function.
32035 (__nss_lookup_function): Call nss_load_library.
32036 (nss_load_all_libraries): New function.
32037 (__nss_disable_nscd): Take parameter with callback function for files
32038 to register. Set is_nscd. Load all the DSOs for the NSS modules
32039 used for the cached services.
32040 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32041 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32042 options for features to all the files in nscd.
32043
32044 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32045
23bee3e8
RM
320462011-07-10 Roland McGrath <roland@hack.frob.com>
32047
32048 * csu/elf-init.c (__libc_csu_init): Comment typo.
32049
46a5b7f0
UD
320502011-07-09 Ulrich Drepper <drepper@gmail.com>
32051
32052 * po/pl.po: Update from translation team.
32053 * po/ja.po: Likewise.
32054 * po/ru.po: Likewise.
32055 * po/ko.po: Likewise.
32056 * po/fr.po: Likewise.
32057
d30cf5bb
RM
320582011-07-09 Roland McGrath <roland@hack.frob.com>
32059
113ddea4
RM
32060 * configure.in (.ctors/.dtors header and trailer check):
32061 Use an empirical test on a built program.
32062 * configure: Regenerated.
32063
574920b4
RM
32064 * configure.in (-z relro check): Use an empirical test on a built DSO.
32065 Detect, but do not require, on ia64.
32066 * configure: Regenerated.
32067
d30cf5bb
RM
32068 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32069 Update tests that use readelf to use $READELF instead.
32070 * configure: Regenerated.
32071
8538fdb3
UD
320722011-07-08 Ulrich Drepper <drepper@gmail.com>
32073
32074 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32075 if the result is not used.
32076
04d08991
AJ
320772011-07-05 Andreas Jaeger <aj@suse.de>
32078
32079 [BZ#9696]
32080 * stdlib/tst-strtod.c: Add testcase.
32081
de283087
AD
320822011-07-07 Ulrich Drepper <drepper@gmail.com>
32083
4e5f31c8 32084 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32085 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32086 The latter has a higher limit. Take additional parameter to pass to
32087 the new function.
32088 (__pathconf): Pass file to __statfs_link_max.
32089 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32090 __statfs_link_max.
32091 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32092 __statfs_link_max.
32093
de283087
AD
32094 [BZ #12868]
32095 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32096 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32097 Handle Lustre.
32098 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32099 (__statfs_filesize_max): Likewise.
32100 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32101
c75fa153
AJ
321022011-07-05 Andreas Jaeger <aj@suse.de>
32103
32104 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32105
1a544854
UD
321062011-07-06 Marek Polacek <mpolacek@redhat.com>
32107
32108 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32109 `status' variable.
32110 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32111 Likewise.
32112
6f0eec67
UD
321132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32114
32115 * Makefile (strop-tests): Add strncat.
32116 * string/test-strncat.c: New file.
32117
aae30307
UD
321182011-06-30 Marek Polacek <mpolacek@redhat.com>
32119
32120 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32121
c0cfb5eb
UD
321222011-06-21 Andreas Jaeger <aj@suse.de>
32123
32124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32125 Copy rule from iconvdata/Makefile.
32126
01636b21
UD
321272011-07-06 Ulrich Drepper <drepper@gmail.com>
32128
32129 [BZ #12922]
32130 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32131 but no long options are defined, just return 'W'.
32132
9895c8bc
UD
321332011-06-22 Marek Polacek <mpolacek@redhat.com>
32134
32135 [BZ #9696]
32136 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32137
5d4cf042
UD
321382011-07-06 Ulrich Drepper <drepper@gmail.com>
32139
32140 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32141 netgroups to read.
960e5535 32142 (innetgr): Likewise.
5d4cf042 32143
751eb97e
RM
321442011-07-05 Roland McGrath <roland@hack.frob.com>
32145
32146 * config.make.in (install_root): Default to $(DESTDIR).
32147
f15f1e45
UD
321482011-07-05 Ulrich Drepper <drepper@gmail.com>
32149
32150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32151
4e34ac6a
RM
321522011-07-02 Roland McGrath <roland@hack.frob.com>
32153
5e9b6af4
RM
32154 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32155
84f9ea0f
RM
32156 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32157 containing directory rather than embedding absolute directory names.
32158
ea5ee9f7
RM
32159 * scripts/check-local-headers.sh: Rewritten using awk.
32160 Match by word, not by line. Print error messages for matches.
32161 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32162
1b74661a
RM
32163 * Makerules [shlib-lds-flags empty]:
32164 ($(common-objpfx)libc_pic.opts): New target.
32165 ($(common-objpfx)libc_pic.os.clean): New target.
32166 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32167
32168 * config.make.in (OBJCOPY): New variable.
32169 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32170 * configure: Regenerated.
32171
f781ef40
RM
32172 * config.make.in (use-default-link): New variable.
32173 * configure.in (use_default_link): Grok --with-default-link to set it.
32174 * configure: Regenerated.
32175 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32176 (shlib-lds, shlib-lds-flags): Define to empty.
32177
2d4fa81e
RM
32178 * Makerules (shlib-lds): New variable.
32179 (shlib-lds-flags): New variable.
32180 (build-shlib, build-moduile, build-module-asneeded): Use it.
32181 ($(common-objpfx)libc.so): Use $(shlib-lds).
32182 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32183 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32184
31fffa6b
RM
32185 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32186 DT_FLAGS/DT_FLAGS_1 with zero flags.
32187
4e34ac6a
RM
32188 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32189 linker script munging.
32190
fcfc776b
UD
321912011-07-02 Ulrich Drepper <drepper@gmail.com>
32192
32193 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32194 as 128-bit value.
32195 * crypt/sha512.c (sha512_process_block): Perform total addition using
32196 128-bit if possible.
32197 (__sha512_finish_ctx): Likewise.
32198 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32199 as 64-bit value.
32200 * crypt/sha256.c (SWAP64): Define.
32201 (sha256_process_block): Perform total addition using 64-bit if
32202 possible.
32203 (__sha256_finish_ctx): Likewise.
32204
99231d9a
UD
322052011-07-01 Ulrich Drepper <drepper@gmail.com>
32206
32207 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32209 * nscd/hstcache.c (cache_addhst): Likewise.
32210 * nscd/grpcache.c (cache_addgr): Likewise.
32211 * nscd/aicache.c (addhstaiX): Likewise
32212 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32213
445b4a53
TK
322142011-07-01 Thorsten Kukuk <kukuk@suse.de>
32215
32216 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32218 * nscd/hstcache.c (cache_addhst): Likewise.
32219 * nscd/grpcache.c (cache_addgr): Likewise.
32220 * nscd/aicache.c (addhstaiX): Likewise
32221
6d4d8e8e
AS
322222011-07-01 Andreas Schwab <schwab@redhat.com>
32223
32224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32225 domain only when needed.
32226
89f654c5
AS
322272011-06-30 Andreas Schwab <schwab@redhat.com>
32228
32229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32230 is always restored.
32231
cf3b23ff
UD
322322011-06-29 Ulrich Drepper <drepper@gmail.com>
32233
32234 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32235 are re-adding the entry.
32236 * nscd/servicescache.c (cache_addserv): Likewise.
32237
751626f9
AJ
322382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32239
32240 * sysdeps/generic/dl-irel.h: fix protection against multiple
32241 inclusions.
32242 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32243
9113ea1f
UD
322442011-06-28 Ulrich Drepper <drepper@gmail.com>
32245
5c0b8d90
UD
32246 [BZ #12935]
32247 * malloc/memusage.sh: Fix quoting in message.
32248 * debug/xtrace.sh: Likewise.
32249
9113ea1f
UD
32250 * configure.in: Remove support for --experimental-malloc option, make
32251 it the default.
32252 * config.make.in: Likewise.
32253 * malloc/Makefile: Likewise.
32254
a4172181
AS
322552011-06-27 Andreas Schwab <schwab@redhat.com>
32256
32257 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32258 two-byte characters.
32259
78a7eee7
RM
322602011-06-27 Roland McGrath <roland@hack.frob.com>
32261
62bede13
RM
32262 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32263 AC_CACHE_CHECK invocation.
32264 * configure: Regenerated.
32265
78a7eee7
RM
32266 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32267
5ce33a62
UD
322682011-06-27 Ulrich Drepper <drepper@gmail.com>
32269
034807a9
UD
32270 [BZ #12350]
32271 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32272 bit from old_res_options.
32273
4902da17
UD
32274 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32275
5ce33a62
UD
32276 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32277 value type for setfct.
32278
c2344f56
L
322792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32280
32281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32282 __gettimeofday instead of gettimeofday.
32283
68468076
UD
322842011-06-26 Ulrich Drepper <drepper@gmail.com>
32285
32286 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32287
acb0d739
L
322882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32289
32290 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32291
32292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32293 info.
32294
8912479f
L
322952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32296
32297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32298 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32299 strcpy-sse2-unaligned strncpy-sse2-unaligned
32300 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32301 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32302 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32303 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32304 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32307 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32308 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32309 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32310 (STRCPY): Support SSE2 and SSSE3 versions.
32311
d5495a11
UD
323122011-06-24 Ulrich Drepper <drepper@gmail.com>
32313
32314 [BZ #12874]
32315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32316 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32317 kernels which artificially limit size of requests.
32318
0b1cbaae
L
323192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32320
32321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32322 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32323 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32324 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32325 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32326 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32327 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32328 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32331 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32332 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32333 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32334 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32335 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32337 Enable unaligned load optimization for Intel Core i3, i5 and i7
32338 processors.
32339 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32340 Define.
32341 (index_Fast_Unaligned_Load): Define.
32342 (HAS_FAST_UNALIGNED_LOAD): Define.
32343
07f494a0
MP
323442011-06-23 Marek Polacek <mpolacek@redhat.com>
32345
32346 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32347
fa3fc0fe
UD
323482011-06-22 Ulrich Drepper <drepper@gmail.com>
32349
32350 [BZ #12907]
32351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32352 until it is clear that the information is realy needed.
32353 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32354
e12df166
AS
323552011-06-22 Andreas Schwab <schwab@redhat.com>
32356
32357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32358
852eb34d
UD
323592011-06-22 Ulrich Drepper <drepper@gmail.com>
32360
84e2a551
UD
32361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32362 /sys/devices/system/cpu/online if it is usable.
32363
852eb34d
UD
32364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32365 reading the information from the /proc filesystem to once a second.
32366
6e502e19
UD
323672011-06-21 Andreas Jaeger <aj@suse.de>
32368
32369 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32370 NULL after inclusion of kernel headers.
32371
75d39ff2
UD
323722011-06-21 Ulrich Drepper <drepper@gmail.com>
32373
51f9aa6a
UD
32374 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32375 calls to internal_setent.
32376
c0244a9d
UD
32377 [BZ #12885]
32378 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32379 addresses using gethostbyname4_r ignore IPv4 addresses.
32380
c5e3c2ae
UD
32381 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32382 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32383
75d39ff2
UD
32384 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32385
42675c6f
DM
323862011-06-20 David S. Miller <davem@davemloft.net>
32387
32388 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32389 inclusions.
32390 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32391
32392 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32393 (elf_irel): Use it.
32394 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32395 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32396 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32397 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32398 * sysdeps/x86_64/dl-irel.h: Likewise.
32399
32400 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32401 * elf/dl-sym.c: Likewise.
32402
57912a71
UD
324032011-06-15 Ulrich Drepper <drepper@gmail.com>
32404
32405 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32406 need to dereference resplen2.
32407
ee22793d
AS
324082011-06-14 Andreas Schwab <schwab@redhat.com>
32409
32410 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32411
a9e836b0
UD
324122011-06-15 Ulrich Drepper <drepper@gmail.com>
32413
77fb9117
UD
32414 * Makeconfig: Define vardbdir and inst_vardbdir.
32415 * nss/Makefile: Add rules to install db-Makefile.
32416
40c1b22c
UD
32417 * nss/nss_db/db-XXX.c: Cleanup.
32418
9f2da732
UD
32419 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32420 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32421 GLIBC_PRIVATE.
32422 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32423 * nss/makedb.c: Implement -g option to specify that value strings
32424 are generated and should not be added to table iterated over for
32425 get*ent calls.
32426 * nss/nss_db/db-initgroups.c: New file.
32427
82e9a1f7
UD
32428 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32429 interface.
32430
c41af17e
UD
32431 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32432 (internal_getgrouplist): Adjust to name change.
32433 Update use_initgroups_entry if this is not the first call.
32434 * nss/databases.def: Add initgroups entry.
32435
a9e836b0
UD
32436 * nss/makedb.c (compute_tables): Check result of multiple hash table
32437 sizes to minimize maximum chain length.
32438
2666d441
UD
324392011-06-14 Ulrich Drepper <drepper@gmail.com>
32440
32441 * Versions.def: Add entry for libnss_db.
32442 * shlib-versions: Likewise.
32443 * nss/Makefile: Add rules to build libnss_db.
32444 * nss/Versions: Add libnss_db information. Organize libnss_files
32445 entries better.
32446 * nss/db-Makefile: Add gshadow support. Change rules for the new
32447 makedb progra. Some minor improvements to generate smaller files.
32448 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32449 here from...
32450 * nss/makedb.c: ...here.
32451 Improve database format to be smaller and require less memory at
32452 runtime.
32453 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32454 db anymore.
32455 * nss/nss_db/db-netgrp.c: Likewise.
32456 * nss/nss_db/db-open.c: Likewise.
32457 * nss/nss_files/flies-XXX.x: Adjust comments.
32458 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32459 * nss/nss_files/files-grp.c: Likewise.
32460 * nss/nss_files/files-hosts.c: Likewise.
32461 * nss/nss_files/files-network.c: Likewise.
32462 * nss/nss_files/files-proto.c: Likewise.
32463 * nss/nss_files/files-pwd.c: Likewise.
32464 * nss/nss_files/files-rpc.c: Likewise.
32465 * nss/nss_files/files-service.c: Likewise.
32466 * nss/nss_files/files-sgrp.c: Likewise.
32467 * nss/nss_files/files-spwd.c: Likewise.
32468 * nss/nss_db/db-alias.c: Removed.
32469 * nss/nss_db/dummy-db.h: Removed.
32470
9ee76b5a
UD
324712011-06-02 Ulrich Drepper <drepper@gmail.com>
32472
32473 * nss/makedb.c: Rewritten to not use database library.
32474 * nss/Makefile: Update to build new makedb program.
32475
c71ca1f8
AJ
324762011-06-14 Andreas Jaeger <aj@suse.de>
32477
32478 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32479 memset declaration.
32480
3154bfb8
UD
324812011-06-10 Andreas Schwab <schwab@redhat.com>
32482
32483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32484 tmpbuf.
32485
b350afab
RM
324862011-06-10 Roland McGrath <roland@hack.frob.com>
32487
decd4e50
RM
32488 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32489 * elf/Makefile ($(objpfx)ld.so): Likewise.
32490
5615eaf2
RM
32491 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32492 Don't list ld.so twice in dependencies.
32493
32494 * posix/bug-regex31.c: Include <stdlib.h>.
32495
32496 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32497
32498 * nis/nss_compat/compat-spwd.c
32499 (getspent_next_nss_netgr): Remove unused variable.
32500 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32501
32502 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32503 nonmembers" output to use the right array.
32504
32505 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32506
32507 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32508
32509 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32510 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32511 * catgets/gencat.c (read_input_file): Likewise.
32512 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32513
32514 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32515 variable definition inside #if's controlling its use.
32516
32517 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32518
32519 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32520
32521 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32522
32523 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32524 unreachable code.
32525
32526 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32527
b68e08db
RM
32528 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32529 * configure: Regenerated.
32530
b350afab
RM
32531 * Makerules: Revert last change.
32532 * elf/Makefile: Likewise.
32533
28368601
RM
325342011-06-09 Roland McGrath <roland@hack.frob.com>
32535
32536 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32537 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32538 (reloc-link): Likewise.
32539
11988f8f
UD
325402011-06-09 Ulrich Drepper <drepper@gmail.com>
32541
32542 * elf/Makefile: Add rules to build pldd.
32543 * elf/pldd.c: New file.
32544 * elf/pldd-xx.c: New file.
32545
e80fab37
UD
325462011-06-07 Ulrich Drepper <drepper@gmail.com>
32547
32548 * version.h: Update for 2.15 development version.
32549
9b849836
DM
325502011-06-07 David S. Miller <davem@davemloft.net>
32551
32552 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32553 ifuncs.
32554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32555 elf_machine_lazy_rel): Likewise.
32556 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32558 elf_machine_lazy_rel): Likewise.
32559 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32560 dl_hwcap via passed in argument.
32561 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32562 Likewise.
32563
5a31b283
AK
325642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32565
32566 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32567
069e52f8
RM
325682011-06-06 Roland McGrath <roland@hack.frob.com>
32569
32570 [BZ #12849]
32571 * manual/fdl-1.1.texi: New file, verbatim from:
32572 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32573 * manual/lgpl-2.1.texi: New file, verbatim from:
32574 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32575 * manual/Makefile (licenses): New variable, list those new file names.
32576 (texis): Use it.
32577 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32578
32579 * manual/fdl.texi: File removed.
32580 * manual/lesser.texi: File removed.
32581 * manual/libc.texinfo (Copying, Documentation License):
32582 Use new @include file names, put @appendix directive before @include.
32583
f16846a5
JJ
325842011-06-04 Jakub Jelinek <jakub@redhat.com>
32585
32586 [BZ #12841]
32587 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32588 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32589 (mq_open): Add __NTH.
32590
3d29045b
L
325912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32592
32593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32594 Assume Intel Core i3/i5/i7 processor if AVX is available.
32595
8c297311
UD
325962011-05-31 Ulrich Drepper <drepper@gmail.com>
32597
32598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32599 typo.
32600
c8fc0c91
UD
326012011-05-31 Andreas Schwab <schwab@redhat.com>
32602
32603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32604 memory. Use alloca_account. Fix memory leak when retrying.
32605
5b27a807
UD
326062011-05-31 Ulrich Drepper <drepper@gmail.com>
32607
356f8bc6
UD
32608 * version.h (RELEASE): Bump for 2.14 release.
32609 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32610
5b27a807
UD
32611 * config.make.in (RANLIB): Remove entry.
32612
01f16ab0
UD
326132011-05-30 Ulrich Drepper <drepper@gmail.com>
32614
41fce8bd
UD
32615 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32616 (libc.pot): Work around missing support for .ksh extension in xgettext.
32617
4769ae77
UD
32618 [BZ #12684]
32619 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32620 if both request failed.
32621 (send_dg): In case of server errors clear resplen or *resplen2.
32622
6b1e7d19
UD
32623 [BZ #12454]
32624 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32625 when there are multiple maps.
32626 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32627 (_dl_fini): Remove test here.
32628
01f16ab0
UD
32629 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32630
b1ebd700
UD
326312011-05-29 Ulrich Drepper <drepper@gmail.com>
32632
7ae22829
UD
32633 [BZ #12350]
32634 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32635 bit from old_res_options.
32636 (gaih_inet): Likewise.
32637
553149f6 32638 [BZ #11099]
18a84741 32639 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32640 as signed.
32641
652ffab1
UD
32642 * resolv/res_init.c (res_setoptions): Make the code more compact.
32643
16985fd0
UD
32644 [BZ #11558]
32645 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32646 set RES_USEVC.
32647
0464f746
UD
32648 [BZ #11634]
32649 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32650
7d17596c
UD
32651 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32652
cf6bbbd7
UD
32653 [BZ #11781]
32654 * malloc/malloc.h: Declare malloc hook variables as volatile.
32655
13f1ab36
UD
32656 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32657 in last patch.
32658
b1ebd700
UD
32659 [BZ #11799]
32660 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32661 raise in the comment.
80e2212d
UD
32662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32664 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32665
ce67228d
UD
326662011-05-28 Ulrich Drepper <drepper@gmail.com>
32667
8887a920
UD
32668 [BZ #12811]
32669 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32670 grow the buffers more if it already has to be sufficient.
32671 (build_wcs_upper_buffer): Likewise.
32672 * posix/regexec.c (check_matching): Likewise.
32673 (clean_state_log_if_needed): Likewise.
32674 (extend_buffers): Don't enlarge buffers beyond size of the input
32675 buffer.
32676 Patches mostly by Emil Wojak <emil@wojak.eu>.
32677 * posix/bug-regex32.c: New file.
32678 * posix/Makefile (tests): Add bug-regex32.
32679
4f031072
UD
32680 * locale/findlocale.c (_nl_find_locale): Return right away if
32681 _nl_explode_name failed.
32682 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32683
d0478f0c
UD
32684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32685
de81b246
UD
32686 * debug/xtrace.sh: Unify messages.
32687 * malloc/memusage.sh: Likewise.
32688
c738465a
UD
32689 [BZ #12813]
32690 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32691 time symbol from vDSO. Substitute with vsyscall if not available.
32692 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32693 __vdso_time.
32694
f1f929d7
UD
32695 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32696 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32697 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32698 Add sendmmsg and internal_sendmmsg.
32699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32702
ce67228d
UD
32703 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32704 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32706
e57420c6
UD
327072011-05-27 Ulrich Drepper <drepper@gmail.com>
32708
a8509ca5
UD
32709 [BZ #12813]
32710 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32711 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32712 available.
32713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32714 __vdso_getcpu.
32715
e57420c6
UD
32716 [BZ #12814]
32717 * iconvdata/Makefile (tests): Add bug-iconv9.
32718 * iconvdata/bug-iconv9.c: New file.
32719
4d07db15
AS
327202011-05-27 Andreas Schwab <schwab@redhat.com>
32721
32722 [BZ #12814]
32723 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32724
ea486f69
JJ
327252011-05-25 Jakub Jelinek <jakub@redhat.com>
32726
32727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32728 (struct user_regs_struct): Change intcs field back to cs.
32729
6f038433
UD
327302011-05-25 Ulrich Drepper <drepper@gmail.com>
32731
32732 * po/ja.po: Update from translation team.
32733
67f86a25
UD
327342011-05-23 Ulrich Drepper <drepper@gmail.com>
32735
32736 [BZ #12795]
32737 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32738 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32739
def7fbd6
AS
327402011-05-20 Andreas Schwab <schwab@redhat.com>
32741
32742 * stdlib/longlong.h: Update from GCC.
32743
f50ef8f1
AS
327442011-05-23 Andreas Schwab <schwab@redhat.com>
32745
32746 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32747 parameter name.
32748 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32749 Add parameter name.
32750 (__sysconf): Pass it down.
32751
de7ce8f1
UD
327522011-05-22 Ulrich Drepper <drepper@gmail.com>
32753
f2962a71
UD
32754 [BZ #12671]
32755 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32756 some situations.
32757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32758 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32759 add in in __libc_use_alloca calls. Adjust callers.
32760 (glob): Use malloc in some situations.
32761
de7ce8f1
UD
32762 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32763 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32764 pltexit.
32765
aec84f53
UD
327662011-05-21 Ulrich Drepper <drepper@gmail.com>
32767
05bb4a68
UD
32768 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32769 and CLOCK_BOOTTIME_ALARM.
32770
7ea72f99
UD
32771 [BZ #12782]
32772 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32773 is returned.
32774
7e4afad5
UD
32775 * string/_strerror.c (__strerror_r): Print negative errors as signed
32776 numbers.
32777
8e211fec
UD
32778 [BZ #12777]
32779 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32780 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32781 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32782
f7d82dc9
UD
32783 * configure.in: Fix typo in redirection and correct removal of test
32784 files in two cases.
32785
cc9e536d
UD
32786 [BZ #12788]
32787 * locale/setlocale.c (new_composite_name): Fix test to check for
32788 identical name of all categories.
32789
aec84f53
UD
32790 [BZ #12792]
32791 * libio/filedoalloc.c (local_isatty): New function.
32792 (_IO_file_doallocate): Use local_isatty.
32793 * stdio-common/perror.c (perror): In case a new stream is used
32794 forward the stream error.
32795 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32796 error flag.
32797
78e64fdc
RT
327982011-05-20 Ulrich Drepper <drepper@gmail.com>
32799
34a9094f
UD
32800 [BZ #11869]
32801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32802 alloca.
32803 * include/alloca.h (extend_alloca_account): Define.
32804
78e64fdc
RT
32805 [BZ #11857]
32806 * posix/regex.h: Fix comments with documentation of user-accessible
32807 fields after compilation and describe correct free'ing of pattern
32808 after re_compile_pattern.
32809 Patch by Reuben Thomas <rrt@sc3d.org>.
32810
457bddfc
RA
328112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32812
32813 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32814 and -mno-altivec to prevent the compiler from using Altivec and/or
32815 VSX instructions when the corresponding registers are not available.
32816
a4527b51
AS
328172011-05-19 Andreas Schwab <schwab@redhat.com>
32818
32819 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32820
ed690b2f
UD
328212011-05-19 Ulrich Drepper <drepper@gmail.com>
32822
32823 * libio/freopen.c (freopen): Use __dup2, not dup2.
32824 * libio/freopen64.c (freopen64): Likewise.
32825
8db73634
L
328262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32827
32828 [BZ #12775]
32829 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32830 * math/Makefile (tests): Add test-powl.
32831 (CFLAGS-test-powl.c): Define.
32832 * math/test-powl.c: New file.
32833
0a197a9d
L
328342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32835
32836 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32837
ee30c380
UD
328382011-05-17 Ulrich Drepper <drepper@gmail.com>
32839
32840 [BZ #11837]
32841 * iconvdata/gb18030.c: Update to GB18020-2005.
32842
6ce75379
UD
328432011-05-16 Ulrich Drepper <drepper@gmail.com>
32844
a4b89fd8
AR
32845 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32846 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32847 Patch by Aharon Robbins <arnold@skeeve.com>.
32848
ea389b12
UD
32849 [BZ #11892]
32850 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32851 on the stack.
32852
68a3f91f
UD
32853 [BZ #11895]
32854 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32855 through underflows.
32856
15cc7dd1
UD
32857 [BZ #12766]
32858 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32859 point to strings before performing equality test for error_one_per_line
32860 mode.
32861
f3799213
UD
32862 [BZ #11697]
32863 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32864
d79a9c94
UD
32865 [BZ #11820]
32866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32867 (struct user_fpregs_struct): Avoid __uint*_t types.
32868
56e5eb46
UD
32869 [BZ #6420]
32870 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32871 symbol info. Use it instead of calling _dl_addr locally.
32872 (lock_and_info): New function.
32873 (tr_freehook): Call lock_and_info and pass symbol info as additional
32874 parameter to tr_where.
32875 (tr_mallochook): Likewise.
32876 (tr_reallochook): Likewise.
32877 (tr_memalignhook): Likewise.
32878
6ce75379
UD
32879 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32880 used and couldn't be at all thread-safe.
32881
f8a3b5bf
UD
328822011-05-15 Ulrich Drepper <drepper@gmail.com>
32883
94b7cc37
UD
32884 * libio/freopen.c (freopen): Don't close old file descriptor
32885 before the new one is opened. Instead dup the new file descriptor
32886 to the old one after the new stream is created.
32887 * libio/freopen64.c (freopen64): Likewise.
32888 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32889 * libio/fileops.c (_IO_new_file_close_it): Handle new
32890 _IO_FLAGS2_NOCLOSE flag.
32891 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32892 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32893 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32894 _IO_FLAGS2_NOCLOSE flag.
32895 * include/unistd.h: Add hidden_proto for dup3.
32896 Define __have_dup3.
32897 * io/dup3.c: Define hidden symbol.
32898 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32899
bd25564e
UD
32900 [BZ #7101]
32901 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32902 when an incomplete long option is used.
32903 * posix/tst-getopt_long1.c: New file.
32904 * posix/Makefile (tests): Add tst-getopt_long1.
32905
c84cfef4
UD
32906 [BZ #10138]
32907 * scripts/config.guess: Update from autoconf-2.68.
32908 * scripts/config.sub: Likewise.
32909
3b85df27
UD
32910 [BZ #10157]
32911 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32912 tests into ...
32913 (has_cpuclock): ...this. New function.
32914 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32915 macro here based on has_cpuclock code.
32916
15a856b1
UD
32917 [BZ #10149]
32918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32919 First byte (not low byte) is now always NUL.
32920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32921
05f399e6
UD
32922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32923 Use non-cancelable interfaces.
32924
10a52685 32925 [BZ #9809]
94ecc67d
UD
32926 * locale/iso-639.def: Add entry for Sorani.
32927
f8a3b5bf
UD
32928 [BZ #11901]
32929 * include/stdlib.h: Move include protection to the right place.
32930 Define abort_msg_s. Declare __abort_msg with it.
32931 * stdlib/abort.c (__abort_msg): Adjust type.
32932 * assert/assert.c (__assert_fail_base): New function. Majority
32933 of code from __assert_fail. Allocate memory for __abort_msg with
32934 mmap.
32935 (__assert_fail): Now call __assert_fail_base.
32936 * assert/assert-perr.c: Remove bulk of implementation. Use
32937 __assert_fail_base.
32938 * include/assert.hL Declare __assert_fail_base.
32939 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32940 mmap.
32941 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32942
1af4e298
UD
329432011-05-14 Ulrich Drepper <drepper@gmail.com>
32944
f8a3b5bf 32945 [BZ #11952]
d26dfc60
MG
32946 [BZ #12453]
32947 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32948 until all modules are registered in the DTV.
32949 * elf/Makefile: Add rules to build and run tst-tls19.
32950 * elf/tst-tls19.c: New file.
32951 * elf/tst-tls19mod1.c: New file.
32952 * elf/tst-tls19mod2.c: New file.
32953 * elf/tst-tls19mod3.c: New file.
32954 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32955
2fc54d6f
UD
32956 [BZ #12083]
32957 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32958 correctly.
32959
98d76b46
UD
32960 [BZ #12601]
32961 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32962 two-byte sequence errors.
32963 * iconvdata/Makefile (tests): Add bug-iconv8.
32964 * iconvdata/bug-iconv8.c: New file.
32965
da3c19ef
UD
32966 [BZ #12626]
32967 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32968 buf2 definition.
32969
ca408c15
UD
32970 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32971
d6f67f7d
UD
32972 [BZ #12432]
32973 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32974 (dummy_getcfa): New function.
32975 (init): Get _Unwind_GetCFA address, use dummy if not found.
32976 (backtrace_helper): In recursion check, also check whether CFA changes.
32977 (__backtrace): Completely initialize arg.
32978
1af4e298 32979 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32980 storing incomplete byte sequence in state object. Avoid testing for
32981 guaranteed too small input if we know there is enough data available.
1af4e298 32982
da62f81b
AS
329832011-05-11 Andreas Schwab <schwab@redhat.com>
32984
32985 * Makeconfig (+link-pie): Indent.
32986 * Rules (binaries-pie): Define if $(have-fpie) and
32987 $(build-shared).
32988 (binaries-shared): Also filter out $(binaries-pie).
32989 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32990 * nscd/Makefile (others-pie): Add nscd.
32991 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32992 ($(objpfx)nscd): Remove command override.
32993 * login/Makefile (others-pie): Add pt_chown.
32994 ($(objpfx)pt_chown): Remove command override.
32995 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32996 remove command overrides.
32997
fcabc0f8
UD
329982011-05-13 Ulrich Drepper <drepper@gmail.com>
32999
20030ae6
UD
33000 * libio/tst_putwc.c: Fix error messages.
33001
fcabc0f8
UD
33002 [BZ #12724]
33003 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33004 currently writing and seek to current position when not.
33005 * libio/Makefile (tests): Add bug-fclose1.
33006 * libio/bug-fclose1.c: New file.
33007
320a5dc0
PB
330082011-05-12 Ulrich Drepper <drepper@gmail.com>
33009
33010 [BZ #12511]
33011 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33012 don't set DF_1_NODELETE here.
33013 (do_lookup_x): When entering new entry test for copy relocation
33014 and if necessary set DF_1_NODELETE flag.
33015 * elf/tst-unique4.cc: New file.
33016 * elf/tst-unique4.h: New file.
33017 * elf/tst-unique4lib.cc: New file.
33018 * elf/Makefile: Add rules to build and run tst-unique4.
33019 Patch by Piotr Bury <pbury@goahead.com>.
33020
22836f52
UD
330212011-05-11 Ulrich Drepper <drepper@gmail.com>
33022
f574184a
UD
33023 [BZ #12052]
33024 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33025
e1fb097f
UD
33026 [BZ #12625]
33027 * misc/mntent_r.c (addmntent): Flush the stream after the output
33028
22836f52
UD
33029 [BZ #12393]
33030 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33031 (is_trusted_path_normalize): Skip initial colon. Append slash
33032 to empty buffer. Duplicate is_trusted_path code but allow
33033 constructed patch to be prefix.
33034 (is_dst): Allow $ORIGIN followed by /.
33035 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33036 Correct testing of result of is_trusted_path_normalize
33037 (decompose_rpath): Fix warning.
33038
7b3b0b2a
UD
330392011-05-10 Ulrich Drepper <drepper@gmail.com>
33040
33041 [BZ #11257]
33042 * grp/initgroups.c (internal_getgrouplist): When we found the service
33043 list through the initgroups entry in nsswitch.conf do not always
33044 continue on a successful lookup. Don't always use the
eac80ce2 33045 __nss_group_database value if it is set.
7b3b0b2a
UD
33046 * nss/nsswitch.conf (initgroups): Change action for successful db
33047 lookup to continue for compatibility.
33048
2a81eaa5
UD
330492011-05-09 Ulrich Drepper <drepper@gmail.com>
33050
be97a69e
UD
33051 [BZ #11532]
33052 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33053 and CP774 modules.
33054 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33055 and CP774 modules.
33056 * iconvdata/tst-tables.sh: Likewise.
33057 * iconvdata/cp770.c: New file.
33058 * iconvdata/cp771.c: New file.
33059 * iconvdata/cp772.c: New file.
33060 * iconvdata/cp773.c: New file.
33061 * iconvdata/cp774.c: New file.
33062 * iconvdata/testdata/CP770: New file.
33063 * iconvdata/testdata/CP770..UTF8: New file.
33064 * iconvdata/testdata/CP771: New file.
33065 * iconvdata/testdata/CP771..UTF8: New file.
33066 * iconvdata/testdata/CP772: New file.
33067 * iconvdata/testdata/CP772..UTF8: New file.
33068 * iconvdata/testdata/CP773: New file.
33069 * iconvdata/testdata/CP773..UTF8: New file.
33070 * iconvdata/testdata/CP774: New file.
33071 * iconvdata/testdata/CP774..UTF8: New file.
33072
33073 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33074 END CHARMAP line.
33075 * iconvdata/gen-8bit-gap.sh: Likewise.
33076 * iconvdata/gen-8bit.sh: Likewise.
33077
c1e9e399
UD
33078 * locale/iso-639.def: Add ary entry.
33079
24c55fb3 33080 [BZ #11258]
96b4b1b0
UD
33081 * locale/C-translit.h.in: Add U20A1 transliteration.
33082
bdc2f971
KB
33083 [BZ #12178]
33084 * locale/iso-639.def: Add wae entry.
33085 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33086
2952b117
UD
33087 [BZ #12545]
33088 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33089 for n.
33090
2a81eaa5
UD
33091 [BZ #12711]
33092 * locale/C-translit.h.in: Add entry for U20B9.
33093 Patch by pravin.d.s@gmail.com.
33094
28377d1b
UD
330952011-05-08 Ulrich Drepper <drepper@gmail.com>
33096
7fb90fb8
UD
33097 [BZ #12713]
33098 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33099 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33100 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33101 in rtld. Use *stat64.
7fb90fb8 33102 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33103 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33104 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33105 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33106 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33107 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33108 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33109 __fstatat64 macros.
7fb90fb8
UD
33110 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33111 * dirent/rewinddir.c: Add libc_hidden_def.
33112 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33113 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33114
28377d1b
UD
33115 * include/dirent.h (__alloc_dir): Add flags parameter.
33116 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33117 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33118 __alloc_dir.
33119 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33120 from fdopendir if O_CLOEXEC is already set.
33121
66bdbaa4
AM
331222011-03-15 Alan Modra <amodra@gmail.com>
33123
33124 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33125 l_tls_firstbyte_offset non-zero. Save padding offset in
33126 l_tls_firstbyte_offset for later use.
33127 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33128 freeing static tls block.
33129
95721191
JN
331302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33131
33132 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33133 where #ifdef was intended. The intent is to prevent ARG_MAX from
33134 being defined by the kernel headers.
33135
f87dfb1f
UD
331362011-05-07 Ulrich Drepper <drepper@gmail.com>
33137
33138 [BZ #12734]
33139 * resolv/resolv.h: Define RES_NOTLDQUERY.
33140 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33141 no-tld-query and set RES_NOTLDQUERY.
33142 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33143 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33144 modern BIND to search name as TLD unless forbidden.
33145
47c3cd7a
UD
331462011-05-07 Petr Baudis <pasky@suse.cz>
33147 Ulrich Drepper <drepper@gmail.com>
33148
33149 [BZ #12393]
33150 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33151 (is_trusted_path): ...to here.
c1e9ea35 33152 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33153 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33154 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33155
8a35c912
PP
331562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33157
33158 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33159 __BEGIN/__END_DECLS.
33160
acd41f47
UD
331612011-05-06 Ulrich Drepper <drepper@gmail.com>
33162
33163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33164 NSS_STATUS_NOTFOUND if no record was found.
33165
597df647
AS
331662011-05-05 Andreas Schwab <schwab@redhat.com>
33167
33168 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33169 (headers-not-in-tirpc): Remove rpc/netdb.h
33170 * resolv/netdb.h: Revert last change.
33171
b9af1301
PP
331722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33173
33174 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33175 circular dependency between libgcc.a and libc.a.
33176
4e34d5f5
AS
331772011-05-05 Andreas Schwab <schwab@redhat.com>
33178
33179 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33180 * nis/Makefile: Don't install rpcsvc/*.
33181 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33182 instead of <rpc/types.h>.
33183 (MAXHOSTNAMELEN): Define.
33184
00ee369c
AS
331852011-05-03 Andreas Schwab <schwab@redhat.com>
33186
33187 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33188
0b592a30
MB
331892011-04-28 Maciej Babinski <mbabinski@google.com>
33190
33191 [BZ #12714]
33192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33193 gethostbyname4_r when IPv6 results are possible.
33194
6e04cbbe
UD
331952011-05-02 Ulrich Drepper <drepper@gmail.com>
33196
33197 [BZ #12723]
33198 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33199 _PC_PIPE_BUF handling.
33200
e4ecafe0
BH
332012011-04-30 Bruno Haible <bruno@clisp.org>
33202
33203 [BZ #12717]
33204 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33205 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33206 to 'int'.
33207 * inet/getnameinfo.c (getnameinfo): Likewise.
33208
125ee683
UD
332092011-04-29 Ulrich Drepper <drepper@gmail.com>
33210
33211 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33212 to groups setting in database lookup.
33213 * nss/nsswitch.conf: Add initgroups entry.
33214
b722481a
EB
332152011-04-22 Ulrich Drepper <drepper@gmail.com>
33216
33217 [BZ #12685]
33218 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33219 mode string.
33220 Patch by Eric Blake <eblake@redhat.com>.
33221
4df46dbd
L
332222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33223
33224 * sunrpc/Makefile (need-export-routines): Add svc_run.
33225 (routines): Remove svc_run.
33226 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33227 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33228 * sunrpc/svc_run.c (svc_run): Likewise.
33229 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33230
e84142d2
UD
332312011-04-21 Ulrich Drepper <drepper@gmail.com>
33232
33233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33234 problem in reallocation in last patch.
33235
877175d8
UD
332362011-04-20 Ulrich Drepper <drepper@gmail.com>
33237
33238 * sunrpc/Makefile: Move inclusion of Rules.
33239
ab8eed78
UD
332402011-04-19 Ulrich Drepper <drepper@gmail.com>
33241
33242 * nss/nss_files/files-initgroups.c: New file.
33243 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33244 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33245 _nss_files_initgroups_dyn.
33246
e3d8f584
RS
332472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33248
33249 * elf/elf.h (R_ARM_IRELATIVE): Define.
33250
af190f45
UD
332512011-04-19 Ulrich Drepper <drepper@gmail.com>
33252
33253 * po/ru.po: Update from translation team.
33254
53cf59ef
UD
332552011-04-17 Ulrich Drepper <drepper@gmail.com>
33256
33257 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33258 dependencies.
33259
4c559bcd
MF
332602011-02-06 Mike Frysinger <vapier@gentoo.org>
33261
33262 [BZ #12653]
33263 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33264 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33265 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33268
4420675c
AS
332692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33270
33271 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33272 differing bytes.
33273 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33276
75ea32ab
UD
332772011-04-17 Ulrich Drepper <drepper@gmail.com>
33278
33279 [BZ #12420]
33280 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33281 storing it.
33282 * stdlib/bug-getcontext.c: New file.
33283 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33284
27390476
AK
332852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33286
33287 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33288 instructions into .machine "z9-109".
33289 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33290 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33291
10442705
AK
332922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33293
33294 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33295 between environment variables and auxiliary vector.
33296
7b57bfe5
UD
332972011-04-16 Ulrich Drepper <drepper@gmail.com>
33298
33299 * Makefile: Add rules to build linkobj/libc.so.
33300 * include/libc-symbols.h: Define libc_hidden_nolink.
33301 * include/rpc/auth.h: Mark functions which are to be hidden.
33302 * include/rpc/auth_des.h: Likewise.
33303 * include/rpc/auth_unix.h: Likewise.
33304 * include/rpc/clnt.h: Likewise.
33305 * include/rpc/des_crypt.h: Likewise.
33306 * include/rpc/key_prot.h: Likewise.
33307 * include/rpc/pmap_clnt.h: Likewise.
33308 * include/rpc/pmap_prot.h: Likewise.
33309 * include/rpc/pmap_rmt.h: Likewise.
33310 * include/rpc/rpc_msg.h: Likewise.
33311 * include/rpc/svc.h: Likewise.
33312 * include/rpc/svc_auth.h: Likewise.
33313 * include/rpc/xdr.h: Likewise.
33314 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33315 * nss/Makefile: Likewise.
33316 * sunrpc/Makefile: Don't install headers. Build library with normal
33317 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33318 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33319 for the compat linking library. Remove use of INTDEF/INTUSE.
33320 * sunrpc/auth_none.c: Likewise.
33321 * sunrpc/auth_unix.c: Likewise.
33322 * sunrpc/authdes_prot.c: Likewise.
33323 * sunrpc/authuxprot.c: Likewise.
33324 * sunrpc/clnt_gen.c: Likewise.
33325 * sunrpc/clnt_perr.c: Likewise.
33326 * sunrpc/clnt_raw.c: Likewise.
33327 * sunrpc/clnt_simp.c: Likewise.
33328 * sunrpc/clnt_tcp.c: Likewise.
33329 * sunrpc/clnt_udp.c: Likewise.
33330 * sunrpc/clnt_unix.c: Likewise.
33331 * sunrpc/des_crypt.c: Likewise.
33332 * sunrpc/des_soft.c: Likewise.
33333 * sunrpc/get_myaddr.c: Likewise.
33334 * sunrpc/key_call.c: Likewise.
33335 * sunrpc/key_prot.c: Likewise.
33336 * sunrpc/netname.c: Likewise.
33337 * sunrpc/pm_getmaps.c: Likewise.
33338 * sunrpc/pm_getport.c: Likewise.
33339 * sunrpc/pmap_clnt.c: Likewise.
33340 * sunrpc/pmap_prot.c: Likewise.
33341 * sunrpc/pmap_prot2.c: Likewise.
33342 * sunrpc/pmap_rmt.c: Likewise.
33343 * sunrpc/publickey.c: Likewise.
33344 * sunrpc/rpc_cmsg.c: Likewise.
33345 * sunrpc/rpc_common.c: Likewise.
33346 * sunrpc/rpc_dtable.c: Likewise.
33347 * sunrpc/rpc_prot.c: Likewise.
33348 * sunrpc/rpc_thread.c: Likewise.
33349 * sunrpc/rtime.c: Likewise.
33350 * sunrpc/svc.c: Likewise.
33351 * sunrpc/svc_auth.c: Likewise.
33352 * sunrpc/svc_authux.c: Likewise.
33353 * sunrpc/svc_raw.c: Likewise.
33354 * sunrpc/svc_run.c: Likewise.
33355 * sunrpc/svc_simple.c: Likewise.
33356 * sunrpc/svc_tcp.c: Likewise.
33357 * sunrpc/svc_udp.c: Likewise.
33358 * sunrpc/svc_unix.c: Likewise.
33359 * sunrpc/svcauth_des.c: Likewise.
33360 * sunrpc/xcrypt.c: Likewise.
33361 * sunrpc/xdr.c: Likewise.
33362 * sunrpc/xdr_array.c: Likewise.
33363 * sunrpc/xdr_float.c: Likewise.
33364 * sunrpc/xdr_intXX_t.c: Likewise.
33365 * sunrpc/xdr_mem.c: Likewise.
33366 * sunrpc/xdr_rec.c: Likewise.
33367 * sunrpc/xdr_ref.c: Likewise.
33368 * sunrpc/xdr_sizeof.c: Likewise.
33369 * sunrpc/xdr_stdio.c: Likewise.
33370
e6c61494
UD
333712011-04-10 Ulrich Drepper <drepper@gmail.com>
33372
33373 [BZ #12650]
33374 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33375 * sysdeps/ia64/dl-tls.h: Likewise.
33376 * sysdeps/powerpc/dl-tls.h: Likewise.
33377 * sysdeps/s390/dl-tls.h: Likewise.
33378 * sysdeps/sh/dl-tls.h: Likewise.
33379 * sysdeps/sparc/dl-tls.h: Likewise.
33380 * sysdeps/x86_64/dl-tls.h: Likewise.
33381 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33382
34fe483e
AS
333832011-03-14 Andreas Schwab <schwab@redhat.com>
33384
33385 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33386 rpath element also skip the following colon.
33387 (expand_dynamic_string_token): Add is_path parameter and pass
33388 down to DL_DST_REQUIRED and _dl_dst_substitute.
33389 (decompose_rpath): Call expand_dynamic_string_token with
33390 non-zero is_path. Ignore empty rpaths.
33391 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33392 with zero is_path.
33393
f12a32e6
AS
333942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33395
33396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33397 Make cancelable.
33398
38a7d692
UD
333992011-04-09 Ulrich Drepper <drepper@gmail.com>
33400
33401 [BZ #12655]
33402 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33403 Patch by Filipe David Manana <fdmanana@apache.org>.
33404
e451d22b
AS
334052011-04-07 Andreas Schwab <schwab@redhat.com>
33406
33407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33408 Maintain aligned stack.
33409 (CHECK_RSP): Remove unused macro.
33410
dedc7c7b
UD
334112011-04-03 Ulrich Drepper <drepper@gmail.com>
33412
33413 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33414 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33415
94521213
UD
334162011-04-02 Ulrich Drepper <drepper@gmail.com>
33417
33418 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33419
8cb700c0 33420 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33421
0354e355
L
334222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33423
33424 [BZ #12518]
33425 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33426 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33427 * sysdeps/x86_64/memmove.c: New file.
33428 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33429 (memcpy): Renamed to ...
33430 (__new_memcpy): This.
33431 (memcpy): Provide GLIBC_2_14 memcpy.
33432 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33433 (memcpy): Provide GLIBC_2_2_5 memcpy.
33434
8593482f
UD
334352011-04-01 Ulrich Drepper <drepper@gmail.com>
33436
33437 [BZ #12631]
33438 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33439
81a5726b
AS
334402011-03-30 Andreas Schwab <schwab@redhat.com>
33441
33442 * misc/syncfs.c: New file.
33443 * misc/Makefile (routines): Add syncfs.
33444 * posix/unistd.h: Declare syncfs.
33445 * sysdeps/unix/syscalls.list: Add syncfs.
33446
00e5419f
AS
334472011-04-01 Andreas Schwab <schwab@redhat.com>
33448
33449 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33450 open_by_handle_at.
33451 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33456 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33458
748876bf
UD
334592011-04-01 Ulrich Drepper <drepper@gmail.com>
33460
658e451d
UD
33461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33468
748876bf
UD
33469 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33470 sync_file_range.c with -fexceptions.
33471 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33472 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33473 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33474 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33475 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33476 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33478 sync_file_range as cancellation point
33479 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33480 now a wrapper around __call_sync_file_range with cancellation handling.
33481 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33482 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33483 function name to __call_sync_file_range.
33484 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33485 Add call_sync_file_range.
748876bf 33486
6e63d5e1
AS
334872011-04-01 Andreas Schwab <schwab@redhat.com>
33488
33489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33490 bits/timex.h.
6e63d5e1 33491
46998f74
UD
334922011-04-01 Ulrich Drepper <drepper@gmail.com>
33493
4c1423ed
UD
33494 * iconv/iconv.h: Fix typo in comment.
33495 * io/fcntl.h: Likewise.
33496 * libio/stdio.h: Likewise.
33497 * posix/spawn.h: Likewise.
33498 * posix/unistd.h: Likewise.
33499 * stdlib/stdlib.h: Likewise.
33500 * time/time.h: Likewise.
33501 * wcsmbs/wchar.h: Likewise.
33502
158648c0
UD
33503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33504 open_by_handle): Add.
33505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33506 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33507 Augment a few comments.
33508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33510 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33513 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33514 open_by_handle.
33515
46998f74
UD
33516 * io/fcntl.h (AT_EMPTY_PATH): Define.
33517
83fe108b
UD
335182011-03-30 Ulrich Drepper <drepper@gmail.com>
33519
33520 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33521 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33522 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33523 to...
33524 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33525 * Versions.def: Add GLIBC_2.14.
33526 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33527 Export.
83fe108b 33528
bb242059
UD
335292011-03-22 Ulrich Drepper <drepper@gmail.com>
33530
33531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33532 round counter.
33533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33534
c97a1282
L
335352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33536
33537 [BZ #12597]
33538 * string/test-strncmp.c (do_page_test): New function.
33539 (check2): Likewise.
33540 (test_main): Call check2.
33541 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33542
2a115601
UD
335432011-03-20 Ulrich Drepper <drepper@gmail.com>
33544
33545 [BZ #12587]
33546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33547 Handle cache information in CPU leaf 4.
33548 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33549
8126d904
UD
335502011-03-18 Ulrich Drepper <drepper@gmail.com>
33551
042c49c6 33552 [BZ #12583]
8126d904
UD
33553 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33554 character representation.
33555 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33556
ccfe366e
RA
335572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33558
33559 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33560 END(__isnan) to END(__isnanf) to match function entry point/label
33561 EALIGN(__isnanf,...).
33562
c6e13027
JJ
335632011-03-10 Jakub Jelinek <jakub@redhat.com>
33564
33565 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33566
33f85a3f
UD
335672011-03-10 Ulrich Drepper <drepper@gmail.com>
33568
028478fa
UD
33569 [BZ #12510]
33570 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33571 copy from the symbol referenced in the relocation to initialize the
33572 used variable.
33573 Patch by Piotr Bury <pbury@goahead.com>.
33574 * elf/Makefile: Add rules to build and tst-unique3.
33575 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33576 * elf/tst-unique3.cc: New file.
33577 * elf/tst-unique3.h: New file.
33578 * elf/tst-unique3lib.cc: New file.
33579 * elf/tst-unique3lib2.cc: New file.
33580
33f85a3f
UD
33581 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33582
03592fc7
MF
335832011-03-10 Mike Frysinger <vapier@gentoo.org>
33584
33585 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33586 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33587 to _start.
03592fc7 33588
6a5ee102
UD
335892011-03-06 Ulrich Drepper <drepper@gmail.com>
33590
33591 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33592 to-be-loaded object along a path to loader is ld.so.
33593
7e4ba49c
HJ
335942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33595 Ulrich Drepper <drepper@gmail.com>
33596
33597 * sysdeps/x86_64/memset.S: After aligning destination, code
33598 branches to different locations depending on the value of
33599 misalignment, when multiarch is enabled. Fix this.
33600
336012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33602
33603 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33604 Set _x86_64_preferred_memory_instruction for AMD processsors.
33605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33606 Set bit_Prefer_SSE_for_memop for AMD processors.
33607
13a804de
UD
336082011-03-04 Ulrich Drepper <drepper@gmail.com>
33609
33610 * libio/fmemopen.c (fmemopen): Optimize a bit.
33611
9d25c392
AS
336122011-03-03 Andreas Schwab <schwab@redhat.com>
33613
33614 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33615
a5543c6a
RM
336162011-03-03 Roland McGrath <roland@redhat.com>
33617
33618 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33619
012d35f7
DM
336202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33621
7e4ba49c 33622 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33623 __bzero_ultra1 instead of __memset_ultra1.
33624
4bff6e01
AS
336252011-02-23 Andreas Schwab <schwab@redhat.com>
33626 Ulrich Drepper <drepper@gmail.com>
33627
33628 [BZ #12509]
33629 * include/link.h (struct link_map): Add l_orig_initfini.
33630 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33631 returning unsuccessfully.
33632 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33633 close of a file loaded at startup, restore the original l_initfini
33634 list.
33635 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33636 list, store the pointer.
33637 * elf/Makefile ($(objpfx)noload-mem): New rule.
33638 (noload-ENV): Define.
33639 (tests): Add $(objpfx)noload-mem.
33640 * elf/noload.c: Include <memcheck.h>.
33641 (main): Call mtrace. Close all opened handles.
33642
f2092faf
AS
336432011-02-17 Andreas Schwab <schwab@redhat.com>
33644
33645 [BZ #12454]
33646 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33647 dependencies are missing.
33648
6c8a2e88
ST
336492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33650
f2092faf 33651 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33652 Hurd needs munmap.
33653 * sysdeps/mach/hurd/ifreq.h: New file.
33654
84a42118
PB
336552011-01-27 Petr Baudis <pasky@suse.cz>
33656 Ulrich Drepper <drepper@gmail.com>
33657
071f805e 33658 [BZ 12445]#
84a42118
PB
33659 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33660 to extend_alloca().
33661 * stdio-common/bug23.c: New file.
33662 * stdio-common/Makefile (tests): Add bug23.
33663
e23fe25b
AS
336642010-09-28 Andreas Schwab <schwab@redhat.com>
33665 Ulrich Drepper <drepper@gmail.com>
33666
33667 [BZ #12489]
33668 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33669 before performing relro protection. At old place add assertion
33670 to make sure nothing changed.
33671
d3f02e10
NS
336722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33673 Glauber de Oliveira Costa <glommer@gmail.com>
33674
33675 * elf/elf.h: Add new ARM TLS relocs.
33676
d55fd7a5
RA
336772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33678
33679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33680 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33681 cast from r3.
33682 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33683 'tests' variable.
33684 * sysdeps/wordsize-64/tst-writev.c: New file.
33685
2206397e
RA
336862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33687
33688 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33689 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33690 insns in _dl_start to prevent a TOC reference before relocs are
33691 resolved.
33692
e9433893
UD
336932011-02-15 Ulrich Drepper <drepper@gmail.com>
33694
33695 [BZ #12469]
33696 * Makeconfig: Remove RANLIB definition.
33697 * Makerules: Don't use RANLIB.
33698 * aclocal.m4: Remove ranlib test.
33699 * configure.in: No need to check for ranlib.
33700 * elf/rtld-Rules: Don't use RANLIB.
33701
f75286c6
ST
337022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33703
8e31c82d
ST
33704 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33705 protection macro.
33706 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33707 inclusion protection macro.
33708
f75286c6
ST
33709 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33710 SIGRTMIN and SIGRTMAX and print information in that case only when
33711 SIGRTMIN is defined.
33712
c1d0e639
JJ
337132011-02-11 Jakub Jelinek <jakub@redhat.com>
33714
33715 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33716 arginfo fn returning -1.
33717
33718 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33719 and thousands string is zero terminated.
33720
edf9294e
AS
337212011-02-03 Andreas Schwab <schwab@redhat.com>
33722
33723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33724 sysdeps/unix/sysv/linux/bits/socket.h.
33725
2b7e92df
ST
337262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33727
edf9294e
AS
33728 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33729 (__CPU_COUNT): Remove old macros.
33730 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33731 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33732 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33733 (__sched_cpualloc, __sched_cpufree): Add declarations.
33734
a4c7ea7b
UD
337352011-02-05 Ulrich Drepper <drepper@gmail.com>
33736
33737 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33738 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33739 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33740 (readdhstai): Return value of addhstaiX call.
33741 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33742 (addgrbyX): Return value returned by cache_addgr.
33743 (readdgrbyname): Return value returned by addgrbyX.
33744 (readdgrbygid): Likewise.
33745 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33746 (addpwbyX): Return value returned by cache_addpw.
33747 (readdpwbyname): Return value returned by addhstbyX.
33748 (readdpwbyuid): Likewise.
33749 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33750 (addservbyX): Return value returned by cache_addserv.
33751 (readdservbyname): Return value returned by addservbyX:
33752 (readdservbyport): Likewise.
33753 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33754 (addhstbyX): Return value returned by cache_addhst.
33755 (readdhstbyname): Return value returned by addhstbyX.
33756 (readdhstbyaddr): Likewise.
33757 (readdhstbynamev6): Likewise.
33758 (readdhstbyaddrv6): Likewise.
33759 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33760 (readdinitgroups): Return value returned by addinitgroupsX.
33761 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33762 (prune_cache): Keep track of timeout value of re-added entries.
33763 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33764 * nscd/nscd.h: Adjust prototypes of readd* functions.
33765
a0bf67cc
RM
337662011-02-04 Roland McGrath <roland@redhat.com>
33767
33768 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33769 (nis_stats): Likewise.
33770 * nis/nis_modify.c (nis_modify): Likewise.
33771 * nis/nis_remove.c (nis_remove): Likewise.
33772 * nis/nis_add.c (nis_add): Likewise.
33773
33774 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33775
33776 * posix/fnmatch_loop.c: Add some consts.
33777
33778 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33779
435b95eb
L
337802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33781
33782 [BZ #12460]
33783 * config.make.in (config-cflags-novzeroupper): Define.
33784 * configure.in: Substitute libc_cv_cc_novzeroupper.
33785 * elf/Makefile (AVX-CFLAGS): Define.
33786 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33787 (CFLAGS-tst-auditmod4a.c): Likewise.
33788 (CFLAGS-tst-auditmod4b.c): Likewise.
33789 (CFLAGS-tst-auditmod6b.c): Likewise.
33790 (CFLAGS-tst-auditmod6c.c): Likewise.
33791 (CFLAGS-tst-auditmod7b.c): Likewise.
33792 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33793
8517b15e
UD
337942011-02-02 Ulrich Drepper <drepper@gmail.com>
33795
33796 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33797 function to the callback.
33798 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33799
10a656fe
AS
338002011-02-02 Andreas Schwab <schwab@redhat.com>
33801
33802 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33803 of errno.
33804
968dad0a
UD
338052011-01-19 Ulrich Drepper <drepper@gmail.com>
33806
9f94d2ea 33807 [BZ #11724]
968dad0a
UD
33808 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33809 of constructors.
33810 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33811 of destructors.
33812 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33813
33814 [BZ #11724]
33815 * elf/Makefile: Add rules to build and run new test.
33816 * elf/tst-initorder.c: New file.
33817 * elf/tst-initorder.exp: New file.
33818 * elf/tst-initordera1.c: New file.
33819 * elf/tst-initordera2.c: New file.
33820 * elf/tst-initordera3.c: New file.
33821 * elf/tst-initordera4.c: New file.
33822 * elf/tst-initorderb1.c: New file.
33823 * elf/tst-initorderb2.c: New file.
33824 * elf/tst-order-a1.c: New file.
33825 * elf/tst-order-a2.c: New file.
33826 * elf/tst-order-a3.c: New file.
33827 * elf/tst-order-a4.c: New file.
33828 * elf/tst-order-b1.c: New file.
33829 * elf/tst-order-b2.c: New file.
33830 * elf/tst-order-main.c: New file.
33831 New test case by George Gensure <werkt0@gmail.com>.
33832
86e92359
UD
338332010-10-01 Andreas Schwab <schwab@redhat.com>
33834
33835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33836 decoding ACE if AI_CANONIDN.
33837
5d5732b0
UD
338382011-01-18 Ulrich Drepper <drepper@gmail.com>
33839
33840 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33841
a77e8cbc
UD
338422011-01-17 Ulrich Drepper <drepper@gmail.com>
33843
6392473f
UD
33844 * version.h (RELEASE): Bump for 2.13 release.
33845 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33846
620a0529
UD
33847 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33848
18ba70a5
UD
33849 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33850 MADV_NOHUGEPAGE.
32465c3e
UD
33851 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33854 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33855 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33856 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33857
c0dafcf1
UD
33858 * posix/getconf.c: Update copyright year.
33859 * catgets/gencat.c: Likewise.
33860 * csu/version.c: Likewise.
33861 * debug/catchsegv.sh: Likewise.
33862 * debug/xtrace.sh: Likewise.
33863 * elf/ldconfig.c: Likewise.
33864 * elf/ldd.bash.in: Likewise.
33865 * elf/sprof.c (print_version): Likewise.
33866 * iconv/iconv_prog.c: Likewise.
33867 * iconv/iconvconfig.c: Likewise.
33868 * locale/programs/locale.c: Likewise.
33869 * locale/programs/localedef.c: Likewise.
33870 * malloc/memusage.sh: Likewise.
33871 * malloc/mtrace.pl: Likewise.
33872 * nscd/nscd.c (print_version): Likewise.
33873 * nss/getent.c: Likewise.
33874
a77e8cbc
UD
33875 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33876 PF_CAIF, and PF_ALG.
33877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33878
77e8bddf
AS
338792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33880
1f20b93a
AS
33881 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33882 (modules-names): Use them.
33883 (ifunc-test-modules, ifunc-pie-tests): Define.
33884 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33885 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33886 (test-extras): Likewise.
33887 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33888 $(compile-command.c).
33889 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33890 (all-built-dso): Define.
33891 (check-textrel.out, check-execstack.out): Depend on it.
33892
77e8bddf
AS
33893 * configure.in: Don't override --enable-multi-arch.
33894
bc425b33
UD
338952011-01-15 Ulrich Drepper <drepper@gmail.com>
33896
33897 [BZ #6812]
33898 * nscd/hstcache.c (tryagain): Define.
33899 (cache_addhst): Return tryagain not notfound for temporary errors.
33900 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33901 failed.
33902
794c3ad3
UD
339032011-01-14 Ulrich Drepper <drepper@gmail.com>
33904
70181fdd
UD
33905 [BZ #10563]
33906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33907 to make the syscall.
33908 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33909
794c3ad3
UD
33910 [BZ #12378]
33911 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33912 and fall back to matching as normal character if the string ends before
33913 the matching ']' is found. This is what POSIX requires.
33914 * posix/testfnm.c: Adjust test result.
33915 * posix/globtest.sh: Adjust test result. Add new test.
33916 * posix/tst-fnmatch.input: Likewise.
33917 * posix/tst-fnmatch2.c: Add new test.
33918
68dc9497
AS
339192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33920
33921 * elf/Makefile (check-execstack): Revert last change. Depend on
33922 check-execstack.h.
33923 (check-execstack.h): New target.
33924 (generated): Add check-execstack.h.
33925 * elf/check-execstack.c: Include "check-execstack.h".
33926 (main): Revert last change.
33927 (handle_file): Return zero if GNU_STACK is absent and
33928 DEFAULT_STACK_PERMS doesn't include PF_X.
33929
451f001b
UD
339302011-01-13 Ulrich Drepper <drepper@gmail.com>
33931
cfa28e56
UD
33932 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33933 in child fails because the descriptor is already closed.
8cf8ce17
UD
33934 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33935 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33936 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33937
1086d70d
UD
33938 [BZ #12397]
33939 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33940 syscall.
33941
451f001b
UD
33942 [BZ #10484]
33943 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33944 temporary buffer used to handle multi lookups locally.
a85b5cb4 33945 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33946
08769175
UD
339472011-01-12 Ulrich Drepper <drepper@gmail.com>
33948
33949 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33950 loader is ld.so.
33951
5e49c52e
UD
339522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33953
33954 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33955 alignment for SSE2.
33956
60522a5f
UD
339572011-01-12 Ulrich Drepper <drepper@gmail.com>
33958
33959 [BZ #12394]
33960 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33961 characters. When rounding increased number of integer digits recompute
33962 number of groups.
33963 * stdio-common/tst-grouping.c: New file.
33964 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33965
f257bbd7
UD
339662011-01-09 Ulrich Drepper <drepper@gmail.com>
33967
33968 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33969 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33970
33971 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33972 void.
33973 * bits/select.h: Likewise.
33974
fa9c15cb
UD
339752011-01-08 Ulrich Drepper <drepper@gmail.com>
33976
33977 * po/ja.po: Update from translation team.
33978
16c2895f
DM
339792011-01-04 David S. Miller <davem@sunset.davemloft.net>
33980
33981 [BZ #11155]
33982 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33983 implementation just like for lxstat, fxstatat, et al.
33984
2543fef2
JM
339852010-12-27 Jim Meyering <meyering@redhat.com>
33986
33987 [BZ #12348]
33988 * posix/regexec.c (build_trtable): Return failure indication upon
33989 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33990
98727dbe
UD
339912010-12-25 Ulrich Drepper <drepper@gmail.com>
33992
5bd6dc5c
UD
33993 [BZ #12201]
33994 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33995 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33996 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33998
97983464
UD
33999 [BZ #12207]
34000 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34001
98727dbe
UD
34002 [BZ #12204]
34003 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34004 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34005
4a531bb0
L
340062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34007
34008 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34009 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34010 script has SORT_BY_INIT_PRIORITY.
34011 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34012 NO_CTORS_DTORS_SECTIONS is defined.
34013 * elf/soinit.c: Likewise.
34014 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34015 NO_CTORS_DTORS_SECTIONS is defined.
34016 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34017 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34018 * sysdeps/sh/init-first.c: Likewise.
34019 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34020
07eb4b71
UD
340212010-12-24 Ulrich Drepper <drepper@gmail.com>
34022
34023 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34024 always use the slow path.
34025
30950a5f
RA
340262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34027
34028 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34029 similar rule which adds the sysdep directories to the header search in
34030 order to pick up the correct platform stackinfo.h.
34031 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34032 perform test if it is, otherwise return successfully without testing.
34033 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34034 DEFAULT_STACK_PERMS define in stackinfo.h.
34035 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34036 defined in stackinfo.h.
34037 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34038 DEFAULT_STACK_PERMS defined in stackinfo.h.
34039 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34040 * sysdeps/ia64/stackinfo.h: Likewise.
34041 * sysdeps/s390/stackinfo.h: Likewise.
34042 * sysdeps/sh/stackinfo.h: Likewise.
34043 * sysdeps/sparc/stackinfo.h: Likewise.
34044 * sysdeps/x86_64/stackinfo.h: Likewise.
34045 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34046 PF_X for powerpc64. Retain PF_X for powerpc32.
34047
db753e2c
UD
340482010-12-19 Ulrich Drepper <drepper@gmail.com>
34049
14b697f7
UD
34050 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34051 accurately.
db753e2c
UD
34052 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34053 GETDENTS_64BIT_ALIGNED.
34054
28300719
UD
340552010-12-14 Ulrich Drepper <dreper@gmail.com>
34056
14b697f7 34057 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34058
4f197237
AS
340592010-12-10 Andreas Schwab <schwab@redhat.com>
34060
dbb0472f
AS
34061 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34062 _GNU_SOURCE.
34063
4f197237
AS
34064 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34065 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34066 Remove __restrict.
34067 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34068 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34069
fb88ac72
UD
340702010-12-09 Ulrich Drepper <drepper@gmail.com>
34071
34072 [BZ #11655]
34073 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34074 are initialized.
34075
42acbb92
JJ
340762010-12-09 Jakub Jelinek <jakub@redhat.com>
34077
34078 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34079
c038d98d
UD
340802010-12-03 Ulrich Drepper <drepper@gmail.com>
34081
34082 * po/it.po: Update from translation team.
34083
3a4a2499
L
340842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34085
34086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34087 unused codes.
34088
1e24cf6e
UD
340892010-11-30 Ulrich Drepper <drepper@gmail.com>
34090
34091 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34092
a7690819
AS
340932010-11-24 Andreas Schwab <schwab@redhat.com>
34094
34095 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34096 specially.
34097 (gaih_getanswer_slice): Likewise.
34098
3bf8d1b1
JJ
340992010-10-20 Jakub Jelinek <jakub@redhat.com>
34100
34101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34102
6db52fbb
PB
341032010-05-31 Petr Baudis <pasky@suse.cz>
34104
34105 [BZ #11149]
34106 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34107 silently even in the chroot mode.
34108
eaca7569
UD
341092010-11-22 Ulrich Drepper <drepper@gmail.com>
34110
34111 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34112 last patch a bit. Pretty printing
34113
3056dcdb
UD
341142010-05-31 Petr Baudis <pasky@suse.cz>
34115
34116 [BZ #10085]
34117 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34118 initialization of skip_initgroups_dyn.
34119
cf7c9078
UD
341202010-11-19 Ulrich Drepper <drepper@gmail.com>
34121
34122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34124
a1fb5e3e
UD
341252010-11-16 Ulrich Drepper <drepper@gmail.com>
34126
34127 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34128
3540d66b
AS
341292010-11-11 Andreas Schwab <schwab@redhat.com>
34130
34131 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34132 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34133 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34134 ($(objpfx)tst-fnmatch-mem): New rule.
34135 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34136 * posix/tst-fnmatch.c (main): Call mtrace.
34137
13b69574
L
341382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34139
34140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34141 Support Intel processor model 6 and model 0x2c.
34142
da93d214
LM
341432010-11-10 Luis Machado <luisgpm@br.ibm.com>
34144
34145 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34146 signed comparison.
34147
8ca52c6e
L
341482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34149
34150 [BZ #12205]
34151 * string/test-strncasecmp.c (check_result): New function.
34152 (do_one_test): Use it.
34153 (check1): New function.
34154 (test_main): Use it.
34155 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34156 Support strcasecmp and strncasecmp.
34157
69da074d
UD
341582010-11-08 Ulrich Drepper <drepper@gmail.com>
34159
34160 [BZ #12194]
34161 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34163
ff02d528
L
341642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34165
34166 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34167 IFUNC support.
34168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34169 memset-x86-64.
34170 * sysdeps/x86_64/multiarch/bzero.S: New file.
34171 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34172 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34173 * sysdeps/x86_64/multiarch/memset.S: New file.
34174 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34176 Set bit_Prefer_SSE_for_memop for Intel processors.
34177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34178 Define.
34179 (index_Prefer_SSE_for_memop): Define.
34180 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34181
344d0b54
LM
341822010-11-04 Luis Machado <luisgpm@br.ibm.com>
34183
34184 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34186
c0dde15b
UD
341872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34188
34189 [BZ #12191]
34190 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34191 (__x86_64_raw_data_cache_size_half): Likewise.
34192 (__x86_64_raw_shared_cache_size): Likewise.
34193 (__x86_64_raw_shared_cache_size_half): Likewise.
34194
34195 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34196 (__x86_64_raw_data_cache_size_half): Likewise.
34197 (__x86_64_raw_shared_cache_size): Likewise.
34198 (__x86_64_raw_shared_cache_size_half): Likewise.
34199 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34200 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34201 and __x86_64_raw_shared_cache_size_half. Round
34202 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34203 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34204 to multiple of 256 bytes.
34205
0e516e0e
MS
342062010-11-03 Ulrich Drepper <drepper@gmail.com>
34207
34208 [BZ #12167]
34209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34210 of inacessible symlinks. Verify result of symlink before returning it.
34211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34212 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34213
0e012e87
ER
342142010-10-28 Erich Ritz <erichritz@gmail.com>
34215
34216 * math/math.h (isinf): Fix typo in comment.
34217
de0ff7bc
UD
342182010-11-01 Ulrich Drepper <drepper@gmail.com>
34219
34220 * po/da.po: Update from translation team.
34221
fa41c84d
UD
342222010-10-26 Ulrich Drepper <drepper@gmail.com>
34223
34224 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34225 is added to the list.
34226
f0967738
AK
342272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34228 Ulrich Drepper <drepper@gmail.com>
34229
34230 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34231 the global list here. Move code to...
34232 (_dl_add_to_namespace_list): ...here. New function.
34233 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34234 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34235 * elf/dl-load.c (lose): Don't remove the element from the list.
34236 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34237 (_dl_map_object): Likewise.
34238
342392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34240
34241 [BZ #12159]
34242 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34243 into all bytes of SSE register.
34244 Patch by Richard Li <richardpku@gmail.com>.
34245
f0967738 342462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34247
34248 [BZ #12140]
34249 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34250 perturbing.
34251
d0b9e94f
MB
342522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34253
34254 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34255 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34259 submachine.
34260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34261
8e9f92e9
AS
342622010-10-22 Andreas Schwab <schwab@redhat.com>
34263
34264 * include/dlfcn.h (__RTLD_SECURE): Define.
34265 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34266 mode & __RTLD_SECURE instead.
34267 (open_path): Rename preloaded parameter to secure.
34268 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34269 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34270 * elf/dl-deps.c (openaux): Likewise.
34271 * elf/rtld.c (struct map_args): Remove is_preloaded.
34272 (map_doit): Don't use it.
34273 (dl_main): Likewise.
34274 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34275 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34276
bc96fbda
AS
342772010-09-09 Andreas Schwab <schwab@redhat.com>
34278
34279 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34280 (sysd-rules-targets): Remove duplicates.
34281 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34282 rtld-%.$o dependency.
34283
22cd1c9b
AS
342842010-10-18 Andreas Schwab <schwab@redhat.com>
34285
34286 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34287 _dl_map_object do it.
34288
18edac48
UD
342892010-10-19 Ulrich Drepper <drepper@gmail.com>
34290
34291 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34292 fast fma builtins, define the macros in the C99 standard.
34293 (FP_FAST_FMAF): Likewise.
34294 (FP_FAST_FMAL): Likewise.
34295 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34296
34297 * bits/mathdef.h: Update copyright year.
34298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34299
d2050124
MM
343002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34301
34302 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34303 builtins, define the macros in the C99 standard.
34304 (FP_FAST_FMAF): Likewise.
34305 (FP_FAST_FMAL): Likewise.
34306 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34307 multiply/add.
34308 (FP_FAST_FMAF): Likewise.
34309
475facd1
JJ
343102010-10-15 Jakub Jelinek <jakub@redhat.com>
34311
34312 [BZ #3268]
34313 * math/libm-test.inc (fma_test): Some new testcases.
34314 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34316 y and infinite z. Do multiplication by C already in long double.
34317 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34319 y and infinite z. Do bitwise or of inexact bit into u.d.
34320 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34321 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34322 * sysdeps/i386/fpu/s_fma.S: Removed.
34323 * sysdeps/i386/fpu/s_fmal.S: Removed.
34324
7c08a05c
JJ
343252010-10-16 Jakub Jelinek <jakub@redhat.com>
34326
34327 [BZ #3268]
34328 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34330 computation is not scheduled after fetestexcept. Fix value
34331 of minimum denormal long double.
34332
f3f7372d
JJ
343332010-10-14 Jakub Jelinek <jakub@redhat.com>
34334
34335 [BZ #3268]
34336 * math/libm-test.inc (fma_test): Add some more tests.
34337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34338 correctly.
34339
14d43591
AS
343402010-10-15 Andreas Schwab <schwab@redhat.com>
34341
34342 * scripts/data/localplt-s390-linux-gnu.data: New file.
34343 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34344
5e908464
JJ
343452010-10-13 Jakub Jelinek <jakub@redhat.com>
34346
34347 [BZ #3268]
34348 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34349 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34350 instead of dbl-64.
34351 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34352 inlines.
34353 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34355 if one of x and y is very large and the other is subnormal.
34356 * sysdeps/s390/fpu/s_fmaf.c: New file.
34357 * sysdeps/s390/fpu/s_fma.c: New file.
34358 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34359 * sysdeps/powerpc/fpu/s_fma.S: New file.
34360 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34361 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34362 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34363
343642010-10-12 Jakub Jelinek <jakub@redhat.com>
34365
34366 [BZ #3268]
34367 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34368 fma tests.
34369 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34370 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34371 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34372 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34373 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34374 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34375 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34376
b833d51f
UD
343772010-10-12 Ulrich Drepper <drepper@redhat.com>
34378
34379 [BZ #12078]
34380 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34381 * posix/bug-regex31.input: Add test case.
34382
1751705d
UD
343832010-10-11 Ulrich Drepper <drepper@gmail.com>
34384
e9b9cbf5
UD
34385 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34386 * posix/bug-regex31.input: New file.
34387
34388 [BZ #12078]
34389 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34390 (parse_sub_exp): Fix last change, use postorder.
34391
ef06edbe
UD
34392 * posix/bug-regex31.c: New file.
34393 * posix/Makefile: Add rules to build and run bug-regex31.
34394
a129c80d
UD
34395 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34396
34397 [BZ #12078]
34398 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34399
b76b818e
UD
34400 [BZ #12108]
34401 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34402 to have entries in sys_siglist.
34403
1751705d
UD
34404 [BZ #12093]
34405 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34406 be NULL.
34407
9ff8d36f
JJ
344082010-10-07 Jakub Jelinek <jakub@redhat.com>
34409
34410 [BZ #3268]
34411 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34412 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34413 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34414 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34415 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34416 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34417 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34418 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34419 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34420 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34421 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34422 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34423 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34424 * math/ftestexcept.c (fetestexcept): Likewise.
34425 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34426 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34427 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34428 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34429 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34430 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34432
af325969
UD
344332010-10-11 Ulrich Drepper <drepper@gmail.com>
34434
c579b202 34435 [BZ #12107]
af325969
UD
34436 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34437 newline.
34438
67a67b95
UD
344392010-10-06 Ulrich Drepper <drepper@gmail.com>
34440
34441 * string/bug-strstr1.c: New file.
34442 * string/Makefile: Add rules to build and run bug-strstr1.
34443
5fb308bc
EB
344442010-10-05 Eric Blake <eblake@redhat.com>
34445
34446 [BZ #12092]
34447 * string/str-two-way.h (two_way_long_needle): Always clear memory
34448 when skipping input due to the shift table.
34449
45db99c7
UD
344502010-10-03 Ulrich Drepper <drepper@gmail.com>
34451
3b111893
UD
34452 [BZ #12005]
34453 * malloc/mcheck.c: Handle large requests.
34454
45db99c7
UD
34455 [BZ #12077]
34456 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34457 for strncmp and strncasecmp.
34458 * string/stratcliff.c: Add tests for strcmp and strncmp.
34459 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34460
cf7a1eb8
NI
344612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34462
34463 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34464 __set_fpscr.
34465
6484ba5e
AJ
344662010-09-30 Andreas Jaeger <aj@suse.de>
34467
34468 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34469 (CGROUP_SUPER_MAGIC): Define.
34470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34471 Handle btrfs and cgroup file systems.
34472 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34473 Likewise.
34474
91c42559
LM
344752010-09-27 Luis Machado <luisgpm@br.ibm.com>
34476
34477 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34478 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34479
87a97932
AK
344802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34481
34482 [BZ #12067]
34483 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34484 trying to locate the ELF header.
34485
c21cc9bc
AS
344862010-09-27 Andreas Schwab <schwab@redhat.com>
34487
34488 [BZ #11611]
34489 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34490 Mask out sign-bit copies when constructing f_fsid.
34491
315970f6
PB
344922010-09-24 Petr Baudis <pasky@suse.cz>
34493
34494 * debug/stack_chk_fail_local.c: Add missing licence exception.
34495 * debug/warning-nop.c: Likewise.
34496
1ac7a2c7
JM
344972010-09-15 Joseph Myers <joseph@codesourcery.com>
34498
34499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34500 implementing getdents64 using getdents syscall, set d_type if
34501 __ASSUME_GETDENTS32_D_TYPE.
34502
56801c50
AS
345032010-09-16 Andreas Schwab <schwab@redhat.com>
34504
34505 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34506 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34507
dda51327
UD
345082010-09-21 Ulrich Drepper <drepper@redhat.com>
34509
34510 [BZ #12037]
34511 * posix/unistd.h: Undo change of feature selection for ftruncate from
34512 2010-01-11.
34513
8ffcee4a
UD
345142010-09-20 Ulrich Drepper <drepper@redhat.com>
34515
a545ecd9 34516 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34517 detection.
34518
e24f0a8b
AS
345192010-09-20 Andreas Schwab <schwab@redhat.com>
34520
34521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34522 fanotify_mark.
34523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34524
7291c56f
AS
345252010-09-14 Andreas Schwab <schwab@redhat.com>
34526
34527 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34528 variables after CHECK_SP call.
34529 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34530
bc5fb037
AS
345312010-09-13 Andreas Schwab <schwab@redhat.com>
34532 Ulrich Drepper <drepper@redhat.com>
34533
34534 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34535 re-relocationg ld.so.
34536 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34537 _dl_init_paths call.
34538 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34539 here anymore.
34540
e66e7419
UD
345412010-09-14 Ulrich Drepper <drepper@redhat.com>
34542
34543 * resolv/res_init.c (__res_vinit): Count the default server we added.
34544
c044aa75
CLT
345452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34546 Ulrich Drepper <drepper@redhat.com>
34547
34548 [BZ #11968]
34549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34550 (____longjmp_chk): Use %ebx for saving value across system call.
34551 Add unwind info.
34552
32cf4069
AS
345532010-09-06 Andreas Schwab <schwab@redhat.com>
34554
34555 * manual/Makefile: Don't mix pattern rules with normal rules.
34556
817328ee
AS
345572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34558
34559 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34560 operation.
34561 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34562 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34563 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34564 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34566 Likewise.
34567
29fddf61
UD
345682010-09-04 Ulrich Drepper <drepper@redhat.com>
34569
34570 [BZ #11979]
34571 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34572 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34573
0959ffc9
UD
345742010-09-02 Ulrich Drepper <drepper@redhat.com>
34575
34576 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34577 * sysdeps/x86_64/addmul_1.S: Likewise.
34578 * sysdeps/x86_64/lshift.S: Likewise.
34579 * sysdeps/x86_64/mul_1.S: Likewise.
34580 * sysdeps/x86_64/rshift.S: Likewise.
34581 * sysdeps/x86_64/sub_n.S: Likewise.
34582 * sysdeps/x86_64/submul_1.S: Likewise.
34583
ece29840
ST
345842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34585
0959ffc9
UD
34586 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34587 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34588 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34589 * bits/sched.h [__need_schedparam]
ece29840 34590 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34591 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34592 (__defined_schedparam): Define to 1.
ece29840
ST
34593 (__sched_param): New structure, identical to sched_param.
34594 (__need_schedparam): Undefine.
34595
e53a31fe
MF
345962010-08-31 Mike Frysinger <vapier@gentoo.org>
34597
fdc0c10d
MF
34598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34599 (epoll_create1): Declare.
34600
e53a31fe
MF
34601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34602
a726d796
AS
346032010-08-31 Andreas Schwab <schwab@redhat.com>
34604
34605 [BZ #7066]
34606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34607 shifting retval into place.
34608
2f3e3dc7
UD
346092010-09-01 Ulrich Drepper <drepper@redhat.com>
34610
f2933da9
UD
34611 * nis/rpcsvc/nis.h: Update copyright notice.
34612 * nis/rpcsvc/nis.x: Likewise.
34613 * nis/rpcsvc/nis_callback.h: Likewise.
34614 * nis/rpcsvc/nis_callback.x: Likewise.
34615 * nis/rpcsvc/nis_object.x: Likewise.
34616 * nis/rpcsvc/nis_tags.h: Likewise.
34617 * nis/rpcsvc/yp.h: Likewise.
34618 * nis/rpcsvc/yp.x: Likewise.
34619 * nis/rpcsvc/ypupd.h: Likewise.
34620 * nis/yp_xdr.c: Likewise.
34621 * nis/ypupdate_xdr.c: Likewise.
34622
2f3e3dc7
UD
34623 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34624 mainly the body of pmap_getport. Add parameters to specify timeouts.
34625 (pmap_getport): Use __libc_rpc_getport.
34626 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34627 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34628 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34629
f3dcc2f9
AS
346302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34631
34632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34633 fanotify_mark.
34634
6d34eb5b
RM
346352010-08-27 Roland McGrath <roland@redhat.com>
34636
34637 * sysdeps/i386/i686/multiarch/Makefile
34638 (CFLAGS-varshift.c): New variable.
34639
9ea3de11
UD
346402010-08-27 Ulrich Drepper <drepper@redhat.com>
34641
c96d23fc
UD
34642 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34643 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34644
9ea3de11
UD
34645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34646
34647 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34648
623aac7f
L
346492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34650
34651 * sysdeps/x86_64/strlen.S: Unroll the loop.
34652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34653 strlen-sse2 strlen-sse2-bsf.
34654 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34655 __strlen_no_bsf if bit_Slow_BSF is set.
34656 (__strlen_sse42): Removed.
34657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34658 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34659
8b2b7715
RM
346602010-08-25 Roland McGrath <roland@redhat.com>
34661
34662 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34663 * sysdeps/x86_64/multiarch/varshift.c: New file.
34664 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34665 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34666 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34667 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34668
e73015f2
L
346692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34670
34671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34672 strlen-sse2 strlen-sse2-bsf.
34673 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34674 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34675 (__strlen_sse2): Removed.
34676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34679 bit_Slow_BSF for Atom.
34680 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34681 (index_Slow_BSF): Define.
34682 (HAS_SLOW_BSF): Define.
34683
df24a73e
UD
346842010-08-25 Ulrich Drepper <drepper@redhat.com>
34685
34686 [BZ #10851]
34687 * resolv/res_init.c (__res_vinit): When no server address at all
34688 is given default to loopback.
34689
f2ac4868
RM
346902010-08-24 Roland McGrath <roland@redhat.com>
34691
09055553
RM
34692 * configure.in: Remove config-name.h generation.
34693 * configure: Regenerated.
34694 * config-name.in: File removed.
34695 * scripts/config-uname.sh: New file.
34696 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34697 ($(objdir)config-name.h): New target.
34698
f2ac4868
RM
34699 * sunrpc/rpc_parse.h: Avoid nested comment.
34700
73f27d5e
RH
347012010-08-24 Richard Henderson <rth@redhat.com>
34702 Ulrich Drepper <drepper@redhat.com>
34703 H.J. Lu <hongjiu.lu@intel.com>
34704
34705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34707 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34708 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34709 _mm_alignr_epi8 with _mm_loadu_si128.
34710 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34711 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34712 (__m128i_shift_right): Removed.
34713 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34714 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34715 * sysdeps/x86_64/multiarch/varshift.h: New file.
34716 * sysdeps/x86_64/multiarch/varshift.S: New file.
34717
84b9230c
MF
347182010-08-21 Mike Frysinger <vapier@gentoo.org>
34719
34720 * configure.in: Move assembler checks to before sysdep dir checking.
34721
9bbd0ddc
PB
347222010-08-20 Petr Baudis <pasky@suse.cz>
34723
34724 * LICENSES: Sync the sunrpc license.
34725
9da4bb31
UD
347262010-08-19 Ulrich Drepper <drepper@redhat.com>
34727
a7ab6ec8
UD
34728 * sunrpc/auth_des.c: Update copyright notice once again.
34729 * sunrpc/auth_none.c: Likewise.
34730 * sunrpc/auth_unix.c: Likewise.
34731 * sunrpc/authdes_prot.c: Likewise.
34732 * sunrpc/authuxprot.c: Likewise.
34733 * sunrpc/bindrsvprt.c: Likewise.
34734 * sunrpc/clnt_gen.c: Likewise.
34735 * sunrpc/clnt_perr.c: Likewise.
34736 * sunrpc/clnt_raw.c: Likewise.
34737 * sunrpc/clnt_simp.c: Likewise.
34738 * sunrpc/clnt_tcp.c: Likewise.
34739 * sunrpc/clnt_udp.c: Likewise.
34740 * sunrpc/clnt_unix.c: Likewise.
34741 * sunrpc/des_crypt.c: Likewise.
34742 * sunrpc/des_soft.c: Likewise.
34743 * sunrpc/get_myaddr.c: Likewise.
34744 * sunrpc/getrpcport.c: Likewise.
34745 * sunrpc/key_call.c: Likewise.
34746 * sunrpc/key_prot.c: Likewise.
34747 * sunrpc/openchild.c: Likewise.
34748 * sunrpc/pm_getmaps.c: Likewise.
34749 * sunrpc/pm_getport.c: Likewise.
34750 * sunrpc/pmap_clnt.c: Likewise.
34751 * sunrpc/pmap_prot.c: Likewise.
34752 * sunrpc/pmap_prot2.c: Likewise.
34753 * sunrpc/pmap_rmt.c: Likewise.
34754 * sunrpc/rpc/auth.h: Likewise.
34755 * sunrpc/rpc/auth_unix.h: Likewise.
34756 * sunrpc/rpc/clnt.h: Likewise.
34757 * sunrpc/rpc/des_crypt.h: Likewise.
34758 * sunrpc/rpc/key_prot.h: Likewise.
34759 * sunrpc/rpc/netdb.h: Likewise.
34760 * sunrpc/rpc/pmap_clnt.h: Likewise.
34761 * sunrpc/rpc/pmap_prot.h: Likewise.
34762 * sunrpc/rpc/pmap_rmt.h: Likewise.
34763 * sunrpc/rpc/rpc.h: Likewise.
34764 * sunrpc/rpc/rpc_des.h: Likewise.
34765 * sunrpc/rpc/rpc_msg.h: Likewise.
34766 * sunrpc/rpc/svc.h: Likewise.
34767 * sunrpc/rpc/svc_auth.h: Likewise.
34768 * sunrpc/rpc/types.h: Likewise.
34769 * sunrpc/rpc/xdr.h: Likewise.
34770 * sunrpc/rpc_clntout.c: Likewise.
34771 * sunrpc/rpc_cmsg.c: Likewise.
34772 * sunrpc/rpc_common.c: Likewise.
34773 * sunrpc/rpc_cout.c: Likewise.
34774 * sunrpc/rpc_dtable.c: Likewise.
34775 * sunrpc/rpc_hout.c: Likewise.
34776 * sunrpc/rpc_main.c: Likewise.
34777 * sunrpc/rpc_parse.c: Likewise.
34778 * sunrpc/rpc_parse.h: Likewise.
34779 * sunrpc/rpc_prot.c: Likewise.
34780 * sunrpc/rpc_sample.c: Likewise.
34781 * sunrpc/rpc_scan.c: Likewise.
34782 * sunrpc/rpc_scan.h: Likewise.
34783 * sunrpc/rpc_svcout.c: Likewise.
34784 * sunrpc/rpc_tblout.c: Likewise.
34785 * sunrpc/rpc_util.c: Likewise.
34786 * sunrpc/rpc_util.h: Likewise.
34787 * sunrpc/rpcinfo.c: Likewise.
34788 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34789 * sunrpc/rpcsvc/key_prot.x: Likewise.
34790 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34791 * sunrpc/rpcsvc/mount.x: Likewise.
34792 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34793 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34794 * sunrpc/rpcsvc/rex.x: Likewise.
34795 * sunrpc/rpcsvc/rstat.x: Likewise.
34796 * sunrpc/rpcsvc/rusers.x: Likewise.
34797 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34798 * sunrpc/rpcsvc/spray.x: Likewise.
34799 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34800 * sunrpc/rtime.c: Likewise.
34801 * sunrpc/svc.c: Likewise.
34802 * sunrpc/svc_auth.c: Likewise.
34803 * sunrpc/svc_authux.c: Likewise.
34804 * sunrpc/svc_raw.c: Likewise.
34805 * sunrpc/svc_run.c: Likewise.
34806 * sunrpc/svc_simple.c: Likewise.
34807 * sunrpc/svc_tcp.c: Likewise.
34808 * sunrpc/svc_udp.c: Likewise.
34809 * sunrpc/svc_unix.c: Likewise.
34810 * sunrpc/svcauth_des.c: Likewise.
34811 * sunrpc/xcrypt.c: Likewise.
34812 * sunrpc/xdr.c: Likewise.
34813 * sunrpc/xdr_array.c: Likewise.
34814 * sunrpc/xdr_float.c: Likewise.
34815 * sunrpc/xdr_mem.c: Likewise.
34816 * sunrpc/xdr_rec.c: Likewise.
34817 * sunrpc/xdr_ref.c: Likewise.
34818 * sunrpc/xdr_sizeof.c: Likewise.
34819 * sunrpc/xdr_stdio.c: Likewise.
34820
9da4bb31
UD
34821 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34822 handling.
34823
bdaa77bc
AS
348242010-08-19 Andreas Schwab <schwab@redhat.com>
34825
34826 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34827
fe2f79db
LM
348282010-08-19 Luis Machado <luisgpm@br.ibm.com>
34829
34830 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34831 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34832 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34833 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34834 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34835 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34836 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34837 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34838 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34840 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34841 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34842 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34843 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34844
b9b42ee0
AB
348452010-07-26 Anton Blanchard <anton@samba.org>
34846
34847 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34848 * malloc/arena.c (heap_trim): Likewise.
34849
1c06ba31
UD
348502010-08-16 Ulrich Drepper <drepper@redhat.com>
34851
34852 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34853 here. Not...
34854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34855 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34856
f8392f40
L
348572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34858
34859 * sysdeps/i386/elf/Makefile: New file.
34860
3162f12e
AS
348612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34862
34863 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34864 from fanotify_init.
34865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34867
28c90b2c
UD
348682010-08-15 Ulrich Drepper <drepper@redhat.com>
34869
34870 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34871 of strncasecmp_l.
1feccb6c 34872 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34873
ca6bb004
UD
348742010-08-14 Ulrich Drepper <drepper@redhat.com>
34875
e9f82e0d
UD
34876 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34877 strncase_l-nonascii.
34878 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34879 Add strncase_l-ssse3.
34880 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34881 * sysdeps/x86_64/strcmp.S: Likewise.
34882 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34883 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34884 * sysdeps/x86_64/strncase.S: New file.
34885 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34886 * sysdeps/x86_64/strncase_l.S: New file.
34887 * string/Makefile (strop-tests): Add strncasecmp.
34888 * string/test-strncasecmp.c: New file.
34889
34890 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34891 warning.
34892
ca6bb004
UD
34893 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34895
052fa7b3
AS
348962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34897
34898 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34899
962dba78
UD
349002010-08-12 Ulrich Drepper <drepper@redhat.com>
34901
34902 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34903 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34905
bebff237
AM
349062010-05-01 Alan Modra <amodra@gmail.com>
34907
34908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34909 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34910 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34911 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34912 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34913 tidying. Don't tail-call __sigjmp_save for static lib.
34914 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34915 save location.
34916 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34917 (CALL_MCOUNT): Add eh info, and nop after bl.
34918 (TAIL_CALL_SYSCALL_ERROR): New macro.
34919 (PSEUDO_RET): Use it.
34920 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34921 Correct save location of integer regs and cr.
34922 (_dl_profile_resolve): Correct cr save location. Delete nops
34923 after bl when SHARED. Reduce cfi size a little by better
34924 placement of cfi directives.
34925 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34926 make a stack frame. Instead use parm save area as a temp.
34927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34928 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34930 Don't make a stack frame for parent, use parm save area.
34931 Increase child stack frame to 112 bytes. Don't save unused reg,
34932 and adjust reg usage. Set up cfi on error recovery and
34933 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34935 (__makecontext): Add dummy nop after jump to exit.
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34937 Use correct parm save area and cr save, reduce stack frame.
34938 Correct cfi for possible PSEUDO_RET frame setup.
34939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34940 Branch to local label emitted by PSEUDO_RET rather than
34941 __syscall_error.
34942
02637374
AS
349432010-08-12 Andreas Schwab <schwab@redhat.com>
34944
34945 [BZ #11904]
34946 * locale/programs/locale.c (print_assignment): New function.
34947 (show_locale_vars): Use it.
34948
c3e2f19b
UD
349492010-08-11 Ulrich Drepper <drepper@redhat.com>
34950
3cdaa6ad
UD
34951 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34952 field.
34953 (struct statfs64): Likewise.
34954 (_STATFS_F_FLAGS): Define.
34955 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34957 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34958 (ST_VALID): Define locally.
34959 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34960 __statvfs_getflags, use the provided value.
34961 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34962 __ASSUME_STATFS_F_FLAGS.
34963
754f7da3
UD
34964 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34965
10b3bedc
UD
34966 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34967 Add sys/fanotify.h.
34968 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34969 fanotify_mask for GLIBC_2.13.
34970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34971 fanotify_init and fanotify_mark.
34972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34973 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34974
c08fb0d7
UD
34975 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34976 Add prlimit.
34977 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34978 prlimit64 for GLIBC_2.13.
34979 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34980 prlimit64.
34981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34982 syscall.
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34984 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34985 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34986 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34988 add prlimit alias.
34989 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34990
15bac72b
UD
34991 [BZ #11903]
34992 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34993 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34994
c3e2f19b
UD
34995 * nss/Makefile: Add rules to build and run tst-nss-test1.
34996 * shlib-versions: Add entry for libnss_test1.
34997 * nss/nss_test1.c: New file.
34998 * nss/tst-nss-test1.c: New file.
34999
35000 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35001 (__nss_configure_lookup): Set appropriate entry in
35002 __nss_configure_lookup to true.
35003 * nss/nsswitch.h: Define enum with indeces of databases in
35004 databases and __nss_database_custom arrays. Declare
35005 __nss_database_custom.
35006 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35007 to avoid using nscd when custom rules are installed.
35008 * nss/getXXbyYY_r.c: Likewise.
35009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35010
35011 * nss/nss_files/files-parse.c: Whitespace fixes.
35012
f15ce4d8
UD
350132010-08-09 Ulrich Drepper <drepper@redhat.com>
35014
35015 [BZ #11883]
35016 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35017 * posix/fnmatch_loop.c: Likewise.
35018
d22e4cc9
AK
350192010-07-17 Andi Kleen <ak@linux.intel.com>
35020
35021 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35022 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35023 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35024 * Versions.def [GLIBC_2.13]: Add.
35025
805bc17d
UD
350262010-08-06 Ulrich Drepper <drepper@redhat.com>
35027
35028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35029 Also fail if tpwd after pwuid call is NULL.
35030
5a42321d
ST
350312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35032
35033 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35034 when converting to ms.
35035
fd3ebeda
ST
350362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35037
35038 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35039 EOPNOTSUPP errors with ENOTTY.
35040 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35041 EOPNOTSUPP errors with ENOTTY.
35042
73507d3a
UD
350432010-07-31 Ulrich Drepper <drepper@redhat.com>
35044
35045 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35046 Add strcasecmp_l-ssse3.
35047 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35048 strcasecmp.
35049 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35052
fe36dd02
UD
350532010-07-30 Ulrich Drepper <drepper@redhat.com>
35054
66f6765a
UD
35055 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35056
42e08a54
UD
35057 * string/Makefile (strop-tests): Add strcasecmp.
35058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35059 strcasecmp_l-nonascii.
35060 (gen-as-const-headers): Add locale-defines.sym.
35061 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35062 * sysdeps/x86_64/strcasecmp.S: New file.
35063 * sysdeps/x86_64/strcasecmp_l.S: New file.
35064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35065 * sysdeps/x86_64/locale-defines.sym: New file.
35066 * string/test-strcasecmp.c: New file.
35067
fe36dd02
UD
35068 * string/test-strcasestr.c: Test both ends of the range of characters.
35069 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35070
48cbc0d6
RM
350712010-07-29 Roland McGrath <roland@redhat.com>
35072
76e6d6bc 35073 [BZ #11856]
48cbc0d6
RM
35074 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35075
880113d9
UD
350762010-07-27 Ulrich Drepper <drepper@redhat.com>
35077
35078 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35079 for ld.so.
35080
deb9cabb
AS
350812010-07-27 Andreas Schwab <schwab@redhat.com>
35082
35083 * manual/memory.texi (Malloc Tunable Parameters): Document
35084 M_PERTURB.
35085
1c7570ff
RM
350862010-07-26 Roland McGrath <roland@redhat.com>
35087
35088 [BZ #11840]
35089 * configure.in (-fgnu89-inline check): Set and substitute
35090 gnu89_inline, not libc_cv_gnu89_inline.
35091 * configure: Regenerated.
35092 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35093
24fb0f88
UD
350942010-07-26 Ulrich Drepper <drepper@redhat.com>
35095
35096 * string/test-strnlen.c: New file.
35097 * string/Makefile (strop-tests): Add strnlen.
35098 * string/tester.c (test_strnlen): Add a few more test cases.
35099 * string/tst-strlen.c: Better error reporting.
35100
35101 * sysdeps/x86_64/strnlen.S: New file.
35102
8e96b93a
UD
351032010-07-24 Ulrich Drepper <drepper@redhat.com>
35104
35105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35106 lower-latency instructions.
35107
dbc676d4
UD
351082010-07-23 Ulrich Drepper <drepper@redhat.com>
35109
35110 * string/test-strcasestr.c: New file.
35111 * string/test-strstr.c: New file.
35112 * string/Makefile (strop-tests): Add strstr and strcasestr.
35113 * string/str-two-way.h: Don't undefine MAX.
35114 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35115
f6a31e0e
AS
351162010-07-21 Andreas Schwab <schwab@redhat.com>
35117
35118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35119 strcasestr-nonascii.
35120 (CFLAGS-strcasestr-nonascii.c): Define.
35121 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35123 Remove unused attribute.
35124
5dbc3b6c
RM
351252010-07-20 Roland McGrath <roland@redhat.com>
35126
35127 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35128 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35129 ld.so.cache was broken. With it, there is no way to disable dsocaps
35130 like LD_HWCAP_MASK can disable hwcaps.
35131
23d101d8
EPM
351322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35133
35134 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35135
cc9f2e47
UD
351362010-07-16 Ulrich Drepper <drepper@redhat.com>
35137
35138 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35139 call in strcasestr.
35140 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35141 __strcasestr_sse42_nonascii.
35142 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35143 strcasestr-nonascii.c.
35144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35145
77c1b069
LM
351462010-06-15 Luis Machado <luisgpm@br.ibm.com>
35147
35148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35152
440566c3
UD
351532010-07-09 Ulrich Drepper <drepper@redhat.com>
35154
35155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35156 fcntl.
35157
5be9d05d
AS
351582010-07-06 Andreas Schwab <schwab@redhat.com>
35159
c30b7ee2 35160 [BZ #11577]
5be9d05d
AS
35161 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35162 dl_signal_cerror.
35163
8a492a67
UD
351642010-07-06 Ulrich Drepper <drepper@redhat.com>
35165
35166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35167 _PC_PIPE_BUF using F_GETPIPE_SZ.
35168
713df3d5
RM
351692010-07-05 Roland McGrath <roland@redhat.com>
35170
35171 * manual/arith.texi (Rounding Functions): Fix rint description
35172 implicit in round description.
35173
702e8f14
UD
351742010-07-02 Ulrich Drepper <drepper@redhat.com>
35175
35176 * elf/Makefile: Fix linking for a few tests to make recent linker
35177 happy.
35178
52ed8be9
AS
351792010-06-30 Andreas Schwab <schwab@redhat.com>
35180
35181 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35182 $(common-objpfx)libc_nonshared.a.
35183
f47c9a11
LM
351842010-06-21 Luis Machado <luisgpm@br.ibm.com>
35185
35186 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35187 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35188 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35189 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35190 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35191 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35193 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35208 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35209 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35210 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35211 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35212 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35213 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35214 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35215 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35216 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35217 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35218 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35219 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35234
6fb8cbcb
L
352352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35236
35237 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35238 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35239 * string/memmove.c (memmove): Renamed to ...
35240 (MEMMOVE): ...this. Default to memmove.
35241 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35242 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35243 (END_CHK): Define.
35244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35245 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35246 mempcpy-ssse3-back memmove-ssse3-back.
35247 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35250 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35251 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35252 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35253 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35254 * sysdeps/x86_64/multiarch/memmove.c: New file.
35255 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35256 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35257 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35258 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35259 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35261 Define.
35262 (index_Fast_Copy_Backward): Define.
35263 (HAS_ARCH_FEATURE): Define.
35264 (HAS_FAST_REP_STRING): Define.
35265 (HAS_FAST_COPY_BACKWARD): Define.
35266
4e733bac 352672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35268
35269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35270 Restore proper fallback handling.
35271
63c4ed22
UD
352722010-06-19 Ulrich Drepper <drepper@redhat.com>
35273
ac2b484c
UD
35274 [BZ #11701]
35275 * posix/group_member.c (__group_member): Correct checking loop.
35276
63c4ed22
UD
35277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35278 OOM in getpwuid_r correctly. Return error number when the caller
35279 should return, otherwise -1.
35280 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35281 call returning > 0 value.
35282 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35283
765ade4b
AS
352842010-06-07 Andreas Schwab <schwab@redhat.com>
35285
35286 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35287 libc_nonshared.a from targets in modules-names.
35288
80da2e09
KS
352892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35290
35291 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35292 requires it.
35293
158db122
LM
352942010-06-10 Luis Machado <luisgpm@br.ibm.com>
35295
35296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35300
caa78cf8
AS
353012010-06-02 Andreas Schwab <schwab@redhat.com>
35302
35303 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35304
b2ef2c01
UD
353052010-06-14 Ulrich Drepper <drepper@redhat.com>
35306
35307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35308 and F_GETPIPE_SZ.
35309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35315
fbd643b6
RM
353162010-06-14 Roland McGrath <roland@redhat.com>
35317
35318 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35319
f32f2869
JJ
353202010-06-07 Jakub Jelinek <jakub@redhat.com>
35321
35322 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35323 __REDIRECT followed by __THROW.
35324 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35325 * posix/getopt.h (getopt): Likewise.
35326
2a50c078
EPM
353272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35328
35329 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35330 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35331 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35332 in AT_FLAGS.
35333 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35334 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35335
eb5ad2eb
LM
353362010-05-28 Luis Machado <luisgpm@br.ibm.com>
35337
35338 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35339
3c88fe1e
L
353402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35341
35342 [BZ #11640]
35343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35344 Properly check family and model.
35345
d2f73151
TY
353462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35347
35348 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35349
ebd2e13d
LM
353502010-05-24 Luis Machado <luisgpm@br.ibm.com>
35351
35352 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35353
b32b8b45
UD
353542010-05-21 Ulrich Drepper <drepper@redhat.com>
35355
35356 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35357 symbol reference.
35358
9acbe24d
AS
353592010-05-19 Andreas Schwab <schwab@redhat.com>
35360
35361 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35362 symbol reference.
35363
f0ccf6ea
AS
353642010-05-21 Andreas Schwab <schwab@redhat.com>
35365
3d04ff3a
AS
35366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35367 and internal_recvmmsg.
35368 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35369 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35370 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35371 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35372
f0ccf6ea
AS
35373 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35374 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35375 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35376
5b08ac57
AS
353772010-05-20 Andreas Schwab <schwab@redhat.com>
35378
35379 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35380
4828935d
LM
353812010-05-17 Luis Machado <luisgpm@br.ibm.com>
35382
35383 POWER7 optimizations.
35384 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35385 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35386
373d545e
UD
353872010-05-19 Ulrich Drepper <drepper@redhat.com>
35388
35389 * version.h: Update for 2.13 development version.
35390
21a2b1ae
AS
353912010-05-12 Andrew Stubbs <ams@codesourcery.com>
35392
35393 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35394 exceptions. Return 0.
35395
3f7dcb2b
RM
353962010-05-07 Roland McGrath <roland@redhat.com>
35397
35398 * elf/ldconfig.c (main): Add a const.
35399
5f24d53a 354002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35401
a160f8d8
UD
35402 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35403 (args_options): Add no-idn option.
35404 (ahosts_keys_int): Add idn_flags to ai_flags.
35405 (parse_option): Handle 'i' option to clear idn_flags.
35406
5f24d53a
UD
35407 * malloc/malloc.c (_int_free): Possible race in the most recently
35408 added check. Only act on the data if no current modification
35409 happened.
265bb1ce
UD
35410
35411See ChangeLog.17 for earlier changes.