]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
locale: don't crash if locale-archive contains all zeros
[thirdparty/glibc.git] / ChangeLog
CommitLineData
18d14251
AJ
12013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2
3 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4 division by 0.
5
520d437b
SP
62013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7
8 [BZ #16195]
9 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11 (STAP_PROBE0): New macro.
12 (STAP_PROBE1): Likewise.
13 (STAP_PROBE2): Likewise.
14 (STAP_PROBE3): Likewise.
15 (STAP_PROBE4): Likewise.
16
416e0145
OB
172013-12-02 Ondřej Bílka <neleai@seznam.cz>
18
19 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20
9d17796a
SE
212013-12-02 Steve Ellcey <sellcey@mips.com>
22
23 * benchtests/Makefile (bench): Add sqrt.
24 (LDLIBS-bench-sqrt): New.
25 * benchtests/sqrt-input: New.
26
f524d6a8
PS
272013-12-02 Pavel Simerda <psimerda@redhat.com>
28
639a0ef8
PS
29 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
30 (GAIH_EAI): Likewise.
31 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
32 (gaih_inet): Likewise.
33 (getaddrinfo): Don't use GAIH_EAI.
34
f524d6a8
PS
35 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36 (struct gaih): Remove definition.
37
df3aedaf
SP
382013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39
40 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
41 Use HERRNOP directly.
42
1ab19dec
AZ
432013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44
b42ad38d 45 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 46
176b0c79
JM
472013-11-30 Joseph Myers <joseph@codesourcery.com>
48
49 * math/gen-auto-libm-tests.c (test_functions): Add more
50 single-argument functions.
51 (special_fill_pi_2): New function.
52 (special_fill_minus_pi_2): Likewise.
53 (special_fill_pi_6): Likewise.
54 (special_fill_minus_pi_6): Likewise.
55 (special_fill_pi_3): Likewise.
56 (special_fill_2pi_3): Likewise.
57 (special_fill_e): Likewise.
58 (special_fill_1_e): Likewise.
59 (special_fill_e_minus_1): Likewise.
60 (special_real_inputs): Add more special inputs.
61 (output_for_one_input_case): Do not require ERANGE on underflow to
62 zero if round-to-nearest result does not underflow to zero, unless
63 exact results required.
64 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
65 atan, atanh, cbrt, cos and cosh.
66 * math/auto-libm-test-out: Regenerated.
67 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
68 (acos_tonearest_test_data): Likewise.
69 (acos_towardzero_test_data): Likewise.
70 (acos_downward_test_data): Likewise.
71 (acos_upward_test_data): Likewise.
72 (acosh_test_data): Likewise.
73 (asin_test_data): Likewise.
74 (asin_tonearest_test_data): Likewise.
75 (asin_towardzero_test_data): Likewise.
76 (asin_upward_test_data): Likewise.
77 (asinh_test_data): Likewise.
78 (atan_test_data): Likewise.
79 (atanh_test_data): Likewise.
80 (cbrt_test_data): Likewise.
81 (cos_test_data): Likewise.
82 (cos_tonearest_test_data): Likewise.
83 (cos_towardzero_test_data): Likewise.
84 (cos_downward_test_data): Likewise.
85 (cos_upward_test_data): Likewise.
86 (cosh_test_data): Likewise.
87 (cosh_tonearest_test_data): Likewise.
88 (cosh_towardzero_test_data): Likewise.
89 (cosh_downward_test_data): Likewise.
90 (cosh_upward_test_data): Likewise.
91 * sysdeps/i386/fpu/libm-test-ulps: Update.
92 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93
ffb536d0
JM
942013-11-29 Joseph Myers <joseph@codesourcery.com>
95
2a77a467
JM
96 [BZ #6787]
97 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
98 * math/w_exp10f.c (__exp10f): Likewise.
99 * math/w_exp10l.c (__exp10l): Likewise.
100 * math/libm-test.inc (exp10_test_data): Add more tests and expect
101 errno settings in existing tests.
102
ea3bc4e8
JM
103 [BZ #14032]
104 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
105 precision control set to double precision.
106 * sysdeps/i386/fpu/w_sqrt.c: New file.
107 * math/auto-libm-test-in: Add more tests.
108 * math/auto-libm-test-out: Update.
109
0712c9d8
JM
110 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
111 (sqrt_test_tonearest): New function.
112 (sqrt_towardzero_test_data): New variable.
113 (sqrt_test_towardzero): New function.
114 (sqrt_downward_test_data): New variable.
115 (sqrt_test_downward): New function.
116 (sqrt_upward_test_data): New variable.
117 (sqrt_test_upward): New function.
118 (main): Call the new functions.
119
ffb536d0
JM
120 * math/gen-auto-libm-tests.c: New file.
121 * math/auto-libm-test-in: Likewise.
122 * math/auto-libm-test-out: New generated file.
123 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
124 variables.
125 (%beautify): Add generated representations of zero.
126 (top level): Set $auto_input and call parse_auto_input.
127 (beautify): Remove trailing "f" from hex float constants.
128 (parse_args): Handle XFAIL_TEST.
129 (convert_condition): New function.
130 (or_value): Likewise.
131 (or_cond_value): Likewise.
132 (generate_testfile): Handle AUTO_TESTS_* lines.
133 (parse_auto_input): New function.
134 * math/libm-test.inc (XFAIL_TEST): New macro.
135 (ERRNO_UNCHANGED): Update value.
136 (ERRNO_EDOM): Likewise.
137 (ERRNO_ERANGE): Likewise.
138 (IGNORE_RESULT): Likewise.
139 (TEST_COND_flt_32): New macro.
140 (TEST_COND_dbl_64): Likewise.
141 (TEST_COND_ldbl_96_intel): Likewise.
142 (TEST_COND_ldbl_96_m68k): Likewise.
143 (TEST_COND_ldbl_128): Likewise.
144 (TEST_COND_ldbl_128ibm): Likewise.
145 (TEST_COND_long32): Likewise.
146 (TEST_COND_long64): Likewise.
147 (TEST_COND_before_rounding): Likewise.
148 (TEST_COND_after_rounding): Likewise.
149 (enable_test): Handle XFAIL_TEST flag.
150 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
151 with finite results.
152 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
153 auto-libm-test-out.
154
acd98a8e
AK
1552013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
156 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
157
158 [BZ #16214]
159 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
160 __tls_get_addr_internal instead of __tls_get_offset in order to
161 avoid GOT pointer dependency. Make rtld export
162 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
163 __tls_get_addr since we are a __tls_get_offset platform.
164 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
165 GOT pointer being set up before.
166 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
167
3c1c46a6
JM
1682013-11-28 Joseph Myers <joseph@codesourcery.com>
169
7475aef5
JM
170 * manual/math.texi (Errors in Math Functions): Document accuracy
171 goals.
172
8bca7cd8
JM
173 [BZ #15004]
174 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
175 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
176 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
177 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
178 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
179 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
180 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
181 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
182 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
183 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
184 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
185 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
186 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
189 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
190
91a1f3fe
JM
191 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
192 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
193 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
194 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
195 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
196 Likewise.
197 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
198 Likewise.
199 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
200 Likewise.
201 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
202 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
203 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
204 atomic-feupdateenv and flt-rounds.
205 * sysdeps/powerpc/nofpu/Versions (libc): Add
206 __atomic_feholdexcept, __atomic_feclearexcept,
207 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
208 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
209 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
210 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
211 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
212 here.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
214 Update.
215
c5df7609
JM
216 * manual/arith.texi (FP Exceptions): Document that exceptions may
217 not be raised when matherr is used.
218 (Math Error Reporting): Document overflow in directed rounding
219 modes. Document that errno may not be set when finite values are
220 returned on overflow. Document intent to set errno on underflow
221 only for underflow to zero.
222
3c1c46a6
JM
223 [BZ #16271]
224 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
225 round-to-nearest then adjust result for other rounding modes.
226 * include/fenv.h (fegetround): Use libm_hidden_proto.
227 * math/fegetround.c (fegetround): Use libm_hidden_def.
228 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
229 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
230 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
231 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
232 Likewise.
233 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
234 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
235 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
236 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
237
5a4c6d53
SP
2382013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
239
240 [BZ #16077]
241 * nss/Versions (libnss_files): Add
242 _nss_files_gethostbyname3_r.
243 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
244 New function.
245 (HOST_DB_LOOKUP): Remove macro.
246 (_nss_files_gethostbyname_r): Implement function without the
247 HOST_DB_LOOKUP macro.
248 (_nss_files_gethostbyname2_r): Likewise.
249
897b98ba
OB
2502013-11-28 Ondřej Bílka <neleai@seznam.cz>
251
252 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
253
6f476861
UB
2542013-11-26 Uros Bizjak <ubizjak@gmail.com>
255
256 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
257 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
258 warning.
259
bd12ab55
AZ
2602013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261
262 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
263 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
264 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
265 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
266 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
267 __fe_nomask_env_priv and attribute_hidden.
268 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
269 (libc_feupdateenv_test_ppc): Likewise.
270 (libc_feresetround_ppc): Likewise.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
272 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
273 compat_symbol macro.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
275 (__fe_nomask_env): Likewise.
276 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
277
52bb6543
OB
2782013-11-26 Ondřej Bílka <neleai@seznam.cz>
279
280 * string/Makefile: Remove ifunc tests.
281 * string/test-string.h: Define TEST_IFUNC.
282 * string/test-bcopy-ifunc.c: Remove.
283 * string/test-bzero-ifunc.c: Likewise.
284 * string/test-memccpy-ifunc.c: Likewise.
285 * string/test-memchr-ifunc.c: Likewise.
286 * string/test-memcmp-ifunc.c: Likewise.
287 * string/test-memcpy-ifunc.c: Likewise.
288 * string/test-memmem-ifunc.c: Likewise.
289 * string/test-memmove-ifunc.c: Likewise.
290 * string/test-mempcpy-ifunc.c: Likewise.
291 * string/test-memrchr-ifunc.c: Likewise.
292 * string/test-memset-ifunc.c: Likewise.
293 * string/test-rawmemchr-ifunc.c: Likewise.
294 * string/test-stpcpy-ifunc.c: Likewise.
295 * string/test-stpncpy-ifunc.c: Likewise.
296 * string/test-strcasecmp-ifunc.c: Likewise.
297 * string/test-strcasestr-ifunc.c: Likewise.
298 * string/test-strcat-ifunc.c: Likewise.
299 * string/test-strchr-ifunc.c: Likewise.
300 * string/test-strchrnul-ifunc.c: Likewise.
301 * string/test-strcmp-ifunc.c: Likewise.
302 * string/test-strcpy-ifunc.c: Likewise.
303 * string/test-strcspn-ifunc.c: Likewise.
304 * string/test-strlen-ifunc.c: Likewise.
305 * string/test-strncasecmp-ifunc.c: Likewise.
306 * string/test-strncat-ifunc.c: Likewise.
307 * string/test-strncmp-ifunc.c: Likewise.
308 * string/test-strncpy-ifunc.c: Likewise.
309 * string/test-strnlen-ifunc.c: Likewise.
310 * string/test-strpbrk-ifunc.c: Likewise.
311 * string/test-strrchr-ifunc.c: Likewise.
312 * string/test-strspn-ifunc.c: Likewise.
313 * string/test-strstr-ifunc.c: Likewise.
314
ab260039 3152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
316
317 * benchtests/Makefile: Remove ifunc tests.
318 * benchtests/bench-string.h: Define TEST_IFUNC.
319 * benchtests/bench-bcopy-ifunc.c: Remove.
320 * benchtests/bench-bzero-ifunc.c: Likewise.
321 * benchtests/bench-memccpy-ifunc.c: Likewise.
322 * benchtests/bench-memchr-ifunc.c: Likewise.
323 * benchtests/bench-memcmp-ifunc.c: Likewise.
324 * benchtests/bench-memcpy-ifunc.c: Likewise.
325 * benchtests/bench-memmem-ifunc.c: Likewise.
326 * benchtests/bench-memmove-ifunc.c: Likewise.
327 * benchtests/bench-mempcpy-ifunc.c: Likewise.
328 * benchtests/bench-memrchr-ifunc.c: Likewise.
329 * benchtests/bench-memset-ifunc.c: Likewise.
330 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
331 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
332 * benchtests/bench-stpcpy-ifunc.c: Likewise.
333 * benchtests/bench-stpncpy-ifunc.c: Likewise.
334 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
335 * benchtests/bench-strcasestr-ifunc.c: Likewise.
336 * benchtests/bench-strcat-ifunc.c: Likewise.
337 * benchtests/bench-strchr-ifunc.c: Likewise.
338 * benchtests/bench-strchrnul-ifunc.c: Likewise.
339 * benchtests/bench-strcmp-ifunc.c: Likewise.
340 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
341 * benchtests/bench-strcpy-ifunc.c: Likewise.
342 * benchtests/bench-strcspn-ifunc.c: Likewise.
343 * benchtests/bench-strlen-ifunc.c: Likewise.
344 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
345 * benchtests/bench-strncat-ifunc.c: Likewise.
346 * benchtests/bench-strncmp-ifunc.c: Likewise.
347 * benchtests/bench-strncpy-ifunc.c: Likewise.
348 * benchtests/bench-strnlen-ifunc.c: Likewise.
349 * benchtests/bench-strpbrk-ifunc.c: Likewise.
350 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 351 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
352 * benchtests/bench-strspn-ifunc.c: Likewise.
353 * benchtests/bench-strstr-ifunc.c: Likewise.
354
3552013-11-26 Ondřej Bílka <neleai@seznam.cz>
356
ab260039
OB
357 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
358
d1d9eaf4 3592013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 360
d1d9eaf4
OB
361 * resolv/netdb.h: Use __glibc_reserved instead __unused.
362 * rt/aio.h: Likewise.
363 * sysdeps/gnu/bits/utmp.h: Likewise.
364 * sysdeps/gnu/bits/utmpx.h: Likewise.
365 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
366 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
367 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
368 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
369 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
370 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
371 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
372 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
373 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
375 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
377 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
380 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
381 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
382 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
383 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
384 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
385 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
386 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
387 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
388 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
389 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
391 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
393 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
394 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
395 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
396 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
397 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
398 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
399 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
400 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
401 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
402 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
403 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
404 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
405 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
406 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
407
a7624ed9
CD
4082013-11-25 Carlos O'Donell <carlos@redhat.com>
409
410 [BZ #16245]
411 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
412 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
413
63cfe52b
JM
4142013-11-25 Joseph Myers <joseph@codesourcery.com>
415
416 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
417 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
418 Likewise.
419
41e8926a
AZ
4202013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
421
422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
423 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
424 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
425 (__fesetround): Remove define.
426 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
427 rounding and exceptions handling.
428 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
429 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
430 (__fe_nomask_env): Likewise.
431 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
432 __fegetround instead of fegetround.
433 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
435
6851bd4d
RM
4362013-11-21 Roland McGrath <roland@hack.frob.com>
437
070906ff
RM
438 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
439 it's there.
440
6851bd4d
RM
441 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
442
84ae135d
MI
4432013-11-21 Meador Inge <meadori@codesourcery.com>
444
445 [BZ #11157]
446 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
447 (encrypt_r): Likewise.
448 * malloc/obstack.h (obstack_free): Likewise.
449 * posix/unistd.h (encrypt): Likewise.
450
daf75146
GM
4512013-11-21 Guy Martin <gmsoft@tuxicoman.be>
452
453 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
454 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
455 DL_CALL_DT_FINI() that call the functions directly.
456 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
457 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
458 * elf/dl-fini.c: Likewise.
459
10ad46bc
OB
4602013-11-20 Ondřej Bílka <neleai@seznam.cz>
461
462 * malloc/hooks.c (memalign_check): Add alignment rounding.
463 * malloc/malloc.c (_mid_memalign): New function.
464 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
465 Implement by calling _mid_memalign.
466 * manual/probes.texi (Memory Allocation Probes): Remove
467 memory_valloc_retry and memory_pvalloc_retry.
468
f3fd2628
SP
4692013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
470
4712799f
SP
471 * locale/programs/locarchive.c (open_archive): Add const
472 qualifier to ARCHIVEFNAME and copy default fname to
473 DEFAULT_FNAME.
474
0417b20f
SP
475 [BZ #15601]
476 * libio/tst-widetext.input: Rename Oriya to Odia.
477 * locale/iso-639.def: Likewise.
478
f3fd2628
SP
479 * manual/probes.texi (Mathematical Function Probes): Add
480 documentation for sin, cos, asin and acos probes.
481 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
482 (__sin32): Add slowasin probe.
483 (__cos32): Add slowacos probe.
484 (__mpsin): Add slowsin probe.
485 (__mpcos): Add slowcos probe.
486
73c1ce4f
JM
4872013-11-19 Joseph Myers <joseph@codesourcery.com>
488
489 [BZ #15483]
490 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
491 thread-local __sim_exceptions_thread and global
492 __sim_exceptions_global.
493 (__sim_disabled_exceptions): Change to thread-local
494 __sim_disabled_exceptions_thread and global
495 __sim_disabled_exceptions_global.
496 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
497 and global __sim_round_mode_global.
498 (__simulate_exceptions): Use thread-local floating-point state and
499 set global state from it as needed.
500 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
501 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
502 __sim_round_mode_thread.
503 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
504 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
505 and global __sim_exceptions_global.
506 (__sim_disabled_exceptions): Change to thread-local
507 __sim_disabled_exceptions_thread and global
508 __sim_disabled_exceptions_global.
509 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
510 and global __sim_round_mode_global.
511 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
512 (SIM_SET_GLOBAL): Likewise.
513 * sysdeps/powerpc/soft-fp/sfp-machine.h
514 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
515 __sim_round_mode_thread.
516 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
517 __sim_disabled_exceptions_thread.
518 (__sim_exceptions): Change to __sim_exceptions_thread.
519 (__sim_disabled_exceptions): Change to
520 __sim_disabled_exceptions_thread.
521 (__sim_round_mode): Change to __sim_round_mode_thread.
522 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
523 thread-local floating-point state and set global state from it as
524 needed.
525 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
526 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
527 (__sim_disabled_exceptions): Remove extern declaration.
528 (feenableexcept): Use thread-local floating-point state and set
529 global state from it as needed.
530 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
531 extern declaration.
532 (__sim_disabled_exceptions): Likewise.
533 (__sim_round_mode): Likewise.
534 (__fegetenv): Use thread-local floating-point state.
535 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
536 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
537 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
538 floating-point state and set global state from it as needed.
539 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
540 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
541 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
542 Likewise.
543 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
544 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
545 Likewise.
546 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
547 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
548 Use __sim_round_mode_thread.
549 * math/test-fenv-tls.c: New file.
550 * math/Makefile (tests): Add test-fenv-tls.
551 ($(objpfx)test-fenv-tls): Depend on
552 $(common-objpfx)nptl/libpthread.so.
553
b5449b12
AS
5542013-11-19 Andreas Schwab <schwab@suse.de>
555
556 * locale/programs/locale.c (show_info): Decode wordarray elements.
557 * locale/categories.def (LC_MONETARY): Add element for
558 _NL_MONETARY_CRNCYSTR.
559 * locale/C-monetary.c (conversion_rate): New variable.
560 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
561 element.
562
e186536b
CM
5632013-11-18 Chris Metcalf <cmetcalf@tilera.com>
564
565 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
566 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
567
5c349950
PP
5682013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
569
570 * elf/Makefile (tst-auxv): New test.
571 * elf/tst-auxv.c: New
572 * elf/rtld.c (dl_main): Adjust AT_EXECFN
573
699df45b
JM
5742013-11-18 Joseph Myers <joseph@codesourcery.com>
575
576 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
577 (hidden_proto): Caller changed.
578 (hidden_tls_proto): New macro.
579 (libc_hidden_tls_proto): Likewise.
580 (rtld_hidden_tls_proto): Likewise.
581 (libm_hidden_tls_proto): Likewise.
582 (libresolv_hidden_tls_proto): Likewise.
583 (librt_hidden_tls_proto): Likewise.
584 (libdl_hidden_tls_proto): Likewise.
585 (libnss_files_hidden_tls_proto): Likewise.
586 (libnsl_hidden_tls_proto): Likewise.
587 (libnss_nisplus_hidden_tls_proto): Likewise.
588 (libutil_hidden_tls_proto): Likewise.
589
b7589107
OB
5902013-11-18 Ondřej Bílka <neleai@seznam.cz>
591
592 [BZ #10253]
593 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
594 (decompose_rpath): Defer expansion to fillin_rpath.
595 (_dl_init_paths): Pass linkmap to fillin_rpath.
596
250c23bd
RS
5972013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
598
599 * benchtests/Makefile: Add strsep.
600 * benchtests/bench-strsep.c: New file: strsep benchtest.
601 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
602
a7931fcf
AS
6032013-11-18 Andreas Schwab <schwab@suse.de>
604
605 * locale/programs/locale.c (show_info) [case byte]: Check for
606 '\377' instead of '\177'.
607 * locale/C-monetary.c (not_available): Always use "\377".
608 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
609 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
610 detect unavailable sign_posn locale elements.
611 * locale/localeconv.c (__localeconv): For grouping and
612 mon_grouping handle "\177" and "\377" like no grouping.
613 (INT_ELEM): New macro. Use it to set all numeric members.
614 * locale/programs/ld-monetary.c (monetary_read)
615 <tok_mon_grouping>: Normalize single -1 to the empty string.
616 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
617 Likewise.
618
728dab0e
OB
6192013-11-07 Ondřej Bílka <neleai@seznam.cz>
620
621 [BZ #16055]
622 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
623 when we match (nil).
624 * stdio-common/tst-sscanf.c (struct test): Add testcase.
625
66294491
JM
6262013-11-16 Joseph Myers <joseph@codesourcery.com>
627
ce665817
JM
628 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
629 (NO_TEST_INLINE): Update value.
630 (ERRNO_UNCHANGED): Likewise.
631 (ERRNO_EDOM): Likewise.
632 (ERRNO_ERANGE): Likewise.
633 (IGNORE_RESULT): Likewise.
634 (check_float_internal): Check signs of NaN results if
635 TEST_NAN_SIGN used.
636 (check_complex): Pass TEST_NAN_SIGN flag through to second
637 check_float_internal call.
638 (copysign_test_data): Add tests with quiet NaNs as second
639 argument. Use TEST_NAN_SIGN.
640 (fabs_test_data): Add test of negative quiet NaN argument. Use
641 TEST_NAN_SIGN.
642 (signbit_test_data): Add tests of quiet NaN argument.
643 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
644
ee1466a9
JM
645 * math/gen-libm-test.pl (show_exceptions): Take extra argument
646 $ignore_result.
647 (parse_args): Handle function results specified as IGNORE.
648 * math/libm-test.inc (IGNORE_RESULT): New macro.
649 (check_float_internal): Do not check numerical result if flag
650 IGNORE_RESULT set.
651 (check_complex): Pass through IGNORE_RESULT to second
652 check_float_internal call.
653 (check_int): Do not check numerical result if flag IGNORE_RESULT
654 set.
655 (check_long): Likewise.
656 (check_bool): Likewise.
657 (check_longlong): Likewise.
658 (lrint_test_data): Add tests of infinite and NaN arguments.
659 (lrint_tonearest_test_data): Likewise.
660 (lrint_towardzero_test_data): Likewise.
661 (lrint_downward_test_data): Likewise.
662 (lrint_upward_test_data): Likewise.
663 (llrint_test_data): Likewise.
664 (llrint_tonearest_test_data): Likewise.
665 (llrint_towardzero_test_data): Likewise.
666 (llrint_downward_test_data): Likewise.
667 (llrint_upward_test_data): Likewise.
668 (lround_test_data): Likewise.
669 (llround_test_data): Likewise.
670
14407b7e
JM
671 * math/libm-test.inc (NO_TEST_INLINE): New macro.
672 (ERRNO_UNCHANGED): Update value.
673 (ERRNO_EDOM): Likewise.
674 (ERRNO_ERANGE): Likewise.
675 (NO_TEST_INLINE_FLOAT): New macro.
676 (NO_TEST_INLINE_DOUBLE): Likewise.
677 (enable_test): New function.
678 (RUN_TEST_f_f): Check enable_test before running test.
679 (RUN_TEST_2_f): Likewise.
680 (RUN_TEST_fff_f): Likewise.
681 (RUN_TEST_c_f): Likewise.
682 (RUN_TEST_f_f1): Likewise.
683 (RUN_TEST_fF_f1): Likewise.
684 (RUN_TEST_fI_f1): Likewise.
685 (RUN_TEST_ffI_f1): Likewise.
686 (RUN_TEST_c_c): Likewise.
687 (RUN_TEST_cc_c): Likewise.
688 (RUN_TEST_f_i): Likewise.
689 (RUN_TEST_f_i_tg): Likewise.
690 (RUN_TEST_ff_i_tg): Likewise.
691 (RUN_TEST_f_b): Likewise.
692 (RUN_TEST_f_b_tg): Likewise.
693 (RUN_TEST_f_l): Likewise.
694 (RUN_TEST_f_L): Likewise.
695 (RUN_TEST_fFF_11): Likewise.
696 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
697 conditionals.
698 (cosh_test_data): Likewise.
699 (exp_test_data): Likewise.
700 (expm1_test_data): Likewise.
701 (hypot_test_data): Likewise.
702 (pow_test_data): Likewise.
703 (sinh_test_data): Likewise.
704 (tanh_test_data): Likewise.
705 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
706 flags argument.
707
ca07f197
JM
708 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
709 tests with quiet NaN input and output.
710 (acosh_test_data): Likewise.
711 (asin_test_data): Likewise.
712 (asinh_test_data): Likewise.
713 (atan_test_data): Likewise.
714 (atanh_test_data): Likewise.
715 (atan2_test_data): Likewise.
716 (cbrt_test_data): Likewise.
717 (cos_test_data): Likewise.
718 (cosh_test_data): Likewise.
719 (erf_test_data): Likewise.
720 (erfc_test_data): Likewise.
721 (exp_test_data): Likewise.
722 (exp10_test_data): Likewise.
723 (exp2_test_data): Likewise.
724 (expm1_test_data): Likewise.
725 (hypot_test_data): Likewise.
726 (j0_test_data): Likewise.
727 (j1_test_data): Likewise.
728 (jn_test_data): Likewise.
729 (lgamma_test_data): Likewise.
730 (log_test_data): Likewise.
731 (log10_test_data): Likewise.
732 (log1p_test_data): Likewise.
733 (log2_test_data): Likewise.
734 (pow_test_data): Likewise.
735 (scalb_test_data): Likewise.
736 (sin_test_data): Likewise.
737 (sincos_test_data): Likewise.
738 (sinh_test_data): Likewise.
739 (tan_test_data): Likewise.
740 (tanh_test_data): Likewise.
741 (tgamma_test_data): Likewise.
742 (y0_test_data): Likewise.
743 (y1_test_data): Likewise.
744 (yn_test_data): Likewise.
745
66294491
JM
746 [BZ #16167]
747 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
748 argument being NaN and avoid computations with second argument in
749 that case.
750 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
751 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
752 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
753
1820b143
CL
7542013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
755
756 * locale/iso-639.def: Add Chitwani Tharu (the).
757
714bd261
AS
7582013-11-14 Andreas Schwab <schwab@suse.de>
759
760 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
761 word instead of empty string.
762
7ab44563
AZ
7632013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764
765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
766 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
768 (__fe_nomask_env): Likewise.
769
e8470ea2
SE
7702013-11-13 Steve Ellcey <sellcey@mips.com>
771
772 * benchtests/bench-timing.h: Include time.h.
773
17c1d9f0
L
7742013-11-13 H.J. Lu <hongjiu.lu@intel.com>
775
776 [BZ #15997]
777 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
778 to 3.4.0 for x32.
779 * sysdeps/unix/sysv/linux/configure: Regenerated.
780
9310c284
JM
7812013-11-13 Joseph Myers <joseph@codesourcery.com>
782
783 [BZ #16151]
784 * stdlib/strtod_l.c (round_and_return): Do not consider
785 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
786 exponent one less than half the least subnormal exponent.
787 * stdlib/test-strtod-round-data: Add more tests.
788 * stdlib/tst-strtod-round.c (tests): Regenerated.
789
7a2ad8cf
AZ
7902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
791
792 [BZ #14143]
793 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
794 (__fe_mask_env): Likewise.
795 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
796 libm_hidden_proto and add function prototype.
797 (__fe_mask_env): Add function prototype.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
799 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
801 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
803 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
804
50727aa7
MS
8052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
806
b2f386c1 807 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
808 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
809
a615be46
MS
8102013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
811
812 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
813 of htab_find_slot().
814
7ddace62
DM
8152013-11-11 David S. Miller <davem@davemloft.net>
816
817 [BZ #16150]
818 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
819 symbol in the non-vis3 case in static builds.
820 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
821 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
822 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
823 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
824
9182aa67
JK
8252013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
826
827 [BZ #387]
828 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
829 it is empty.
830
450a2e2d
AZ
8312013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
832
b2f386c1
SP
833 * benchtests/Makefile: Add bench-strtod.
834 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 835
8ec3f656
AS
8362013-11-11 Andreas Schwab <schwab@suse.de>
837
838 [BZ #16153]
839 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
840 terminating NUL in key length.
841
76a9b998
AZ
8422013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843
844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
845 Add artificial ODP entry for vDSO symbol for PPC64.
846 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
847 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
848
e4368156
OB
8492013-11-07 Ondřej Bílka <neleai@seznam.cz>
850
851 [BZ #15374]
852 * nss/getent.c (services_keys): Recognize services starting with digit.
853
8d6bb57c
DM
8542013-11-06 David S. Miller <davem@davemloft.net>
855
856 [BZ #15985]
857 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
858 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
859
e256c421
WN
8602013-11-06 Will Newton <will.newton@linaro.org>
861
862 * manual/memory.texi (Malloc Examples): Remove register
863 keyword from examples.
864
f6e12daa 8652013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 866
f6e12daa 867 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 868
9d880655
AS
8692013-11-04 Joseph Myers <joseph@codesourcery.com>
870
871 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
872 depending on [__GCC_IEC_559 > 0].
873 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
874 depending on [__GCC_IEC_559_COMPLEX > 0].
875
ae129d3c
CL
8762013-11-03 Chris Leonard <cjl@sugarlabs.org>
877
878 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
879 to iso-639.def.
880
4a15c2a4 8812013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
882
883 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
884
8b35e35d
OB
8852013-11-01 Ondřej Bílka <neleai@seznam.cz>
886
887 [BZ #16112]
888 * malloc/malloc (malloc_info): Do not handle first bin as
889 special case.
890
1d70fd6c
CL
8912013-11-01 Chris Leonard <cjl@sugarlabs.org>
892
893 * locale/iso-639.def: Add Central Nahuatl (nhn).
894
8c5c2600
BH
8952013-11-01 Bruno Haible <bruno@clisp.org>
896
897 [BZ #7003]
898 * manual/math.texi (BSD Random): Specify range upper bound as
899 in POSIX.
900
da5579c2
CL
9012013-10-31 Chris Leonard <cjl@sugarlabs.org>
902
903 * locale/iso-639.def: Add Meadow Mari (mhr).
904
5d30d853
OB
9052013-10-31 Ondřej Bílka <neleai@seznam.cz>
906
907 [BZ #14752], [BZ #15763]
908 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
909 Validate name.
910 * rt/tst_shm.c: Add test for escaping directory.
911
a4966c61
AS
9122013-10-31 Andreas Schwab <schwab@suse.de>
913
8a43e768 914 [BZ #15917]
a4966c61
AS
915 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
916 followed by 'x' as part of digit sequence.
917 * stdio-common/tst-sscanf.c (double_tests2): New tests.
918
28d708c4
MAP
9192013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
920
921 [BZ #16037]
922 * configure.ac: allow GNU Make 4.0 and greater.
923 * configure: Regenerated.
924
a56ee40b
WN
9252013-10-30 Will Newton <will.newton@linaro.org>
926
927 [BZ #16038]
928 * malloc/hooks.c (memalign_check): Limit alignment to the
929 maximum representable power of two.
930 * malloc/malloc.c (__libc_memalign): Likewise.
931 * malloc/tst-memalign.c (do_test): Add test for very
932 large alignment values.
933 * malloc/tst-posix_memalign.c (do_test): Likewise.
934
c6e4925d
OB
9352013-10-30 Ondřej Bílka <neleai@seznam.cz>
936
937 [BZ #11087]
938 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
939 (munmap_chunk): Likewise.
940 (mremap_chunk): Likewise.
941
9422013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 943
8a43e768 944 [BZ #15799]
bbea82f7
OB
945 * stdlib/div.c (div): Remove obsolete code.
946 * stdlib/ldiv.c (ldiv): Likewise.
947 * stdlib/lldiv.c (lldiv): Likewise.
948
977f4b31
SP
9492013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
950
951 [BZ #16071]
952 * nss/nss_files/files-XXX.c (get_contents_ret): New
953 enumerator.
954 (get_contents): New function.
955 (internal_getent): Use it. Expand size of LINEBUFLEN.
956
cb8a6dbd
MF
9572013-10-30 Mike Frysinger <vapier@gentoo.org>
958
959 * configure.in: Moved to ...
960 * configure.ac: ... here. Change reference to configure.in
961 to configure.ac.
962 * sysdeps/arm/preconfigure.ac: ... here.
963 configure.in to configure.ac.
964 * sysdeps/gnu/configure.in: Moved to ...
965 * sysdeps/gnu/configure.ac: ... here.
966 * sysdeps/i386/configure.in: Moved to ...
967 * sysdeps/i386/configure.ac: ... here.
968 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
969 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
970 * sysdeps/mach/configure.in: Moved to ...
971 * sysdeps/mach/configure.ac: ... here.
972 * sysdeps/mach/hurd/configure.in: Moved to ...
973 * sysdeps/mach/hurd/configure.ac: ... here.
974 * sysdeps/powerpc/configure.in: Moved to ...
975 * sysdeps/powerpc/configure.ac: ... here.
976 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
977 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
978 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
979 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
980 * sysdeps/s390/s390-32/configure.in: Moved to ...
981 * sysdeps/s390/s390-32/configure.ac: ... here.
982 * sysdeps/s390/s390-64/configure.in: Moved to ...
983 * sysdeps/s390/s390-64/configure.ac: ... here.
984 * sysdeps/sh/configure.in: Moved to ...
985 * sysdeps/sh/configure.ac: ... here.
986 * sysdeps/sparc/configure.in: Moved to ...
987 * sysdeps/sparc/configure.ac: ... here.
988 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
989 * sysdeps/unix/sysv/linux/configure.ac: ... here.
990 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
991 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
992 * sysdeps/x86_64/configure.in: Moved to ...
993 * sysdeps/x86_64/configure.ac: ... here.
994 * sysdeps/x86_64/preconfigure.in: Moved to ...
995 * sysdeps/x86_64/preconfigure.ac: ... here.
996 * aclocal.m4: Change reference to configure.in to configure.ac.
997 * config.h.in: Likewise.
998 * manual/install.texi: Likewise.
999 * manual/maint.texi: Likewise.
1000 * Makefile: Likewise.
1001 * malloc/Makefile: Likewise.
1002 * nscd/Makefile: Likewise.
1003 * Makeconfig: Change reference to configure.in and
1004 preconfigure.in to configure.ac and preconfigure.ac
1005 respectively.
1006 * INSTALL: Regenerated.
1007 * configure: Likewise.
1008 * sysdeps/gnu/configure: Likewise.
1009 * sysdeps/i386/configure: Likewise.
1010 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1011 * sysdeps/mach/configure: Likewise.
1012 * sysdeps/mach/hurd/configure: Likewise.
1013 * sysdeps/powerpc/configure: Likewise.
1014 * sysdeps/powerpc/powerpc32/configure: Likewise.
1015 * sysdeps/powerpc/powerpc64/configure: Likewise.
1016 * sysdeps/s390/s390-32/configure: Likewise.
1017 * sysdeps/s390/s390-64/configure: Likewise.
1018 * sysdeps/sh/configure: Likewise.
1019 * sysdeps/sparc/configure: Likewise.
1020 * sysdeps/unix/sysv/linux/configure: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1022 * sysdeps/x86_64/configure: Likewise.
1023 * sysdeps/x86_64/preconfigure: Likewise.
1024
36a4953a
AS
10252013-10-29 Andreas Schwab <schwab@suse.de>
1026
1027 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1028
c79a1204
SP
10292013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1030
dfa1b402
SP
1031 * benchtests/pow-inputs: Add new inputs.
1032
54f73d9c
SP
1033 * benchtests/exp-inputs: Add new inputs.
1034
c79a1204
SP
1035 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1036 conditional check for return value.
1037 (__cos32): Likewise.
1038
67beb545 10392013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1040
1041 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1042 to provide a boost for large inputs with word alignment.
1043 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1044 implementation based on optimized PPC64 strcpy.
1045 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1046 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1047 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1048 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1049
151659f6
OB
10502013-10-25 Ondřej Bílka <neleai@seznam.cz>
1051
482a077e 1052 [BZ #2801]
151659f6
OB
1053 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1054
10b0f26b
OB
10552013-10-25 Ondřej Bílka <neleai@seznam.cz>
1056
1057 [BZ #14876]
1058 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1059 * time/tst-strptime.c (day_tests): Add testcase.
1060
ca42d35e
OB
10612013-10-25 Ondřej Bílka <neleai@seznam.cz>
1062
482a077e 1063 [BZ #14029]
ca42d35e
OB
1064 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1065
52e6d801
FB
10662013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1067
1068 [BZ #16074]
1069 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1070 MAP_FAILED on error.
1071
7cbcdb36
SP
10722013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1073
1074 [BZ #16072]
1075 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1076 heap for large requests.
1077
894f3f10
AM
10782013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1079
1080 [BZ #9954]
1081 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1082 result if the result has no associated interface.
1083 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1084 interface for all 127.X.Y.Z addresses.
1085
b85545a6
CL
10862013-10-24 Chris Leonard <cjl@sugarlabs.org>
1087
1088 * locale/iso-639.def: Add Ligurian (lij)
1089
d1f23d46
OB
10902013-10-21 Ondřej Bílka <neleai@seznam.cz>
1091
1092 [BZ #15825]
1093 * sunrpc/rpc_main.c: Document rpcgen -5.
1094
4db5b08f
MS
10952013-10-19 Michael Stahl <mstahl@redhat.com>
1096
1097 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1098
a471e96a
OB
10992013-10-19 Ondřej Bílka <neleai@seznam.cz>
1100
d1f23d46 1101 [BZ #10278]
a471e96a
OB
1102 * posix/glob.c: Match only directories when trailing slash is present.
1103 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1104 (main): Add testcase.
1105
45c30c61
OB
11062013-10-19 Ondřej Bílka <neleai@seznam.cz>
1107
1108 [BZ #15670]
1109 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1110
484c12fb
CD
11112013-10-18 Carlos O'Donell <carlos@redhat.com>
1112
3d7dc513
CD
1113 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1114 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1115 AUTH_DES and cindex for FIPS 140-2.
1116 (DES Encryption): Add cindex FIPS 46-3.
1117
484c12fb
CD
1118 * locale/locarchive.h (struct locarhandle): Add fname.
1119 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1120 if an optional argument was specified to --list-archive,
1121 otherwise NULL.
1122 * locale/programs/locarchive.c (show_archive_content): Take new
1123 argument fname and pass it via ah.fname to open_archive.
1124 * locale/programs/localedef.h: Update decl.
1125 (open_archive): If AH->fname is non-null, open that file
1126 rather than the default file name, and don't ignore ENOENT.
1127 (create_archive): Set AH.fname to NULL.
1128 (delete_locales_from_archive): Likewise.
1129 (add_locales_to_archive): Likewise.
1130 * locale/programs/locfile.c (write_all_categories): Likewise.
1131
3c8325fb
JM
11322013-10-18 Joseph Myers <joseph@codesourcery.com>
1133 Aldy Hernandez <aldyh@redhat.com>
1134
1135 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1136 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1137 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1138 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1139 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1140 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1142 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1144 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1145 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1146 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1147 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1148 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1149 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1150 Likewise.
1151 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1152 Likewise.
1153 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1154 Likewise.
1155 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1156 Likewise.
1157 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1158 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1159 Likewise.
1160 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1161 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1162 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1163 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1164 Likewise.
1165 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1166 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1167 * sysdeps/powerpc/preconfigure: Likewise.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1169 Likewise.
1170 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1171 Replace contents of file by #include of <fenv_libc.h>.
1172 * sysdeps/powerpc/soft-fp/sfp-machine.h
1173 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1174 and <sys/prctl.h>.
1175 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1176 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1178 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1182 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1184 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1188 Allow copysignl PLT reference to be missing.
1189
5abe0682
RS
11902013-10-18 Richard Sandiford <richard@codesourcery.com>
1191 Joseph Myers <joseph@codesourcery.com
1192
1193 [BZ #15948]
1194 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1195 single character.
1196 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1197
c7738d08
SP
11982013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1199
1200 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1201 * elf/tst-tls1.c: Likewise.
1202 * elf/tst-tls10.h: Likewise.
1203 * elf/tst-tls14.c: Likewise.
1204 * elf/tst-tls2.c: Likewise.
1205 * elf/tst-tls3.c: Likewise.
1206 * elf/tst-tls4.c: Likewise.
1207 * elf/tst-tls5.c: Likewise.
1208 * elf/tst-tls6.c: Likewise.
1209 * elf/tst-tls7.c: Likewise.
1210 * elf/tst-tls8.c: Likewise.
1211 * elf/tst-tls9.c: Likewise.
1212 * elf/tst-tlsmod1.c: Likewise.
1213 * elf/tst-tlsmod13.c: Likewise.
1214 * elf/tst-tlsmod13a.c: Likewise.
1215 * elf/tst-tlsmod14a.c: Likewise.
1216 * elf/tst-tlsmod16a.c: Likewise.
1217 * elf/tst-tlsmod16b.c: Likewise.
1218 * elf/tst-tlsmod2.c: Likewise.
1219 * elf/tst-tlsmod3.c: Likewise.
1220 * elf/tst-tlsmod4.c: Likewise.
1221 * elf/tst-tlsmod5.c: Likewise.
1222 * elf/tst-tlsmod6.c: Likewise.
1223
0bfcf2c7
OB
12242013-10-18 Ondřej Bílka <neleai@seznam.cz>
1225
1226 [BZ #12486]
1227 * malloc/malloc.c: remove checks for statistics.
1228
264aad1e
OB
12292013-10-17 Ondřej Bílka <neleai@seznam.cz>
1230
1231 [BZ #15277]
1232 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1233 * inet/tst-network.c: Add testcase.
1234
b957ced8
AS
12352013-10-17 Andreas Schwab <schwab@suse.de>
1236
1237 [BZ #15218]
1238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1239 to determine canonical name.
1240
c5d5d574
OB
12412013-10-17 Ondřej Bílka <neleai@seznam.cz>
1242
1243 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1244 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1246 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1248 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1249 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1250 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1253 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1258 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1260 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1261 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1262 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1263 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1266 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1267 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1268 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1269 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1270 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1271 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1272 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1273 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1275 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1281 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1283 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1284 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1285 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1286 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1287 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1288 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1289 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1290 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1291 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1293 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1294 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1295 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1296 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1297 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1298 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1300 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1301
e5c2c2d0
JM
13022013-10-17 Joseph Myers <joseph@codesourcery.com>
1303
1304 [BZ #16041]
1305 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1306 make result into a quiet NaN.
1307
51ca9e29
JM
13082013-10-16 Joseph Myers <joseph@codesourcery.com>
1309
1310 * soft-fp/adddf3.c: Fix horizontal whitespace.
1311 * soft-fp/addsf3.c: Likewise.
1312 * soft-fp/addtf3.c: Likewise.
1313 * soft-fp/divdf3.c: Likewise.
1314 * soft-fp/divsf3.c: Likewise.
1315 * soft-fp/divtf3.c: Likewise.
1316 * soft-fp/double.h: Likewise.
1317 * soft-fp/eqdf2.c: Likewise.
1318 * soft-fp/eqsf2.c: Likewise.
1319 * soft-fp/eqtf2.c: Likewise.
1320 * soft-fp/extenddftf2.c: Likewise.
1321 * soft-fp/extended.h: Likewise.
1322 * soft-fp/extendsfdf2.c: Likewise.
1323 * soft-fp/extendsftf2.c: Likewise.
1324 * soft-fp/extendxftf2.c: Likewise.
1325 * soft-fp/fixdfdi.c: Likewise.
1326 * soft-fp/fixdfsi.c: Likewise.
1327 * soft-fp/fixdfti.c: Likewise.
1328 * soft-fp/fixsfdi.c: Likewise.
1329 * soft-fp/fixsfsi.c: Likewise.
1330 * soft-fp/fixsfti.c: Likewise.
1331 * soft-fp/fixtfdi.c: Likewise.
1332 * soft-fp/fixtfsi.c: Likewise.
1333 * soft-fp/fixtfti.c: Likewise.
1334 * soft-fp/fixunsdfdi.c: Likewise.
1335 * soft-fp/fixunsdfsi.c: Likewise.
1336 * soft-fp/fixunsdfti.c: Likewise.
1337 * soft-fp/fixunssfdi.c: Likewise.
1338 * soft-fp/fixunssfsi.c: Likewise.
1339 * soft-fp/fixunssfti.c: Likewise.
1340 * soft-fp/fixunstfdi.c: Likewise.
1341 * soft-fp/fixunstfsi.c: Likewise.
1342 * soft-fp/fixunstfti.c: Likewise.
1343 * soft-fp/floatdidf.c: Likewise.
1344 * soft-fp/floatdisf.c: Likewise.
1345 * soft-fp/floatditf.c: Likewise.
1346 * soft-fp/floatsidf.c: Likewise.
1347 * soft-fp/floatsisf.c: Likewise.
1348 * soft-fp/floatsitf.c: Likewise.
1349 * soft-fp/floattidf.c: Likewise.
1350 * soft-fp/floattisf.c: Likewise.
1351 * soft-fp/floattitf.c: Likewise.
1352 * soft-fp/floatundidf.c: Likewise.
1353 * soft-fp/floatundisf.c: Likewise.
1354 * soft-fp/floatunditf.c: Likewise.
1355 * soft-fp/floatunsidf.c: Likewise.
1356 * soft-fp/floatunsisf.c: Likewise.
1357 * soft-fp/floatunsitf.c: Likewise.
1358 * soft-fp/floatuntidf.c: Likewise.
1359 * soft-fp/floatuntisf.c: Likewise.
1360 * soft-fp/floatuntitf.c: Likewise.
1361 * soft-fp/fmadf4.c: Likewise.
1362 * soft-fp/fmasf4.c: Likewise.
1363 * soft-fp/fmatf4.c: Likewise.
1364 * soft-fp/gedf2.c: Likewise.
1365 * soft-fp/gesf2.c: Likewise.
1366 * soft-fp/getf2.c: Likewise.
1367 * soft-fp/ledf2.c: Likewise.
1368 * soft-fp/lesf2.c: Likewise.
1369 * soft-fp/letf2.c: Likewise.
1370 * soft-fp/muldf3.c: Likewise.
1371 * soft-fp/mulsf3.c: Likewise.
1372 * soft-fp/multf3.c: Likewise.
1373 * soft-fp/negdf2.c: Likewise.
1374 * soft-fp/negsf2.c: Likewise.
1375 * soft-fp/negtf2.c: Likewise.
1376 * soft-fp/op-1.h: Likewise.
1377 * soft-fp/op-2.h: Likewise.
1378 * soft-fp/op-4.h: Likewise.
1379 * soft-fp/op-8.h: Likewise.
1380 * soft-fp/op-common.h: Likewise.
1381 * soft-fp/quad.h: Likewise.
1382 * soft-fp/single.h: Likewise.
1383 * soft-fp/soft-fp.h: Likewise.
1384 * soft-fp/sqrtdf2.c: Likewise.
1385 * soft-fp/sqrtsf2.c: Likewise.
1386 * soft-fp/sqrttf2.c: Likewise.
1387 * soft-fp/subdf3.c: Likewise.
1388 * soft-fp/subsf3.c: Likewise.
1389 * soft-fp/subtf3.c: Likewise.
1390 * soft-fp/truncdfsf2.c: Likewise.
1391 * soft-fp/trunctfdf2.c: Likewise.
1392 * soft-fp/trunctfsf2.c: Likewise.
1393 * soft-fp/trunctfxf2.c: Likewise.
1394 * soft-fp/unorddf2.c: Likewise.
1395 * soft-fp/unordsf2.c: Likewise.
1396 * soft-fp/unordtf2.c: Likewise.
1397
9ebb0332
JM
13982013-10-15 Joseph Myers <joseph@codesourcery.com>
1399
1400 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1401 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1402
4b1a6d8b
OB
14032013-10-15 Ondřej Bílka <neleai@seznam.cz>
1404
1405 * elf/dl-libc.c: Clear initfini list after freeing.
1406
1e145589
JM
14072013-10-14 Joseph Myers <joseph@codesourcery.com>
1408
1409 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1410 * soft-fp/addsf3.c: Likewise.
1411 * soft-fp/addtf3.c: Likewise.
1412 * soft-fp/divdf3.c: Likewise.
1413 * soft-fp/divsf3.c: Likewise.
1414 * soft-fp/divtf3.c: Likewise.
1415 * soft-fp/double.h: Likewise.
1416 * soft-fp/eqdf2.c: Likewise.
1417 * soft-fp/eqsf2.c: Likewise.
1418 * soft-fp/eqtf2.c: Likewise.
1419 * soft-fp/extenddftf2.c: Likewise.
1420 * soft-fp/extended.h: Likewise.
1421 * soft-fp/extendsfdf2.c: Likewise.
1422 * soft-fp/extendsftf2.c: Likewise.
1423 * soft-fp/extendxftf2.c: Likewise.
1424 * soft-fp/fixdfdi.c: Likewise.
1425 * soft-fp/fixdfsi.c: Likewise.
1426 * soft-fp/fixdfti.c: Likewise.
1427 * soft-fp/fixsfdi.c: Likewise.
1428 * soft-fp/fixsfsi.c: Likewise.
1429 * soft-fp/fixsfti.c: Likewise.
1430 * soft-fp/fixtfdi.c: Likewise.
1431 * soft-fp/fixtfsi.c: Likewise.
1432 * soft-fp/fixtfti.c: Likewise.
1433 * soft-fp/fixunsdfdi.c: Likewise.
1434 * soft-fp/fixunsdfsi.c: Likewise.
1435 * soft-fp/fixunsdfti.c: Likewise.
1436 * soft-fp/fixunssfdi.c: Likewise.
1437 * soft-fp/fixunssfsi.c: Likewise.
1438 * soft-fp/fixunssfti.c: Likewise.
1439 * soft-fp/fixunstfdi.c: Likewise.
1440 * soft-fp/fixunstfsi.c: Likewise.
1441 * soft-fp/fixunstfti.c: Likewise.
1442 * soft-fp/floatdidf.c: Likewise.
1443 * soft-fp/floatdisf.c: Likewise.
1444 * soft-fp/floatditf.c: Likewise.
1445 * soft-fp/floatsidf.c: Likewise.
1446 * soft-fp/floatsisf.c: Likewise.
1447 * soft-fp/floatsitf.c: Likewise.
1448 * soft-fp/floattidf.c: Likewise.
1449 * soft-fp/floattisf.c: Likewise.
1450 * soft-fp/floattitf.c: Likewise.
1451 * soft-fp/floatundidf.c: Likewise.
1452 * soft-fp/floatundisf.c: Likewise.
1453 * soft-fp/floatunsidf.c: Likewise.
1454 * soft-fp/floatunsisf.c: Likewise.
1455 * soft-fp/floatuntidf.c: Likewise.
1456 * soft-fp/floatuntisf.c: Likewise.
1457 * soft-fp/floatuntitf.c: Likewise.
1458 * soft-fp/fmadf4.c: Likewise.
1459 * soft-fp/fmasf4.c: Likewise.
1460 * soft-fp/fmatf4.c: Likewise.
1461 * soft-fp/gedf2.c: Likewise.
1462 * soft-fp/gesf2.c: Likewise.
1463 * soft-fp/getf2.c: Likewise.
1464 * soft-fp/ledf2.c: Likewise.
1465 * soft-fp/lesf2.c: Likewise.
1466 * soft-fp/letf2.c: Likewise.
1467 * soft-fp/muldf3.c: Likewise.
1468 * soft-fp/mulsf3.c: Likewise.
1469 * soft-fp/multf3.c: Likewise.
1470 * soft-fp/negdf2.c: Likewise.
1471 * soft-fp/negsf2.c: Likewise.
1472 * soft-fp/negtf2.c: Likewise.
1473 * soft-fp/op-1.h: Likewise.
1474 * soft-fp/op-2.h: Likewise.
1475 * soft-fp/op-4.h: Likewise.
1476 * soft-fp/op-8.h: Likewise.
1477 * soft-fp/op-common.h: Likewise.
1478 * soft-fp/quad.h: Likewise.
1479 * soft-fp/single.h: Likewise.
1480 * soft-fp/soft-fp.h: Likewise.
1481 * soft-fp/sqrtdf2.c: Likewise.
1482 * soft-fp/sqrtsf2.c: Likewise.
1483 * soft-fp/sqrttf2.c: Likewise.
1484 * soft-fp/subdf3.c: Likewise.
1485 * soft-fp/subsf3.c: Likewise.
1486 * soft-fp/subtf3.c: Likewise.
1487 * soft-fp/truncdfsf2.c: Likewise.
1488 * soft-fp/trunctfdf2.c: Likewise.
1489 * soft-fp/trunctfsf2.c: Likewise.
1490 * soft-fp/trunctfxf2.c: Likewise.
1491 * soft-fp/unorddf2.c: Likewise.
1492 * soft-fp/unordsf2.c: Likewise.
1493 * soft-fp/unordtf2.c: Likewise.
1494
17c48a60
OB
14952013-10-14 Ondřej Bílka <neleai@seznam.cz>
1496
1497 [BZ #15672]
1498 * misc/error.c (error_tail): Fix possible buffer overflow.
1499
cabba934
OB
15002013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1501
1502 [BZ #13028]
1503 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1504 address.
1505
94bf958a
PM
15062013-10-14 P. J. McDermott <pj@pehjota.net>
1507
1508 [BZ #832]
1509 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1510 testing pipefail option.
1511
71b4dea7
JM
15122013-10-12 Joseph Myers <joseph@codesourcery.com>
1513
1514 * soft-fp/double.h: Indent preprocessor directives inside #if.
1515 * soft-fp/extended.h: Likewise.
1516 * soft-fp/op-2.h: Likewise.
1517 * soft-fp/op-4.h: Likewise.
1518 * soft-fp/op-common.h: Likewise.
1519 * soft-fp/quad.h: Likewise.
1520 * soft-fp/single.h: Likewise.
1521 * soft-fp/soft-fp.h: Likewise.
1522
55602758
YC
15232013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1524
1525 * iconv/iconv_prog.c: Fix typos.
1526 * stdio-common/psiginfo-data.h: Likewise.
1527
9cd83302
RT
15282013-10-12 Reuben Thomas <rrt@sc3d.org>
1529
1530 [BZ #15764]
1531 * locale/setlocale.c: Fix typo.
1532
99fd9f47
JM
15332013-10-12 Joseph Myers <joseph@codesourcery.com>
1534
b7ea74f0
JM
1535 [BZ #16036]
1536 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1537 signaling NaN arguments.
1538 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1539 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1540
8a509447
JM
1541 [BZ #14910]
1542 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1543 unordered operands.
1544 * soft-fp/gesf2.c (__gesf2): Likewise.
1545 * soft-fp/getf2.c (__getf2): Likewise.
1546 * soft-fp/ledf2.c (__ledf2): Likewise.
1547 * soft-fp/lesf2.c (__lesf2): Likewise.
1548 * soft-fp/letf2.c (__letf2): Likewise.
1549
98998e9f
JM
1550 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1551 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1552 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1553 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1554 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1555 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1556 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1557 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1558 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1559 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1560 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1561 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1562 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1563 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1564 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1565 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1566 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1567 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1568 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1569 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1570 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1571 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1572 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1573 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1574 * soft-fp/floattidf.c (__floattidf): Likewise.
1575 * soft-fp/floattisf.c (__floattisf): Likewise.
1576 * soft-fp/floattitf.c (__floattitf): Likewise.
1577 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1578 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1579 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1580 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1581 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1582 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1583 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1584 * soft-fp/gesf2.c (__gesf2): Likewise.
1585 * soft-fp/getf2.c (__getf2): Likewise.
1586 * soft-fp/ledf2.c (__ledf2): Likewise.
1587 * soft-fp/lesf2.c (__lesf2): Likewise.
1588 * soft-fp/letf2.c (__letf2): Likewise.
1589
8edc4a11
JM
1590 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1591 Undefine and redefine.
1592 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1593 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1594 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1595 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1596 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1597 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1598 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1599 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1600 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1601 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1602 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1603 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1604 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1605 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1606 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1607
8399acaf
JM
1608 [BZ #16032]
1609 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1610 without decrementing exponent if mantissa >= that for the
1611 denominator, not >.
1612 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1613 denominator, not >. Decrement exponent in < case instead of
1614 incrementing in >= case.
1615 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1616 without decrementing exponent if mantissa >= that for the
1617 denominator, not >.
1618
99fd9f47
JM
1619 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1620 computing saturated result for unsigned overflow.
1621
10e1cf6b
SP
16222013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1623 Jeff Law <law@redhat.com>
1624
1625 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1626 (atan2Mp): Add systemtap probe marker.
1627 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1628 (__ieee754_log): Add systemtap probe marker.
1629 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1630 (atanMp): Add systemtap probe marker.
1631 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1632 (tanMp): Add systemtap probe marker.
1633 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1634 (__slowexp): Add systemtap probe marker.
1635 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1636 (__slowpow): Add systemtap probe marker.
1637 * manual/probes.texi: Document probes.
1638
3d110c7c
EB
16392013-10-11 Eric Biggers <ebiggers3@gmail.com>
1640
1641 [BZ #15362]
1642 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1643 written.
1644 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1645 written.
1646 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1647 written to buffer but not flushed.
1648 * libio/iofwrite_u.c: Likewise.
1649 * libio/iopadn.c: Return bytes returned even if EOF was
1650 encountered.
1651 * libio/iowpadn.c: Likewise.
1652 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1653 if _IO_padn does not write the whole buffer.
1654 [!COMPILE_WPRINTF] (PAD): Likewise.
1655
75b4202a
DM
16562013-10-10 David S. Miller <davem@davemloft.net>
1657
1658 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1659 directory block.
1660
6c6352e6
JM
16612013-10-10 Joseph Myers <joseph@codesourcery.com>
1662
33b853c3
JM
1663 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1664 instead of FSF address.
1665 * soft-fp/fixdfti.c: Likewise.
1666 * soft-fp/fixsfti.c: Likewise.
1667 * soft-fp/fixtfti.c: Likewise.
1668 * soft-fp/fixunsdfti.c: Likewise.
1669 * soft-fp/fixunssfti.c: Likewise.
1670 * soft-fp/fixunstfti.c: Likewise.
1671 * soft-fp/floattidf.c: Likewise.
1672 * soft-fp/floattisf.c: Likewise.
1673 * soft-fp/floattitf.c: Likewise.
1674 * soft-fp/floatuntidf.c: Likewise.
1675 * soft-fp/floatuntisf.c: Likewise.
1676 * soft-fp/floatuntitf.c: Likewise.
1677 * soft-fp/trunctfxf2.c: Likewise.
1678
6c6352e6
JM
1679 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1680 * soft-fp/fixdfti.c: Likewise.
1681 * soft-fp/fixsfti.c: Likewise.
1682 * soft-fp/fixtfti.c: Likewise.
1683 * soft-fp/fixunsdfti.c: Likewise.
1684 * soft-fp/fixunssfti.c: Likewise.
1685 * soft-fp/fixunstfti.c: Likewise.
1686 * soft-fp/floattidf.c: Likewise.
1687 * soft-fp/floattisf.c: Likewise.
1688 * soft-fp/floattitf.c: Likewise.
1689 * soft-fp/floatuntidf.c: Likewise.
1690 * soft-fp/floatuntisf.c: Likewise.
1691 * soft-fp/floatuntitf.c: Likewise.
1692 * soft-fp/trunctfxf2.c: Likewise.
1693
3bf78b71
DM
16942013-10-10 David S. Miller <davem@davemloft.net>
1695
1696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1697
6f10289e
JM
16982013-10-10 Joseph Myers <joseph@codsourcery.com>
1699
bd878fc0
JM
1700 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1701 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1702 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1703 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1704 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1705 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1706 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1707
6f10289e
JM
1708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1709 for NaNs before doing comparisons on argument.
1710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1711 Likewise.
1712
321e2684
WN
17132013-10-10 Will Newton <will.newton@linaro.org>
1714
1715 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1716 passed to _int_memalign does not overflow.
1717
40fefba1
TR
17182013-10-10 Torvald Riegel <triegel@redhat.com>
1719
1720 * scripts/bench.pl: Add include-sources directive.
1721 * benchtests/README: Update documentation.
1722
2ae21ed2
JM
17232013-10-10 Joseph Myers <joseph@codesourcery.com>
1724
dcc2dd3f
JM
1725 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1726 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1727 instead of FP_INIT_ROUNDMODE.
1728 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1729 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1730
2ae21ed2
JM
1731 [BZ #16034]
1732 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1733 copy class of input value.
1734 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1735 not handle exceptions.
1736 * soft-fp/negsf2.c (__negsf2): Likewise.
1737 * soft-fp/negtf2.c (__negtf2): Likewise.
1738 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1739
cb8f9562
JM
17402013-10-09 Joseph Myers <joseph@codesourcery.com>
1741
1742 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1743 semicolon. From Linux kernel.
1744
5b60c59d
AB
17452013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1746
1747 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1748
b86835ca
YC
17492013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1750
1751 [BZ #156]
1752 * manual/socket.texi: Added statement about buffer
1753 for gethostbyname2_r.
1754
e7044ea7
OB
17552013-10-08 Ondřej Bílka <neleai@seznam.cz>
1756
1757 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1758 Use .p2align directive instead, throughout.
1759 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1760 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1761 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1764 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1765 * sysdeps/x86_64/strchr.S: Likewise.
1766 * sysdeps/x86_64/strrchr.S: Likewise.
1767
09544cbc
SP
17682013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1769
88576635
SP
1770 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1771
e7b2d1dd
SP
1772 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1773
09544cbc
SP
1774 * sysdeps/generic/math_private.h (__mpsin1): Remove
1775 declaration.
1776 (__mpcos1): Likewise.
1777 (__mpsin): New argument __range_reduce.
1778 (__mpcos): Likewise.
1779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1780 (slow): Use __mpsin and __mpcos.
1781 (slow1): Likewise.
1782 (slow2): Likewise.
1783 (sloww): Likewise.
1784 (sloww1): Likewise.
1785 (sloww2): Likewise.
1786 (bsloww): Likewise.
1787 (bsloww1): Likewise.
1788 (bsloww2): Likewise.
1789 (cslow2): Likewise.
1790 (csloww): Likewise.
1791 (csloww1): Likewise.
1792 (csloww2): Likewise.
1793 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1794 range_reduce. Merge in __mpsin1.
1795 (__mpcos): Likewise.
1796 (__mpsin1): Remove.
1797 (__mpcos1): Likewise.
1798
7602d070
JM
17992013-10-07 Joseph Myers <joseph@codesourcery.com>
1800
1801 * locale/loadlocale.c (_nl_intern_locale_data): Use
1802 LOCFILE_ALIGNED_P.
1803 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1804 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1805 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1806 obstack data is appropriately aligned.
1807 (obstack_int32_grow_fast): Likewise.
1808 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1809 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1810 (add_locale_uint32_array): Likewise.
1811
a357259b
SP
18122013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1813
1814 * benchtests/Makefile: Remove ARGLIST and RET variables.
1815 ($(objpfx)bench-%.c): Pass only function name to the script.
1816 * benchtests/README: Update documentation.
1817 * benchtests/acos-inputs: Add new directives.
1818 * benchtests/acosh-inputs: Likewise.
1819 * benchtests/asin-inputs: Likewise.
1820 * benchtests/asinh-inputs: Likewise.
1821 * benchtests/atan-inputs: Likewise.
1822 * benchtests/atanh-inputs: Likewise.
1823 * benchtests/cos-inputs: Likewise.
1824 * benchtests/cosh-inputs: Likewise.
1825 * benchtests/exp-inputs: Likewise.
1826 * benchtests/log-inputs: Likewise.
1827 * benchtests/pow-inputs: Likewise.
1828 * benchtests/rint-inputs: Likewise.
1829 * benchtests/sin-inputs: Likewise.
1830 * benchtests/sinh-inputs: Likewise.
1831 * benchtests/tan-inputs: Likewise.
1832 * benchtests/tanh-inputs: Likewise.
1833 * scripts/bench.pl: Add support for new directives.
1834
9ec1b13d
AM
18352013-10-07 Alan Modra <amodra@gmail.com>
1836
1837 * README: Fix careless merge.
1838
8b7d57cd
AM
18392013-10-05 Alan Modra <amodra@gmail.com>
1840
1841 * NEWS: Mention powerpc64le support and bugs fixed.
1842 * README: Both big-endian and little-endian powerpc64 supported.
1843
7b7bab13
ST
18442013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1845
1846 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1847 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1848 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1849 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1850
d39baad1
RA
18512013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1852
1853 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1854 match prototype.
1855
cd78f7e7
JM
18562013-10-04 Joseph Myers <joseph@codesourcery.com>
1857
29d73d86
JM
1858 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1859 Move -mhard-float appending from
1860 ports/sysdeps/powerpc/powerpc32/Makefile.
1861 [$(with-fp) = yes] (ASFLAGS): Likewise.
1862 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1863 * sysdeps/powerpc/nofpu: Move directory from
1864 ports/sysdeps/powerpc/nofpu.
1865 * sysdeps/powerpc/soft-fp: Move directory from
1866 ports/sysdeps/powerpc/soft-fp.
1867 * sysdeps/powerpc/powerpc32/405: Move directory from
1868 ports/sysdeps/powerpc/powerpc32/405.
1869 * sysdeps/powerpc/powerpc32/440: Move directory from
1870 ports/sysdeps/powerpc/powerpc32/440.
1871 * sysdeps/powerpc/powerpc32/464: Move directory from
1872 ports/sysdeps/powerpc/powerpc32/464.
1873 * sysdeps/powerpc/powerpc32/476: Move directory from
1874 ports/sysdeps/powerpc/powerpc32/476.
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1876 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1878 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1880 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1882 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1884 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1885 * README: Update for powerpc-*-linux-gnu software floating point
1886 support in libc.
1887
e246b347
JM
1888 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1889 case to powerpc/powerpc32*.
1890 * sysdeps/unix/sysv/linux/configure: Regenerated.
1891
89c2003e
JM
1892 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1893 (_FPU_MASK_OM): Define as 0x04.
1894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1896 0x00c10080.
1897 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1898 0x0000003c.
1899 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1900
cd78f7e7
JM
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1902 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1903 getcontext_e500.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1905 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1906 setcontext_e500.
1907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1908 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1909 and setcontext_e500.
1910
c755294d
CL
19112013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1912
1913 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1914
e16d221c
SP
19152013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1916
1917 * manual/threads.texi (Default Thread Attributes): Fix typo.
1918
215c7d43
WN
19192013-10-04 Will Newton <will.newton@linaro.org>
1920
1921 * malloc/Makefile: Add tst-memalign.
1922 * malloc/tst-memalign.c: New file.
1923
27d0461b
WN
1924 * malloc/tst-posix_memalign.c: Add comments.
1925 (do_test): Add comments and call free on all potentially
1926 allocated pointers. Add space after cast.
1927
1bc92709
WN
1928 * malloc/tst-pvalloc.c: Add comments.
1929 (do_test): Add comments and call free on all potentially
1930 allocated pointers. Remove duplicate check for NULL pointer.
1931 Add space after cast.
1932
66a9be9d
WN
1933 * malloc/tst-valloc.c: Add comments.
1934 (do_test): Add comments and call free on all potentially
1935 allocated pointers. Remove duplicate check for NULL pointer.
1936 Add space after cast.
1937
4cb81307
AM
19382013-10-04 Alan Modra <amodra@gmail.com>
1939
1940 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1941 Use stdint types in rather than __attribute__((mode())).
1942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1943
f8e3e9f3
AM
19442013-10-04 Alan Modra <amodra@gmail.com>
1945
1946 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1947 Correct handling of unaligned relocs for little-endian.
1948 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1949
8f9ebb08
AM
19502013-10-04 Alan Modra <amodra@gmail.com>
1951
1952 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1953 * configure: Regenerate.
1954 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1955 * shlib-versions: Likewise.
1956
0edf96c2
AM
19572013-10-04 Alan Modra <amodra@gmail.com>
1958
1959 * string/tester.c (test_memrchr): Increment reported test cycle.
1960
e0f7a380
AM
19612013-10-04 Alan Modra <amodra@gmail.com>
1962
1963 * string/test-memcpy.c (do_one_test): When reporting errors, print
1964 string address and don't overrun end of string.
1965
466b0393
AM
19662013-10-04 Alan Modra <amodra@gmail.com>
1967
1968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1969 insrdi. Make better use of reg selection to speed exit slightly.
1970 Schedule entry path a little better. Remove useless "are we done"
1971 checks on entry to main loop. Handle wrapping around zero address.
1972 Correct main loop count. Handle single left-over word from main
1973 loop inline rather than by using loop_small. Remove extra word
1974 case in loop_small caused by wrong loop count. Add little-endian
1975 support.
1976 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1978 cache hint.
1979 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1980 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1981 support. Avoid rlwimi.
1982 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1983
3be87c77
AM
19842013-10-04 Alan Modra <amodra@gmail.com>
1985
1986 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1987 insrdi. Formatting.
3be87c77
AM
1988 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1989 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1990 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1991 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1992 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1993 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1994
759cfef3
AM
19952013-10-04 Alan Modra <amodra@gmail.com>
1996
1997 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1998 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1999 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2000 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2001 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2003 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2004 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2005 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2006 use of regs. Use power7 mtocrf. Tidy function tails.
2007
fe6e95d7
AM
20082013-10-04 Alan Modra <amodra@gmail.com>
2009
2010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2011 Formatting. Consistently use rXXX register defines or rN defines.
2012 Use early exit labels that avoid restoring unused non-volatile regs.
2013 Make cr field use more consistent with rWORDn compares. Rename
2014 regs used as shift registers for unaligned loop, using rN defines
2015 for short lifetime/multiple use regs.
2016 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2017 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2018 addi 1,1,64 to pop stack frame. Simplify return value code.
2019 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2020
664318c3
AM
20212013-10-04 Alan Modra <amodra@gmail.com>
2022
2023 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2024 support. Correct typos, formatting. Optimize tail. Use insrdi
2025 rather than rlwimi.
2026 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2027 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2028 little-endian support. Correct typos.
2029 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2030 rather than rlwimi.
2031 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2032 in loop and entry code to keep "and." results.
2033 (strchr): Add little-endian support. Comment. Move cntlzd
2034 earlier in tail.
2035 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2036
43b84013
AM
20372013-10-04 Alan Modra <amodra@gmail.com>
2038
2039 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2040 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2041 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2043
8a7413f9
AM
20442013-10-04 Alan Modra <amodra@gmail.com>
2045
2046 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2047 (rTMP): Define as r11.
2048 (strcmp): Add little-endian support. Optimise tail.
2049 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2050 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2051 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2053 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2055 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2056
33ee81de
AM
20572013-10-04 Alan Modra <amodra@gmail.com>
2058
2059 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2060 little-endian support. Remove unnecessary "are we done" tests.
2061 Handle "s" wrapping around zero and extremely large "size".
2062 Correct main loop count. Handle single left-over word from main
2063 loop inline rather than by using small_loop. Correct comments.
2064 Delete "zero" tail, use "end_max" instead.
2065 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2066
db9b4570
AM
20672013-10-04 Alan Modra <amodra@gmail.com>
2068
2069 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2070 support. Don't branch over align.
2071 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2073 support. Rearrange tmp reg use to suit. Comment.
2074 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2075
f7c399cf
AM
20762013-10-04 Alan Modra <amodra@gmail.com>
2077
2078 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2079
0b2c2ace
AM
20802013-10-04 Alan Modra <amodra@gmail.com>
2081
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2083 conditional form of branch and link when obtaining pc.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2085
02f04a6c
AM
20862013-10-04 Alan Modra <amodra@gmail.com>
2087
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2089 HIWORD/LOWORD.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2092
9b874b2f
AM
20932013-10-04 Alan Modra <amodra@gmail.com>
2094
2095 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2096 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2097 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2098 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2100 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2101 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2102 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2103 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2104 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2105
be1e5d31
AB
21062013-10-04 Anton Blanchard <anton@au1.ibm.com>
2107 Alistair Popple <alistair@ozlabs.au.ibm.com>
2108 Alan Modra <amodra@gmail.com>
2109
2110 [BZ #15723]
2111 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2112 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2113 _dl_hwcap access for little-endian.
2114 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2115 destroy vmx regs when saving unaligned.
2116 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2117 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2118 destroy vmx regs when saving unaligned.
2119
fef13a78
AM
21202013-10-04 Alan Modra <amodra@gmail.com>
2121
2122 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2123 Don't use a union to pack hi/low value.
2124
76a66d51
AB
21252013-10-04 Anton Blanchard <anton@au1.ibm.com>
2126
2127 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2128 for little-endian.
2129 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2130 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2131 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2134
6a31fe7f
AM
21352013-10-04 Alan Modra <amodra@gmail.com>
2136
2137 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2138 constants to usual value for .cst8 section, and remove redundant
2139 high address load.
2140 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2141 constant for 0x1p52. Load little-endian words of double from
2142 correct stack offsets.
2143
7b88401f
AM
21442013-10-04 Alan Modra <amodra@gmail.com>
2145
2146 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2147 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2148 words of double from correct stack offsets.
2149 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2150 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2151 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2153 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2156 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2157 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2158 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2161 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2162 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2163 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2164 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2165 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2166
9c008155
AM
21672013-10-04 Alan Modra <amodra@gmail.com>
2168
2169 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2170 64-bit int/double union.
2171 (_FPU_SETCW): Likewise.
2172 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2173 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2174
da13146d
AM
21752013-10-04 Alan Modra <amodra@gmail.com>
2176
2177 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2178 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2179
603e8410
AM
21802013-10-04 Alan Modra <amodra@gmail.com>
2181
2182 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2183 use vector int constants.
2184 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2185
4a28b3ca
AB
21862013-10-04 Anton Blanchard <anton@au1.ibm.com>
2187
2188 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2189 array with long long.
2190 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2191 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2192 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2193 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2194 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2195 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2196 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2197 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2198 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2199 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2200 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2201 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2202 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2203
2ca85d2b
AB
22042013-10-04 Anton Blanchard <anton@au1.ibm.com>
2205
2206 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2207 (__signbit): Likewise. Correct for little-endian.
2208 (__signbitl): Call __signbit.
2209 (lrint): Correct for little-endian.
2210 (lrintf): Call lrint.
2211
62a728ae
AM
22122013-10-04 Alan Modra <amodra@gmail.com>
2213
2214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2215 union 32-bit int array member with 64-bit int array.
2216 (t515, tm256): Double rather than long double.
2217 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2218
32c301df
AM
22192013-10-04 Alan Modra <amodra@gmail.com>
2220
2221 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2222 Delete.
2223 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2224 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2225 version of math_ldbl.h.
2226
650ef4bd
AM
22272013-10-04 Alan Modra <amodra@gmail.com>
2228
2229 [BZ #15734], [BZ #15735]
2230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2231 all uses of ieee875 long double macros and unions. Simplify test
2232 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2233 ldbl_extract_mantissa value for ix,iy exponents. Properly
2234 normalize after ldbl_extract_mantissa, and don't add hidden bit
2235 already handled. Don't treat low word of ieee854 mantissa like
2236 low word of IBM long double and mask off bit when testing for
2237 zero.
2238 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2239 all uses of ieee875 long double macros and unions. Simplify tests
2240 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2241 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2242 two1022, instead use their values. Recognise that tests for large
2243 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2244 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2245 Rewrite all uses of ieee875 long double macros and unions. Simplify
2246 test for 0.0L and nan. Correct negation.
2247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2248 ieee875 long double macros and unions. Correct output for large
2249 magnitude x. Correct absolute value calculation.
2250 (__erfcl): Likewise.
2251 * math/libm-test.inc: Add tests for errors discovered in IBM long
2252 double versions of fmodl, remainderl, erfl and erfcl.
2253
765714ca
AM
22542013-10-04 Alan Modra <amodra@gmail.com>
2255
2256 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2257 all uses of ieee854 long double macros and unions. Simplify tests
2258 for long doubles that are fully specified by the high double.
2259 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2260 Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2262 Remove dead code too.
2263 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2264 (__ieee754_ynl): Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2268 Remove dead code too.
2269 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2270 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2273 Simplify.
2274 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2275 Simplify.
2276 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2279 Comment on variable precision.
2280 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2282 Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2287 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2288
4ebd120c
AM
22892013-10-04 Alan Modra <amodra@gmail.com>
2290
2291 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2293 all uses of ieee854 long double macros and unions.
2294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2300 Likewise.
2301 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2302 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2303 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2307 Simplify sign and nan test too.
2308 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2310 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2312 Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2315 Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2319 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2320 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2321 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2322
1b6adf88
AM
23232013-10-04 Alan Modra <amodra@gmail.com>
2324
2325 * stdio-common/printf_size.c (__printf_size): Don't use
2326 union ieee854_long_double in fpnum union.
2327 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2328 signbit macro to retrieve sign from long double.
2329 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2330 retrieve sign from long double.
2331 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2332 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2333 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2334 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2335 * math/test-misc.c (main): Don't use union ieee854_long_double.
2336
4cf69995
AM
23372013-10-04 Alan Modra <amodra@gmail.com>
2338
2339 [BZ #15680]
2340 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2341 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2342 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2343 calculation. Remove unnecessary test for denormal exponent.
2344 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2345 Correct handling of denormals. Avoid undefined shift behaviour.
2346 Correct normalisation of low mantissa when low double is denormal.
2347 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2348 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2349 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2350 Correct normalisation of low mantissa. Test for overflow of high
2351 mantissa and normalise.
2352 (ldbl_nearbyint): Use more readable constant for two52.
2353 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2354 (__mpn_construct_long_double): Fix test for overflow of high
2355 mantissa and correct normalisation. Avoid undefined shift.
2356
9605ca6c
AM
23572013-10-04 Alan Modra <amodra@gmail.com>
2358
2359 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2360 (union ibm_extended_long_double): Define as an array of ieee754_double.
2361 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2362 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2363 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2364 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2368 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2372
975569d0
JM
23732013-10-03 Joseph Myers <joseph@codesourcery.com>
2374
d3d23756
JM
2375 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2376 page size instead of calling getpagesize.
2377
975569d0
JM
2378 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2379 (LOCFILE_ALIGN_MASK): Likewise.
2380 (LOCFILE_ALIGN_UP): Likewise.
2381 (LOCFILE_ALIGNED_P): Likewise.
2382 * locale/programs/ld-collate.c (collate_output): Use the new
2383 macros instead of __alignof__ (int32_t).
2384 * locale/weight.h (findidx): Likewise.
2385
b1fe1f2b
OB
23862013-10-03 Ondřej Bílka <neleai@seznam.cz>
2387
2388 [BZ #431]
2389 * manual/string.texi: Fix strncat and wcsncat.
2390
5f855e35
BM
23912013-10-03 Brooks Moses <bmoses@google.com>
2392
2393 [BZ #15915]
2394 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2395 * Makerules: ...here, and adjust associated comments.
2396
3cef6009
WN
23972013-10-02 Will Newton <will.newton@linaro.org>
2398
2399 * malloc/Makefile: Add tst-pvalloc.
2400 * malloc/tst-pvalloc.c: New file.
2401
7815420b
WN
24022013-10-02 Will Newton <will.newton@linaro.org>
2403
2404 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2405 improve test coverage.
2406
4868b204
WN
24072013-10-02 Will Newton <will.newton@linaro.org>
2408
2409 * malloc/Makefile: Add tst-posix_memalign.
2410 * malloc/tst-posix_memalign.c: New file.
2411
29c793b3
EB
24122013-10-01 Eric Blake <eblake@redhat.com>
2413
2414 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2415 Use __THROWNL rather than __THROW on static functions.
2416
fd967522
PM
24172013-09-30 Petr Machata <pmachata@redhat.com>
2418
2419 * elf/elf.h (R_AARCH64_ABS16): New macro.
2420 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2421 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2422 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2423 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2424 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2425 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2426 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2427 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2428 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2429 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2430 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2431 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2432 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2433 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2434 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2435 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2436 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2437 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2438 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2439 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2440 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2441 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2442 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2443 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2444 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2445 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2446 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2447 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2448 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2449 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2450 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2451 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2452 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2453 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2454 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2455 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2456 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2457 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2458 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2459 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2460 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2461 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2462 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2463 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2464 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2465 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2466 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2467 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2468 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2469 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2470 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2471 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2472 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2473 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2474 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2475 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2476 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2477 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2478 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2479 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2480 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2481 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2482 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2483 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2484 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2485 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2486 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2487 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2488 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2489 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2490 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2491 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2492 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2493 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2494 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2495 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2496 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2497 (R_AARCH64_TLSDESC_LDR): Likewise.
2498 (R_AARCH64_TLSDESC_ADD): Likewise.
2499 (R_AARCH64_TLSDESC_CALL): Likewise.
2500
b2179107
AS
25012013-09-30 Andreas Schwab <schwab@suse.de>
2502
2503 [BZ #15048]
2504 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2505 the nss database lookup.
2506 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2508
47f28d0a
MF
25092013-09-28 Mike Frysinger <vapier@gentoo.org>
2510
2511 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2512
25132013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2514
2515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2516 ${Bash-specific parameter/pattern/string} parameter expansion.
2517 * sysdeps/unix/make-syscalls.sh: Likewise.
2518
f4518a17
KK
25192013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2520
2521 * sysdeps/sh/stackguard-macros.h: New file.
2522
dc1a95c7
OB
25232013-09-26 Ondřej Bílka <neleai@seznam.cz>
2524
2525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2527 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2528 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2529 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2530 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2531
5ebbff8f
AZ
25322013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2533
2534 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2535 Fix thread ID register.
2536
4fd2cf9f
JM
25372013-09-25 Joseph Myers <joseph@codesourcery.com>
2538
2539 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2540 [POSIX || UNIX98]: Require rather than permitting all symbols from
2541 <time.h>.
2542 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2543 element of struct sched_param.
2544 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2545 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2546 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2547 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2548 constant.
2549
12c22bc4
OL
25502013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2551
2552 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2553 argument calculation.
2554
a03d8ea7
JM
25552013-09-24 Joseph Myers <joseph@codesourcery.com>
2556
2557 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2558 Expect macro.
2559 [POSIX] (pthread_attr_t): Do not require type.
2560 [POSIX] (pthread_cond_t): Likewise.
2561 [POSIX] (pthread_condattr_t): Likewise.
2562 [POSIX] (pthread_key_t): Likewise.
2563 [POSIX] (pthread_mutex_t): Likewise.
2564 [POSIX] (pthread_mutexattr_t): Likewise.
2565 [POSIX] (pthread_once_t): Likewise.
2566 [POSIX] (pthread_t): Likewise.
2567 [POSIX-based standards] (pthread_atfork): Expect function.
2568
6055173a
JM
25692013-09-24 Joseph Myers <joseph@codesourcery.com>
2570 Richard Sandiford <richard@codesourcery.com>
2571
2572 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2573 (swap_endianness_p): New extern variable.
2574 (set_big_endian): New inline function.
2575 (maybe_swap_uint32): Likewise.
2576 (maybe_swap_uint32_array): Likewise.
2577 (maybe_swap_uint32_obstack): Likewise.
2578 * locale/programs/locfile.c: Include <stdbool.h>.
2579 (swap_endianness_p): New variable.
2580 (add_locale_uint32): Call maybe_swap_uint32.
2581 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2582 (write_locale_data): Call maybe_swap_uint32_array.
2583 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2584 maybe_swap_uint32.
2585 (obstack_int32_grow_fast): Likewise.
2586 (output_weightwc): Call maybe_swap_uint32_obstack.
2587 (collate_output): Likewise.
2588 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2589 (OPT_LITTLE_ENDIAN): Likewise.
2590 (options): Add --little-endian and --big-endian options.
2591 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2592 * locale/programs/locarchive.c: Include "locfile.h".
2593 (GET): New macro.
2594 (SET): Likewise.
2595 (INC): Likewise.
2596 (create_archive): Use the new macros to access fields of
2597 structures directly mapped from or written to locale archives.
2598 (oldlocrecentcmp): Likewise.
2599 (enlarge_archive): Likewise.
2600 (insert_name): Likewise.
2601 (add_alias): Likewise.
2602 (add_locale): Likewise.
2603 (delete_locales_from_archive): Likewise.
2604 (show_archive_content): Likewise.
2605 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2606 locale data.
2607
39bf0bb4
RM
26082013-09-24 Roland McGrath <roland@hack.frob.com>
2609
2610 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2611 http://www.gnu.org/doc/freemanuals.texi.
2612 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2613
f02eed10
WN
26142013-09-24 Will Newton <will.newton@linaro.org>
2615
2616 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2617 macro.
2618
a3a6c312
JM
26192013-09-23 Joseph Myers <joseph@codesourcery.com>
2620
2621 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2622 unsigned char.
2623
107375ac
MR
26242013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2625
2626 * manual/threads.texi (POSIX Threads): Fix a typo.
2627
141f3a77
SP
26282013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2629
303e567a
SP
2630 [BZ #14547]
2631 * string/tst-strcoll-overflow.c: New test case.
2632 * string/Makefile (xtests): Add tst-strcoll-overflow.
2633 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2634 cache if string sizes may cause integer overflow.
2635
141f3a77
SP
2636 [BZ #14547]
2637 * string/strcoll_l.c (coll_seq): New members rule, idx,
2638 save_idx and back_us.
2639 (get_next_seq_nocache): New function.
2640 (do_compare_nocache): New function.
2641 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2642 when malloc fails.
2643
c61b4d41
CD
26442013-09-23 Carlos O'Donell <carlos@redhat.com>
2645
0b1f8e35
CD
2646 [BZ #15754]
2647 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2648 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2649 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2650
c61b4d41
CD
2651 [BZ #15754]
2652 * elf/Makefile (tests): Add tst-ptrguard1.
2653 (tests-static): Add tst-ptrguard1-static.
2654 (tst-ptrguard1-ARGS): Define.
2655 (tst-ptrguard1-static-ARGS): Define.
2656 * elf/tst-ptrguard1.c: New file.
2657 * elf/tst-ptrguard1-static.c: New file.
2658 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2659 * sysdeps/i386/stackguard-macros.h: Likewise.
2660 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2661 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2662 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2663 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2664 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2665 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2666
26672013-09-23 Hector Marco <hecmargi@upv.es>
2668 Ismael Ripoll <iripoll@disca.upv.es>
2669 Carlos O'Donell <carlos@redhat.com>
2670
2671 [BZ #15754]
2672 * sysdeps/generic/stackguard-macros.h: Define
2673 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2674 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2675 Define __pointer_chk_guard_local.
2676 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2677 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2678
f5f4e7b4
VV
26792013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2680
2681 [BZ #15859]
2682 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2683
5bb43a43
AS
26842013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2685
2686 * include/string.h (__ffs): Declare as hidden.
2687 * string/ffs.c (__ffs): Define as hidden.
2688 * sysdeps/i386/ffs.c (__ffs): Likewise.
2689 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2690 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2691 * sysdeps/s390/ffs.c (__ffs): Likewise.
2692 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2693
3ea5be54
AO
26942013-09-20 Alexandre Oliva <aoliva@redhat.com>
2695
ffb89e53
AO
2696 * NEWS: Mention malloc probes.
2697
322dea08
AO
2698 * malloc/arena.c (new_heap): New memory_heap_new probe.
2699 (grow_heap): New memory_heap_more probe.
2700 (shrink_heap): New memory_heap_less probe.
2701 (heap_trim): New memory_heap_free probe.
2702 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2703 (systrim): New memory_sbrk_less probe.
2704 * manual/probes.texi: Document them.
2705
655673f3
AO
2706 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2707 * manual/probes.texi: Document it.
2708
35fed6f1
AO
2709 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2710 (__libc_realloc): Add memory_realloc_retry probe.
2711 (__libc_memalign): Add memory_memalign_retry probe.
2712 (__libc_valloc): Add memory_valloc_retry probe.
2713 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2714 (__libc_calloc): Add memory_calloc_retry probe.
2715 * manual/probes.texi: Document them.
2716
6999d38c
AO
2717 * malloc/arena.c (get_free_list): Add probe
2718 memory_arena_reuse_free_list.
2719 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2720 and memory_arena_reuse.
2721 (arena_get2) [!PER_THREAD]: Likewise.
2722 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2723 memory_arena_reuse_realloc.
2724 * manual/probes.texi: Document them.
2725
0653427f
AO
2726 * malloc/malloc.c (__libc_free): Add
2727 memory_mallopt_free_dyn_thresholds probe.
2728 (__libc_mallopt): Add multiple memory_mallopt probes.
2729 * manual/probes.texi: Document them.
2730
3ea5be54
AO
2731 * malloc/malloc.c: Include stap-probe.h.
2732 (__libc_mallopt): Add memory_mallopt probe.
2733 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2734 * manual/probes.texi: New.
2735 * manual/Makefile (chapters): Add probes.
2736 * manual/threads.texi: Set next node.
2737
e35696c3 27382013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2739
e35696c3
CL
2740 [BZ #15963, #13985]
2741 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2742 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2743 Add `Chinese' to `nan' entry name.
2744
4aafb73c
SP
27452013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2746
2747 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2748 (POLYNOMIAL): Likewise.
2749 (TAYLOR_SINCOS): Likewise.
2750 (TAYLOR_SLOW): Likewise.
2751 (__sin): Use TAYLOR_SINCOS.
2752 (__cos): Likewise.
2753 (slow): Use TAYLOR_SLOW.
2754 (sloww): Likewise.
2755 (bsloww): Likewise.
2756 (csloww): Likewise.
2757
d84f25c7
LD
27582013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2759
2760 * stdlib/strtod_l.c: Fix buffer overrun.
2761
5eea0404
SP
27622013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2763
7849ff93
SP
2764 * benchtests/Makefile (bench): Add sincos.
2765 * benchtests/bench-sincos.c: New file.
2766
cfa3c886
SP
2767 * math/libm-test.inc (cos_test_data): New test inputs.
2768 (sin_test_data): Likewise.
2769
b348e1e3
SP
2770 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2771 macro.
2772 (__sin): Use it.
2773 (__cos): Likewise.
2774 (slow1): Likewise.
2775 (slow2): Likewise.
2776 (sloww1): Likewise.
2777 (sloww2): Likewise.
2778 (bsloww1): Likewise.
2779 (bsloww2): Likewise.
2780 (cslow2): Likewise.
2781 (csloww1): Likewise.
2782 (csloww2): Likewise.
2783
6cce25f8
SP
2784 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2785 function.
2786 (__sin): Use it.
2787 (__cos): Likewise.
2788
5eea0404
SP
2789 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2790 gotos.
2791 (__cos): Likewise.
2792
9c21573c
MR
27932013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2794
2795 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2796 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2797 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2798 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2799 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2800 * elf/cache.c (print_entry): Handle the new cache flags.
2801
24d22e65
JM
28022013-09-18 Joseph Myers <joseph@codesourcery.com>
2803 Aldy Hernandez <aldyh@redhat.com>
2804
2805 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2806 Change condition to [_SOFT_FLOAT].
2807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2819 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2822 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2823 declaration.
2824
d13ef066
JM
28252013-09-18 Joseph Myers <joseph@codesourcery.com>
2826
2e071de0
JM
2827 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2828 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2829 (__longjmp): Use LOAD_GP to load saved GPRs.
2830 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2831 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2832 (__sigsetjmp): Use SAVE_GP to save GPRs.
2833
d13ef066
JM
2834 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2835 Do not append -msoft-float.
2836 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2837
97a0650b
SP
28382013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2839
2840 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2841
11ca09e9
JM
28422013-09-17 Joseph Myers <joseph@codesourcery.com>
2843
2844 [BZ #15966]
2845 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2846 (_FPU_GETCW): Use initial "__" on variable and field names but not
2847 on macro parameter name.
2848 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2849 parentheses around reference to macro parameter.
2850
08ffcf34
RS
28512013-09-13 Richard Sandiford <richard@codesourcery.com>
2852
2853 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2854 prototype.
2855 (ctype_startup): Use uint32_t in cast and sizeof for
2856 ctype->charnames.
2857
ae7080d3
JL
28582013-09-11 Jia Liu <proljc@gmail.com>
2859
2860 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2861 __daddr_t_defined.
2862 [__FreeBSD__]: Likewise.
2863
5905e7b3
OB
28642013-09-11 Ondřej Bílka <neleai@seznam.cz>
2865
2866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2867 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2868 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2869 (strchr): Remove __strchr_sse42 ifunc selection.
2870 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2871 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2872
b987c776
WN
28732013-09-11 Will Newton <will.newton@linaro.org>
2874
2875 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2876 parameter to RES. Remove hardcoded 1000 value.
2877 * benchtests/bench-skeleton.c (main): Pass RES parameter
2878 to TIMING_INIT and multiply result by 1000.
2879
ddf985af
AZ
28802013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2881
2882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2883
ffdd3181
AS
28842013-09-11 Andreas Schwab <schwab@suse.de>
2885
2886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2887 if not defined.
2888 (O_TMPFILE) [__USE_GNU]: Define.
2889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2890 Define.
2891
b73ed247
WN
28922013-09-11 Will Newton <will.newton@linaro.org>
2893
2894 [BZ #15857]
2895 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2896 does not overflow.
2897
55e17aad
WN
28982013-09-11 Will Newton <will.newton@linaro.org>
2899
2900 [BZ #15856]
2901 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2902 does not overflow.
2903
1159a193
WN
29042013-09-11 Will Newton <will.newton@linaro.org>
2905
2906 [BZ #15855]
2907 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2908 does not overflow.
2909
5905e7b3 29102013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2911
2912 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2913 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2914 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2916 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2917
cdfc721b
AM
29182013-09-10 Allan McRae <allan@archlinux.org>
2919
aa04af00
AM
2920 [BZ #15748]
2921 * manual/arith.texi (Parsing of Floats): Clarify
2922 cross-reference.
2923
cdfc721b
AM
2924 [BZ #15849]
2925 * manual/install.texi (Running make install): Mention
2926 --enable-pt-chown.
2927 * INSTALL: Regenerated.
2928
95e7cf29
MR
29292013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2930
2931 * csu/init-first.c (_init): Remove the !SHARED condition around
2932 FPU control word initialization.
2933 * elf/dl-support.c (_dl_fpu_control): New variable.
2934 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2935 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2936 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2937 * math/test-fpucw-static.c: New file.
2938 * math/test-fpucw-ieee.c: New file.
2939 * math/test-fpucw-ieee-static.c: New file.
2940 * math/Makefile (tests): Add `test-fpucw-ieee' and
2941 `$(tests-static)'.
2942 (tests-static): New variable.
2943 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2944 dependency to...
2945 [($(build-shared),yes)]
2946 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2947 ... this.
2948 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2949 New dependency.
2950
83e43bf0
AM
29512013-09-09 Allan McRae <allan@archlinux.org>
2952
a9f5ce09
AM
2953 [BZ #15939]
2954 * manual/string.texi (Collation Functions): Fix typo in
2955 strcoll example.
2956 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2957
34829bc2
AM
2958 [BZ #15893]
2959 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2960
3932737d
AM
2961 [BZ #15892]
2962 * libio/memstream.c (open_memstream): Fix memory leak.
2963 * libio/wmemstream.c (open_wmemstream): Likewise.
2964
83e43bf0
AM
2965 [BZ #15895]
2966 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2967
0c66b8e9
WN
29682013-09-09 Will Newton <will.newton@linaro.org>
2969
2970 * malloc/Makefile: Add tst-realloc to tests.
2971 * malloc/tst-realloc.c: New file.
2972
f6b00fd1
AM
29732013-09-09 Allan McRae <allan@archlinux.org>
2974
2975 [BZ #15844]
2976 * COPYING: Update from GNU website to fix FSF address.
2977 * COPYING.LIB: Likewise.
2978
eec55e16
DM
29792013-09-06 David S. Miller <davem@davemloft.net>
2980
2981 * po/zh_TW.po: Update Chinese (traditional) translation from
2982 translation project.
2983
1ecbb381
RS
29842013-09-06 Richard Sandiford <richard@codesourcery.com>
2985 Joseph Myers <joseph@codesourcery.com>
2986
2987 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2988 "localeinfo.h".
2989 (obstack_chunk_alloc): New macro.
2990 (obstack_chunk_free): Likewise.
2991 (record_offset): New function.
2992 (init_locale_data): Likewise.
2993 (align_locale_data): Likewise.
2994 (add_locale_empty): Likewise.
2995 (add_locale_raw_data): Likewise.
2996 (add_locale_raw_obstack): Likewise.
2997 (add_locale_string): Likewise.
2998 (add_locale_wstring): Likewise.
2999 (add_locale_uint32): Likewise.
3000 (add_locale_uint32_array): Likewise.
3001 (add_locale_char): Likewise.
3002 (start_locale_structure): Likewise.
3003 (end_locale_structure): Likewise.
3004 (start_locale_prelude): Likewise.
3005 (end_locale_prelude): Likewise.
3006 (write_locale_data): Take locale_file structure rather than an
3007 iovec.
3008 * locale/programs/locfile.h: Include "obstack.h".
3009 (struct locale_file): Change to store locale file contents instead
3010 of header.
3011 (init_locale_data): New prototype.
3012 (align_locale_data): Likewise.
3013 (add_locale_empty): Likewise.
3014 (add_locale_raw_data): Likewise.
3015 (add_locale_raw_obstack): Likewise.
3016 (add_locale_string): Likewise.
3017 (add_locale_wstring): Likewise.
3018 (add_locale_uint32): Likewise.
3019 (add_locale_uint32_array): Likewise.
3020 (add_locale_char): Likewise.
3021 (start_locale_structure): Likewise.
3022 (end_locale_structure): Likewise.
3023 (start_locale_prelude): Likewise.
3024 (end_locale_prelude): Likewise.
3025 (write_locale_data): Update prototype.
3026 * locale/programs/3level.h (struct TABLE): Remove result field.
3027 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3028 Use new locale_file interface.
3029 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3030 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3031 * locale/programs/ld-address.c (address_output): Use new
3032 locale_file interface.
3033 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3034 NO_ADD_LOCALE.
3035 (collate_finish): Don't call collseq_table_finalize.
3036 (collate_output): Use new locale_file interface.
3037 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3038 in file.
3039 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3040 (TABLE): Move defines earlier in file.
3041 (ELEMENT): Likewise.
3042 (DEFAULT): Likewise.
3043 (wctrans_table_add): Move macro and inline function earlier in
3044 file.
3045 (struct wctype_table): Move type earlier in file.
3046 (add_locale_wctype_table): New static prototype.
3047 (struct locale_ctype_t): Use logical types instead of struct iovec
3048 pointers for members.
3049 (ctype_output): Use new locale_file interface.
3050 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3051 new locale_file interface.
3052 (allocate_arrays): Update for use of new locale_file interface.
3053 * locale/programs/ld-identification.c (identification_output): Use
3054 new locale_file interface.
3055 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3056 * locale/programs/ld-messages.c (messages_output): Likewise.
3057 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3058 * locale/programs/ld-name.c (name_output): Likewise.
3059 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3060 * locale/programs/ld-paper.c (paper_output): Likewise.
3061 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3062 * locale/programs/ld-time.c (time_output): Likewise.
3063
e029e2e5
AZ
30642013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3065
3066 * benchtests/Makefile: Add memrchr benchmark.
3067 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3068 benchmark as memrchr.
3069 * benchtests/bench-memrchr-ifunc.c: New file.
3070 * benchtests/bench-memrchr.c: New file.
3071
bbf6e8e4
WN
30722013-09-06 Will Newton <will.newton@linaro.org>
3073
3074 * benchtests/Makefile (string-bench): Add memcpy.
3075
6c82a2f8
CD
30762013-09-05 Carlos O'Donell <carlos@redhat.com>
3077 Cong Wang <amwang@redhat.com>
3078
3079 * sysdeps/unix/sysv/linux/bits/in.h
3080 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3081 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3082 before __USE_KERNEL_IPV6_DEFS uses.
3083 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3084 IPPROTO_BEETPH.
3085 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3086 sockaddr_in6, or ipv6_mreq.
3087
5430fc65
AZ
30882013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3089
3090 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3091 memory access for final bytes in some large inputs.
3092 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3093
4660856c
AZ
30942013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3095
3096 * string/test-memrchr.c: New file.
3097 * string/test-memrchr-ifunc.c: New file.
3098 * string/Makefile: Add new memrchr testcase.
3099
bb8ea713
MF
31002013-09-05 Mike Frysinger <vapier@gentoo.org>
3101
3102 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3103 fanotify_init returns EPERM.
3104
b92a20b5
JM
31052013-09-04 Joseph Myers <joseph@codesourcery.com>
3106
3107 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3108 errors.
3109 (top level): Treat second token from macro or constant entries for
3110 allowed headers as allowed.
3111 * include/complex.h: Condition internal declarations on
3112 [!_ISOMAC].
3113 * include/fenv.h: Condition include of <stdbool.h> and internal
3114 declarations on [!_ISOMAC].
7447ccd9
CL
3115
31162013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3117
3e181dda 3118 [BZ #15923]
7447ccd9
CL
3119 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3120
3f2e46a4
JM
31212013-09-04 Joseph Myers <joseph@codesourcery.com>
3122
3123 * configure.in (--enable-versioning): Remove configure option.
3124 (libc_cv_asm_symver_directive): Remove configure test.
3125 (libc_cv_ld_version_script_option): Likewise.
3126 (VERSIONING): Remove variable and AC_SUBST.
3127 (DO_VERSIONING): Remove AC_DEFINE.
3128 * configure: Regenerated.
3129 * config.h.in (DO_VERSIONING): Remove macro.
3130 * Makerules [$(versioning) = yes]: Change conditionals to
3131 [$(build-shared) = yes].
3132 * config.make.in (versioning): Remove variable.
3133 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3134 [$(build-shared) = yes].
3135 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3136 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3137 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3138 [$(build-shared) = yes].
3139 * extra-lib.mk [$(versioning) = yes]: Likewise.
3140 * hurd/Makefile [$(versioning) = yes]: Likewise.
3141 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3142 [SHARED].
3143 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3144 [SHARED].
3145 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3146 [SHARED && !NO_HIDDEN].
3147 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3148 [SHARED].
3149 [SHARED && DO_VERSIONING]: Likewise..
3150 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3151 [$(build-shared) = yes].
3152 * manual/install.texi (--disable-versioning): Remove
3153 documentation.
3154 * INSTALL: Regenerated.
3155 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3156 to [SHARED].
3157 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3158 [$(build-shared) = yes].
3159 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3160 * sysdeps/i386/i686/multiarch/strstr-c.c
3161 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3162 [SHARED && !NO_HIDDEN].
3163 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3164 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3165 * sysdeps/powerpc/powerpc32/dl-machine.c
3166 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3167 * sysdeps/powerpc/powerpc32/sysdep.h
3168 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3169 to [SHARED && PIC && !NO_HIDDEN].
3170 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3171 conditional to [SHARED].
3172
44558701
WN
31732013-09-04 Will Newton <will.newton@linaro.org>
3174
3175 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3176 * benchtests/bench-string.h: Include bench-timing.h instead
3177 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3178 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3179 call to HP_TIMING_DIFF_INIT.
3180 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3181 instead of hp-timing.h macros.
3182 * benchtests/bench-memchr.c: Likewise.
3183 * benchtests/bench-memcmp.c: Likewise.
3184 * benchtests/bench-memcpy.c: Likewise.
3185 * benchtests/bench-memmem.c: Likewise.
3186 * benchtests/bench-memmove.c: Likewise.
3187 * benchtests/bench-memset.c: Likewise.
3188 * benchtests/bench-rawmemchr.c: Likewise.
3189 * benchtests/bench-strcasecmp.c: Likewise.
3190 * benchtests/bench-strcasestr.c: Likewise.
3191 * benchtests/bench-strcat.c: Likewise.
3192 * benchtests/bench-strchr.c: Likewise.
3193 * benchtests/bench-strcmp.c: Likewise.
3194 * benchtests/bench-strcpy.c: Likewise.
3195 * benchtests/bench-strcpy_chk.c: Likewise.
3196 * benchtests/bench-strlen.c: Likewise.
3197 * benchtests/bench-strncasecmp.c: Likewise.
3198 * benchtests/bench-strncat.c: Likewise.
3199 * benchtests/bench-strncmp.c: Likewise.
3200 * benchtests/bench-strncpy.c: Likewise.
3201 * benchtests/bench-strnlen.c: Likewise.
3202 * benchtests/bench-strpbrk.c: Likewise.
3203 * benchtests/bench-strrchr.c: Likewise.
3204 * benchtests/bench-strspn.c: Likewise.
3205 * benchtests/bench-strstr.c: Likewise.
3206
cae16d66
WN
32072013-09-04 Will Newton <will.newton@linaro.org>
3208
3209 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3210
ffa3cd7f
JM
32112013-09-03 Joseph Myers <joseph@codesourcery.com>
3212
3213 [BZ #15427]
3214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3215 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3216 * math/libm-test.inc (lgamma_test_data): Add more tests.
3217 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3219
8f02859f
OB
32202013-09-03 Ondřej Bílka <neleai@seznam.cz>
3221
3222 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3224 Add ifunc.
3225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3226 Add strcmp-sse2-unaligned
3227 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3228
18d43716
MF
32292013-09-02 Mike Frysinger <vapier@gentoo.org>
3230
3231 * Versions.def (libc): Add GLIBC_2.19.
3232
ac444012
MF
32332013-09-02 Mike Frysinger <vapier@gentoo.org>
3234
3235 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3236 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3237
b7835e32
JM
32382013-09-02 Joseph Myers <joseph@codesourcery.com>
3239
3240 [BZ #14155]
3241 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3242 intermediate calculations in recurrence.
3243 (__ieee754_ynf): Likewise.
3244 * math/libm-test.inc (jn_test_data): Do not allow spurious
3245 underflow exception. Add more tests.
3246 (yn_test_data): Add more tests.
3247 * sysdeps/i386/fpu/libm-test-ulps: Update.
3248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3249
8220f4f0
OB
32502013-09-02 Ondřej Bílka <neleai@seznam.cz>
3251
3252 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3253
f24a6d08
OB
32542013-08-30 Ondřej Bílka <neleai@seznam.cz>
3255
3256 * csu/init-first.c: Fix then/than typos.
3257 * locale/programs/ld-collate.c: Likewise.
3258 * locale/programs/linereader.h: Likewise.
3259 * manual/charset.texi: Likewise.
3260 * manual/filesys.texi: Likewise.
3261 * manual/stdio.texi: Likewise.
3262 * manual/string.texi: Likewise.
3263 * stdlib/fmtmsg.c: Likewise.
3264 * sysdeps/i386/stpncpy.S: Likewise.
3265 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3266 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3267 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3268 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3269
382466e0
OB
32702013-08-30 Ondřej Bílka <neleai@seznam.cz>
3271
3272 * elf/dl-open.c: Fix typos.
3273 * iconvdata/gbbig5.c: Likewise.
3274 * iconvdata/iso-2022-jp.c: Likewise.
3275 * iconv/gconv_int.h: Likewise.
3276 * iconv/loop.c: Likewise.
3277 * nis/rpcsvc/nis.h: Likewise.
3278 * resolv/ns_name.c: Likewise.
3279 * stdio-common/vfscanf.c: Likewise.
3280 * streams/stropts.h: Likewise.
3281 * sunrpc/rpc_thread.c: Likewise.
3282 * sysdeps/i386/strpbrk.S: Likewise.
3283 * sysdeps/ieee754/k_standard.c: Likewise.
3284 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3286 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3287 * sysdeps/mach/hurd/profil.c: Likewise.
3288 * sysdeps/s390/dl-procinfo.h: Likewise.
3289 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3291 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3292 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3293 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3294
0186c6e9
OB
32952013-08-30 Ondřej Bílka <neleai@seznam.cz>
3296
3297 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3299
d4e16af1
OB
33002013-08-29 Ondřej Bílka <neleai@seznam.cz>
3301
3302 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3303 aix specific files.
3304 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3305 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3306 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3307 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3308 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3309 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3310 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3312
88335980
TS
33132013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3314 Roland McGrath <roland@hack.frob.com>
3315
3316 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3317 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3318
ed479b02
ST
33192013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3320
3321 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3322 __executable_start symbol instead of _start.
3323
f1cc4c86
TS
33242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3325
d821f07c
TS
3326 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3327 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3328 Move macros to...
3329 * sysdeps/gnu/ldsodefs.h: ... this new file.
3330
c54290cf
TS
3331 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3332 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3333 instead of ELFOSABI_LINUX.
3334
0007fc9b 3335 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3336 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3337 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3338 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3339 Likewise.
3340 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3341 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3342 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3343 Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3345 (ibm_extended_long_double): Add ieee_nan member.
3346 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3347 (do_test): New function.
3348
f1cc4c86
TS
3349 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3350 TEST_TRUNC.
3351 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3352 functions, renamed from truncdfsf_test, trunctfsf_test,
3353 trunctfdf_test.
3354 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3355 functions.
3356 (do_test): Run all these.
3357
6f65e668
OB
33582013-08-29 Ondřej Bílka <neleai@seznam.cz>
3359
3360 * argp/argp-help.c: Fix typos.
3361 * argp/argp-parse.c: Likewise.
3362 * debug/backtracesyms.c: Likewise.
3363 * elf/elf.h: Likewise.
3364 * malloc/malloc.c: Likewise.
3365 * nis/nis_print.c: Likewise.
3366 * resolv/res_comp.c: Likewise.
3367 * stdlib/stdlib.h: Likewise.
3368 * sunrpc/clnt_tcp.c: Likewise.
3369 * sunrpc/clnt_udp.c: Likewise.
3370 * sunrpc/clnt_unix.c: Likewise.
3371 * sysdeps/unix/bsd/ptsname.c: Likewise.
3372 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3373 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3375 Likewise.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3377 Likewise.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3379 Likewise.
6f65e668
OB
3380 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3381
3a309239
SP
33822013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3383
3384 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3386
3b813b29
MF
33872013-08-27 Mike Frysinger <vapier@gentoo.org>
3388
3389 [BZ #15897]
3390 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3391 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3392 ($(objpfx)bug-dl-leaf): New rule.
3393 ($(objpfx)bug-dl-leaf.so): Likewise.
3394 ($(objpfx)bug-dl-leaf.out): Likewise.
3395 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3396 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3397 * dlfcn/bug-dl-leaf.c: New test.
3398 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3399 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3400 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3401 (dlclose): Likewise.
3402 (dlmopen): Likewise.
3403
8cc3269f
RM
34042013-08-27 Roland McGrath <roland@hack.frob.com>
3405
7f9d0034
RM
3406 * include/netdb.h [!_ISOMAC]:
3407 Don't include <tls.h>.
3408 (h_errno, __libc_h_errno): Move declaration and macros out of
3409 [_LIBC_REENTRANT].
3410
fb431262
RM
3411 * include/resolv.h [_RESOLV_H_]:
3412 Don't include <tls.h>.
3413 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3414 * resolv/res_libc.c: Don't include <tls.h>.
3415 (_res): Use __attribute__ ((nocommon)) in place of
3416 __attribute__ ((section (".bss"))).
3417
bd81123a
RM
3418 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3419 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3420
c4e42566
RM
3421 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3422
f890a59b
RM
3423 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3424 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3425
3426 * resolv/res_mkquery.c: Include <sys/time.h>.
3427
5d1f0a09
RM
3428 * inet/ifreq.c: Moved to ...
3429 * sysdeps/unix/ifreq.c: ... here.
3430 * inet/ifreq.c: New file, true stub version.
3431
6fcf28b3
RM
3432 * socket/sa_len.c: New file.
3433 * socket/Makefile (aux): Add it.
3434 * sysdeps/unix/sysv/linux/Makefile
3435 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3436 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3437 and #include <socket/sa_len.c>.
3438 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3439 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3440
e041fb8b
RM
3441 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3442 * bits/socket.h: ... here.
3443
8cc3269f
RM
3444 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3445 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3446 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3447
5d228a43
AS
34482013-08-27 Andreas Schwab <schwab@suse.de>
3449
45b8accc
AS
3450 [BZ #15736]
3451 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3452 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3453 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3454 * string/test-strcasecmp.c (test_main): Run tests in several
3455 locales.
3456 * string/test-strncasecmp.c (test_main): Likewise.
3457
5d228a43
AS
3458 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3459 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3460 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3462 (__strncasecmp_ssse3) [PIC]: Likewise.
3463
59d112a4
RM
34642013-08-26 Roland McGrath <roland@hack.frob.com>
3465
53234cc3
RM
3466 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3467
59d112a4
RM
3468 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3469 instead of explicitly declaring xdecrypt.
3470 * nis/nss_nis/nis-publickey.c: Likewise.
3471
595aba70
SP
34722013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3473
3474 [BZ #15890]
3475 * nscd/aicache.c: Include res_hconf.h.
3476 (addhstaiX): Initialize res_hconf.
3477
ffabd393
AS
34782013-08-26 Andreas Schwab <schwab@suse.de>
3479
3480 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3481 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3482
e0a69f5c
SP
34832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3484
3485 * nscd/aicache.c (addhstaiX): Fix indentation.
3486
8c12f01d
MF
34872013-08-25 Mike Frysinger <vapier@gentoo.org>
3488
3489 * configure.ac: Quote $build_pt_chown test.
3490 * configure: Regenerated.
3491
8fe89494
JM
34922013-08-23 Joseph Myers <joseph@codesourcery.com>
3493
3494 [BZ #15532]
3495 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3496 * math/s_cexpf.c (__cexpf): Likewise.
3497 * math/s_cexpl.c (__cexpl): Likewise.
3498 * math/libm-test.inc (cexp_test_data): Correct expected return
3499 value for NaN + i0. Add another test.
3500
75b181d6
DM
35012013-08-22 David S. Miller <davem@davemloft.net>
3502
3503 * po/ca.po: Update Catalan translation from translation project.
936241e4 3504 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3505
acd06bb1
JM
35062013-08-21 Joseph Myers <joseph@codesourcery.com>
3507
3508 [BZ #15797]
3509 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3510 is infinite, not alongside NaN test.
3511 * math/s_fdimf.c (__fdimf): Likewise.
3512 * math/s_fdiml.c (__fdiml): Likewise.
3513 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3514 errno is unchanged.
3515
c0c3f78a
OB
35162013-08-21 Ondřej Bílka <neleai@seznam.cz>
3517
3518 * argp/argp-help.c: Fix typos.
3519 * crypt/speeds.c: Likewise.
3520 * csu/check_fds.c: Likewise.
3521 * elf/dl-load.c: Likewise.
3522 * elf/dl-open.c: Likewise.
3523 * elf/reldep3.c: Likewise.
3524 * elf/reldep.c: Likewise.
3525 * elf/sprof.c: Likewise.
3526 * iconv/iconv_charmap.c: Likewise.
3527 * iconv/skeleton.c: Likewise.
3528 * iconv/strtab.c: Likewise.
3529 * io/lockf64.c: Likewise.
3530 * libio/libioP.h: Likewise.
3531 * resolv/gai_notify.c: Likewise.
3532 * resolv/ns_name.c: Likewise.
3533 * resolv/ns_samedomain.c: Likewise.
3534 * resolv/res_send.c: Likewise.
3535 * stdlib/random.c: Likewise.
3536 * sunrpc/rpc/xdr.h: Likewise.
3537 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3538 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3540 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3541 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3544 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3545 * sysdeps/mach/hurd/check_fds.c: Likewise.
3546 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3547 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3548 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3549 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3550 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3551 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3552 * sysdeps/pthread/aio_notify.c: Likewise.
3553 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3554 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3556 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3557 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3558
46ed1038
LD
35592013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3560
3561 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3562 version if bit_Slow_SSE4_2 is set.
3563 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3565
d400dcac
AZ
35662013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3567
3568 [BZ #15867]
3569 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3570 trampoline stack frame information.
3571 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3572 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3573 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3574 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3575 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3576 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3577 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3578 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3579 sa_flags value.
3580 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3581 interrupting a syscall and set with option SA_SIGINFO.
3582
42c8fdd8
JM
35832013-08-20 Joseph Myers <joseph@codesourcery.com>
3584
c980f2f4
JM
3585 [BZ #15531]
3586 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3587 argument is infinite.
3588 * math/s_cprojf.c (__cprojf): Likewise.
3589 * math/s_cprojl.c (__cprojl): Likewise.
3590 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3591 * math/libm-test.inc (cproj_test_data): Add more tests.
3592
0716c4fc
JM
3593 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3594
42c8fdd8
JM
3595 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3596 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3597 size. Use __ffs to determine corresponding shift.
3598
b31469d0
JM
35992013-08-20 Joseph Myers <joseph@codesourcery.com>
3600 Roland McGrath <roland@hack.frob.com>
3601
3602 * Makefile (INSTALL): Remove trailing blank lines from output of
3603 makeinfo.
3604
4e39af6e
AK
36052013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3606
3607 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3608 Align 32 bit compat elf_greg to 8 bytes.
3609
f315524e
AA
36102013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3611
3612 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3613
1326ba1a
SP
36142013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3615
3616 * string/strcoll_l.c (coll_seq): New structure.
3617 (get_next_seq_cached): New function.
3618 (get_next_seq): New function.
3619 (do_compare): New function.
3620 (STRCOLL): Use GNU style definition. Simplify implementation
3621 by using get_next_seq, get_next_seq_cached and do_compare.
3622
91ce4085
FW
36232013-08-16 Florian Weimer <fweimer@redhat.com>
3624
3625 [BZ #14699]
3626 CVE-2013-4237
3627 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3628 member.
3629 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3630 member.
3631 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3632 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3633 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3634 conditional.
3635 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3636 GETDENTS_64BIT_ALIGNED.
3637 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3638 * manual/filesys.texi (Reading/Closing Directory): Document
3639 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3640 strongly.
3641 * manual/conf.texi (Limits for Files): Add portability note to
3642 NAME_MAX, PATH_MAX.
3643 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3644
ca0a6bc4
AS
36452013-08-13 Andreas Schwab <schwab@suse.de>
3646
3647 [BZ #15749]
3648 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3649 of fabs.
3650 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3651 LDBL_MAX_EXP >= 16384]: Add tests for it.
3652
6c1fd795
DM
36532013-08-12 David S. Miller <davem@davemloft.net>
3654
3655 * version.h (RELEASE): Set to "development".
3656 (VERSION): Set to "2.18.90".
3657 * NEWS: Add 2.19 section.
3658
31ad488d
DM
36592013-08-03 David S. Miller <davem@davemloft.net>
3660
3661 * po/ko.po: Update Korean translation from translation project.
3662
db24e684
DM
36632013-08-01 David S. Miller <davem@davemloft.net>
3664
3665 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3666 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3667 Bilka.
3668
f723285b
DM
36692013-07-30 David S. Miller <davem@davemloft.net>
3670
3671 * po/fr.po: Update French translation from translation project.
3672
3cbc52db
DM
36732013-07-28 David S. Miller <davem@davemloft.net>
3674
30bbc0cc
DM
3675 * po/cs.po: Update Czech translation from translation project.
3676
3cbc52db
DM
3677 * po/sv.po: Update Swedish translation from translation project.
3678
d492e6d0
DM
36792013-07-27 David S. Miller <davem@davemloft.net>
3680
f1a7f492
DM
3681 * po/eo.po: Update Esperanto translation from translation project.
3682
90e62a4a
DM
3683 * po/vi.po: Update Vietnamese translation from translation project.
3684
d492e6d0
DM
3685 * po/de.po: Update German translation from translation project.
3686
d4baa62d
DM
36872013-07-26 David S. Miller <davem@davemloft.net>
3688
641aa7b4
DM
3689 * po/bg.po: Update Bulgarian translation from translation project.
3690
d4baa62d
DM
3691 * po/nl.po: Update Dutch translation from translation project.
3692 * po/pl.po: Update Polish translation from translation project.
3693 * po/ru.po: Update Russian translation from translation project.
3694
61a9dcb9
DM
36952013-07-24 David S. Miller <davem@davemloft.net>
3696
3697 * po/libc.pot: Update.
3698
7b1f8b58
AZ
36992013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3700
3701 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3702 variable page size.
3703 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3704 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3705 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3706
a8fc7a03
AK
37072013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3708
3709 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3710
e4608715
CD
37112013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3712 Andreas Schwab <schwab@suse.de>
3713 Roland McGrath <roland@hack.frob.com>
3714 Joseph Myers <joseph@codesourcery.com>
3715 Carlos O'Donell <carlos@redhat.com>
3716
3717 [BZ #15755]
3718 * config.h.in: Define HAVE_PT_CHOWN.
3719 * config.make.in (build-pt-chown): New variable.
3720 * configure.in (--enable-pt_chown): New configure option.
3721 * configure: Regenerate.
3722 * login/Makefile: Include Makeconfig. Build pt_chown only if
3723 build-pt-chown is enabled.
3724 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3725 pt_chown to fix pty ownership.
3726 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3727 CLOSE_ALL_FDS.
3728 * manual/install.texi (Configuring and compiling): Mention
3729 --enable-pt_chown. Add @findex for grantpt.
3730 * INSTALL: Regenerate.
3731
da2d62df
DM
37322013-07-20 David S. Miller <davem@davemloft.net>
3733
3734 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3735 difference between 32-bit and 64-bit.
3736
d7e06450
CD
37372013-07-15 Carlos O'Donell <carlos@redhat.com>
3738
3739 [BZ #15711]
3740 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3741 Avoid system header dependency with -ffreestanding.
3742 ($(objpfx)bits/syscall%d): Likewise.
3743
f959cfd7
DM
37442013-07-13 David S. Miller <davem@davemloft.net>
3745
3746 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3747 underflows from atanl/atan2l due to bug 15319.
3748 (casinh_test_data): Likewise.
3749
c61f8513
DM
37502013-07-07 David S. Miller <davem@davemloft.net>
3751
3752 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3753
72c90ed0
JA
37542013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3755
3756 * sysdeps/i386/fpu/libm-test-ulps: Update.
3757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3758
52dfbe13
SP
37592013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3760
3761 * configure.in (--enable-lock-elision): Fix message text.
3762 * INSTALL: Regenerate.
3763 * configure: Regenerate.
3764
3f169543
AZ
37652013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3766
3767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3768
521c6785
AJ
37692013-07-03 Andreas Jaeger <aj@suse.de>
3770
3771 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3772 define.
3773 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3774 (ptrace_peeksiginfo_args): Add.
3775 (__ptrace_peeksiginfo_flags): Add.
3776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3777 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3779
d2cc15cb
AM
37802013-07-03 Allan McRae <allan@archlinux.org>
3781
3782 * sysdeps/i386/fpu/libm-test-ulps: Update.
3783
3aaeeca7
DM
37842013-07-02 David S. Miller <davem@davemloft.net>
3785
3786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3787
5314ed1a
MT
37882013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3789
3790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3791
67338156
JM
37922013-07-02 Joseph Myers <joseph@codesourcery.com>
3793
3794 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3796
1717da59
AK
37972013-07-02 Andi Kleen <ak@linux.intel.com>
3798
3799 * config.h.in (ENABLE_LOCK_ELISION): Add.
3800 * configure.in (--enable-lock-elision): Add option.
3801 * manual/install.texi: Document --enable lock elision.
3802 * configure: Regenerate
3803 * INSTALL: Regenerate.
3804
1c81621c
L
38052013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3808 SSE4.2 strcasecmp for libc.a.
3809 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3810
77f01ab5
JM
38112013-07-02 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #13304]
3814 * soft-fp/op-common.h (_FP_FMA): New macro.
3815 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3816 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3817 (_FP_MUL_MEAT_1_imm): ... here.
3818 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3819 (_FP_MUL_MEAT_1_wide): ... here.
3820 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3821 (_FP_MUL_MEAT_1_hard): ... here.
3822 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3823 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3824 (_FP_MUL_MEAT_2_wide): ... here.
3825 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3826 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3827 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3828 (_FP_MUL_MEAT_2_gmp): ... here.
3829 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3830 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3831 (_FP_MUL_MEAT_4_wide): ... here.
3832 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3833 (_FP_MUL_MEAT_4_gmp): ... here.
3834 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3835 (_FP_WFRACBITS_DW_S): Likewise.
3836 (_FP_WFRACXBITS_DW_S): Likewise.
3837 (_FP_HIGHBIT_DW_S): Likewise.
3838 (FP_FMA_S): Likewise.
3839 (_FP_FRAC_HIGH_DW_S): Likewise.
3840 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3841 (_FP_WFRACBITS_DW_D): Likewise.
3842 (_FP_WFRACXBITS_DW_D): Likewise.
3843 (_FP_HIGHBIT_DW_D): Likewise.
3844 (FP_FMA_D): Likewise.
3845 (_FP_FRAC_HIGH_DW_D): Likewise.
3846 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3847 (_FP_WFRACBITS_DW_E): Likewise.
3848 (_FP_WFRACXBITS_DW_E): Likewise.
3849 (_FP_HIGHBIT_DW_E): Likewise.
3850 (FP_FMA_E): Likewise.
3851 (_FP_FRAC_HIGH_DW_E): Likewise.
3852 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3853 (_FP_WFRACBITS_DW_Q): Likewise.
3854 (_FP_WFRACXBITS_DW_Q): Likewise.
3855 (_FP_HIGHBIT_DW_Q): Likewise.
3856 (FP_FMA_Q): Likewise.
3857 (_FP_FRAC_HIGH_DW_Q): Likewise.
3858 * soft-fp/fmasf4.c: New file.
3859 * soft-fp/fmadf4.c: Likewise.
3860 * soft-fp/fmatf4.c: Likewise.
3861
6308fd9a
LD
38622013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3863
3864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3865 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3866 Silvermont.
3867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3868 macro.
3869 (index_Slow_SSE4_2): Likewise.
3870 (index_Prefer_PMINUB_for_stringop): Likewise.
3871 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3872 bit_Slow_SSE4_2 is set.
3873 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3874 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3875
89cd9569
RA
38762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3877
3878 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3879 rtld_global._dl_hwcap2.
3880 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3881 POWER8.
3882 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3883 POWER8 feature descriptions defined in _dl_hwcap2.
3884 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3885 string handling for POWER8 feature bits.
3886 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3887 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3888 _dl_powerpc_cap_flags.
3889 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3890 * sysdeps/powerpc/rtld-global-offsets.sym
3891 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3892 _dl_hwcap2 in the rtld_global_ro structure.
3893
1ae8bfe0
RA
38942013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3895
3896 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3897 hardware capabilities in support of AT_HWCAP2.
3898 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3899 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3900 GLRO(dl_hwcap2).
3901 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3902 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3903 explicitly the unknown a_type display mechanism is used.
3904 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3905 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3906 struct member.
3907 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3908 to macro prototype for AT_HWCAP2 support.
3909 * sysdeps/i386/dl-procinfo.h: Likewise.
3910 * sysdeps/s390/dl-procinfo.h: Likewise.
3911 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3912 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3913 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3914 return -1 for unknown a_type display fallback.
3915 * sysdeps/sparc/dl-procinfo.h: Likewise.
3916 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3917 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3918
8fbec010
JM
39192013-06-28 Joseph Myers <joseph@codesourcery.com>
3920
3921 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3922 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3923
0432680e
PY
39242013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3925
3926 [BZ #12492]
3927 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3928 mprotect making __stack_prot writable.
3929
ce61a2ad
NF
39302013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3931 Joseph Myers <joseph@codesourcery.com>
3932
3933 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3934 as being properly aligned.
3935
f91f1c0f
MR
39362013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3937
3d0f5d0c
MR
3938 * dlfcn/modstatic5.c: New file.
3939 * dlfcn/tststatic5.c: New file.
3940 * dlfcn/Makefile (tests): Add tststatic5.
3941 (tests-static): Likewise.
3942 (modules-names): Add modstatic5.
3943 (tststatic5-ENV): New variable.
3944 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3945
f91f1c0f
MR
3946 [BZ #15022]
3947 * elf/dl-support.c (_dl_main_map): New variable.
3948 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3949 (_dl_nns, _dl_load_adds): Set to 1.
3950 (_dl_initial_searchlist): Refer to _dl_main_map.
3951 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3952 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3953 call to _dl_get_origin.
3954 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3955 around call_map.
3956 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3957 * dlfcn/modstatic3.c: New file.
3958 * dlfcn/tststatic3.c: New file.
3959 * dlfcn/tststatic4.c: New file.
3960 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3961 (tests-static): Likewise.
3962 (modules-names): Add modstatic3.
3963 (tststatic3-ENV, tststatic4-ENV): New variables.
3964 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3965 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3966
cbe7d24b
JM
39672013-06-26 Joseph Myers <joseph@codesourcery.com>
3968
3969 * configure.in (CC): Require GCC version 4.4 or later.
3970 * configure: Regenerated.
3971 * manual/install.texi (Tools for Compilation): Update GCC version
3972 requirement.
3973 * INSTALL: Regenerated.
3974
11b8a0e1
LD
39752013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3976
3977 [BZ #15674]
bb5bb87c
L
3978 * string/test-memcmp.c (check2): New.
3979 (main): Call check2.
3980
11b8a0e1
LD
3981 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3982
b0037103
MR
39832013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3984
3985 [BZ #15022]
3986 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3987 over to...
3988 (dl_open_worker) [!SHARED]: ... here.
3989
c18c701d
RA
39902013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3991
3992 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3993
1d17fa5f
RH
39942013-06-25 Richard Henderson <rth@redhat.com>
3995
3996 * locale/programs/locarchive.c: Include <libc-internal.h>
3997
8fcb833a
JM
39982013-06-25 Joseph Myers <joseph@codesourcery.com>
3999
4000 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4001 trailing whitespace removed.
4002
17db6e8d
MF
40032013-06-24 Mike Frysinger <vapier@gentoo.org>
4004
4005 [BZ #10283]
17db6e8d
MF
4006 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4007 * locale/programs/locarchive.c: Include libc-mmap.h.
4008 (prepare_address_space): Take two new outputs (the mmap base and len).
4009 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4010 values.
4011 (create_archive): Declare new mmap base and len values for
4012 prepare_address_space, and store the result in ah.
4013 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4014 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4015 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4016 Declare new mmap base and len values for
4017 prepare_address_space, and store the result in new_ah.
4018 (open_archive): Declare new mmap base and len values for
4019 prepare_address_space, and store the result in ah.
4020 (close_archive): If ah->mmap_base is not NULL, use that and
4021 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4022 * sysdeps/generic/libc-mmap.h: New file.
4023
d605071e
MF
40242013-06-24 Mike Frysinger <vapier@gentoo.org>
4025
4026 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4027 (ALIGN_UP): Likewise.
4028 (PTR_ALIGN_DOWN): Likewise.
4029 (PTR_ALIGN_UP): Likewise.
4030
2f063a6e
RA
40312013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4032
4033 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4034 entry mapped to PPC_PLATFORM_POWER8.
4035 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4036 POWER8.
4037 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4038 (_dl_string_platform): Add case for exporting platform position for
4039 POWER8.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4041 search path to sysdeps/powerpc/powerpc32/power8 directory.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4043 search path to sysdeps/powerpc/powerpc64/power8 directory.
4044 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4045 power7 directories.
4046 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4047 power7 directories.
4048
a31ee4b3
SP
40492013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4050
a74ca98f
SP
4051 * INSTALL: Regenerate.
4052
a31ee4b3
SP
4053 * nscd/connections.c (nscd_init): Fix comment.
4054
695c378f
JM
40552013-06-22 Joseph Myers <joseph@codesourcery.com>
4056
d8412221
JM
4057 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4058
695c378f
JM
4059 [BZ #15667]
4060 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4061 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4062
d1d54715
MR
40632013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4064
4065 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4066 DL_DST_REQ_STATIC.
4067 (DL_DST_REQ_STATIC): Remove macro.
4068
8fdda7af
JM
40692013-06-21 Joseph Myers <joseph@codesourcery.com>
4070
4071 [BZ #7006]
4072 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4073 with a shift of 0 bits.
4074
f3bc5e5a
MR
40752013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4076
4077 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4078 $(tststatic-ENV).
4079
be09e8c9
KK
40802013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4081
4082 [BZ #15655]
4083 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4084
85c2e611
AZ
40852013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4086
4087 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4088 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4089 accepts -fno-tree-loop-distribute-patterns.
4090 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4091 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4092 recursive call.
4093 * string/memset.c (memset): Likewise.
4094 * string/test-memmove.c (simple_memmove): Disable loop transformation
4095 to library calls.
4096 * string/test-memset.c (simple_memset): Likewise.
4097 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4098 * benchtests/bench-memset.c (simple_memset): Likewise.
4099 * configure: Regenerated.
4100
c91e0825
JM
41012013-06-20 Joseph Myers <joseph@codesourcery.com>
4102
b8c792af
JM
4103 * math/test-misc.c (main): Ignore fesetround failure when failures
4104 of subsequent rounding tests would be ignored.
4105
c91e0825
JM
4106 [BZ #15654]
4107 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4108 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4109 * math/fegetenv.c (__fegetenv): Return 0.
4110 * math/fegetexcept.c (fegetexcept): Return 0.
4111 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4112 FE_TONEAREST.
4113 * math/feholdexcpt.c (feholdexcept): Return 0.
4114 * math/fesetenv.c (__fesetenv): Return 0.
4115 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4116 argument FE_TONEAREST.
4117 * math/feupdateenv.c (__feupdateenv): Return 0.
4118 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4119
bfcacbde
RM
41202013-06-18 Roland McGrath <roland@hack.frob.com>
4121
4122 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4123 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4124 ($(objpfx)rtld-%.os rules): Use them.
4125
e55a9b25
AZ
41262013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4127
4128 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4129 fields.
4130
346d65b3
RM
41312013-06-17 Roland McGrath <roland@hack.frob.com>
4132
12086fb4
RM
4133 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4134 length of target pattern, then descending length of dependency pattern.
4135 * configure.in (AWK): Require gawk 3.1.2 or newer.
4136 * manual/install.texi (Tools for Compilation): Say that we do.
4137 * configure: Regenerated.
4138
346d65b3
RM
4139 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4140 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4141 * scripts/sysd-rules.awk: ... this new script.
4142 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4143 than a glob-style pattern.
4144
1a846317
JM
41452013-06-17 Joseph Myers <joseph@codesourcery.com>
4146
4147 * math/test-misc.c (main): Do not treat incorrectly rounded
4148 conversions as failure unless ROUNDING_TESTS passes.
4149
8fc75e6f
JM
41502013-06-15 Joseph Myers <joseph@codesourcery.com>
4151
3711a167
JM
4152 [BZ #15631]
4153 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4154 restore exception state around main square root computation, then
4155 check for inexactness explicitly.
4156
8fc75e6f
JM
4157 * math/libm-test.inc (fma_test_data): Add another test.
4158
61dd6208
SP
41592013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4160
adf23d2c
SP
4161 * manual/threads.texi (Non-POSIX Extensions): New document
4162 node. Document pthread_getattr_default_np and
4163 pthread_setattr_default_np.
4164
61dd6208
SP
4165 * Versions.def (libpthread): Add GLIBC_2.18.
4166 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4168 Likewise.
4169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4170 Likewise.
4171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4172 Likewise.
4173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4174 Likewise.
4175 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4176 Likewise.
4177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4178 Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4180 Likewise.
4181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4182 Likewise.
4183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4184 Likewise.
4185
d086fc7b
LD
41862013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4187
4188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4189 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4190
747ef469
SP
41912013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4192 H.J. Lu <hjl.tools@gmail.com>
4193
4194 [BZ #15627]
4195 * sysdeps/x86_64/rtld-memset.c: Remove file.
4196 * sysdeps/x86_64/rtld-memset.S: New file.
4197
1b2feed2
JM
41982013-06-14 Joseph Myers <joseph@codesourcery.com>
4199
4200 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4201 (test_in_one_mode): Take arguments for whether the rounding mode
4202 is supported for each floating-point type.
4203 (do_test): Pass new arguments to test_in_one_mode using
4204 ROUNDING_TESTS.
4205
a58ad3f8
RM
42062013-06-13 Roland McGrath <roland@hack.frob.com>
4207
4208 * posix/tst-waitid.c (do_test): Distinguish different instances of
4209 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4210 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4211 before entering the kernel for waitpid.
4212
c204ab28
SP
42132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4214
4215 * NEWS: Fix note on clock function precision. Text by Roland
4216 McGrath.
4217
f4a29fba
RM
42182013-06-13 Roland McGrath <roland@hack.frob.com>
4219
4220 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4221 it into place only when and if the sanity check passes.
4222
1f24b9ad
JM
42232013-06-13 Joseph Myers <joseph@codesourcery.com>
4224
4225 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4226 output for whether conversion result is exact. Take argument
4227 indicating whether type is IBM long double.
4228 (round_for_all): Change need_exact field to ibm_ld.
4229 * stdlib/tst-strtod-round.c (struct exactness): New type.
4230 (struct test): Change bool ld_ok field to struct exactness exact.
4231 (TEST): Update all definitions for change to field.
4232 (tests): Regenerate array contents.
4233 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4234 field value. Check for IBM long double here.
4235 (do_test): Update calls to test_in_one_mode.
4236
58206c68
SP
42372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4238
4239 [BZ #12515]
4240 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4241 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4242
2d6f4c5b 42432013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4244
4245 [BZ #15605]
4246 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4247 generated by the compiler on loop optimizations.
4248 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4249 general definitions.
4250
94f2c076
JM
42512013-06-12 Joseph Myers <joseph@codesourcery.com>
4252
4253 * math/bug-nextafter.c: Include <math-tests.h>.
4254 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4255 the relevant type.
4256 * math/bug-nexttoward.c: Include <math-tests.h>.
4257 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4258 the relevant type.
4259 * math/test-misc.c: Include <math-tests.h>.
4260 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4261 the relevant type.
4262
e0e50a0a
AJ
42632013-06-12 Andreas Jaeger <aj@suse.de>
4264
4265 * po/ia.po: Update Interlingua translation from translation
4266 project.
4267
25061094
SP
42682013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4269
4270 * include/fenv.h: Include stdbool.h.
4271 (struct rm_ctx): New structure.
4272 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4273 Define macro.
4274 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4275 (SET_RESTORE_ROUNDF): Likewise.
4276 (SET_RESTORE_ROUNDL): Likewise.
4277 (SET_RESTORE_ROUND_NOEX): Likewise.
4278 (SET_RESTORE_ROUND_NOEXF): Likewise.
4279 (SET_RESTORE_ROUND_NOEXL): Likewise.
4280 (SET_RESTORE_ROUND_53BIT): Likewise.
4281 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4282 (libc_feresetround_noexf_ctx): Likewise.
4283 (libc_feresetround_noexl_ctx): Likewise.
4284 (libc_feholdsetround_53bit_ctx): Likewise.
4285 (libc_feresetround_53bit_ctx): Likewise.
4286 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4287 (libc_feholdexcept_setround_sse_ctx): New function.
4288 (libc_fesetenv_sse_ctx): Likewise.
4289 (libc_feupdateenv_sse_ctx): Likewise.
4290 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4291 (libc_feholdexcept_setround_387_ctx): Likewise.
4292 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4293 (libc_feholdsetround_387_prec_ctx): Likewise.
4294 (libc_feholdsetround_387_ctx): Likewise.
4295 (libc_feholdsetround_387_53bit_ctx): Likewise.
4296 (libc_feholdsetround_sse_ctx): Likewise.
4297 (libc_feresetround_sse_ctx): Likewise.
4298 (libc_feresetround_387_ctx): Likewise.
4299 (libc_feupdateenv_387_ctx): Likewise.
4300 (libc_feholdexcept_setroundf_ctx): Define macro.
4301 (libc_fesetenvf_ctx): Likewise.
4302 (libc_feupdateenvf_ctx): Likewise.
4303 (libc_feholdsetroundf_ctx): Likewise.
4304 (libc_feresetroundf_ctx): Likewise.
4305 (libc_feholdexcept_setround_ctx): Likewise.
4306 (libc_fesetenv_ctx): Likewise.
4307 (libc_feupdateenv_ctx): Likewise.
4308 (libc_feholdsetround_ctx): Likewise.
4309 (libc_feresetround_ctx): Likewise.
4310 (libc_feholdexcept_setroundl_ctx): Likewise.
4311 (libc_feupdateenvl_ctx): Likewise.
4312 (libc_feholdsetroundl_ctx): Likewise.
4313 (libc_feresetroundl_ctx): Likewise.
4314 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4315 (libc_feresetround_53bit_ctx): Likewise.
4316
59b30555
SP
43172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4318
4319 * locale/iso-639.def: Convert to UTF-8.
4320
f1d73d30
JM
43212013-06-11 Joseph Myers <joseph@codesourcery.com>
4322
4323 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4324 (EXCEPTION_TESTS_double): Likewise.
4325 (EXCEPTION_TESTS_long_double): Likewise.
4326 (EXCEPTION_TESTS): Likewise.
4327 * math/libm-test.inc (test_exceptions): Only test exceptions if
4328 EXCEPTION_TESTS (FLOAT).
4329
94aca5e7
SP
43302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4331
4332 * benchtests/Makefile (string-bench): Add strcpy_chk and
4333 stpcpy_chk.
4334 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4335 * benchtests/bench-stpcpy_chk.c: New file.
4336 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4337 * benchtests/bench-strcpy_chk.c: New file.
4338 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4339 code.
4340 (do_test): Likewise.
4341
fac0c5f2
RA
43422013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4343
4344 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4345 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4346 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4347 with tabs where appropriate.
4348 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4349 dl-procinfo.h.
4350 [PPC_PLATFORM_PPC440]: Likewise.
4351 [PPC_PLATFORM_PPC464]: Likewise.
4352 [PPC_PLATFORM_PPC476]: Likewise.
4353 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4354 ppc464, and ppc476 platform strings merging from ports/
4355 dl-procinfo.h.
4356
f22bc486
AS
43572013-06-11 Andreas Schwab <schwab@suse.de>
4358
4359 [BZ #14991]
4360 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4361 (from_ucs4_idx): Regenerate.
4362 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4363 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4364 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4365 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4366 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4367 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4368 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4369 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4370 from FROM_LOOP and TO_LOOP specific macros.
4371 (BODY): Handle combining characters.
4372 * iconvdata/BIG5HKSCS.irreversible: Update.
4373 * iconvdata/BIG5HKSCS.precomposed: New file.
4374 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4375 characters.
4376 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4377
c1f75dc3
SP
43782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4379
4eacded2
SP
4380 * include/sys/time.h: Fix indentation and add copyright header.
4381
fec799f8
SP
4382 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4383 (do_test): Likewise.
4384 * string/test-memchr.c (do_one_test): Likewise.
4385 (do_test): Likewise.
4386 * string/test-memcmp.c (do_one_test): Likewise.
4387 (do_test): Likewise.
4388 * string/test-memcpy.c (do_one_test): Likewise.
4389 (do_test): Likewise.
4390 * string/test-memmem.c (do_one_test): Likewise.
4391 (do_test): Likewise.
4392 (do_random_tests): Likewise.
4393 * string/test-memmove.c (do_one_test): Likewise.
4394 (do_test): Likewise.
4395 * string/test-memset.c (do_one_test): Likewise.
4396 (do_test): Likewise.
4397 * string/test-rawmemchr.c (do_one_test): Likewise.
4398 (do_test): Likewise.
4399 * string/test-strcasecmp.c (do_one_test): Likewise.
4400 (do_test): Likewise.
4401 * string/test-strcasestr.c (do_one_test): Likewise.
4402 (do_test): Likewise.
4403 * string/test-strcat.c (do_one_test): Likewise.
4404 (do_test): Likewise.
4405 * string/test-strchr.c (do_one_test): Likewise.
4406 (do_test): Likewise.
4407 * string/test-strcmp.c (do_one_test): Likewise.
4408 (do_test): Likewise.
4409 * string/test-strcpy.c (do_one_test): Likewise.
4410 (do_test): Likewise.
4411 * string/test-string.h: Likewise.
4412 (test_init): Likewise.
4413 * string/test-strlen.c (do_one_test): Likewise.
4414 (do_test): Likewise.
4415 * string/test-strncasecmp.c (do_one_test): Likewise.
4416 (do_test): Likewise.
4417 * string/test-strncat.c (do_one_test): Likewise.
4418 (do_test): Likewise.
4419 * string/test-strncmp.c (do_one_test): Likewise.
4420 (do_test_limit): Likewise.
4421 (do_test): Likewise.
4422 * string/test-strncpy.c (do_one_test): Likewise.
4423 (do_test): Likewise.
4424 * string/test-strnlen.c (do_one_test): Likewise.
4425 (do_test): Likewise.
4426 * string/test-strpbrk.c (do_one_test): Likewise.
4427 (do_test): Likewise.
4428 * string/test-strrchr.c (do_one_test): Likewise.
4429 (do_test): Likewise.
4430 * string/test-strspn.c (do_one_test): Likewise.
4431 (do_test): Likewise.
4432 * string/test-strstr.c (do_one_test): Likewise.
4433 (do_test): Likewise.
4434
97020474
SP
4435 * benchtests/Makefile (string-bench): Add string benchmarks.
4436 * benchtests/bench-bcopy-ifunc.c: New file.
4437 * benchtests/bench-bcopy.c: New file.
4438 * benchtests/bench-bzero-ifunc.c: New file.
4439 * benchtests/bench-bzero.c: New file.
4440 * benchtests/bench-memccpy-ifunc.c: New file.
4441 * benchtests/bench-memccpy.c: New file.
4442 * benchtests/bench-memchr-ifunc.c: New file.
4443 * benchtests/bench-memchr.c: New file.
4444 * benchtests/bench-memcmp-ifunc.c: New file.
4445 * benchtests/bench-memcmp.c: New file.
4446 * benchtests/bench-memmem-ifunc.c: New file.
4447 * benchtests/bench-memmem.c: New file.
4448 * benchtests/bench-memmove-ifunc.c: New file.
4449 * benchtests/bench-memmove.c: New file.
4450 * benchtests/bench-mempcpy-ifunc.c: New file.
4451 * benchtests/bench-mempcpy.c: New file.
4452 * benchtests/bench-memset-ifunc.c: New file.
4453 * benchtests/bench-memset.c: New file.
4454 * benchtests/bench-rawmemchr-ifunc.c: New file.
4455 * benchtests/bench-rawmemchr.c: New file.
4456 * benchtests/bench-stpcpy-ifunc.c: New file.
4457 * benchtests/bench-stpcpy.c: New file.
4458 * benchtests/bench-stpncpy-ifunc.c: New file.
4459 * benchtests/bench-stpncpy.c: New file.
4460 * benchtests/bench-strcasecmp-ifunc.c: New file.
4461 * benchtests/bench-strcasecmp.c: New file.
4462 * benchtests/bench-strcasestr-ifunc.c: New file.
4463 * benchtests/bench-strcasestr.c: New file.
4464 * benchtests/bench-strcat-ifunc.c: New file.
4465 * benchtests/bench-strcat.c: New file.
4466 * benchtests/bench-strchr-ifunc.c: New file.
4467 * benchtests/bench-strchr.c: New file.
4468 * benchtests/bench-strchrnul-ifunc.c: New file.
4469 * benchtests/bench-strchrnul.c: New file.
4470 * benchtests/bench-strcmp-ifunc.c: New file.
4471 * benchtests/bench-strcmp.c: New file.
4472 * benchtests/bench-strcpy-ifunc.c: New file.
4473 * benchtests/bench-strcpy.c: New file.
4474 * benchtests/bench-strcspn-ifunc.c: New file.
4475 * benchtests/bench-strcspn.c: New file.
4476 * benchtests/bench-strlen-ifunc.c: New file.
4477 * benchtests/bench-strlen.c: New file.
4478 * benchtests/bench-strncasecmp-ifunc.c: New file.
4479 * benchtests/bench-strncasecmp.c: New file.
4480 * benchtests/bench-strncat-ifunc.c: New file.
4481 * benchtests/bench-strncat.c: New file.
4482 * benchtests/bench-strncmp-ifunc.c: New file.
4483 * benchtests/bench-strncmp.c: New file.
4484 * benchtests/bench-strncpy-ifunc.c: New file.
4485 * benchtests/bench-strncpy.c: New file.
4486 * benchtests/bench-strnlen-ifunc.c: New file.
4487 * benchtests/bench-strnlen.c: New file.
4488 * benchtests/bench-strpbrk-ifunc.c: New file.
4489 * benchtests/bench-strpbrk.c: New file.
4490 * benchtests/bench-strrchr-ifunc.c: New file.
4491 * benchtests/bench-strrchr.c: New file.
4492 * benchtests/bench-strspn-ifunc.c: New file.
4493 * benchtests/bench-strspn.c: New file.
4494 * benchtests/bench-strstr-ifunc.c: New file.
4495 * benchtests/bench-strstr.c: New file.
4496
c1f75dc3
SP
4497 * benchtests/Makefile: Disable parallel execution of targets.
4498 (string-bench): Add memcpy.
4499 (benchset): New variable to store a list of benchmark sets.
4500 (bench-func): Renamed from bench.
4501 (bench-set): New target.
4502 (bench): Depend on bench-func and bench-set.
4503 * benchtests/README: Add section on benchmark sets.
4504 * benchtests/bench-memcpy-ifunc.c: New file.
4505 * benchtests/bench-memcpy.c: New file.
4506 * benchtests/bench-string.h: New file.
4507
50fd745b
AS
45082013-06-11 Andreas Schwab <schwab@suse.de>
4509
4510 [BZ #15577]
4511 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4512 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4513 values in the triple.
4514 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4515 terminator in the group key.
4516
3ee7e9fe
AJ
45172013-06-11 Andreas Jaeger <aj@suse.de>
4518
4519 * po/zh_TW.po: Update Chinese (traditional) translation from
4520 translation project.
4521
89fb6835
SP
45222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4523
4524 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4525 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4526 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4528 (clock_getcpuclockid): Likewise.
4529 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4530 Add weak_alias and libc_hidden_def.
4531 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4532 * rt/clock_gettime.c (clock_gettime): Rename to
4533 __clock_gettime. Add weak_alias and libc_hidden_def.
4534 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4535 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4536 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4537 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4538 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4539 Likewise.
4540 * rt/clock_settime.c (clock_settime): Rename to
4541 __clock_settime. Add weak_alias and libc_hidden_def.
4542 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4543
0efa6f8b
JM
45442013-06-10 Joseph Myers <joseph@codesourcery.com>
4545
b8c61b4b
JM
4546 * mach/err_boot.sub: Remove trailing whitespace.
4547 * mach/err_ipc.sub: Likewise.
4548 * mach/err_mach.sub: Likewise.
4549
0efa6f8b
JM
4550 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4551 (ROUNDING_TESTS_double): Likewise.
4552 (ROUNDING_TESTS_long_double): Likewise.
4553 (ROUNDING_TESTS): Likewise.
4554 * math/libm-test.inc: Include <math-tests.h>.
4555 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4556 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4557 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4558 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4559
50b818bf
SP
45602013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4561
4562 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4563 of assigning.
4564
60d2f8f3
JM
45652013-06-08 Joseph Myers <joseph@codesourcery.com>
4566
4902d2c3
JM
4567 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4568 otherwise empty TRANS lines.
4569 * sysdeps/gnu/errlist.c: Regenerated.
4570
60d2f8f3
JM
4571 * catgets/gencat.c (error_print): Use (void) in function
4572 definition.
4573 * crypt/crypt_util.c (__init_des): Likewise.
4574 * crypt/speeds.c (Stop): Likewise.
4575 (main): Likewise.
4576 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4577 * inet/ruserpass.c (token): Likewise.
4578 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4579 * intl/localealias.c (extend_alias_table): Likewise.
4580 * intl/plural-exp.c (init_germanic_plural): Likewise.
4581 * libio/fcloseall.c (__fcloseall): Likewise.
4582 * libio/genops.c (_IO_flush_all): Likewise.
4583 (_IO_flush_all_linebuffered): Likewise.
4584 (_IO_cleanup): Likewise.
4585 (_IO_iter_begin): Likewise.
4586 (_IO_iter_end): Likewise.
4587 (_IO_list_lock): Likewise.
4588 (_IO_list_unlock): Likewise.
4589 (_IO_list_resetlock): Likewise.
4590 * libio/getchar.c (getchar): Likewise.
4591 * libio/getchar_u.c (getchar_unlocked): Likewise.
4592 * libio/getwchar.c (getwchar): Likewise.
4593 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4594 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4595 * login/getpt.c (__getpt): Likewise.
4596 * login/tst-utmp.c (main): Likewise.
4597 * malloc/hooks.c (__malloc_check_init): Likewise.
4598 * malloc/malloc.c (__malloc_stats): Likewise.
4599 * malloc/mtrace.c (tr_break): Likewise.
4600 (mtrace): Likewise.
4601 (muntrace): Likewise.
4602 * misc/fstab.c (endfsent): Likewise.
4603 * misc/getclktck.c (__getclktck): Likewise.
4604 * misc/getdtsz.c (__getdtablesize): Likewise.
4605 * misc/gethostid.c (gethostid): Likewise.
4606 * misc/getpagesize.c (__getpagesize): Likewise.
4607 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4608 (__get_nprocs): Likewise.
4609 (__get_phys_pages): Likewise.
4610 (__get_avphys_pages): Likewise.
4611 * misc/getttyent.c (getttyent): Likewise.
4612 (setttyent): Likewise.
4613 (endttyent): Likewise.
4614 * misc/getusershell.c (getusershell): Likewise.
4615 (endusershell): Likewise.
4616 (setusershell): Likewise.
4617 (initshells): Likewise.
4618 * misc/hsearch.c (__hdestroy): Likewise.
4619 * misc/sync.c (sync): Likewise.
4620 * misc/syslog.c (closelog_internal): Likewise.
4621 (closelog): Likewise.
4622 * misc/ttyslot.c (ttyslot): Likewise.
4623 * misc/vhangup.c (vhangup): Likewise.
4624 * posix/fork.c (__fork): Likewise.
4625 * posix/getegid.c (__getegid): Likewise.
4626 * posix/geteuid.c (__geteuid): Likewise.
4627 * posix/getgid.c (__getgid): Likewise.
4628 * posix/getpid.c (__getpid): Likewise.
4629 * posix/getppid.c (__getppid): Likewise.
4630 * posix/getuid.c (__getuid): Likewise.
4631 * posix/pause.c (pause): Likewise.
4632 * posix/setpgrp.c (setpgrp): Likewise.
4633 * posix/setsid.c (__setsid): Likewise.
4634 * posix/test-vfork.c (noop): Likewise.
4635 * resolv/gethnamaddr.c (_endhtent): Likewise.
4636 (_gethtent): Likewise.
4637 (ht_endhostent): Likewise.
4638 (gethostent): Likewise.
4639 (dns_service): Likewise.
4640 * stdlib/drand48.c (drand48): Likewise.
4641 * stdlib/lrand48.c (lrand48): Likewise.
4642 * stdlib/mrand48.c (mrand48): Likewise.
4643 * stdlib/rand.c (rand): Likewise.
4644 * stdlib/random.c (__random): Likewise.
4645 * stdlib/setenv.c (clearenv): Likewise.
4646 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4647 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4648 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4649 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4650 (__get_nprocs): Likewise.
4651 (__get_phys_pages): Likewise.
4652 (__get_avphys_pages): Likewise.
4653 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4654 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4655 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4656 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4657 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4658 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4659 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4660 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4661 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4662 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4663 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4664 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4665 * sysdeps/posix/clock.c (clock): Likewise.
4666 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4667 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4668 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4669 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4670 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4672 (__get_nprocs_conf): Likewise.
4673 (__get_phys_pages): Likewise.
4674 (__get_avphys_pages): Likewise.
4675 * time/clock.c (clock): Likewise.
4676 * time/tzset.c (__tzname_max): Likewise.
4677
2e09a79a
JM
46782013-06-07 Joseph Myers <joseph@codesourcery.com>
4679
4680 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4681 (__bswap_32): Do not use "register".
4682 * crypt/crypt.c (_ufc_doit_r): Likewise.
4683 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4684 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4685 * gmon/gmon.c (__monstartup): Likewise.
4686 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4687 * hurd/hurdmalloc.c (more_memory): Likewise.
4688 (malloc): Likewise.
4689 (free): Likewise.
4690 (realloc): Likewise.
4691 (malloc_fork_prepare): Likewise.
4692 (malloc_fork_parent): Likewise.
4693 (malloc_fork_child): Likewise.
4694 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4695 (_svcauth_des): Likewise.
4696 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4697 * inet/inet_net.c (inet_network): Likewise.
4698 * inet/inet_netof.c (inet_netof): Likewise.
4699 * inet/rcmd.c (__validuser2_sa): Likewise.
4700 * io/fts.c (fts_open): Likewise.
4701 (fts_load): Likewise.
4702 (fts_close): Likewise.
4703 (fts_read): Likewise.
4704 (fts_children): Likewise.
4705 (fts_build): Likewise.
4706 (fts_stat): Likewise.
4707 (fts_sort): Likewise.
4708 (fts_alloc): Likewise.
4709 (fts_lfree): Likewise.
4710 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4711 (_IO_file_xsgetn): Likewise.
4712 (_IO_file_xsgetn_mmap): Likewise.
4713 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4714 (_IO_cookie_write): Likewise.
4715 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4716 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4717 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4718 * malloc/obstack.c (_obstack_begin): Likewise.
4719 (_obstack_begin_1): Likewise.
4720 (_obstack_newchunk): Likewise.
4721 (_obstack_allocated_p): Likewise.
4722 (obstack_free): Likewise.
4723 (_obstack_memory_used): Likewise.
4724 * misc/getttyent.c (getttynam): Likewise.
4725 (getttyent): Likewise.
4726 (skip): Likewise.
4727 (value): Likewise.
4728 * misc/getusershell.c (initshells): Likewise.
4729 * misc/syslog.c (__vsyslog_chk): Likewise.
4730 * misc/ttyslot.c (ttyslot): Likewise.
4731 * nis/nis_hash.c (__nis_hash): Likewise.
4732 * posix/fnmatch_loop.c (FCT): Likewise.
4733 * posix/getconf.c (print_all): Likewise.
4734 (main): Likewise.
4735 * posix/getopt.c (exchange): Likewise.
4736 * posix/glob.c (globfree): Likewise.
4737 (prefix_array): Likewise.
4738 (__glob_pattern_type): Likewise.
4739 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4740 (NS_GET32): Likewise.
4741 (NS_PUT16): Likewise.
4742 (NS_PUT32): Likewise.
4743 * resolv/gethnamaddr.c (getanswer): Likewise.
4744 (gethostbyname2): Likewise.
4745 (gethostbyaddr): Likewise.
4746 (_gethtent): Likewise.
4747 (_gethtbyname2): Likewise.
4748 (_gethtbyaddr): Likewise.
4749 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4750 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4751 * resolv/res_init.c (__res_vinit): Likewise.
4752 (net_mask): Likewise.
4753 * resolv/res_mkquery.c (outchar): Likewise.
4754 (PRINT): Likewise.
4755 * stdio-common/printf_fp.c (outchar): Likewise.
4756 (PRINT): Likewise.
4757 * stdio-common/printf_fphex.c (outchar): Likewise.
4758 (PRINT): Likewise.
4759 * stdio-common/printf_size.c (outchar): Likewise.
4760 (PRINT): Likewise.
4761 * stdio-common/test_rdwr.c (main): Likewise.
4762 * stdio-common/tfformat.c (matches): Likewise.
4763 * stdio-common/vfprintf.c (outchar): Likewise.
4764 (printf_unknown): Likewise.
4765 (buffered_vfprintf): Likewise.
4766 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4767 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4768 (ReadFile): Likewise.
4769 * stdlib/qsort.c (SWAP): Likewise.
4770 (_quicksort): Likewise.
4771 * stdlib/setenv.c (__add_to_environ): Likewise.
4772 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4773 * stdlib/strtol_l.c (__strtol_l): Likewise.
4774 * stdlib/tst-strtod.c (main): Likewise.
4775 * stdlib/tst-strtol.c (main): Likewise.
4776 * stdlib/tst-strtoll.c (main): Likewise.
4777 * string/bits/string2.h (__strcmp_cc): Likewise.
4778 (__strcmp_cg): Likewise.
4779 (__strcspn_c1): Likewise.
4780 (__strcspn_c2): Likewise.
4781 (__strcspn_c3): Likewise.
4782 (__strspn_c1): Likewise.
4783 (__strspn_c2): Likewise.
4784 (__strspn_c3): Likewise.
4785 (__strsep_1c): Likewise.
4786 (__strsep_2c): Likewise.
4787 (__strsep_3c): Likewise.
4788 * string/memccpy.c (__memccpy): Likewise.
4789 * string/stpcpy.c (__stpcpy): Likewise.
4790 * string/strcmp.c (strcmp): Likewise.
4791 * string/strrchr.c (strrchr): Likewise.
4792 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4793 Likewise.
4794 * sysdeps/mach/hurd/getcwd.c
4795 (_hurd_canonicalize_directory_name_internal): Likewise.
4796 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4797 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4798 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4799 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4800 Likewise, in both definitions.
4801 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4802 definitions.
4803 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4804 64] (__bswap_64): Likewise.
4805 * time/test_time.c (main): Likewise.
4806 * time/tzfile.c (__tzfile_read): Likewise.
4807 (__tzfile_compute): Likewise.
4808 * time/tzset.c (__tzset_parse_tz): Likewise.
4809 (tzset_internal): Likewise.
4810 (compute_change): Likewise.
4811 * wcsmbs/wcscat.c (__wcscat): Likewise.
4812 * wcsmbs/wcschr.c (wcschr): Likewise.
4813 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4814 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4815 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4816 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4817 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4818 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4819 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4820 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4821 * wcsmbs/wmemset.c (wmemset): Likewise.
4822
9e54314b
JM
48232013-06-06 Joseph Myers <joseph@codesourcery.com>
4824
4825 * scripts/config.guess: Update to version 2013-05-16.
4826 * scripts/config.sub: Update to version 2013-04-24.
4827 * scripts/install-sh: Update to version 2011-11-20.07.
4828 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4829 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4830
350635a5
OB
48312013-06-06 Ondřej Bílka <neleai@seznam.cz>
4832
4833 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4834 * elf/sln.c: Likewise.
4835 * hurd/hurd/ioctl.h: Likewise.
4836 * hurd/hurdmalloc.c: Likewise.
4837 * hurd/xattr.c: Likewise.
4838 * include/shlib-compat.h: Likewise.
4839 * inet/ruserpass.c: Likewise.
4840 * libio/iofgets_u.c: Likewise.
4841 * libio/iofgetws_u.c: Likewise.
4842 * locale/programs/ld-identification.c: Likewise.
4843 * locale/programs/ld-time.c: Likewise.
4844 * mach/msg-destroy.c: Likewise.
4845 * nss/nss_files/files-netgrp.c: Likewise.
4846 * resolv/res_data.c: Likewise.
4847 * soft-fp/op-1.h: Likewise.
4848 * soft-fp/op-2.h: Likewise.
4849 * soft-fp/op-4.h: Likewise.
4850 * soft-fp/op-common.h: Likewise.
4851 * stdio-common/printf_fphex.c: Likewise.
4852 * stdlib/strtod_l.c: Likewise.
4853 * sunrpc/rpc/clnt.h: Likewise.
4854 * sysdeps/generic/framestate.c: Likewise.
4855 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4856 * sysdeps/i386/bsd-setjmp.S: Likewise.
4857 * sysdeps/i386/__longjmp.S: Likewise.
4858 * sysdeps/i386/setjmp.S: Likewise.
4859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4860 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4877 * sysdeps/ieee754/support.c: Likewise.
4878 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4879 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4880 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4881 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4882 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4883 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4884 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4885 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4886 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4887 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4888 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4889 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4890 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4891 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4892 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4893 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4894 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4896
44a988af
OB
48972013-06-05 Ondřej Bílka <neleai@seznam.cz>
4898
25506f09 4899 * posix/transbug.c: Remove executable mode.
44a988af 4900
9c84384c
JM
49012013-06-05 Joseph Myers <joseph@codesourcery.com>
4902
4903 * crypt/speeds.c: Remove trailing whitespace.
4904 * dlfcn/default.c: Likewise.
4905 * elf/ifuncdep2.c: Likewise.
4906 * elf/ifuncmain1.c: Likewise.
4907 * elf/ifuncmain1vis.c: Likewise.
4908 * elf/testobj.h: Likewise.
4909 * elf/tst-stackguard1.c: Likewise.
4910 * gmon/sys/gmon.h: Likewise.
4911 * hurd/hurdmsg.c: Likewise.
4912 * hurd/new-fd.c: Likewise.
4913 * hurd/ports-get.c: Likewise.
4914 * iconvdata/ibm1008_420.c: Likewise.
4915 * inet/tst-getni1.c: Likewise.
4916 * inet/tst-getni2.c: Likewise.
4917 * libio/ioungetc.c: Likewise.
4918 * libio/wfiledoalloc.c: Likewise.
4919 * manual/libm-err-tab.pl: Likewise.
4920 * math/w_dremf.c: Likewise.
4921 * misc/ftruncate.c: Likewise.
4922 * posix/bug-glob2.c: Likewise.
4923 * posix/tst-pcre.c: Likewise.
4924 * posix/wait4.c: Likewise.
4925 * resolv/README: Likewise.
4926 * resolv/res_debug.h: Likewise.
4927 * resolv/tst-inet_ntop.c: Likewise.
4928 * setjmp/bug269-setjmp.c: Likewise.
4929 * soft-fp/extended.h: Likewise.
4930 * soft-fp/op-1.h: Likewise.
4931 * soft-fp/op-2.h: Likewise.
4932 * soft-fp/op-4.h: Likewise.
4933 * soft-fp/op-8.h: Likewise.
4934 * soft-fp/testit.c: Likewise.
4935 * stdio-common/bug16.c: Likewise.
4936 * stdlib/random.c: Likewise.
4937 * sunrpc/rpcsvc/rquota.x: Likewise.
4938 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4939 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4940 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4941 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4942 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4943 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4944 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4946 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4947 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4948 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4967 * sysdeps/ieee754/s_lib_version.c: Likewise.
4968 * sysdeps/mach/hurd/check_fds.c: Likewise.
4969 * sysdeps/mach/hurd/getsockname.c: Likewise.
4970 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4971 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4972 * sysdeps/powerpc/bits/link.h: Likewise.
4973 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4974 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4975 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4976 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4977 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4978 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4979 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4980 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4981 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4982 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4983 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4984 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4985 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4987 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4988 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4989 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4990 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4993 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4994 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4995 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4996 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4998 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4999 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5001 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5003 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5004 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5005 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5006 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5007 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5008 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5010 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5011 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5012 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5014 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5015 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5016 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5017 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5018 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5019 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5020 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5022 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5025 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5026 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5027 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5028 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5029 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5031 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5032 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5034 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5035 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5036 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5037 * sysdeps/powerpc/sysdep.h: Likewise.
5038 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5039 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5040 * sysdeps/sh/dl-trampoline.S: Likewise.
5041 * sysdeps/sh/memset.S: Likewise.
5042 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5043 * sysdeps/sh/strlen.S: Likewise.
5044 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5045 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5046 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5047 * sysdeps/sparc/sparc32/rem.S: Likewise.
5048 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5049 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5050 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5051 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5052 * sysdeps/sparc/sparc32/urem.S: Likewise.
5053 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5054 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5055 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5056 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5057 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5058 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5059 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5060 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5061 * sysdeps/unix/bsd/times.c: Likewise.
5062 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5063 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5069 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5072 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5073 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5074 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5075 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5076 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5077 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5078 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5079 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5080 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5081 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5082 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5083 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5084 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5085 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5086 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5087 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5088 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5090 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5091 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5092 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5093 * sysdeps/x86_64/strcspn.S: Likewise.
5094
869378a5
RA
50952013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5096
5097 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5098 generated file. Regenerate properly from gen-translit.pl.
5099 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5100 locale/C-translit.h.
5101
840e2943
AS
51022013-06-05 Andreas Schwab <schwab@suse.de>
5103
5104 [BZ #15100]
5105 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5106 week as 6 instead of -1.
5107 * time/tst-strptime.c (day_tests): Add test case.
5108
4c60cb0c
SP
51092013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 * sysdeps/generic/math_private.h
5112 (libc_feholdexcept_setround_53bit): Replace with
5113 libc_feholdsetround_53bit.
5114 (libc_feupdateenv_53bit): Replace with
5115 libc_feresetround_53bit.
5116 (SET_RESTORE_ROUND_53BIT): Adjust.
5117
d180203e
SP
51182013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5119
96df079a
SP
5120 * string/test-strchrnul.c: Add copyright header.
5121
d180203e
SP
5122 * posix/tst-getaddrinfo4.c: Increase test timeout.
5123
8b0ccb2d
CD
51242013-06-03 Carlos O'Donell <carlos@redhat.com>
5125
5126 [BZ #15536]
5127 * math/libm-test.inc (MAX_EXP): Remove
5128 (MIN_EXP): Define.
5129 (ulp): Use MIN_EXP - MANT_DIG.
5130 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5131
3b3c4d40
CD
51322013-05-31 Carlos O'Donell <carlos@redhat.com>
5133
5134 * po/be.po: Revert last change.
5135 * po/zh_CN.po: Likewise.
5136 * po/header.pot: Likewise.
5137
fab7ce3f
JM
51382013-05-31 Joseph Myers <joseph@codesourcery.com>
5139
5140 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5141 link-libc-deps to empty as target-specific variable.
5142 * Makerules (link-libc-args): New variable.
5143 (libc-for-link): Likewise.
5144 (link-libc-deps): Likewise.
5145 (lib%.so): Depend on $(link-libc-deps). Link with
5146 $(link-libc-args).
5147 (build-module): Link with $(link-libc-args).
5148 (build-module-asneeded): Likewise.
5149 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5150 list of objects.
5151 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5152 target-specific variable.
5153 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5154 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5155 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5156 libc.
5157 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5158 libc and ld.so.
5159 ($(objpfx)libpcprofile.so): Likewise.
5160 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5161 libc_nonshared.a.
5162 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5163 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5164 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5165 $(link-libc-deps).
5166 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5167 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5168 * login/Makefile ($(objpfx)libutil.so): Likewise.
5169 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5170 * math/Makefile ($(objpfx)libm.so): Likewise.
5171 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5172 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5173 variable instead of depending directly on libc.
5174 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5175 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5176 $(link-libc-deps).
5177 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5178 libc.
5179 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5180 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5181 ($(objpfx)libanl.so): Likewise.
5182 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5183 ld.so.
5184 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5185 $(link-libc-deps).
5186 * sysdeps/i386/fpu/Makefile: Remove file.
5187 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5188 ($(objpfx)libm.so): Remove dependency on ld.so.
5189
eca5920c
PF
51902013-05-30 Patsy Franklin <pfrankli@redhat.com>
5191
5192 [BZ # 15553]
5193 * nis/yp_xdr.c (XDRMAXNAME): Define.
5194 (XDRMAXRECORD): Define.
5195 (xdr_domainname): Use XDRMAXNAME.
5196 (xdr_mapname): Likewise.
5197 (xdr_peername): Likewise.
5198 (xdr_keydat): Use XDRMAXRECORD.
5199 (xdr_valdat): Likewise.
5200
52012013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5202
5203 [BZ #14256]
5204 * manual/errno.texi (ESTALE): Update to account for more than
5205 just NFS file systems.
5206 * sysdeps/gnu/errlist.c: Regenerated.
5207
b9375348
SP
52082013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5209
5210 [BZ #15465]
5211 * elf/Makefile (tests): Add tst-null-argv.
5212 (modules-names): Add tst-null-argv-lib.
5213 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5214 (tst-null-argv-ENV): Set environment for tst-null-argv.
5215 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5216 (RTLD_PROGNAME): New macro.
5217 * elf/tst-null-argv.c: New test case.
5218 * elf/tst-null-argv-lib.c: Library for test case.
5219 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5220 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5221 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5222 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5223 * elf/dl-init.c (call_init): Likewise.
5224 (_dl_init): Likewise.
5225 * elf/dl-load.c (print_search_path): Likewise.
5226 (_dl_map_object): Likewise.
5227 * elf/dl-lookup.c (do_lookup_x): Likewise.
5228 (add_dependency): Likewise.
5229 (_dl_lookup_symbol_x): Likewise.
5230 (_dl_debug_bindings): Likewise.
5231 * elf/dl-open.c (_dl_show_scope): Likewise.
5232 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5233 * elf/dl-version.c (match_symbol): Likewise.
5234 (_dl_check_map_versions): Likewise.
5235 * elf/rtld.c (dl_main): Likewise.
5236 (print_unresolved): Use RTLD_PROGNAME.
5237 (print_missing_version): Likewise.
5238 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5239 (elf_machine_rela): Likewise.
5240 * sysdeps/powerpc/powerpc32/dl-machine.c
5241 (__process_machine_rela): Likewise.
5242 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5243 Likewise.
5244 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5245 Likewise.
5246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5247 Likewise.
5248 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5249 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5250 Likewise.
5251 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5252 Likewise.
5253 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5254
8a9f20c8
CD
52552013-05-28 Carlos O'Donell <carlos@redhat.com>
5256
5257 * po/be.po: Add descriptive title.
5258 * po/zh_CN.po: Likewise.
5259 * po/header.pot: Likewise.
5260
0e60d68e
MF
52612013-05-28 Mike Frysinger <vapier@gentoo.org>
5262
5263 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5264 error message.
5265 (enlarge_archive): Likewise.
5266
56b672e9
BN
52672013-05-28 Ben North <ben@redfrontdoor.org>
5268
5269 * manual/arith.texi (frexp): It is the magnitude of the return
5270 value which lies in [0.5, 1), not the return value itself.
5271
5e056687
AZ
52722013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273
5274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5275
2b66ef5d
TS
52762013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5277
528c2405
TS
5278 * stdio-common/bug26.c (main): Correct fscanf template.
5279
07b4c13d
TS
5280 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5281 declare _dl_skip_args.
5282
ec9dd97c
TS
5283 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5284 Don't declare.
5285
2b66ef5d
TS
5286 * manual/platform.texi: Add missing @end deftypefun.
5287
4f8dfe27
JM
52882013-05-24 Joseph Myers <joseph@codesourcery.com>
5289
0323d086
JM
5290 [BZ #15529]
5291 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5292 bit of mantissa of 2^16382.
5293 * math/libm-test.inc (hypot_test_data): Add more tests.
5294
dd4259b9
JM
5295 * math/libm-test.inc: Add drem and pow10 to list of tested
5296 functions.
5297 (pow10_test): New function.
5298 (drem_test): Likewise.
5299 (drem_test_tonearest): Likewise.
5300 (drem_test_towardzero): Likewise.
5301 (drem_test_downward): Likewise.
5302 (drem_test_upward): Likewise.
5303 (main): Call the new functions.
5304
4f8dfe27
JM
5305 * math/libm-test.inc (finite_test_data): Remove.
5306 (finite_test): Run tests from isfinite_test_data.
5307 (gamma_test_data): Remove.
5308 (gamma_test): Run tests from lgamma_test_data.
5309 * sysdeps/i386/fpu/libm-test-ulps: Update.
5310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5311
d116b7c4
AZ
53122013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5313
5314 * manual/platform.texi: Add PowerPC PPR function set documentation.
5315 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5316 implementation.
5317
e96e3767
CD
53182013-05-24 Carlos O'Donell <carlos@redhat.com>
5319
5320 * math/libm-test.inc (MAX_EXP): Define.
5321 (ULPDIFF): Define.
5322 (ulp): New function.
5323 (check_float_internal): Use ULPDIFF.
5324 (cpow_test): Disable failing test.
5325 (check_ulp): Test ulp() implemetnation.
5326 (main): Call check_ulp before starting tests.
5327
b679a606
JM
53282013-05-24 Joseph Myers <joseph@codesourcery.com>
5329
e8bdba36
JM
5330 * math/gen-libm-test.pl (generate_testfile): Do not handle
5331 START_DATA and END_DATA.
5332 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5333 END_DATA.
5334 (acos_tonearest_test_data): Likewise.
5335 (acos_towardzero_test_data): Likewise.
5336 (acos_downward_test_data): Likewise.
5337 (acos_upward_test_data): Likewise.
5338 (acosh_test_data): Likewise.
5339 (asin_test_data): Likewise.
5340 (asin_tonearest_test_data): Likewise.
5341 (asin_towardzero_test_data): Likewise.
5342 (asin_downward_test_data): Likewise.
5343 (asin_upward_test_data): Likewise.
5344 (asinh_test_data): Likewise.
5345 (atan_test_data): Likewise.
5346 (atanh_test_data): Likewise.
5347 (atan2_test_data): Likewise.
5348 (cabs_test_data): Likewise.
5349 (cacos_test_data): Likewise.
5350 (cacosh_test_data): Likewise.
5351 (carg_test_data): Likewise.
5352 (casin_test_data): Likewise.
5353 (casinh_test_data): Likewise.
5354 (catan_test_data): Likewise.
5355 (catanh_test_data): Likewise.
5356 (cbrt_test_data): Likewise.
5357 (ccos_test_data): Likewise.
5358 (ccosh_test_data): Likewise.
5359 (ceil_test_data): Likewise.
5360 (cexp_test_data): Likewise.
5361 (cimag_test_data): Likewise.
5362 (clog_test_data): Likewise.
5363 (clog10_test_data): Likewise.
5364 (conj_test_data): Likewise.
5365 (copysign_test_data): Likewise.
5366 (cos_test_data): Likewise.
5367 (cos_tonearest_test_data): Likewise.
5368 (cos_towardzero_test_data): Likewise.
5369 (cos_downward_test_data): Likewise.
5370 (cos_upward_test_data): Likewise.
5371 (cosh_test_data): Likewise.
5372 (cosh_tonearest_test_data): Likewise.
5373 (cosh_towardzero_test_data): Likewise.
5374 (cosh_downward_test_data): Likewise.
5375 (cosh_upward_test_data): Likewise.
5376 (cpow_test_data): Likewise.
5377 (cproj_test_data): Likewise.
5378 (creal_test_data): Likewise.
5379 (csin_test_data): Likewise.
5380 (csinh_test_data): Likewise.
5381 (csqrt_test_data): Likewise.
5382 (ctan_test_data): Likewise.
5383 (ctan_tonearest_test_data): Likewise.
5384 (ctan_towardzero_test_data): Likewise.
5385 (ctan_downward_test_data): Likewise.
5386 (ctan_upward_test_data): Likewise.
5387 (ctanh_test_data): Likewise.
5388 (ctanh_tonearest_test_data): Likewise.
5389 (ctanh_towardzero_test_data): Likewise.
5390 (ctanh_downward_test_data): Likewise.
5391 (ctanh_upward_test_data): Likewise.
5392 (erf_test_data): Likewise.
5393 (erfc_test_data): Likewise.
5394 (exp_test_data): Likewise.
5395 (exp_tonearest_test_data): Likewise.
5396 (exp_towardzero_test_data): Likewise.
5397 (exp_downward_test_data): Likewise.
5398 (exp_upward_test_data): Likewise.
5399 (exp10_test_data): Likewise.
5400 (exp2_test_data): Likewise.
5401 (expm1_test_data): Likewise.
5402 (fabs_test_data): Likewise.
5403 (fdim_test_data): Likewise.
5404 (finite_test_data): Likewise.
5405 (floor_test_data): Likewise.
5406 (fma_test_data): Likewise.
5407 (fma_towardzero_test_data): Likewise.
5408 (fma_downward_test_data): Likewise.
5409 (fma_upward_test_data): Likewise.
5410 (fmax_test_data): Likewise.
5411 (fmin_test_data): Likewise.
5412 (fmod_test_data): Likewise.
5413 (fpclassify_test_data): Likewise.
5414 (frexp_test_data): Likewise.
5415 (gamma_test_data): Likewise.
5416 (hypot_test_data): Likewise.
5417 (ilogb_test_data): Likewise.
5418 (isfinite_test_data): Likewise.
5419 (isgreater_test_data): Likewise.
5420 (isgreaterequal_test_data): Likewise.
5421 (isinf_test_data): Likewise.
5422 (isless_test_data): Likewise.
5423 (islessequal_test_data): Likewise.
5424 (islessgreater_test_data): Likewise.
5425 (isnan_test_data): Likewise.
5426 (isnormal_test_data): Likewise.
5427 (issignaling_test_data): Likewise.
5428 (isunordered_test_data): Likewise.
5429 (j0_test_data): Likewise.
5430 (j1_test_data): Likewise.
5431 (jn_test_data): Likewise.
5432 (ldexp_test_data): Likewise.
5433 (lgamma_test_data): Likewise.
5434 (lrint_test_data): Likewise.
5435 (lrint_tonearest_test_data): Likewise.
5436 (lrint_towardzero_test_data): Likewise.
5437 (lrint_downward_test_data): Likewise.
5438 (lrint_upward_test_data): Likewise.
5439 (llrint_test_data): Likewise.
5440 (llrint_tonearest_test_data): Likewise.
5441 (llrint_towardzero_test_data): Likewise.
5442 (llrint_downward_test_data): Likewise.
5443 (llrint_upward_test_data): Likewise.
5444 (log_test_data): Likewise.
5445 (log10_test_data): Likewise.
5446 (log1p_test_data): Likewise.
5447 (log2_test_data): Likewise.
5448 (logb_test_data): Likewise.
5449 (logb_downward_test_data): Likewise.
5450 (lround_test_data): Likewise.
5451 (llround_test_data): Likewise.
5452 (modf_test_data): Likewise.
5453 (nearbyint_test_data): Likewise.
5454 (nextafter_test_data): Likewise.
5455 (nexttoward_test_data): Likewise.
5456 (pow_test_data): Likewise.
5457 (pow_tonearest_test_data): Likewise.
5458 (pow_towardzero_test_data): Likewise.
5459 (pow_downward_test_data): Likewise.
5460 (pow_upward_test_data): Likewise.
5461 (remainder_test_data): Likewise.
5462 (remainder_tonearest_test_data): Likewise.
5463 (remainder_towardzero_test_data): Likewise.
5464 (remainder_downward_test_data): Likewise.
5465 (remainder_upward_test_data): Likewise.
5466 (remquo_test_data): Likewise.
5467 (rint_test_data): Likewise.
5468 (rint_tonearest_test_data): Likewise.
5469 (rint_towardzero_test_data): Likewise.
5470 (rint_downward_test_data): Likewise.
5471 (rint_upward_test_data): Likewise.
5472 (round_test_data): Likewise.
5473 (scalb_test_data): Likewise.
5474 (scalbn_test_data): Likewise.
5475 (scalbln_test_data): Likewise.
5476 (signbit_test_data): Likewise.
5477 (sin_test_data): Likewise.
5478 (sin_tonearest_test_data): Likewise.
5479 (sin_towardzero_test_data): Likewise.
5480 (sin_downward_test_data): Likewise.
5481 (sin_upward_test_data): Likewise.
5482 (sincos_test_data): Likewise.
5483 (sinh_test_data): Likewise.
5484 (sinh_tonearest_test_data): Likewise.
5485 (sinh_towardzero_test_data): Likewise.
5486 (sinh_downward_test_data): Likewise.
5487 (sinh_upward_test_data): Likewise.
5488 (sqrt_test_data): Likewise.
5489 (tan_test_data): Likewise.
5490 (tan_tonearest_test_data): Likewise.
5491 (tan_towardzero_test_data): Likewise.
5492 (tan_downward_test_data): Likewise.
5493 (tan_upward_test_data): Likewise.
5494 (tanh_test_data): Likewise.
5495 (tgamma_test_data): Likewise.
5496 (trunc_test_data): Likewise.
5497 (y0_test_data): Likewise.
5498 (y1_test_data): Likewise.
5499 (yn_test_data): Likewise.
5500 (significand_test_data): Likewise.
5501
b679a606
JM
5502 * math/gen-libm-test.pl (@functions): Remove variable.
5503 (generate_testfile): Don't handle START and END lines.
5504 * math/libm-test.inc (START): New macro.
5505 (END): Likewise.
5506 (END_COMPLEX): Likewise.
5507 (acos_test): Use END macro without arguments.
5508 (acos_test_tonearest): Likewise.
5509 (acos_test_towardzero): Likewise.
5510 (acos_test_downward): Likewise.
5511 (acos_test_upward): Likewise.
5512 (acosh_test): Likewise.
5513 (asin_test): Likewise.
5514 (asin_test_tonearest): Likewise.
5515 (asin_test_towardzero): Likewise.
5516 (asin_test_downward): Likewise.
5517 (asin_test_upward): Likewise.
5518 (asinh_test): Likewise.
5519 (atan_test): Likewise.
5520 (atanh_test): Likewise.
5521 (atan2_test): Likewise.
5522 (cabs_test): Likewise.
5523 (cacos_test): Use END_COMPLEX macro without arguments.
5524 (cacosh_test): Likewise.
5525 (carg_test): Use END macro without arguments.
5526 (casin_test): Use END_COMPLEX macro without arguments.
5527 (casinh_test): Likewise.
5528 (catan_test): Likewise.
5529 (catanh_test): Likewise.
5530 (cbrt_test): Use END macro without arguments.
5531 (ccos_test): Use END_COMPLEX macro without arguments.
5532 (ccosh_test): Likewise.
5533 (ceil_test): Use END macro without arguments.
5534 (cexp_test): Use END_COMPLEX macro without arguments.
5535 (cimag_test): Use END macro without arguments.
5536 (clog_test): Use END_COMPLEX macro without arguments.
5537 (clog10_test): Likewise.
5538 (conj_test): Likewise.
5539 (copysign_test): Use END macro without arguments.
5540 (cos_test): Likewise.
5541 (cos_test_tonearest): Likewise.
5542 (cos_test_towardzero): Likewise.
5543 (cos_test_downward): Likewise.
5544 (cos_test_upward): Likewise.
5545 (cosh_test): Likewise.
5546 (cosh_test_tonearest): Likewise.
5547 (cosh_test_towardzero): Likewise.
5548 (cosh_test_downward): Likewise.
5549 (cosh_test_upward): Likewise.
5550 (cpow_test): Use END_COMPLEX macro without arguments.
5551 (cproj_test): Likewise.
5552 (creal_test): Use END macro without arguments.
5553 (csin_test): Use END_COMPLEX macro without arguments.
5554 (csinh_test): Likewise.
5555 (csqrt_test): Likewise.
5556 (ctan_test): Likewise.
5557 (ctan_test_tonearest): Likewise.
5558 (ctan_test_towardzero): Likewise.
5559 (ctan_test_downward): Likewise.
5560 (ctan_test_upward): Likewise.
5561 (ctanh_test): Likewise.
5562 (ctanh_test_tonearest): Likewise.
5563 (ctanh_test_towardzero): Likewise.
5564 (ctanh_test_downward): Likewise.
5565 (ctanh_test_upward): Likewise.
5566 (erf_test): Use END macro without arguments.
5567 (erfc_test): Likewise.
5568 (exp_test): Likewise.
5569 (exp_test_tonearest): Likewise.
5570 (exp_test_towardzero): Likewise.
5571 (exp_test_downward): Likewise.
5572 (exp_test_upward): Likewise.
5573 (exp10_test): Likewise.
5574 (exp2_test): Likewise.
5575 (expm1_test): Likewise.
5576 (fabs_test): Likewise.
5577 (fdim_test): Likewise.
5578 (finite_test): Likewise.
5579 (floor_test): Likewise.
5580 (fma_test): Likewise.
5581 (fma_test_towardzero): Likewise.
5582 (fma_test_downward): Likewise.
5583 (fma_test_upward): Likewise.
5584 (fmax_test): Likewise.
5585 (fmin_test): Likewise.
5586 (fmod_test): Likewise.
5587 (fpclassify_test): Likewise.
5588 (frexp_test): Likewise.
5589 (gamma_test): Likewise.
5590 (hypot_test): Likewise.
5591 (ilogb_test): Likewise.
5592 (isfinite_test): Likewise.
5593 (isgreater_test): Likewise.
5594 (isgreaterequal_test): Likewise.
5595 (isinf_test): Likewise.
5596 (isless_test): Likewise.
5597 (islessequal_test): Likewise.
5598 (islessgreater_test): Likewise.
5599 (isnan_test): Likewise.
5600 (isnormal_test): Likewise.
5601 (issignaling_test): Likewise.
5602 (isunordered_test): Likewise.
5603 (j0_test): Likewise.
5604 (j1_test): Likewise.
5605 (jn_test): Likewise.
5606 (ldexp_test): Likewise.
5607 (lgamma_test): Likewise.
5608 (lrint_test): Likewise.
5609 (lrint_test_tonearest): Likewise.
5610 (lrint_test_towardzero): Likewise.
5611 (lrint_test_downward): Likewise.
5612 (lrint_test_upward): Likewise.
5613 (llrint_test): Likewise.
5614 (llrint_test_tonearest): Likewise.
5615 (llrint_test_towardzero): Likewise.
5616 (llrint_test_downward): Likewise.
5617 (llrint_test_upward): Likewise.
5618 (log_test): Likewise.
5619 (log10_test): Likewise.
5620 (log1p_test): Likewise.
5621 (log2_test): Likewise.
5622 (logb_test): Likewise.
5623 (logb_test_downward): Likewise.
5624 (lround_test): Likewise.
5625 (llround_test): Likewise.
5626 (modf_test): Likewise.
5627 (nearbyint_test): Likewise.
5628 (nextafter_test): Likewise.
5629 (nexttoward_test): Likewise.
5630 (pow_test): Likewise.
5631 (pow_test_tonearest): Likewise.
5632 (pow_test_towardzero): Likewise.
5633 (pow_test_downward): Likewise.
5634 (pow_test_upward): Likewise.
5635 (remainder_test): Likewise.
5636 (remainder_test_tonearest): Likewise.
5637 (remainder_test_towardzero): Likewise.
5638 (remainder_test_downward): Likewise.
5639 (remainder_test_upward): Likewise.
5640 (remquo_test): Likewise.
5641 (rint_test): Likewise.
5642 (rint_test_tonearest): Likewise.
5643 (rint_test_towardzero): Likewise.
5644 (rint_test_downward): Likewise.
5645 (rint_test_upward): Likewise.
5646 (round_test): Likewise.
5647 (scalb_test): Likewise.
5648 (scalbn_test): Likewise.
5649 (scalbln_test): Likewise.
5650 (signbit_test): Likewise.
5651 (sin_test): Likewise.
5652 (sin_test_tonearest): Likewise.
5653 (sin_test_towardzero): Likewise.
5654 (sin_test_downward): Likewise.
5655 (sin_test_upward): Likewise.
5656 (sincos_test): Likewise.
5657 (sinh_test): Likewise.
5658 (sinh_test_tonearest): Likewise.
5659 (sinh_test_towardzero): Likewise.
5660 (sinh_test_downward): Likewise.
5661 (sinh_test_upward): Likewise.
5662 (sqrt_test): Likewise.
5663 (tan_test): Likewise.
5664 (tan_test_tonearest): Likewise.
5665 (tan_test_towardzero): Likewise.
5666 (tan_test_downward): Likewise.
5667 (tan_test_upward): Likewise.
5668 (tanh_test): Likewise.
5669 (tgamma_test): Likewise.
5670 (trunc_test): Likewise.
5671 (y0_test): Likewise.
5672 (y1_test): Likewise.
5673 (yn_test): Likewise.
5674 (significand_test): Likewise.
5675
bae143d2
OB
56762013-05-24 Ondřej Bílka <neleai@seznam.cz>
5677
5678 [BZ #15381]
5679 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5680
9323d39b
EM
56812013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5682
d4ea44a0 5683 [BZ #14894]
9323d39b
EM
5684 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5685 __ppc_mdoio and __ppc_mdoom.
5686 * manual/platform.texi: Document new functions __ppc_yield,
5687 __ppc_mdoio and __ppc_mdoom.
5688
13e23af7
CD
56892013-05-22 Carlos O'Donell <carlos@redhat.com>
5690
5691 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5692 (main): Mention "tls" pseudo-hwcap is legacy.
5693 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5694
351fe550
JM
56952013-05-22 Joseph Myers <joseph@codesourcery.com>
5696
5697 * math/gen-libm-test.pl (parse_args): Output only string of
5698 arguments as text for test name, not full call or descriptions of
5699 tests for extra outputs.
5700 (generate_testfile): Do not pass function name to parse_args.
5701 Generate this_func variable from START.
5702 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5703 field to arg_str.
5704 (struct test_ff_f_data): Likewise.
5705 (test_ff_f_data_nexttoward): Likewise.
5706 (struct test_fi_f_data): Likewise.
5707 (struct test_fl_f_data): Likewise.
5708 (struct test_if_f_data): Likewise.
5709 (struct test_fff_f_data): Likewise.
5710 (struct test_c_f_data): Likewise.
5711 (struct test_f_f1_data): Likewise. Remove field extra_name.
5712 (struct test_fF_f1_data): Likewise.
5713 (struct test_ffI_f1_data): Likewise.
5714 (struct test_c_c_data): Rename test_name field to arg_str.
5715 (struct test_cc_c_data): Likewise.
5716 (struct test_f_i_data): Likewise.
5717 (struct test_ff_i_data): Likewise.
5718 (struct test_f_l_data): Likewise.
5719 (struct test_f_L_data): Likewise.
5720 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5721 and extra2_name.
5722 (COMMON_TEST_SETUP): New macro.
5723 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5724 (COMMON_TEST_CLEANUP): Likewise.
5725 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5726 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5727 macros.
5728 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5729 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5730 macros.
5731 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5732 (RUN_TEST_fff_f): Take argument string. Call new setup and
5733 cleanup macros.
5734 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5735 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5736 macros.
5737 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5738 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5739 macros.
5740 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5741 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5742 cleanup macros.
5743 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5744 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5745 cleanup macros.
5746 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5747 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5748 cleanup macros.
5749 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5750 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5751 macros.
5752 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5753 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5754 macros.
5755 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5756 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5757 macros.
5758 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5759 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5760 cleanup macros.
5761 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5762 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5763 cleanup macros.
5764 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5765 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5766 macros.
5767 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5768 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5769 cleanup macros.
5770 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5771 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5772 macros.
5773 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5774 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5775 macros.
5776 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5777 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5778 cleanup macros.
5779 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5780
85118d4d
EBM
57812013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5782
5783 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5784 to _sifields.sigfault.
5785 (si_addr_lsb): Define new macro.
5786 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5788 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5789
7a44c18f
CD
57902013-05-03 Carlos O'Donell <carlos at redhat.com>
5791
5792 [BZ #15441]
5793 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5794 returns -1.
5795 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5796 null return -1.
5797 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5798 loading the domain.
5799
b50a7181
JM
58002013-05-22 Joseph Myers <joseph@codesourcery.com>
5801
5802 * math/gen-libm-test.pl (parse_args): Do not include expected
5803 result in test name.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5805 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5806 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5807 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5808 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5810
051063c8
SP
58112013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5812
3ce9e010
SP
5813 * benchtests/Makefile: Sort function entries.
5814
051063c8
SP
5815 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5816 tanh, asinh, acosh, atanh.
5817 * benchtests/acos-inputs: New file.
5818 * benchtests/acosh-inputs: New file.
5819 * benchtests/asin-inputs: New file.
5820 * benchtests/asinh-inputs: New file.
5821 * benchtests/atanh-inputs: New file.
5822 * benchtests/cosh-inputs: New file.
5823 * benchtests/log-inputs: New file.
5824 * benchtests/sinh-inputs: New file.
5825 * benchtests/tanh-inputs: New file.
5826
47c22455
DL
58272013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5828
5829 [BZ #15339]
5830 * posix/tst-getaddrinfo4.c: New test.
5831 * posix/Makefile (tests): Add it.
5832
3d04f5db
SP
58332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5834
5835 [BZ #15339]
5836 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5837 when no services were used.
5838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5839 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5840
d5dd6189
AS
58412013-05-21 Andreas Schwab <schwab@suse.de>
5842
5843 [BZ #15014]
5844 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5845 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5846 successful.
5847 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5848 redundant variable declarations and reallocation of buffer when
5849 parsing as IPv6 address. Always set NSS status when called from
5850 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5851 buffer too small. Correct computation of needed size.
5852 * nss/Makefile (tests): Add test-digits-dots.
5853 * nss/test-digits-dots.c: New test.
5854
fef94eab
SP
58552013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5856
5857 * benchtests/Makefile: Remove instructions for adding
5858 benchmark tests.
5859 * benchtests/README: New file to explain how to execute and
5860 enhance the benchmark tests.
5861
e39adf43
AS
58622013-05-21 Andreas Schwab <schwab@suse.de>
5863
5864 [BZ #15493]
5865 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5866 * setjmp/tst-sigsetjmp.c: New test.
5867
b2b671b6
OB
58682013-05-20 Ondřej Bílka <neleai@seznam.cz>
5869
5870 * sysdeps/x86_64/memset.S (memset): New implementation.
5871 (__bzero): Likewise.
5872 (__memset_tail): New function.
5873
2d48b41c
OB
58742013-05-20 Ondřej Bílka <neleai@seznam.cz>
5875
5876 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5877 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5878 __memcpy_sse2_unaligned ifunc selection.
5879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5880 Add memcpy-sse2-unaligned.S.
5881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5882 Add: __memcpy_sse2_unaligned.
5883
f16cc3eb
JM
58842013-05-19 Joseph Myers <joseph@codesourcery.com>
5885
3e694268
JM
5886 [BZ #15490]
5887 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5888 math_force_eval before restoring floating-point envrionment.
5889 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5890 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5891 Likewise.
5892 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5893 <math_private.h>.
5894 (__nearbyintl): Use math_force_eval before restoring
5895 floating-point environment.
5896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5897
db62a907
JM
5898 * math/gen-libm-test.pl (special_functions): Remove.
5899 (parse_args): Don't handle TEST_extra. Handle functions with no
5900 return value.
5901 * math/libm-test.inc (struct test_sincos_data): Replace with
5902 struct test_fFF_11_data.
5903 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5904 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5905 (sincos_test_data): Change element type to struct
5906 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5907 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5908 RUN_TEST_LOOP_sincos.
5909 * math/README.libm-test: Don't mention special handling of
5910 individual functions.
5911 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5912 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5913 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5914 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5915 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5917
f16cc3eb
JM
5918 * math/gen-libm-test.pl (get_variable): Remove function.
5919 (parse_args): Don't show pointer parameters to call in test
5920 names. Use "extra output N" in test names for extra outputs
5921 rather than naming variables.
5922
3779b5b6
JM
59232013-05-18 Joseph Myers <joseph@codesourcery.com>
5924
2ee094ff
JM
5925 [BZ #15488]
5926 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5927 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5928 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5929 double tests.
5930 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5931 disable.
5932 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5933 check_long_double.
5934
3779b5b6
JM
5935 * math/gen-libm-test.pl (@tests): Remove variable.
5936 ($count): Likewise.
5937 (new_test): Remove function.
5938 (show_exceptions): New function.
5939 (special_functions): Use show_exceptions instead of new_test.
5940 (parse_args): Likewise.
5941 (generate_testfile): Pass only function name in generated call to
5942 print_max_error or print_complex_max_error.
5943 (get_ulps): Do not handle complex tests specially.
5944 (output_test): Rename to ...
5945 (get_all_ulps_for_test): ... this. Return a string rather than
5946 printing to a file. Require ulps to be present.
5947 (output_ulps): Generate arrays rather than #defines.
5948 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5949 (struct ulp_data): New type.
5950 (BUILD_COMPLEX_ULP): Remove macro.
5951 (compare_ulp_data): New function.
5952 (find_ulps): Likewise.
5953 (find_test_ulps): Likewise.
5954 (find_function_ulps): Likewise.
5955 (find_complex_function_ulps): Likewise.
5956 (print_max_error): Determine allowed ulps using
5957 find_function_ulps.
5958 (print_complex_max_error): Determine allowed ulps using
5959 find_complex_function_ulps.
5960 (check_float_internal): Determine max ulps using find_test_ulps.
5961 (check_float): Do not take max_ulp parameter. Update call to
5962 check_float_internal.
5963 (check_complex): Likewise.
5964 (check_int): Do not take max_ulp parameter.
5965 (check_long): Likewise.
5966 (check_bool): Likewise.
5967 (check_longlong): Likewise.
5968 (struct test_f_f_data): Remove max_ulp field.
5969 (struct test_ff_f_data): Likewise.
5970 (struct test_ff_f_data_nexttoward): Likewise.
5971 (struct test_fi_f_data): Likewise.
5972 (struct test_fl_f_data): Likewise.
5973 (struct test_if_f_data): Likewise.
5974 (struct test_fff_f_data): Likewise.
5975 (struct test_c_f_data): Likewise.
5976 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5977 (struct test_fF_f1_data): Likewise.
5978 (struct test_ffI_f1_data): Likewise.
5979 (struct test_c_c_data): Remove max_ulp field.
5980 (struct test_cc_c_data): Likewise.
5981 (struct test_f_i_data): Likewise.
5982 (struct test_ff_i_data): Likewise.
5983 (struct test_f_l_data): Likewise.
5984 (struct test_f_L_data): Likewise.
5985 (struct test_sincos_data): Likewise.
5986 (RUN_TEST_f_f): Do not handle ulps.
5987 (RUN_TEST_LOOP_f_f): Likewise.
5988 (RUN_TEST_2_f): Likewise.
5989 (RUN_TEST_LOOP_2_f): Likewise.
5990 (RUN_TEST_fff_f): Likewise.
5991 (RUN_TEST_LOOP_fff_f): Likewise.
5992 (RUN_TEST_c_f): Likewise.
5993 (RUN_TEST_LOOP_c_f): Likewise.
5994 (RUN_TEST_f_f1): Likewise.
5995 (RUN_TEST_LOOP_f_f1): Likewise.
5996 (RUN_TEST_fF_f1): Likewise.
5997 (RUN_TEST_LOOP_fF_f1): Likewise.
5998 (RUN_TEST_fI_f1): Likewise.
5999 (RUN_TEST_LOOP_fI_f1): Likewise.
6000 (RUN_TEST_ffI_f1): Likewise.
6001 (RUN_TEST_LOOP_ffI_f1): Likewise.
6002 (RUN_TEST_c_c): Likewise.
6003 (RUN_TEST_LOOP_c_c): Likewise.
6004 (RUN_TEST_cc_c): Likewise.
6005 (RUN_TEST_LOOP_cc_c): Likewise.
6006 (RUN_TEST_f_i): Likewise.
6007 (RUN_TEST_LOOP_f_i): Likewise.
6008 (RUN_TEST_f_i_tg): Likewise.
6009 (RUN_TEST_LOOP_f_i_tg): Likewise.
6010 (RUN_TEST_ff_i_tg): Likewise.
6011 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6012 (RUN_TEST_f_b): Likewise.
6013 (RUN_TEST_LOOP_f_b): Likewise.
6014 (RUN_TEST_f_b_tg): Likewise.
6015 (RUN_TEST_LOOP_f_b_tg): Likewise.
6016 (RUN_TEST_f_l): Likewise.
6017 (RUN_TEST_LOOP_f_l): Likewise.
6018 (RUN_TEST_f_L): Likewise.
6019 (RUN_TEST_LOOP_f_L): Likewise.
6020 (RUN_TEST_sincos): Likewise.
6021 (RUN_TEST_LOOP_sincos): Likewise.
6022
8269107f
JM
60232013-05-17 Joseph Myers <joseph@codesourcery.com>
6024
bb38759d
JM
6025 [BZ #15480]
6026 [BZ #15485]
6027 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6028 main case of finite arguments, set rounding mode to FE_TONEAREST
6029 and discard exceptions.
6030 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6031 exceptions.
6032 (remainder_tonearest_test_data): New variable.
6033 (remainder_test_tonearest): New function.
6034 (remainder_towardzero_test_data): New variable.
6035 (remainder_test_towardzero): New function.
6036 (remainder_downward_test_data): New variable.
6037 (remainder_test_downward): New function.
6038 (remainder_upward_test_data): New variable.
6039 (remainder_test_upward): New function.
6040 (main): Call the new test functions.
6041
a00bdcf0
JM
6042 * math/libm-test.inc (struct test_f_f1_data): Remove field
6043 extra_init.
6044 (struct test_fF_f1_data): Likewise.
6045 (struct test_ffI_f1_data): Likewise.
6046 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6047 based on value of EXTRA_EXPECTED.
6048 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6049 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6050 EXTRA_VAR based on value of EXTRA_EXPECTED.
6051 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6052 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6053 EXTRA_VAR based on value of EXTRA_EXPECTED.
6054 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6055 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6056 EXTRA_VAR based on value of EXTRA_EXPECTED.
6057 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6058 * math/gen-libm-test.pl (parse_args): Don't output initializers
6059 for extra output values.
6060
de407f79
JM
6061 * math/libm-test.inc (check_int): Expect result to be exactly
6062 equal to expected value and do not handle ulps.
6063 (check_long): Likewise.
6064 (check_longlong): Likewise.
6065
8269107f
JM
6066 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6067 exceptions.
6068 (cimag_test_data): Likewise.
6069 (conj_test_data): Likewise.
6070 (copysign_test_data): Likewise.
6071 (cproj_test_data): Likewise.
6072 (creal_test_data): Likewise.
6073 (fabs_test_data): Likewise.
6074 (fdim_test_data): Likewise.
6075 (finite_test_data): Likewise.
6076 (floor_test_data): Likewise.
6077 (fmax_test_data): Likewise.
6078 (fmin_test_data): Likewise.
6079 (fmod_test_data): Likewise.
6080 (fpclassify_test_data): Likewise.
6081 (frexp_test_data): Likewise.
6082 (ilogb_test_data): Likewise.
6083 (isfinite_test_data): Likewise.
6084 (isgreater_test_data): Likewise.
6085 (isgreaterequal_test_data): Likewise.
6086 (isinf_test_data): Likewise.
6087 (isless_test_data): Likewise.
6088 (islessequal_test_data): Likewise.
6089 (islessgreater_test_data): Likewise.
6090 (isnan_test_data): Likewise.
6091 (isnormal_test_data): Likewise.
6092 (issignaling_test_data): Likewise.
6093 (isunordered_test_data): Likewise.
6094 (ldexp_test_data): Likewise.
6095 (lrint_test_data): Likewise.
6096 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6097 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6098 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6099 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6100 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6101 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6102 test input.
6103 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6104 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6105 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6106 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6107 that test input.
6108 (lrint_downward_test_data): Test for "inexact" exceptions.
6109 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6110 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6111 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6112 test input.
6113 (lrint_upward_test_data): Test for "inexact" exceptions.
6114 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6115 test input.
6116 (llrint_test_data): Test for "inexact" exceptions.
6117 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6118 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6119 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6120 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6121 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6122 (llrint_downward_test_data): Test for "inexact" exceptions.
6123 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6124 (llrint_upward_test_data): Test for "inexact" exceptions.
6125 (logb_test_data): Likewise.
6126 (logb_downward_test_data): Likewise.
6127 (nextafter_test_data): Likewise.
6128 (nexttoward_test_data): Likewise.
6129 (remainder_test_data): Likewise.
6130 (remquo_test_data): Likewise.
6131 (scalbn_test_data): Likewise.
6132 (scalbln_test_data): Likewise.
6133 (signbit_test_data): Likewise.
6134 (sqrt_test_data): Likewise.
6135 (significand_test_data): Likewise.
6136
48a18de1
SP
61372013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6138
6139 [BZ #15424]
6140 * benchtests/bench-modf.c (struct args): Mark arg0 as
6141 volatile.
6142 * scripts/bench.pl: Mark members of struct args as volatile.
6143
13d3b41a
AZ
61442013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6145
68191c1d 6146 [BZ # 15497]
13d3b41a
AZ
6147 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6148 negative infinity on POWER6 or lower.
6149 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6150
2848b105
MR
61512013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6152
6153 [BZ #15442]
6154 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6155 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6156 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6157 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6158 (_FP_SETQNAN): New macro.
6159 (_FP_SETQNAN_SEMIRAW): Likewise.
6160 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6161 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6162 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6163 (FP_EXTEND): Use _FP_FRAC_SNANP.
6164 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6165 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6166 into account.
6167 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6168 New macro.
6169 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6170 Likewise.
6171
323e5cb7
JM
61722013-05-16 Joseph Myers <joseph@codesourcery.com>
6173
c58b274f
JM
6174 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6175 with DIVIDE_BY_ZERO_EXCEPTION.
6176 (gamma_test_data): Likewise.
6177 (lgamma_test_data): Likewise.
6178 (log_test_data): Likewise.
6179 (log10_test_data): Likewise.
6180 (log2_test_data): Likewise.
6181 (tgamma_test_data): Likewise.
6182
0ab34904
JM
6183 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6184 (acos_test_tonearest): Likewise.
6185 (acos_test_towardzero): Likewise.
6186 (acos_test_downward): Likewise.
6187 (acos_test_upward): Likewise.
6188 (acosh_test): Likewise.
6189 (asin_test): Likewise.
6190 (asin_test_tonearest): Likewise.
6191 (asin_test_towardzero): Likewise.
6192 (asin_test_downward): Likewise.
6193 (asin_test_upward): Likewise.
6194 (asinh_test): Likewise.
6195 (atan_test): Likewise.
6196 (atanh_test): Likewise.
6197 (atan2_test): Likewise.
6198 (cabs_test): Likewise.
6199 (cacos_test): Likewise.
6200 (cacosh_test): Likewise.
6201 (casin_test): Likewise.
6202 (casinh_test): Likewise.
6203 (catan_test): Likewise.
6204 (catanh_test): Likewise.
6205 (cbrt_test): Likewise.
6206 (ccos_test): Likewise.
6207 (ccosh_test): Likewise.
6208 (cexp_test): Likewise.
6209 (clog_test): Likewise.
6210 (clog10_test): Likewise.
6211 (cos_test): Likewise.
6212 (cos_test_tonearest): Likewise.
6213 (cos_test_towardzero): Likewise.
6214 (cos_test_downward): Likewise.
6215 (cos_test_upward): Likewise.
6216 (cosh_test): Likewise.
6217 (cosh_test_tonearest): Likewise.
6218 (cosh_test_towardzero): Likewise.
6219 (cosh_test_downward): Likewise.
6220 (cosh_test_upward): Likewise.
6221 (cpow_test): Likewise.
6222 (csin_test): Likewise.
6223 (csinh_test): Likewise.
6224 (csqrt_test): Likewise.
6225 (ctan_test): Likewise.
6226 (ctan_test_tonearest): Likewise.
6227 (ctan_test_towardzero): Likewise.
6228 (ctan_test_downward): Likewise.
6229 (ctan_test_upward): Likewise.
6230 (ctanh_test): Likewise.
6231 (ctanh_test_tonearest): Likewise.
6232 (ctanh_test_towardzero): Likewise.
6233 (ctanh_test_downward): Likewise.
6234 (ctanh_test_upward): Likewise.
6235 (erf_test): Likewise.
6236 (erfc_test): Likewise.
6237 (exp_test): Likewise.
6238 (exp_test_tonearest): Likewise.
6239 (exp_test_towardzero): Likewise.
6240 (exp_test_downward): Likewise.
6241 (exp_test_upward): Likewise.
6242 (exp10_test): Likewise.
6243 (exp2_test): Likewise.
6244 (expm1_test): Likewise.
6245 (fmod_test): Likewise.
6246 (gamma_test): Likewise.
6247 (hypot_test): Likewise.
6248 (j0_test): Likewise.
6249 (j1_test): Likewise.
6250 (jn_test): Likewise.
6251 (lgamma_test): Likewise.
6252 (log_test): Likewise.
6253 (log10_test): Likewise.
6254 (log1p_test): Likewise.
6255 (log2_test): Likewise.
6256 (logb_test_downward): Likewise.
6257 (pow_test): Likewise.
6258 (pow_test_tonearest): Likewise.
6259 (pow_test_towardzero): Likewise.
6260 (pow_test_downward): Likewise.
6261 (pow_test_upward): Likewise.
6262 (remainder_test): Likewise.
6263 (remquo_test): Likewise.
6264 (sin_test): Likewise.
6265 (sin_test_tonearest): Likewise.
6266 (sin_test_towardzero): Likewise.
6267 (sin_test_downward): Likewise.
6268 (sin_test_upward): Likewise.
6269 (sincos_test): Likewise.
6270 (sinh_test): Likewise.
6271 (sinh_test_tonearest): Likewise.
6272 (sinh_test_towardzero): Likewise.
6273 (sinh_test_downward): Likewise.
6274 (sinh_test_upward): Likewise.
6275 (sqrt_test): Likewise.
6276 (tan_test): Likewise.
6277 (tan_test_tonearest): Likewise.
6278 (tan_test_towardzero): Likewise.
6279 (tan_test_downward): Likewise.
6280 (tan_test_upward): Likewise.
6281 (tanh_test): Likewise.
6282 (tgamma_test): Likewise.
6283 (y0_test): Likewise.
6284 (y1_test): Likewise.
6285 (yn_test): Likewise.
6286
323e5cb7
JM
6287 * math/gen-libm-test.pl (adjust_arg): Remove function.
6288 (special_function): Remove argument $in_func. Only handle
6289 generating output for tables of tests, not inside functions.
6290 (parse_args): Likewise.
6291 (generate_testfile): Remove variable $in_func. Update call to
6292 parse_args.
6293 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6294 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6295 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6296 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6297 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6298 (MAX_VALUE_INIT): Rename macro to max_value.
6299 (MIN_VALUE_INIT): Rename macro to min_value.
6300 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6301 (plus_zero): Remove variable.
6302 (minus_zero): Likewise.
6303 (plus_infty): Likewise.
6304 (minus_infty): Likewise.
6305 (qnan_value): Likewise.
6306 (max_value): Likewise.
6307 (min_value): Likewise.
6308 (min_subnorm_value): Likewise.
6309
e054f494
RA
63102013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6311
6312 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6313 uint64_t or uint32_t usage.
6314 * crypt/sha256-block.c: Likewise.
6315 * crypt/sha256-crypt.c: Likewise.
6316 * crypt/sha256.c: Likewise.
6317 * crypt/sha512-block.c: Likewise.
6318 * crypt/sha512-crypt.c: Likewise.
6319 * crypt/sha512.c: Likewise.
6320 * debug/backtrace-tst.c: Likewise.
6321 * debug/pcprofiledump.c: Likewise.
6322 * elf/cache.c: Likewise.
6323 * elf/dl-cache.c: Likewise.
6324 * elf/dl-misc.c: Likewise.
6325 * elf/dl-profile.c: Likewise.
6326 * elf/dl-support.c: Likewise.
6327 * elf/ldconfig.c: Likewise.
6328 * elf/sprof.c: Likewise.
6329 * iconv/dummy-repertoire.c: Likewise.
6330 * iconv/iconv_charmap.c: Likewise.
6331 * iconv/skeleton.c: Likewise.
6332 * iconvdata/8bit-generic.c: Likewise.
6333 * iconvdata/cp737.h: Likewise.
6334 * iconvdata/cp775.h: Likewise.
6335 * iconvdata/ibm1008.h: Likewise.
6336 * iconvdata/ibm1025.h: Likewise.
6337 * iconvdata/ibm1046.h: Likewise.
6338 * iconvdata/ibm1097.h: Likewise.
6339 * iconvdata/ibm1112.h: Likewise.
6340 * iconvdata/ibm1122.h: Likewise.
6341 * iconvdata/ibm1123.h: Likewise.
6342 * iconvdata/ibm1124.h: Likewise.
6343 * iconvdata/ibm1129.h: Likewise.
6344 * iconvdata/ibm1130.h: Likewise.
6345 * iconvdata/ibm1132.h: Likewise.
6346 * iconvdata/ibm1133.h: Likewise.
6347 * iconvdata/ibm1137.h: Likewise.
6348 * iconvdata/ibm1140.h: Likewise.
6349 * iconvdata/ibm1141.h: Likewise.
6350 * iconvdata/ibm1142.h: Likewise.
6351 * iconvdata/ibm1143.h: Likewise.
6352 * iconvdata/ibm1144.h: Likewise.
6353 * iconvdata/ibm1145.h: Likewise.
6354 * iconvdata/ibm1146.h: Likewise.
6355 * iconvdata/ibm1147.h: Likewise.
6356 * iconvdata/ibm1148.h: Likewise.
6357 * iconvdata/ibm1149.h: Likewise.
6358 * iconvdata/ibm1153.h: Likewise.
6359 * iconvdata/ibm1154.h: Likewise.
6360 * iconvdata/ibm1155.h: Likewise.
6361 * iconvdata/ibm1156.h: Likewise.
6362 * iconvdata/ibm1157.h: Likewise.
6363 * iconvdata/ibm1158.h: Likewise.
6364 * iconvdata/ibm1160.h: Likewise.
6365 * iconvdata/ibm1161.h: Likewise.
6366 * iconvdata/ibm1162.h: Likewise.
6367 * iconvdata/ibm1163.h: Likewise.
6368 * iconvdata/ibm1164.h: Likewise.
6369 * iconvdata/ibm1166.h: Likewise.
6370 * iconvdata/ibm1167.h: Likewise.
6371 * iconvdata/ibm12712.h: Likewise.
6372 * iconvdata/ibm1390.h: Likewise.
6373 * iconvdata/ibm1399.h: Likewise.
6374 * iconvdata/ibm16804.h: Likewise.
6375 * iconvdata/ibm4517.h: Likewise.
6376 * iconvdata/ibm4899.h: Likewise.
6377 * iconvdata/ibm4909.h: Likewise.
6378 * iconvdata/ibm4971.h: Likewise.
6379 * iconvdata/ibm5347.h: Likewise.
6380 * iconvdata/ibm803.h: Likewise.
6381 * iconvdata/ibm856.h: Likewise.
6382 * iconvdata/ibm901.h: Likewise.
6383 * iconvdata/ibm902.h: Likewise.
6384 * iconvdata/ibm9030.h: Likewise.
6385 * iconvdata/ibm9066.h: Likewise.
6386 * iconvdata/ibm921.h: Likewise.
6387 * iconvdata/ibm922.h: Likewise.
6388 * iconvdata/ibm9448.h: Likewise.
6389 * iconvdata/isiri-3342.h: Likewise.
6390 * iconvdata/jis0201.h: Likewise.
6391 * include/link.h: Likewise.
6392 * include/netdb.h: Likewise.
6393 * inet/check_native.c: Likewise.
6394 * inet/check_pf.c: Likewise.
6395 * inet/getipv4sourcefilter.c: Likewise.
6396 * inet/getnameinfo.c: Likewise.
6397 * inet/getsourcefilter.c: Likewise.
6398 * inet/htonl.c: Likewise.
6399 * inet/setipv4sourcefilter.c: Likewise.
6400 * inet/setsourcefilter.c: Likewise.
6401 * inet/test-inet6_opt.c: Likewise.
6402 * inet/tst-network.c: Likewise.
6403 * locale/C-collate.c: Likewise.
6404 * locale/C-ctype.c: Likewise.
6405 * locale/C-time.c: Likewise.
6406 * locale/C-translit.h: Likewise.
6407 * locale/loadarchive.c: Likewise.
6408 * locale/programs/3level.h: Likewise.
6409 * locale/programs/charmap.c: Likewise.
6410 * locale/programs/charmap.h: Likewise.
6411 * locale/programs/ld-address.c: Likewise.
6412 * locale/programs/ld-collate.c: Likewise.
6413 * locale/programs/ld-ctype.c: Likewise.
6414 * locale/programs/ld-identification.c: Likewise.
6415 * locale/programs/ld-measurement.c: Likewise.
6416 * locale/programs/ld-messages.c: Likewise.
6417 * locale/programs/ld-monetary.c: Likewise.
6418 * locale/programs/ld-name.c: Likewise.
6419 * locale/programs/ld-numeric.c: Likewise.
6420 * locale/programs/ld-paper.c: Likewise.
6421 * locale/programs/ld-telephone.c: Likewise.
6422 * locale/programs/ld-time.c: Likewise.
6423 * locale/programs/linereader.c: Likewise.
6424 * locale/programs/locale.c: Likewise.
6425 * locale/programs/locarchive.c: Likewise.
6426 * locale/programs/locfile.h: Likewise.
6427 * locale/programs/repertoire.c: Likewise.
6428 * locale/programs/simple-hash.c: Likewise.
6429 * locale/programs/simple-hash.h: Likewise.
6430 * malloc/memusage.c: Likewise.
6431 * malloc/memusagestat.c: Likewise.
6432 * nis/nis_defaults.c: Likewise.
6433 * nis/nis_hash.c: Likewise.
6434 * nis/nis_print.c: Likewise.
6435 * nis/nis_xdr.c: Likewise.
6436 * nscd/connections.c: Likewise.
6437 * nscd/hstcache.c: Likewise.
6438 * nscd/nscd_gethst_r.c: Likewise.
6439 * nscd/nscd_getserv_r.c: Likewise.
6440 * nscd/nscd_helper.c: Likewise.
6441 * nscd/servicescache.c: Likewise.
6442 * nss/makedb.c: Likewise.
6443 * nss/nss_db/db-XXX.c: Likewise.
6444 * nss/nss_db/db-initgroups.c: Likewise.
6445 * nss/nss_db/db-netgrp.c: Likewise.
6446 * nss/nss_files/files-network.c: Likewise.
6447 * nss/nss_files/files-parse.c: Likewise.
6448 * posix/bug-regex5.c: Likewise.
6449 * posix/fnmatch_loop.c: Likewise.
6450 * posix/regcomp.c: Likewise.
6451 * posix/regexec.c: Likewise.
6452 * posix/tst-rfc3484-2.c: Likewise.
6453 * posix/tst-rfc3484-3.c: Likewise.
6454 * posix/tst-rfc3484.c: Likewise.
6455 * resolv/nss_dns/dns-canon.c: Likewise.
6456 * resolv/nss_dns/dns-network.c: Likewise.
6457 * resolv/res_init.c: Likewise.
6458 * resolv/res_mkquery.c: Likewise.
6459 * resolv/tst-aton.c: Likewise.
6460 * stdlib/cxa_atexit.c: Likewise.
6461 * stdlib/cxa_finalize.c: Likewise.
6462 * stdlib/gen-fpioconst.c: Likewise.
6463 * stdlib/strtol_l.c: Likewise.
6464 * string/tst-endian.c: Likewise.
6465 * sunrpc/auth_des.c: Likewise.
6466 * sunrpc/clnt_udp.c: Likewise.
6467 * sunrpc/rtime.c: Likewise.
6468 * sunrpc/svcauth_des.c: Likewise.
6469 * sunrpc/xdr.c: Likewise.
6470 * sunrpc/xdr_intXX_t.c: Likewise.
6471 * sunrpc/xdr_rec.c: Likewise.
6472 * sysdeps/generic/ldconfig.h: Likewise.
6473 * sysdeps/generic/ldsodefs.h: Likewise.
6474 * sysdeps/generic/memusage.h: Likewise.
6475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6478 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6485 * sysdeps/posix/getaddrinfo.c: Likewise.
6486 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6487 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6488 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6489 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6490 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6491 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6492 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6493 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6494 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6495 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6496 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6497 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6498 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6499 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6500 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6501 * sysdeps/x86_64/dl-tls.h: Likewise.
6502 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6503 * time/alt_digit.c: Likewise.
6504 * time/era.c: Likewise.
6505 * wcsmbs/tst-c16c32-1.c: Likewise.
6506
8c75f674
JM
65072013-05-16 Joseph Myers <joseph@codesourcery.com>
6508
6509 * math/libm-test.inc (struct test_sincos_data): New type.
6510 (RUN_TEST_LOOP_sincos): New macro.
6511 (sincos_test_data): New variable.
6512 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6513
e6e49e59
RH
65142013-05-16 Richard Henderson <rth@redhat.com>
6515
6516 * math/atest-exp2.c (LIMB64): New macro.
6517 (CONSTSZ): New macro.
6518 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6519 (hexdig): Move ...
6520 (print_mpn_fp): ... to function scope.
6521 (read_mpn_hex): Remove.
6522 (get_log2): Remove.
6523 (exp2_mpn): Use mp_log2.
6524 (main): Use mp_exp1.
6525
15c7c18d
JM
65262013-05-16 Joseph Myers <joseph@codesourcery.com>
6527
105a07df
JM
6528 * math/libm-test.inc: Remove comment about not testing "inexact"
6529 exceptions.
6530 (INEXACT_EXCEPTION): New macro.
6531 (NO_INEXACT_EXCEPTION): Likewise.
6532 (INVALID_EXCEPTION_OK): Update value.
6533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6534 (OVERFLOW_EXCEPTION_OK): Likewise.
6535 (UNDERFLOW_EXCEPTION_OK): Likewise.
6536 (IGNORE_ZERO_INF_SIGN): Likewise.
6537 (ERRNO_UNCHANGED): Likewise.
6538 (ERRNO_EDOM): Likewise.
6539 (ERRNO_ERANGE): Likewise.
6540 (test_exceptions): Handle testing "inexact" exceptions.
6541 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6542 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6543 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6544 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6545 INEXACT_EXCEPTION.
6546 (rint_towardzero_test_data): Likewise.
6547 (rint_downward_test_data): Likewise.
6548 (rint_upward_test_data): Likewise.
6549
e9eee333
JM
6550 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6551 with OVERFLOW_EXCEPTION.
6552 (exp10_test_data): Likewise.
6553 (exp2_test_data): Likewise.
6554 (expm1_test_data): Likewise.
6555 (lgamma_test_data): Likewise.
6556 (pow_test_data): Likewise.
6557 (tgamma_test_data): Likewise.
6558 (yn_test_data): Remove duplicate test of overflow.
6559
1c38ff73
JM
6560 * math/libm-test.inc (struct test_cc_c_data): New type.
6561 (RUN_TEST_LOOP_cc_c): New macro.
6562 (cpow_test_data): New variable.
6563 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6564
15c7c18d
JM
6565 * math/libm-test.inc (struct test_f_L_data): New type.
6566 (RUN_TEST_LOOP_f_L): New macro.
6567 (llrint_test_data): New variable.
6568 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6569 (llrint_tonearest_test_data): New variable.
6570 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6571 (llrint_towardzero_test_data): New variable.
6572 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6573 (llrint_downward_test_data): New variable.
6574 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6575 (llrint_upward_test_data): New variable.
6576 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6577 (llround_test_data): New variable.
6578 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6579
f137ff13
PC
65802013-05-13 Peter Collingbourne <pcc@google.com>
6581
6582 * math/atest-exp2.c (get_log2): Remove const attribute.
6583
3608cb24
JM
65842013-05-15 Joseph Myers <joseph@codesourcery.com>
6585
6586 * math/libm-test.inc (struct test_f_l_data): New type.
6587 (RUN_TEST_LOOP_f_l): New macro.
6588 (lrint_test_data): New variable.
6589 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6590 (lrint_tonearest_test_data): New variable.
6591 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6592 (lrint_towardzero_test_data): New variable.
6593 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6594 (lrint_downward_test_data): New variable.
6595 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6596 (lrint_upward_test_data): New variable.
6597 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6598 (lround_test_data): New variable.
6599 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6600
39b1f617
PC
66012013-05-15 Peter Collingbourne <pcc@google.com>
6602
1deff3dc
PC
6603 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6604 (EXTRACT_WORDS64) Use where appropriate.
6605 (INSERT_WORDS64) Likewise.
6606
791f3ba0
PC
6607 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6608 constraints with x constraints.
6609 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6610
39b1f617
PC
6611 * malloc/obstack.c (_obstack_compat): Add initializer.
6612
12fba011
EM
66132013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6614
6615 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6616 si_trapno and add si_addr_lsb to _sifields.sigfault.
6617 (si_trapno): Remove macro.
6618 (si_addr_lsb): Define new macro.
6619 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6620
d369f531
JM
66212013-05-15 Joseph Myers <joseph@codesourcery.com>
6622
b861c6c4
JM
6623 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6624 instead of TEST_f_l.
6625 (llrint_test_tonearest): Likewise.
6626 (llrint_test_towardzero): Likewise.
6627 (llrint_test_downward): Likewise.
6628 (llrint_test_upward): Likewise.
6629 (llround_test): Likewise.
6630
7abeee12
JM
6631 * math/libm-test.inc (struct test_f_i_data): Add comment.
6632 (RUN_TEST_LOOP_f_b): New macro.
6633 (RUN_TEST_LOOP_f_b_tg): Likewise.
6634 (finite_test_data): New variable.
6635 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6636 (isfinite_test_data): New variable.
6637 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6638 (isinf_test_data): New variable.
6639 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6640 (isnan_test_data): New variable.
6641 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6642 (isnormal_test_data): New variable.
6643 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6644 (issignaling_test_data): New variable.
6645 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6646 (signbit_test_data): New variable.
6647 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6648
cbe8c4d3
JM
6649 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6650 with INVALID_EXCEPTION.
6651 (acosh_test_data): Likewise.
6652 (asin_test_data): Likewise.
6653 (atanh_test_data): Likewise.
6654 (fmod_test_data): Likewise.
6655 (log_test_data): Likewise.
6656 (log10_test_data): Likewise.
6657 (log2_test_data): Likewise.
6658 (pow_test_data): Likewise.
6659 (sqrt_test_data): Likewise.
6660 (y0_test_data): Likewise.
6661 (y1_test_data): Likewise.
6662 (yn_test_data): Likewise.
6663
5575c0e5
JM
6664 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6665 function contents.
6666
d369f531
JM
6667 * math/libm-test.inc (struct test_ff_i_data): New type.
6668 (RUN_TEST_LOOP_ff_i_tg): New macro.
6669 (isgreater_test_data): New variable.
6670 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6671 (isgreaterequal_test_data): New variable.
6672 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6673 (isless_test_data): New variable.
6674 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6675 (islessequal_test_data): New variable.
6676 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6677 (islessgreater_test_data): New variable.
6678 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6679 (isunordered_test_data): New variable.
6680 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6681
781fd748
DM
66822013-05-14 David S. Miller <davem@davemloft.net>
6683
6684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6685
87aa21df
JM
66862013-05-14 Joseph Myers <joseph@codesourcery.com>
6687
5e908270
JM
6688 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6689
f71172e5
JM
6690 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6691 extra_test to int.
6692 (struct test_f_i_data): Change type of max_ulp to int.
6693
8cfa635a
JM
6694 * math/libm-test.inc (test_ffI_f1_data): New type.
6695 (RUN_TEST_LOOP_ffI_f1): New macro.
6696 (remquo_test_data): New variable.
6697 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6698
2bcb36b2
JM
6699 * setjmp/tst-setjmp-fp.c: New file.
6700 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6701 (link-libm): New variable.
6702 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6703
acbd839a
JM
6704 * math/libm-test.inc (struct test_f_i_data): New type.
6705 (RUN_TEST_LOOP_f_i): New macro.
6706 (RUN_TEST_LOOP_f_i_tg): Likewise.
6707 (fpclassify_test_data): New variable.
6708 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6709 (ilogb_test_data): New variable.
6710 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6711
e414d745
JM
6712 * math/libm-test.inc (scalbln_test): Correct function name in END
6713 call.
6714
d9c2a0fd
JM
6715 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6716 (RUN_TEST_LOOP_fI_f1): New macro.
6717 (frexp_test_data): New variable.
6718 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6719
9dc9095d
JM
6720 * math/libm-test.inc (struct test_fF_f1_data): New type.
6721 (RUN_TEST_LOOP_fF_f1): New macro.
6722 (modf_test_data): New variable.
6723 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6724
87aa21df
JM
6725 * math/libm-test.inc (struct test_f_f1_data): New type.
6726 (RUN_TEST_LOOP_f_f1): New macro.
6727 (gamma_test_data): New variable.
6728 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6729 (lgamma_test_data): New variable.
6730 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6731
141af660
CD
67322013-05-13 Carlos O'Donell <carlos@redhat.com>
6733
6734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6735 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6736 (main): Comment "tls" pseudo-hwcap.
6737
6d33265c
JM
67382013-05-13 Joseph Myers <joseph@codesourcery.com>
6739
68fc074c
JM
6740 * math/libm-test.inc (struct test_fl_f_data): New type.
6741 (RUN_TEST_LOOP_fl_f): New variable.
6742 (scalbln_test_data): New variable.
6743 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6744
243216e1
JM
6745 * math/libm-test.inc (struct test_fi_f_data): New type.
6746 (RUN_TEST_LOOP_fi_f): New macro.
6747 (ldexp_test_data): New variable.
6748 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6749 (scalbn_test_data): New variable.
6750 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6751
6a1992e2
JM
6752 * math/libm-test.inc (struct test_c_f_data): New type.
6753 (RUN_TEST_LOOP_c_f): New macro.
6754 (cabs_test_data): New variable.
6755 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6756 (carg_test_data): New variable.
6757 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6758 (cimag_test_data): New variable.
6759 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6760 (creal_test_data): New variable.
6761 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6762
0e400df5
JM
6763 * math/libm-test.inc (struct test_if_f_data): New type.
6764 (RUN_TEST_LOOP_if_f): New macro.
6765 (jn_test_data): New variable.
6766 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6767 (yn_test_data): New variable.
6768 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6769
6d33265c
JM
6770 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6771
f98ece5f
AZ
67722013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6773
6774 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6775 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6776
0f7d347b
SP
67772013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6778
43fe811b
SP
6779 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6780 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6781 (bench-deps): Add bench-timing.h.
6782 * benchtests-bench-skeleton.c: Include bench-timing.h.
6783 (main): Use TIMING_* macros instead of clock_gettime.
6784 * benchtests/bench-timing.h: New file.
6785
0f7d347b
SP
6786 [BZ #14582]
6787 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6788 Renamed from _LIB_VERSION.
6789 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6790
601a3a5f
JM
67912013-05-12 Joseph Myers <joseph@codesourcery.com>
6792
4f184d30
JM
6793 * math/libm-test.inc (struct test_fff_f_data): New type.
6794 (RUN_TEST_LOOP_fff_f): New macro.
6795 (fma_test_data): New variable.
6796 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6797 (fma_towardzero_test_data): New variable.
6798 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6799 (fma_downward_test_data): New variable.
6800 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6801 (fma_upward_test_data): New variable.
6802 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6803
08198877
JM
6804 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6805 (struct test_c_c_data): New type.
6806 (RUN_TEST_LOOP_c_c): New macro.
6807 (cacos_test_data): New variable.
6808 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6809 (cacosh_test_data): New variable.
6810 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6811 (casin_test_data): New variable.
6812 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6813 (casinh_test_data): New variable.
6814 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6815 (catan_test_data): New variable.
6816 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6817 (catanh_test_data): New variable.
6818 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6819 (ccos_test_data): New variable.
6820 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6821 (ccosh_test_data): New variable.
6822 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6823 (cexp_test_data): New variable.
6824 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6825 (clog_test_data): New variable.
6826 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6827 (clog10_test_data): New variable.
6828 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6829 (conj_test_data): New variable.
6830 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6831 (cproj_test_data): New variable.
6832 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6833 (csin_test_data): New variable.
6834 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6835 (csinh_test_data): New variable.
6836 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6837 (csqrt_test_data): New variable.
6838 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6839 (ctan_test_data): New variable.
6840 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6841 (ctan_tonearest_test_data): New variable.
6842 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6843 (ctan_towardzero_test_data): New variable.
6844 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6845 (ctan_downward_test_data): New variable.
6846 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6847 (ctan_upward_test_data): New variable.
6848 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6849 (ctanh_test_data): New variable.
6850 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6851 (ctanh_tonearest_test_data): New variable.
6852 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6853 (ctanh_towardzero_test_data): New variable.
6854 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6855 (ctanh_downward_test_data): New variable.
6856 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6857 (ctanh_upward_test_data): New variable.
6858 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6859 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6860 of BUILD_COMPLEX.
6861
601a3a5f
JM
6862 * math/libm-test.inc (struct test_ff_f_data): New type.
6863 (struct test_ff_f_data_nexttoward): Likewise.
6864 (RUN_TEST_LOOP_2_f): New macro.
6865 (RUN_TEST_LOOP_ff_f): Likewise.
6866 (atan2_test_data): New variable.
6867 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6868 (copysign_test_data): New variable.
6869 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6870 (fdim_test_data): New variable.
6871 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6872 (fmax_test_data): New variable.
6873 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6874 (fmin_test_data): New variable.
6875 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6876 (fmod_test_data): New variable.
6877 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6878 (hypot_test_data): New variable.
6879 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6880 (nextafter_test_data): New variable.
6881 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6882 (nexttoward_test_data): New variable.
6883 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6884 (pow_test_data): New variable.
6885 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6886 (pow_tonearest_test_data): New variable.
6887 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6888 (pow_towardzero_test_data): New variable.
6889 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6890 (pow_downward_test_data): New variable.
6891 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6892 (pow_upward_test_data): New variable.
6893 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6894 (remainder_test_data): New variable.
6895 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6896 (scalb_test_data): New variable.
6897 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6898 * sysdeps/i386/fpu/libm-test-ulps: Update.
6899
74c57478
JM
69002013-05-11 Joseph Myers <joseph@codesourcery.com>
6901
8329e4da
JM
6902 * math/libm-test.inc (fma_test): Use max_value instead of local
6903 variable fltmax.
6904 (nextafter_test): Likewise.
6905
74c57478
JM
6906 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6907 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6908 (acos_downward_test_data): New variable.
6909 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6910 (acos_upward_test_data): New variable.
6911 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6912 (acosh_test_data): New variable.
6913 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6914 (asin_test_data): New variable.
6915 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6916 (asin_tonearest_test_data): New variable.
6917 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6918 (asin_towardzero_test_data): New variable.
6919 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6920 (asin_downward_test_data): New variable.
6921 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6922 (asin_upward_test_data): New variable.
6923 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6924 (asinh_test_data): New variable.
6925 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6926 (atan_test_data): New variable.
6927 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6928 (atanh_test_data): New variable.
6929 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6930 (cbrt_test_data): New variable.
6931 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6932 (ceil_test_data): New variable.
6933 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6934 (cos_test_data): New variable.
6935 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6936 (cos_tonearest_test_data): New variable.
6937 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6938 (cos_towardzero_test_data): New variable.
6939 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6940 (cos_downward_test_data): New variable.
6941 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6942 (cos_upward_test_data): New variable.
6943 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6944 (cosh_test_data): New variable.
6945 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6946 (cosh_tonearest_test_data): New variable.
6947 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6948 (cosh_towardzero_test_data): New variable.
6949 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6950 (cosh_downward_test_data): New variable.
6951 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6952 (cosh_upward_test_data): New variable.
6953 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6954 (erf_test_data): New variable.
6955 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6956 (erfc_test_data): New variable.
6957 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6958 (exp_test_data): New variable.
6959 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6960 (exp_tonearest_test_data): New variable.
6961 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6962 (exp_towardzero_test_data): New variable.
6963 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6964 (exp_downward_test_data): New variable.
6965 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6966 (exp_upward_test_data): New variable.
6967 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6968 (exp10_test_data): New variable.
6969 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6970 (exp2_test_data): New variable.
6971 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6972 (expm1_test_data): New variable.
6973 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6974 (fabs_test_data): New variable.
6975 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6976 (floor_test_data): New variable.
6977 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6978 (j0_test_data): New variable.
6979 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6980 (j1_test_data): New variable.
6981 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6982 (log_test_data): New variable.
6983 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6984 (log10_test_data): New variable.
6985 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6986 (log1p_test_data): New variable.
6987 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6988 (log2_test_data): New variable.
6989 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6990 (logb_test_data): New variable.
6991 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6992 (logb_downward_test_data): New variable.
6993 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6994 (nearbyint_test_data): New variable.
6995 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6996 (rint_test_data): New variable.
6997 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6998 (rint_tonearest_test_data): New variable.
6999 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7000 (rint_towardzero_test_data): New variable.
7001 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7002 (rint_downward_test_data): New variable.
7003 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7004 (rint_upward_test_data): New variable.
7005 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7006 (round_test_data): New variable.
7007 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7008 (sin_test_data): New variable.
7009 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7010 (sin_tonearest_test_data): New variable.
7011 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7012 (sin_towardzero_test_data): New variable.
7013 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7014 (sin_downward_test_data): New variable.
7015 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7016 (sin_upward_test_data): New variable.
7017 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7018 (sinh_test_data): New variable.
7019 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7020 (sinh_tonearest_test_data): New variable.
7021 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7022 (sinh_towardzero_test_data): New variable.
7023 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7024 (sinh_downward_test_data): New variable.
7025 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7026 (sinh_upward_test_data): New variable.
7027 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7028 (sqrt_test_data): New variable.
7029 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7030 (tan_test_data): New variable.
7031 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7032 (tan_tonearest_test_data): New variable.
7033 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7034 (tan_towardzero_test_data): New variable.
7035 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7036 (tan_downward_test_data): New variable.
7037 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7038 (tan_upward_test_data): New variable.
7039 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7040 (tanh_test_data): New variable.
7041 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7042 (tgamma_test_data): New variable.
7043 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7044 (trunc_test_data): New variable.
7045 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7046 (y0_test_data): New variable.
7047 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7048 (y1_test_data): New variable.
7049 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7050 (significand_test_data): New variable.
7051 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7052
7187d844
CG
70532013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7054
7055 [BZ #12387]
7056 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7057
f63fae73
PT
70582013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7059
7060 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7061
8a67a4b3
AJ
70622013-05-10 Andreas Jaeger <aj@suse.de>
7063
7064 [BZ #15448]
7065 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7066 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7067
51df539d
JM
70682013-05-10 Joseph Myers <joseph@codesourcery.com>
7069
7070 * math/gen-libm-test.pl (adjust_arg): New function.
7071 (special_functions): Handle generating output in both functions
7072 and arrays.
7073 (parse_args): Likewise.
7074 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7075 $in_func argument to parse_args.
7076 * math/libm-test.inc (struct test_f_f_data): New type.
7077 (IF_ROUND_INIT_): New macro.
7078 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7079 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7080 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7081 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7082 (ROUND_RESTORE_): Likewise.
7083 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7084 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7085 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7086 (ROUND_RESTORE_FE_UPWARD): Likewise.
7087 (RUN_TEST_LOOP_f_f): New macro.
7088 (acos_test_data): New variable.
7089 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7090 (acos_tonearest_test_data): New variable.
7091 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7092
5c637fe5
SP
70932013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
7095 * benchtests/bench-skeleton.c (startup): Fix coding style.
7096
ab2b9461
JM
70972013-05-10 Joseph Myers <joseph@codesourcery.com>
7098
7099 [BZ #6809]
7100 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7101 negative infinity argument.
7102 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7103 negative infinity argument.
7104 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7105 negative infinity argument.
7106 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7107 domain errors.
7108
4c0fe6fe
FW
71092013-05-10 Florian Weimer <fweimer@redhat.com>
7110
7111 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7112 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7113 * iconv/iconv_prog.c (main): Likewise.
7114 * locale/programs/charmap-dir.c (charmap_readdir)
7115 (fopen_uncompressed): Likewise.
7116 * locale/programs/locfile.c (siblings_uncached)
7117 (write_locale_data): Use lstat64 instead of lstat.
7118 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7119 stat.
7120
a3375d29
AJ
71212013-05-10 Andreas Jaeger <aj@suse.de>
7122
7123 [BZ #15395]
7124 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7125 localization.
7126 Include <locale.h>.
7127
36129722
CD
71282013-05-09 Carlos O'Donell <carlos@redhat.com>
7129
7130 * elf/dl-close.c (_dl_close_worker): Add comments.
7131
faa7f811
JM
71322013-05-09 Joseph Myers <joseph@codesourcery.com>
7133
ed41ffef
JM
7134 [BZ #15359]
7135 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7136 high part of pi/2.
7137 (__ieee754_rem_pio2l): Update comments.
7138
d0213cd0
JM
7139 [BZ #15429]
7140 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7141 high part of pi/2.
7142 (__ieee754_rem_pio2l): Update comments.
7143
0d3e777a
JM
7144 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7145 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7146
24f56066
JM
7147 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7148 M_PI_4l.
7149
faa7f811
JM
7150 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7151 (M_PI_34_LOG10El): Likewise.
7152 (M_PI2_LOG10El): Likewise.
7153 (M_PI4_LOG10El): Likewise.
7154 (M_PI_LOG10El): Likewise.
7155
e9a5e0fd
AZ
71562013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7157
7158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7159
d8cd06db
JM
71602013-05-08 Joseph Myers <joseph@codesourcery.com>
7161
a0d9f9d7
JM
7162 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7163 (MINUS_ZERO_INIT): Likewise.
7164 (PLUS_INFTY_INIT): Likewise.
7165 (MINUS_INFTY_INIT): Likewise.
7166 (QNAN_VALUE_INIT): Likewise.
7167 (MAX_VALUE_INIT): Likewise.
7168 (MIN_VALUE_INIT): Likewise.
7169 (MIN_SUBNORM_VALUE_INIT): Likewise.
7170 (plus_zero): Initialize with PLUS_ZERO_INIT.
7171 (minus_zero): Initialize with MINUS_ZERO_INIT.
7172 (plus_infty): Initialize with PLUS_INFTY_INIT.
7173 (minus_infty): Initialize with MINUS_INFTY_INIT.
7174 (qnan_value): Initialize with QNAN_VALUE_INIT.
7175 (max_value): Initialize with MAX_VALUE_INIT.
7176 (min_value): Initialize with MIN_VALUE_INIT.
7177 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7178
ae08db3b
JM
7179 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7180 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7181 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7182 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7183
f44bf14a
JM
7184 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7185 (RUN_TEST_2_f): Likewise.
7186 (RUN_TEST_ff_f): Likewise.
7187 (RUN_TEST_fi_f): Likewise.
7188 (RUN_TEST_fl_f): Likewise.
7189 (RUN_TEST_fff_f): Likewise.
7190 (RUN_TEST_c_f): Likewise.
7191 (RUN_TEST_f_f1): Likewise.
7192 (RUN_TEST_fF_f1): Likewise.
7193 (RUN_TEST_fI_f1): Likewise.
7194 (RUN_TEST_ffI_f1): Likewise.
7195 (RUN_TEST_c_c): Likewise.
7196 (RUN_TEST_cc_c): Likewise.
7197 (RUN_TEST_f_i): Likewise.
7198 (RUN_TEST_f_i_tg): Likewise.
7199 (RUN_TEST_ff_i_tg): Likewise.
7200 (RUN_TEST_f_b): Likewise.
7201 (RUN_TEST_f_b_tg): Likewise.
7202 (RUN_TEST_f_l): Likewise.
7203 (RUN_TEST_f_L): Likewise.
7204 (RUN_TEST_sincos): Likewise.
7205 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7206 whether to show exceptions. Do not include ");\n" in return
7207 value.
7208 (special_functions): Output call to RUN_TEST_sincos instead of
7209 check_float calls. Update calls to new_test.
7210 (parse_args): Output call to single RUN_TEST_* macro instead of
7211 check_* calls and other assignments. Update calls to new_test.
7212
d8cd06db
JM
7213 [BZ #2546]
7214 [BZ #2560]
7215 [BZ #5159]
7216 [BZ #15426]
7217 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7218 input to result for tgamma overflow.
7219 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7220 (gamma_coeff): New variable.
7221 (NCOEFF): New macro.
7222 (gamma_positive): New function.
7223 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7224 underflow here. Use gamma_positive instead of exp (lgamma) for
7225 other arguments.
7226 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7227 (gamma_coeff): New variable.
7228 (NCOEFF): New macro.
7229 (gammaf_positive): New function.
7230 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7231 underflow here. Use gamma_positive instead of exp (lgamma) for
7232 other arguments.
7233 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7234 (gamma_coeff): New variable.
7235 (NCOEFF): New macro.
7236 (gammal_positive): New function.
7237 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7238 underflow here. Use gamma_positive instead of exp (lgamma) for
7239 other arguments.
7240 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7241 (gamma_coeff): New variable.
7242 (NCOEFF): New macro.
7243 (gammal_positive): New function.
7244 (__ieee754_gammal_r): Handle positive infinity, overflow and
7245 underflow here. Handle NaN the same as positive infinity. Remove
7246 check x < 0xffffffff for negative integers. Use gamma_positive
7247 instead of exp (lgamma) for other arguments.
7248 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7249 (gamma_coeff): New variable.
7250 (NCOEFF): New macro.
7251 (gammal_positive): New function.
7252 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7253 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7255 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7256 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7257 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7258 * sysdeps/generic/math_private.h (__gamma_productf): New
7259 prototype.
7260 (__gamma_product): Likewise.
7261 (__gamma_productl): Likewise.
7262 * math/Makefile (libm-calls): Add gamma_product.
7263 * math/libm-test.inc (tgamma_test): Add more tests.
7264 * sysdeps/i386/fpu/libm-test-ulps: Update.
7265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7266
bb7cf681
OB
72672013-05-08 Ondřej Bílka <neleai@seznam.cz>
7268
7269 * benchtests/bench-skeleton.c (main): Preheat CPU.
7270
ba853947
AJ
72712013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7272
7273 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7274
8347c74c
RM
72752013-05-07 Roland McGrath <roland@hack.frob.com>
7276
7277 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7278 and _dl_skip_args_internal.
7279
e8dd4791
CD
72802013-05-07 Carlos O'Donell <carlos@redhat.com>
7281
7282 * manual/message.texi (Message Translation): Talk about users.
7283 Message to key mapping impacts design.
7284
c7405830
RM
72852013-05-06 Roland McGrath <roland@hack.frob.com>
7286
a9173057
RM
7287 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7288
976e2f03
RM
7289 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7290
9723ffc5
RM
7291 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7292 * sysdeps/wordsize-64/glob64.c: ... here.
7293
962e6658
RM
7294 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7295 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7296 New macros.
7297
ee586a6d
RM
7298 * debug/getlogin_r_chk.c: Moved to ...
7299 * login/getlogin_r_chk.c: ... here.
7300 * debug/Makefile (routines): Move getlogin_r_chk to ...
7301 * login/Makefile (routines): ... here.
7302 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7303 * login/Versions (libc: GLIBC_2.4): ... here.
7304
355f9165
RM
7305 * io/poll.c (__poll): Renamed from poll.
7306 Add libc_hidden_def.
7307 (poll): Define as weak alias.
7308
bd9ffde6
RM
7309 * debug/ptsname_r_chk.c: Moved to ...
7310 * login/ptsname_r_chk.c: ... here.
7311 * debug/Makefile (routines): Move ptsname_r_chk to ...
7312 * login/Makefile (routines): ... here.
7313 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7314 * login/Versions (libc: GLIBC_2.4): ... here.
7315
8fb16a04
RM
7316 * posix/getlogin.c: Moved to ...
7317 * login/getlogin.c: ... here.
7318 * posix/getlogin_r.c: Moved to ...
7319 * login/getlogin_r.c: ... here.
7320 * posix/getlogin_r.c: Moved to ...
7321 * login/getlogin_r.c: ... here.
7322 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7323 * login/Makefile (routines): ... here.
7324 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7325 * login/Versions (libc: GLIBC_2.0): ... here.
7326
b99b892f
RM
7327 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7328 (setrlimit): Define as weak alias.
7329
c7405830
RM
7330 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7331 Call __ names for open, ftruncate, and close.
7332 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7333 (truncate): Define as weak alias.
7334
5bf96de5
JM
73352013-05-06 Joseph Myers <joseph@codesourcery.com>
7336
9ea3513c
JM
7337 * math/gen-libm-test.pl (parse_args): Initialize x before each
7338 test of frexp, modf and remquo.
7339
5bf96de5
JM
7340 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7341 test signgam value.
7342
16e616a7
AZ
73432013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7344
7345 [BZ #15418]
7346 [BZ #15419]
7347 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7348 internal tests.
7349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7350
d5e82754
RM
73512013-05-06 Roland McGrath <roland@hack.frob.com>
7352
7353 * elf/dl-writev.h: New file.
7354 * elf/dl-misc.c: Include it.
7355 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7356 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7357
a7548d41
JM
73582013-05-04 Joseph Myers <joseph@codesourcery.com>
7359
b7dab1e4
JM
7360 * math/libm-test.inc (noXFails): Remove variable.
7361 (noXPasses): Likewise.
7362 (BUILD_COMPLEX_INT): Remove macro.
7363 (print_screen): Remove xfail argument.
7364 (print_screen_max_error): Likewise.
7365 (update_stats): Likewise.
7366 (print_max_error): Likewise. Update calls to other affected
7367 functions.
7368 (print_complex_max_error): Likewise.
7369 (test_single_exception): Update calls to print_screen.
7370 (test_single_errno): Likewise.
7371 (check_float_internal): Remove xfail argument. Update calls to
7372 other affected functions.
7373 (check_float): Likewise.
7374 (check_complex): Likewise.
7375 (check_int): Likewise.
7376 (check_long): Likewise.
7377 (check_bool): Likewise.
7378 (check_longlong): Likewise.
7379 (main): Don't print noXFails and noXPasses.
7380 * math/gen-libm-test.pl (top level): Don't mention expected
7381 failure handling in comment.
7382 (new_test): Don't handle expected failures.
7383 (parse_args): Don't mention expected failure handling in comment.
7384 (generate_testfile): Don't handle expected failures.
7385 (parse_ulps): Likewise.
7386 (print_ulps_file): Likewise.
7387 (get_failure): Remove function.
7388 (output_test): Don't handle expected failures.
7389 * make/README.libm-test: Don't mention expected failure handling.
7390
a7548d41
JM
7391 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7392 (minus_zero): Likewise.
7393 (plus_infty): Likewise.
7394 (minus_infty): Likewise.
7395 (qnan_value): Likewise.
7396 (max_value): Likewise.
7397 (min_value): Likewise.
7398 (min_subnorm_value): Likewise.
7399 (initialize): Do not initialize those variables dynamically.
7400
60bfd54c
RM
74012013-05-03 Roland McGrath <roland@hack.frob.com>
7402
cc0e6ed8
RM
7403 * io/open.c (__open_2): Moved to ...
7404 * io/open_2.c: ... this new file.
7405 * io/open64.c (__open64_2): Moved to ...
7406 * io/open64_2.c: ... this new file.
7407 * io/openat.c (__openat_2): Moved to ...
7408 * io/openat_2.c: ... this new file.
7409 * io/openat64.c (__openat64_2): Moved to ...
7410 * io/openat64_2.c: ... this new file.
7411 * io/Makefile (routines): Add them.
7412 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7413 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7414 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7415 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7416 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7417 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7418 (__openat64): Add hidden_ver.
7419 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7420 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7421
60bfd54c
RM
7422 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7423 Separately conditionalize setting of GLRO(dl_sysinfo) so
7424 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7425 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7426
83e7640f
AZ
74272013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7428
7429 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7431 definition.
7432 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7433 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7434 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7435 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7436 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7437
d5dc2af3
JM
74382013-05-03 Joseph Myers <joseph@codesourcery.com>
7439
c31a5b1e
JM
7440 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7441 test signgam value.
7442
d5dc2af3
JM
7443 * math/libm-test.inc (hypot_test): Do not use
7444 IGNORE_ZERO_INF_SIGN.
7445
164fd39d
AJ
74462013-05-03 Andreas Jaeger <aj@suse.de>
7447
7448 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7449 Linux 3.9.
7450 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7451 (PF_MAX): Adjust for VSOCK change.
7452
8237f48c
AZ
74532013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7454
7455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7456
9df02941
CD
74572013-05-02 Carlos O'Donell <carlos@redhat.com>
7458
7459 [BZ #15264]
7460 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7461 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7462 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7463
d422395e
DM
74642013-05-02 David S. Miller <davem@davemloft.net>
7465
7466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7467
a07c5731
OB
74682013-05-01 Ondřej Bílka <neleai@seznam.cz>
7469
7470 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7471
1324e37f
RM
74722013-05-01 Roland McGrath <roland@hack.frob.com>
7473
7474 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7475
0695940b
RS
74762013-05-01 Richard Smith <richard@metafoo.co.uk>
7477
bb5f27ad 7478 [BZ #14952]
0695940b
RS
7479 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7480 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7481 Use __attribute__ ((__gnu_inline__)).
7482 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7483 Don't use __attribute__ ((__gnu_inline__)).
7484
10de07f5
JM
74852013-05-01 Joseph Myers <joseph@codesourcery.com>
7486
7487 [BZ #15423]
7488 * math/s_catan.c (__catan): Handle small real or imaginary part of
7489 input specially to avoid spurious underflow.
7490 * math/s_catanf.c (__catanf): Likewise.
7491 * math/s_catanh.c (__catanh): Likewise.
7492 * math/s_catanhf.c (__catanhf): Likewise.
7493 * math/s_catanhl.c (__catanhl): Likewise.
7494 * math/s_catanl.c (__catanl): Likewise.
7495 * math/libm-test.inc (catan_test): Add more tests.
7496 (catanh_test): Likewise.
7497 * sysdeps/i386/fpu/libm-test-ulps: Update.
7498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7499
cb4d5414
AZ
75002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7501
7502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7503
caf84319
JM
75042013-04-30 Joseph Myers <joseph@codesourcery.com>
7505
7506 [BZ #15416]
7507 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7508 accurately for denominator in atan2.
7509 * math/s_catanf.c (__catanf): Likewise.
7510 * math/s_catanh.c (__catanh): Likewise.
7511 * math/s_catanhf.c (__catanhf): Likewise.
7512 * math/s_catanhl.c (__catanhl): Likewise.
7513 * math/s_catanl.c (__catanl): Likewise.
7514 * math/libm-test.inc (catan_test): Add more tests.
7515 (catanh_test): Likewise.
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518
d569c6ee
SP
75192013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7520
6dbe713d
SP
7521 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7522
f0ee064b
SP
7523 * benchtests/Makefile (bench): Remove slow benchmarks.
7524 * benchtests/atan-inputs: Add slow benchmark inputs.
7525 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7526 (BENCH_FUNC): Accept variant offset.
7527 (VARIANT): Define.
7528 * benchtests/bench-skeleton.c (main): Run benchmark for each
7529 variant.
7530 * benchtests/cos-inputs: Add slow benchmark inputs.
7531 * benchtests/exp-inputs: Likewise.
7532 * benchtests/pow-inputs: Likewise.
7533 * benchtests/sin-inputs: Likewise.
7534 * benchtests/slowatan-inputs: Remove.
7535 * benchtests/slowatan.c: Remove.
7536 * benchtests/slowcos-inputs: Remove.
7537 * benchtests/slowcos.c: Remove.
7538 * benchtests/slowexp-inputs: Remove.
7539 * benchtests/slowexp.c: Remove.
7540 * benchtests/slowpow-inputs: Remove.
7541 * benchtests/slowpow.c: Remove.
7542 * benchtests/slowsin-inputs: Remove.
7543 * benchtests/slowsin.c: Remove.
7544 * benchtests/slowtan-inputs: Remove.
7545 * benchtests/slowtan.c: Remove.
7546 * benchtests/tan-inputs: Add slow benchmark inputs.
7547 * scripts/bench.pl: Parse comments and directives.
7548
d569c6ee
SP
7549 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7550 in CPPFLAGS.
7551 ($(objpfx)bench-%.c): Remove *-ITER.
7552 * benchtests/bench-modf.c: Remove definition of ITER.
7553 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7554 (main): Loop for DURATION seconds instead of fixed number of
7555 iterations.
7556 * scripts/bench.pl: Don't expect iterations in parameters.
7557
a6a242fe
RM
75582013-04-29 Roland McGrath <roland@hack.frob.com>
7559
7560 * io/fchdir.c (__fchdir): Renamed from fchdir.
7561 (fchdir): Define as weak alias.
7562
f2da7793
JM
75632013-04-29 Joseph Myers <joseph@codesourcery.com>
7564
7565 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7566 (ERRNO_EDOM): Likewise.
7567 (ERRNO_ERANGE): Likewise.
7568 (noErrnoTests): New variable.
7569 (init_max_error): Set errno to 0.
7570 (test_single_errno): New function.
7571 (test_errno): Likewise.
7572 (check_float_internal): Call test_errno. Set errno to 0.
7573 (check_complex): Refer to errno tests in comment.
7574 (check_int): Call test_errno. Set errno to 0.
7575 (check_long): Likewise.
7576 (check_bool): Likewise.
7577 (check_longlong): Likewise.
7578 (cos_test): Use ERRNO_* flags for errno tests instead of
7579 check_int.
7580 (expm1_test): Likewise.
7581 (fmod_test): Likewise.
7582 (ilogb_test): Likewise.
7583 (lgamma_test): Likewise.
7584 (pow_test): Likewise.
7585 (remainder_test): Likewise.
7586 (sin_test): Likewise.
7587 (tan_test): Likewise.
7588 (yn_test): Likewise.
7589 (initialize): Set errno to 0.
7590 (main): Print number of errno tests.
7591 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7592
b1a36ceb
AJ
75932013-04-29 Andreas Jaeger <aj@suse.de>
7594
c3ed8088
AJ
7595 [BZ #15084]
7596 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7597 and RES_USEVC.
7598
f1a24198
AJ
7599 [BZ #15085]
7600 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7601 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7602 unimplemented.
7603
9ce3b2cb
AJ
7604 [BZ #15380]
7605 * stdlib/random.c (__initstate): Return NULL if
7606 __initstate fails.
7607
f1a24198 7608 [BZ #15086]
b1a36ceb
AJ
7609 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7610 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7611 RES_SNGLKUPREOP.
7612
7e7b6f36
AZ
76132013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7614
7615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7616
4d14f449
JM
76172013-04-29 Joseph Myers <joseph@codesourcery.com>
7618
7619 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7620 of individual tests.
7621 (casin_test): Likewise.
7622 (casinh_test): Likewise.
7623
5b4217d7
JM
76242013-04-27 Joseph Myers <joseph@codesourcery.com>
7625
7626 [BZ #15409]
7627 * math/s_catan.c (__catan): Handle arguments with large real or
7628 imaginary part separately without squaring.
7629 * math/s_catanf.c (__catanf): Likewise.
7630 * math/s_catanh.c (__catanh): Likewise.
7631 * math/s_catanhf.c (__catanhf): Likewise.
7632 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7633 and redefine.
7634 (__catanhl): Handle arguments with large real or imaginary part
7635 separately without squaring.
7636 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7637 and redefine.
7638 (__catanl): Handle arguments with large real or imaginary part
7639 separately without squaring.
7640 * math/libm-test.inc (catan_test): Add more tests.
7641 (catanh_test): Likewise.
7642 * sysdeps/i386/fpu/libm-test-ulps: Update.
7643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7644
4220c3ef
AJ
76452013-04-27 Andreas Jaeger <aj@suse.de>
7646
7647 [BZ #15007]
7648 * stdlib/stdlib.h: Update guards for qecvt.
7649 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7650 <stdlib.h>.
7651
4721b2d1
AM
76522013-04-27 Allan McRae <allan@archlinux.org>
7653
7654 * sysdeps/i386/fpu/libm-test-ulps: Update.
7655
f0302940
JM
76562013-04-26 Joseph Myers <joseph@codesourcery.com>
7657
9457fd95
JM
7658 [BZ #15406]
7659 * math/s_catan.c: Include <float.h>.
7660 (__catan): Ensure underflow exception occurs for underflowed
7661 result.
7662 * math/s_catanf.c: Include <float.h>.
7663 (__catanf): Ensure underflow exception occurs for underflowed
7664 result.
7665 * math/s_catanh.c: Include <float.h>.
7666 (__catanh): Ensure underflow exception occurs for underflowed
7667 result.
7668 * math/s_catanhf.c: Include <float.h>.
7669 (__catanhf): Ensure underflow exception occurs for underflowed
7670 result.
7671 * math/s_catanhl.c: Include <float.h>.
7672 (__catanhl): Ensure underflow exception occurs for underflowed
7673 result.
7674 * math/s_catanl.c: Include <float.h>.
7675 (__catanl): Ensure underflow exception occurs for underflowed
7676 result.
7677 * math/libm-test.inc (catan_test): Add more tests.
7678 (catanh_test): Likewise.
7679
f0302940
JM
7680 [BZ #15405]
7681 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7682 underflowed result.
7683 * math/s_ccoshf.c (__ccoshf): Likewise.
7684 * math/s_ccoshl.c (__ccoshl): Likewise.
7685 * math/s_csin.c (__csin): Likewise.
7686 * math/s_csinf.c (__csinf): Likewise.
7687 * math/s_csinh.c (__csinh): Likewise.
7688 * math/s_csinhf.c (__csinhf): Likewise.
7689 * math/s_csinhl.c (__csinhl): Likewise.
7690 * math/s_csinl.c (__csinl): Likewise.
7691 * math/libm-test.inc (ccos_test): Add more tests.
7692 (ccosh_test): Likewise.
7693 (csin_test): Likewise.
7694 (csinh_test): Likewise.
7695
aa630f59
AZ
76962013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7697
7698 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7699 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7700 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7701 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7702 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7703 powerpc/power5+/fpu folders.
7704 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7705
7706
1b835983
MT
77072013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7708
7709 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7710
73709b26
JM
77112013-04-25 Joseph Myers <joseph@codesourcery.com>
7712
7713 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7714 additions to variable.
7715 [$(config-machine) = x86_64] (modules-names): Likewise.
7716 ($(objpfx)tst-audit3): Remove dependency.
7717 ($(objpfx)tst-audit3.out): Likewise.
7718 ($(objpfx)tst-audit4): Likewise.
7719 ($(objpfx)tst-audit4.out): Likewise.
7720 ($(objpfx)tst-audit5): Likewise.
7721 ($(objpfx)tst-audit5.out): Likewise.
7722 ($(objpfx)tst-audit6): Likewise.
7723 ($(objpfx)tst-audit6.out): Likewise.
7724 ($(objpfx)tst-audit7): Likewise.
7725 ($(objpfx)tst-audit7.out): Likewise.
7726 (tst-audit3-ENV): Remove variable.
7727 (tst-audit4-ENV): Likewise.
7728 (tst-audit5-ENV): Likewise.
7729 (tst-audit6-ENV): Likewise.
7730 (tst-audit7-ENV): Likewise.
7731 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7732 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7733 addition to variable.
7734 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7735 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7736 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7737 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7738 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7739 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7740 tst-audit3, tst-audit4 and tst-audit5.
7741 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7742 tst-audit6 and tst-audit7.
7743 [$(subdir) = elf] (modules-names): Add audit modules for those
7744 tests.
7745 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7746 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7747 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7748 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7749 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7750 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7751 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7752 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7753 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7754 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7755 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7756 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7757 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7758 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7759 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7760 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7761 Likewise.
7762 [$(subdir) = elf && $(config-cflags-avx) = yes]
7763 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7764 [$(subdir) = elf && $(config-cflags-avx) = yes]
7765 (CFLAGS-tst-auditmod4a.c): Likewise.
7766 [$(subdir) = elf && $(config-cflags-avx) = yes]
7767 (CFLAGS-tst-auditmod4b.c): Likewise.
7768 [$(subdir) = elf && $(config-cflags-avx) = yes]
7769 (CFLAGS-tst-auditmod6b.c): Likewise.
7770 [$(subdir) = elf && $(config-cflags-avx) = yes]
7771 (CFLAGS-tst-auditmod6c.c): Likewise.
7772 [$(subdir) = elf && $(config-cflags-avx) = yes]
7773 (CFLAGS-tst-auditmod7b.c): Likewise.
7774 * elf/tst-audit3.c: Move to ...
7775 * sysdeps/x86_64/tst-audit3.c: ... here.
7776 * elf/tst-audit4.c: Move to ...
7777 * sysdeps/x86_64/tst-audit4.c: ... here.
7778 * elf/tst-audit5.c: Move to ...
7779 * sysdeps/x86_64/tst-audit5.c: ... here.
7780 * elf/tst-audit6.c: Move to ...
7781 * sysdeps/x86_64/tst-audit6.c: ... here.
7782 * elf/tst-audit7.c: Move to ...
7783 * sysdeps/x86_64/tst-audit7.c: ... here.
7784 * elf/tst-auditmod3a.c: Move to ...
7785 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7786 * elf/tst-auditmod3b.c: Move to ...
7787 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7788 * elf/tst-auditmod4a.c: Move to ...
7789 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7790 * elf/tst-auditmod4b.c: Move to ...
7791 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7792 * elf/tst-auditmod5a.c: Move to ...
7793 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7794 * elf/tst-auditmod5b.c: Move to ...
7795 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7796 * elf/tst-auditmod6a.c: Move to ...
7797 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7798 * elf/tst-auditmod6b.c: Move to ...
7799 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7800 * elf/tst-auditmod6c.c: Move to ...
7801 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7802 * elf/tst-auditmod7a.c: Move to ...
7803 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7804 * elf/tst-auditmod7b.c: Move to ...
7805 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7806
1ef74943
PP
78072013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7808
7809 [BZ #15366]
7810 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7811 define unconditionally.
7812 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7813 define unconditionally.
7814 (INT8_C, INT16_C, etc.): Likewise.
7815
93fd48c5
MR
78162013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7817
ae9552cf
MR
7818 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7819 __ehdr_start with hidden visibility.
7820
93fd48c5
MR
7821 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7822
418601aa
CD
78232013-04-24 Carlos O'Donell <carlos@redhat.com>
7824
7825 * math/libm-test.inc (cos_test): Use accurate hex constants.
7826 (sincost_test): Likewise.
7827
2f38fbfe
JM
78282013-04-24 Joseph Myers <joseph@codesourcery.com>
7829
5e221800
JM
7830 * math/libm-test.inc (catan_test): Add more tests.
7831 (catanh_test): Likewise.
7832
77f143fd
JM
7833 * math/s_catanf.c (__catanf): Use suffixed floating-point
7834 constants.
7835 * math/s_catanhf.c (__catanhf): Likewise.
7836 * math/s_catanhl.c (__catanhl): Likewise.
7837 * math/s_catanl.c (__catanl): Likewise.
7838
2f38fbfe
JM
7839 [BZ #15394]
7840 * math/s_catan.c (__catan): Calculate imaginary part of result
7841 with log1p not log unless computing log of number close to 0.
7842 * math/s_catanf.c (__catanf): Likewise.
7843 * math/s_catanl.c (__catanl): Likewise.
7844 * math/s_catanh.c (__catanh): Calculate real part of result with
7845 log1p not log unless computing log of number close to 0.
7846 * math/s_catanhf.c (__catanhf): Likewise.
7847 * math/s_catanhl.c (__catanhl): Likewise.
7848 * math/libm-test.inc (catan_test): Add more tests.
7849 (catanh_test): Likewise.
7850 * sysdeps/i386/fpu/libm-test-ulps: Update.
7851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852
45d69176
SP
78532013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7854
7855 * benchtests/Makefile: Mention files in which fast and slow
7856 paths of math functions are implemented.
7857
87f51853
RM
78582013-04-23 Roland McGrath <roland@hack.frob.com>
7859
7860 * sysdeps/posix/timespec_get.c: New file.
7861
3c026539
AZ
78622013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7863
7864 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7865 POWER.
7866 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7867 for POWER.
7868 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7869 powerpc/power5/fpu folders.
7870 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7871 * benchtests/Makefile: Add modf testcase.
7872 * benchtests/bench-modf.c: New file: Benchmark test for mo
7873
ff491d14
SP
78742013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7875
7876 [BZ #14888]
7877 * time/Makefile (tests): Add tst-strptime-whitespace.
7878 * time/strptime_l.c (get_number): Use ISSPACE.
7879 (__strptime_internal): Likewise.
7880 * time/tst-strptime-whitespace.c: New test case.
7881
7ed3f4e8
AS
78822013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7883
7884 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7885 member.
7886 (_nss_files_init): Set it here.
7887
5c95f7b6
HC
78882013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7889
7890 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7891 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7892 unsigned.
7893
d34c9158
JBG
78942013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7895
7896 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7897
2169712d
SP
78982013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7899
7900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7901 size just once.
7902
29c5de99
DM
79032013-04-21 David S. Miller <davem@davemloft.net>
7904
7905 * po/ru.po: Update Russion translation from translation project.
7906
ccdad15d
AC
79072013-04-17 Adam Conrad <adconrad@0c3.net>
7908
7909 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7910 and setfsgid.
7911
0f122b8d
CD
79122013-04-17 Carlos O'Donell <carlos@redhat.com>
7913
5c5b07da 7914 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7915 * configure: Regenerate.
5c5b07da 7916 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7917 Add example to error message.
7918 * sysdeps/i386/configure: Regenerate.
7919
037714dd
SP
79202013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7921
7922 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7923 slowtan.
7924 * benchtests/cos-inputs: New file.
7925 * benchtests/slowcos-inputs: New file.
7926 * benchtests/slowcos.c: New file.
7927 * benchtests/slowtan-inputs: New file.
7928 * benchtests/slowtan.c: New file.
7929 * benchtests/tan-inputs: New file.
7930
e913141d
RM
79312013-04-16 Roland McGrath <roland@hack.frob.com>
7932
7933 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7934 considered kosher.
7935
a2964074
SP
79362013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7937
4856bcd2
SP
7938 * benchtests/Makefile: Include cppflags-iterator.mk to add
7939 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7940
a2964074
SP
7941 * Makefile.in (bench-clean): New target.
7942 * benchtests/Makefile (bench-clean): Likewise.
7943
9fbf9aca
DH
79442013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7945
7946 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7947
207d1e2a
TS
79482013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7949
7950 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7951
306dfba9
AS
79522013-04-15 Andreas Schwab <schwab@suse.de>
7953
7954 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7956 * nscd/pwdcache.c (cache_addpw): Likewise.
7957 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7958 more than recsize.
7959
206a6699
SP
79602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7961
7962 * benchtests/Makefile (bench): Write all output to
7963 bench-out.tmp together.
7964
0582f6b3
AS
79652013-04-15 Andreas Schwab <schwab@suse.de>
7966
7967 * nscd/nscd.c (main): Don't fork again after closing files.
7968
acb4325f
SP
79692013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7970
5cb26d0a
SP
7971 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7972
acb4325f
SP
7973 * benchtests/Rules (bench-deps): Collect dependencies into a
7974 single variable. Add Makefile to dependencies.
7975 ($(objpfx)bench-%.c): Depend on bench-deps.
7976
47792506
RM
79772013-04-12 Roland McGrath <roland@hack.frob.com>
7978 Xavier Roche <roche+kml2@exalead.com>
7979
7980 [BZ #15361]
7981 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7982 just that it's a file descriptor.
7983 * manual/llio.texi (Synchronizing AIO Operations): Update description
7984 for EBADF error from aio_fsync.
7985
8fc1bee5
SP
79862013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7987
7988 * Rules (bench): Move target definition...
7989 * benchtests/Makefile: ... here.
7990
aba5e333
CD
79912013-04-11 Carlos O'Donell <carlos@redhat.com>
7992
7993 * math/libm-test.inc (cos_test): Fix PI/2 test.
7994 (sincos_test): Likewise.
7995 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7996 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7997
273cdee8
AS
79982013-04-11 Andreas Schwab <schwab@suse.de>
7999
6ecec3b6
AS
8000 [BZ #13988]
8001 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8002 accept exponent character only when digits were seen.
8003 * stdio-common/Makefile (tests): Add bug26.
8004 * stdio-common/bug26.c: New file.
8005
273cdee8
AS
8006 [BZ #14293]
8007 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8008 non-freeable.
8009
8da491f5
SP
80102013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8011
01dc6df9
SP
8012 * Makeconfig (rtld-prefix): Define built linker prefix.
8013 * Rules (run-bench): Use it.
8014 * math/Makefile (run-regen-ulps): Likewise.
8015
8da491f5
SP
8016 * Rules (bench): Remove eval.
8017
abe7f530
SP
80182013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8019 Roland McGrath <roland@hack.frob.com>
8020 Ondrej Bilka <neleai@seznam.cz>
8021
8022 [BZ #15346]
8023 * time/getdate.c: Include ctype.h and alloca.h.
8024 (__getdate_r): Trim leading and trailing spaces of input.
8025 * time/tst-getdate.c (tests): Add tests with leading and
8026 trailing spaces.
8027
61c23e62
RM
80282013-04-08 Roland McGrath <roland@hack.frob.com>
8029
8030 [BZ #14280]
8031 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8032 when computing value.
8033
7208a313
CD
80342013-04-06 Carlos O'Donell <carlos@redhat.com>
8035
085b2d41
CD
8036 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8037 Use testrun.sh to run libm tests.
8038
7208a313
CD
8039 [BZ #15309]
8040 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8041
872c0acd
MM
80422013-04-06 Marko Myllynen <myllynen@redhat.com>
8043
8044 [BZ #15264]
8045 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8046
26510bdd
CD
80472013-04-06 Carlos O'Donell <carlos@redhat.com>
8048
8049 * Makefile.in (regen-ulps): New target.
8050 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8051 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8052 [ifneq (no,$(PERL)] (regen-ulps): New target.
8053 [ifeq (no,$(PERL)] (regen-ulps): New target.
8054 * math/libm-test.inc (ulps_file_name): Define.
8055 (output_dir): New variable.
8056 (options): Add "output-dir" option.
8057 (parse_opt): Handle 'o' case.
8058 (main): If output_dir is non-NULL use it as a prefix
8059 otherwise use "".
8060 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8061
a01f19c8
CD
80622013-04-06 Carlos O'Donell <carlos@redhat.com>
8063
8064 [BZ #10060, #10062]
8065 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8066 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8067 fail configure if __sync_val_compare_and_swap is not inlined.
8068 * sysdeps/i386/configure: Regenerate.
8069 * configure.in: Build for i686 when configured for i386.
8070 * configure: Regenerate.
8071 * README: Remove i386 reference.
8072
b7a329a5
CD
80732013-04-06 Carlos O'Donell <carlos@redhat.com>
8074
8075 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8077
bf0f50df
TS
80782013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8079
ee091edf
TS
8080 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8081 (lmsnanval): New variables.
8082 (F): Add conversion tests.
8083 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8084 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8085
a8b792d6
TS
8086 * stdio-common/tstdiomisc.c (F): Properly collect individual
8087 tests' results.
8088
a1cbf437
TS
8089 [BZ #14686, #15336]
8090 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8091 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8092 Instead, use input NaN values or generate a qNaN by arithmetic
8093 operation. Also fix bugs to comply with the standard.
8094 * math/libm-test.inc (remainder_test): Add more tests.
8095
8b43a0c9
TS
8096 [BZ #15335, #15342]
8097 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8099 input NaN values or generate a qNaN by arithmetic operation.
8100
d91da4ce
TS
8101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8102 unreachable code.
8103
bf0f50df
TS
8104 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8105 definitions.
8106
05e166c8
JM
81072013-04-03 Joseph Myers <joseph@codesourcery.com>
8108
8109 [BZ #14478]
8110 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8111 underflowed result.
8112 * math/s_cexpf.c (__cexpf): Likewise.
8113 * math/s_cexpl.c (__cexpl): Likewise.
8114 * math/libm-test.inc (cexp_test): Add more tests.
8115
1cef1b19
AS
81162013-04-03 Andreas Schwab <schwab@suse.de>
8117
8118 [BZ #15330]
8119 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8120 order arrays from heap if bigger than alloca cutoff.
8121
74d87055
TS
81222013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8123
8124 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8125 (SNAN_TESTS_double): Refer to GCC PR56831.
8126 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8127 GCC PR56828.
8128
d755bba4
SP
81292013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8130
90d5d5bb
SP
8131 * Rules (bench): Move bench.out after the run is complete.
8132
73e0cd5d
SP
8133 * Rules (bench): Echo currently running benchmark.
8134
64aabd4b
SP
8135 * benchtests/Makefile (bench): Add atan and slowatan.
8136 * benchtests/atan-inputs: New file.
8137 * benchtests/slowatan-inputs: New file.
8138 * benchtests/slowatan.c: New file.
8139
c871eccd
SP
8140 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8142 its value.
8143
d755bba4
SP
8144 [BZ #15305]
8145 * sysdeps/unix/sysv/linux/kernel-features.h
8146 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8147 __ASSUME_XFS_RESTRICTED_CHOWN.
8148 * sysdeps/unix/sysv/linux/pathconf.c
8149 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8150 Save and restore errno.
8151
52ce4860
JM
81522013-04-02 Joseph Myers <joseph@codesourcery.com>
8153
8154 [BZ #15327]
8155 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8156 arguments using __kernel_casinh.
8157 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8158 arguments using __kernel_casinhf.
8159 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8160 arguments using __kernel_casinhl.
8161 * math/libm-test.inc (cacosh_test): Add more tests.
8162 * sysdeps/i386/fpu/libm-test-ulps: Update.
8163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164
81f311c2
SP
81652013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8166
e7906a47
SP
8167 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8169
92e3664b
SP
8170 * bench/Makefile (bench): Add sin and slowsin.
8171 * benchtests/sin-inputs: New file.
8172 * benchtests/slowsin-inputs: New file.
8173 * benchtests/slowsin.c: New file.
8174
81f311c2
SP
8175 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8176 (bench): Add slowexp and slowpow.
8177 (exp-ITER): Increase iterations.
8178 (pow-ITER): Likewise.
8179 * benchtests/exp-inputs: Change input.
8180 * benchtests/pow-inputs: Likewise.
8181 * benchtests/slowexp-inputs: New file.
8182 * benchtests/slowexp.c: New file.
8183 * benchtests/slowpow-inputs: New file.
8184 * benchtests/slowpow.c: New file.
8185
ab0f1aa9
AZ
81862013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8187
8188 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8189 instructions.
8190 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8191 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8192 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8193 * benchtests/Makefile: Add rint benchtest.
8194 * benchtests/rint-inputs: Input for rint benchtest.
8195
57267616
TS
81962013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8197
8198 * Versions.def (libm): Add GLIBC_2.18.
8199 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8200 hidden libm prototypes.
8201 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8202 * math/Makefile (libm-calls): Add s_issignaling.
8203 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8204 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8205 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8206 declaration.
8207 * math/math.h [__USE_GNU] (issignaling): New macro.
8208 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8209 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8211 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8212 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8213 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8214 * manual/arith.texi (issignaling): New section.
8215 * manual/libm-err-tab.pl (@all_functions): Update comment.
8216 * math/gen-libm-test.pl (parse_args): Apply special handling for
8217 issignaling.
8218 * math/libm-test.inc (print_float, issignaling_test): New
8219 functions.
8220 (check_float_internal): Add issignaling checks.
8221 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8222 default definition.
8223 * sysdeps/powerpc/math-tests.h: New file.
8224 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8225 tests.
8226 * math/test-snan.c (TEST_FUNC): Likewise.
8227
6142896d
DM
82282013-03-30 David S. Miller <davem@davemloft.net>
8229
8230 * po/de.po: Update from translation team.
8231
ccc8cadf
JM
82322013-03-30 Joseph Myers <joseph@codesourcery.com>
8233
8234 [BZ #10357]
8235 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8236 imaginary part less than 1.0 and real part less than 0.5
8237 specially.
8238 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8239 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8240 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8241 (cacos_test): Add more tests.
8242 (casin_test): Likewise.
8243 (casinh_test): Likewise.
8244 * sysdeps/i386/fpu/libm-test-ulps: Update.
8245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8246
0f6a8d4b
SP
82472013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8248
0d1029de
SP
8249 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8250 ONE with its value.
8251
c2d94018
SP
8252 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8253 (__pow_mp): Replace ONE and MONE with their values.
8254 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8255 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8256 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8257 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8258 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8259 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8260
27ec37f1
SP
8261 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8262
a64d7e0e
SP
8263 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8264 (__pow_mp): Replace ZERO and MZERO with their values.
8265 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8266 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8267 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8269 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8270 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8271 (__sqr): Likewise.
8272
d26dd3eb
SP
8273 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8274
0f6a8d4b
SP
8275 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8276
e57b0c61
RM
82772013-03-28 Roland McGrath <roland@hack.frob.com>
8278
8279 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8280 Declare with __attribute__ ((weak)).
8281 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8282 Call __call_tls_dtors only if it's not NULL.
8283
356b3480
RM
82842013-03-28 Roland McGrath <roland@hack.frob.com>
8285
288f7d79
RM
8286 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8287 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8288 magic __ehdr_start linker symbol if it's defined.
8289 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8290 them up here if it was already done.
8291
dc0a0263
RM
8292 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8293 (_dl_aux_init): Use const in cast when setting it.
8294 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8295 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8296 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8297
3d3436ae
RM
8298 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8299 Declare them here.
8300 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8301 * csu/libc-tls.c: Nor here.
8302 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8303
356b3480
RM
8304 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8305 (__libc_message): Never call vsyslog.
8306
b0f1246a
AM
83072013-03-28 Alan Modra <amodra@gmail.com>
8308
8309 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8310 Define as empty.
8311 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8312 Likewise.
8313
fbbe2b9a
AZ
83142013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8315
8316 [BZ #15214]
8317 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8318 underflow.
8319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8320
1728ab37
SP
83212013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8322
7a86be6e
SP
8323 [BZ #15304]
8324 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8325 Don't add gid passed as argument.
8326
1728ab37
SP
8327 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8328
3a7182a1
JM
83292013-03-27 Joseph Myers <joseph@codesourcery.com>
8330
8331 [BZ #15307]
8332 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8333 imaginary part between 1.0 and 1.5 and real part less than 0.5
8334 specially.
8335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8337 * math/libm-test.inc (cacos_test): Add more tests.
8338 (casin_test): Likewise.
8339 (casinh_test): Likewise.
8340 * sysdeps/i386/fpu/libm-test-ulps: Update.
8341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8342
6f2e90e7
SP
83432013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8344
5739f705
SP
8345 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8346 constants.
8347 (norm): Likewise.
8348 (denorm): Likewise.
8349 (__dbl_mp): Likewise.
8350 (add_magnitudes): Likewise.
8351 (sub_magnitudes): Likewise.
8352 (__add): Likewise.
8353 (__sub): Likewise.
8354 (__mul): Likewise.
8355 (__sqr): Likewise.
8356 (__inv): Likewise.
8357 (__dvd): Likewise.
8358
e375e83d
SP
8359 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8360 commented code.
8361 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8362 (__dubcos): Likewise.
8363 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8364 (__ieee754_acos): Likewise.
8365 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8366 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8367 (__exp1): Likewise.
8368 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8370 (log1): Likewise.
8371 (my_log2): Likewise.
8372 (checkint): Likewise.
8373 * sysdeps/ieee754/dbl-64/e_remainder.c
8374 (__ieee754_remainder): Likewise.
8375 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8376 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8377 (bsloww): Likewise.
8378 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8379
6f2e90e7
SP
8380 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8381 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8382 MANTISSA_STORE_T to store computations on mantissa. Use
8383 macros for rounding and division.
8384 (denorm): Likewise.
8385 (__dbl_mp): Likewise.
8386 (add_magnitudes): Likewise.
8387 (sub_magnitudes): Likewise.
8388 (__mul): Likewise.
8389 (__sqr): Likewise.
8390 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8391 powers of two in terms of TWOPOW macro.
8392 (mp_no): Make type of mantissa as MANTISSA_T.
8393 [!RADIXI]: Define RADIXI.
8394 [!TWO52]: Define TWO52.
8395 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8396
fce14d4e
AZ
83972013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8398
8399 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8400 llroundl symbol when building for PPC32.
8401
9ad027fb
MW
84022013-03-24 Mark H Weaver <mhw@netris.org>
8403
8404 * manual/arith.texi (Normalization Functions): Fix prototypes for
8405 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8406
e42a38dd
AZ
84072013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8408
8409 [BZ #13889]
8410 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8411 high value to check if expl overflow.
8412 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8413 to check for underflow and overflow.
8414 * math/libm-test.inc: Add exp test.
8415
2e0fb521
DL
84162013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8417
8418 [BZ #11120]
8419 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8420 with NOT_IN_libc.
8421
b5784d95
AZ
84222013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8423
8424 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8425 symbol.
8426
5aa4a1a1
TS
84272013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8428
bdef0be7
TS
8429 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8430 wrap blocks consisting of several statements.
8431
5aa4a1a1
TS
8432 * sysdeps/generic/math-tests.h: New file.
8433 * sysdeps/i386/fpu/math-tests.h: Likewise.
8434 * math/test-snan.c: Include it.
8435 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8436
98c48fe5
JM
84372013-03-21 Joseph Myers <joseph@codesourcery.com>
8438
8439 [BZ #15285]
8440 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8441 (__ieee754_j0l): Do not improve calculations using cos of twice
8442 input for inputs above LDBL_MAX / 2.0L.
8443 (__ieee754_y0l): Likewise.
8444 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8445 (__ieee754_j1l): Do not improve calculations using cos of twice
8446 input for inputs above LDBL_MAX / 2.0L.
8447 (__ieee754_y1l): Likewise.
8448 * math/libm-test.inc (j0_test): Add another test.
8449 (j1_test): Likewise.
8450 (y0_test): Likewise.
8451 (y1_test): Likewise.
8452 * sysdeps/i386/fpu/libm-test-ulps: Update.
8453
3775a8bc
SP
84542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8455
8456 * Rules ($(objpfx)bench-%.c): Include code from a C source
8457 file.
8458
0a1b2ae6
JM
84592013-03-21 Joseph Myers <joseph@codesourcery.com>
8460
8461 [BZ #15287]
8462 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8463 imaginary part 1.0 and real part less than 0.5 specially.
8464 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8465 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8466 * math/libm-test.inc (cacos_test): Add more tests.
8467 (casin_test): Likewise.
8468 (casinh_test): Likewise.
8469 * sysdeps/i386/fpu/libm-test-ulps: Update.
8470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8471
b33d4ce4
SP
84722013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8473
8474 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8475 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8476
bef0b507
JM
84772013-03-20 Joseph Myers <joseph@codesourcery.com>
8478
8479 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8480 * config.make.in (config-cflags-sse4): Remove variable.
8481 (config-cflags-avx): Likewise.
8482 (config-cflags-sse2avx): Likewise.
8483 (config-cflags-novzeroupper): Likewise.
8484 (config-asflags-i686): Likewise.
8485 (have-mfma4): Likewise.
8486 (have-as-vis3): Likewise.
8487 (MIG): Likewise.
8488 * configure.in (MIG): Do not AC_SUBST.
8489 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8490 (libc_cv_cc_sse4): Do not AC_SUBST.
8491 (libc_cv_cc_avx): Likewise.
8492 (libc_cv_cc_sse2avx): Likewise.
8493 (libc_cv_cc_novzeroupper): Likewise.
8494 (libc_cv_cc_fma4): Likewise.
8495 (libc_cv_as_i686): Likewise.
8496 (libc_cv_sparc_as_vis3): Likewise.
8497 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8498 LIBC_CONFIG_VAR.
8499 (config-asflags-i686): Likewise.
8500 (config-cflags-avx): Likewise.
8501 (config-cflags-sse2avx): Likewise.
8502 (have-mfma4): Likewise.
8503 (config-cflags-novzeroupper): Likewise.
8504 * sysdeps/mach/configure.in (MIG): Likewise.
8505 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8506 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8507 LIBC_CONFIG_VAR.
8508 (config-cflags-avx): Likewise.
8509 (config-cflags-sse2avx): Likewise.
8510 (have-mfma4): Likewise.
8511 (config-cflags-novzeroupper): Likewise.
8512 * configure: Regenerated.
8513 * sysdeps/i386/configure: Likewise.
8514 * sysdeps/mach/configure: Likewise.
8515 * sysdeps/sparc/configure: Likewise.
8516 * sysdeps/x86_64/configure: Likewise.
8517
912cc4b3
RM
85182013-03-20 Roland McGrath <roland@hack.frob.com>
8519
8520 [BZ #14812]
8521 * locale/programs/localedef.c (options): Put N_ translation marker
8522 on argument names, not just descriptions.
8523
04eed2b0
MS
85242013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8525
8526 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8527
a065ceff
OB
85282013-03-20 Ondřej Bílka <neleai@seznam.cz>
8529
9bb2a810 8530 [BZ #14176]
a065ceff
OB
8531 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8532
a600e5ce
RM
85332013-03-19 Roland McGrath <roland@hack.frob.com>
8534
8535 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8536 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8537 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8538 [!BEFORE_ABORT] (before_abort): New function.
8539 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8540 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8541 (writev_for_fatal): New function.
8542 (WRITEV_FOR_FATAL): New macro; call that.
8543 (backtrace_and_maps): New function.
8544 (BEFORE_ABORT): New macro; call that.
8545 (struct str_list): Type removed.
8546 (__libc_message, __libc_fatal): Functions removed.
8547 Include <sysdeps/posix/libc_fatal.c> instead.
8548
6b18bea6
JM
85492013-03-19 Joseph Myers <joseph@codesourcery.com>
8550
8551 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8552 constants.
8553 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8554 double constants.
8555
aaa8cb4b
AS
85562013-03-19 Andreas Schwab <schwab@suse.de>
8557
44673770
AS
8558 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8559 * sysdeps/gnu/configure: Regenerate.
8560
aaa8cb4b
AS
8561 * configure.in: Substitute libc_cv_rtlddir.
8562 * configure: Regenerate.
8563 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8564 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8565 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8566 * elf/Makefile (install-others, CFLAGS-interp.c)
8567 (ldso_install, common-ldd-rewrite): Likewise.
8568 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8569 $(inst_slibdir)/$(rtld-installed-name).
8570 * scripts/rellns-sh: Add -p option.
8571 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8572 for source.
8573
d3cfc668
SP
85742013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8575
8576 * manual/nptl.texi: Renamed to ...
8577 * manual/threads.texi: ... this.
8578 * manual/Makefile (chapters): Update.
8579
0e2b9cdd
RM
85802013-03-18 Roland McGrath <roland@hack.frob.com>
8581
8582 [BZ #14812]
8583 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8584 on argument names, not just descriptions.
0e2b9cdd
RM
8585 * malloc/memusagestat.c (options): Likewise.
8586 * nss/getent.c (options): Likewise.
63270c24
RM
8587
85882013-03-18 Benno Schulenberg <bensberg@justemail.net>
8589
8590 [BZ #14812]
8591 * iconv/iconv_prog.c (options): Put N_ translation marker
8592 on argument names, not just descriptions.
8593 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8594
b2e1393c
OB
85952013-03-18 Ondrej Bilka <neleai@seznam.cz>
8596
8597 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8598 implementation which is faster on all x86_64 architectures.
8599 Tested on AMD, Intel Nehalem, SNB, IVB.
8600 * sysdeps/x86_64/strnlen.S: Likewise.
8601
8602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8603 Remove all multiarch strlen and strnlen versions.
8604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8605 Remove strlen and strnlen related parts.
8606
8607 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8608 Inline strlen part.
8609 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8610
8611 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8612 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8613 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8614 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8615 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8616 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8617
ec4ff04d
CD
86182013-03-17 Carlos O'Donell <carlos@redhat.com>
8619
8620 * manual/memory.texi (Malloc Tunable Parameters):
8621 Sort parameters alphabetically. Add comments for missing entries.
8622
cd18e90a
DM
86232013-03-17 David S. Miller <davem@davemloft.net>
8624
8625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8626
2a185d32
JM
86272013-03-16 Joseph Myers <joseph@codesourcery.com>
8628
d2f9799e
JM
8629 [BZ #15283]
8630 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8631 for arguments at most half maximum finite value.
8632 * math/libm-test.inc (j0_test): Add more tests.
8633 (j1_test): Likewise.
8634 (y0_test): Likewise.
8635 (y1_test): Likewise.
8636 * sysdeps/i386/fpu/libm-test-ulps: Update.
8637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8638
2a185d32
JM
8639 [BZ #14155]
8640 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8641 1 / x and functions P and Q for arguments above 0x1p256L.
8642 (__ieee754_y0l): Likewise.
8643 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8644 (__ieee754_y1l): Likewise.
8645 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8646 (j1_test): Likewise.
8647 (y0_test): Likewise.
8648 (y1_test): Likewise.
8649
6cbec759
TS
86502013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8651
8652 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8653 variable.
8654
bc16e260
RM
86552013-03-15 Roland McGrath <roland@hack.frob.com>
8656
aefc9b8c
RM
8657 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8658 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8659 zero since it's initialized to EXEC_PAGESIZE.
8660
bc16e260
RM
8661 * sysdeps/unix/sysv/linux/ldsodefs.h
8662 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8663 * sysdeps/generic/ldsodefs.h: ... here.
8664
a57da955
TS
86652013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8666
af00a34d
TS
8667 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8668
495ded2c
TS
8669 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8670 math/test-snan.c.
8671 * math/test-snan.c: Renamed from
8672 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8673 * math/Makefile (tests): Add test-snan.
8674 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8675 test-powerpc-snan.
8676
777b0332
TS
8677 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8678 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8679 functions.
8680 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8681 __builtin_nan family of functions.
8682 * math/libm-test.inc (initialize): Initialize qnan_value with
8683 __builtin_nan family of functions.
8684 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8685 Remove variables.
8686 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8687 Remove functions.
8688 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8689 storage class. Initialize qNaN_var and sNaN_var with
8690 __builtin_nan and __builtin_nans families of functions,
8691 respectively.
8692
64d063b8
TS
8693 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8694 (sqrt_test): Remove duplicate test with qNaN input.
8695 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8696 (round_test, signbit_test, significand_test): Note missing +/-Inf
8697 as well as qNaN tests.
8698
67e971f1
TS
8699 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8700 qNaN_var. Fix a few strings, too.
8701 * math/libm-test.inc (nan_value): Rename to qnan_value.
8702 * math/gen-libm-test.pl (%beautify): Adjust to that.
8703 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8704 * math/test-misc.c (main): Likewise.
8705 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8706 to __qnan_bytes, and __qnan_union, respectively.
8707 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8708 Likewise.
8709 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8710 and lqnanval, respectively.
8711 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8712 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8713 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8714 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8715
64487e12
TS
8716 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8717 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8718 doubles.
8719
e015e27b
TS
8720 * math/test-misc.c (main): Fix copy'n'pastos.
8721 * misc/tst-efgcvt.c (special): Likewise.
8722
a57da955
TS
8723 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8724 Remove declarations.
8725
1e380345
SP
87262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8727
8728 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8729 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8730 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8731 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8732
ef26eece
AZ
87332013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8734
8735 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8736 macro to return vdso values correctly in IFUNC implementations.
8737 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8738 Optimization by using IFUNC.
8739
8cfdb7e0
SP
87402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8741 Richard Henderson <rth@redhat.com>
8742 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8743
8744 * Makefile.in (bench): New target.
8745 * NEWS: Mention the benchmark framework.
8746 * Rules (bench): Likewise.
8747 (binaries-bench): Generate binaries for functions to
8748 benchmark.
8749 * benchtests/Makefile: New makefile for benchmark tests.
8750 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8751 programs.
8752 * benchtests/exp-inputs: New input file for EXP function.
8753 * benchtests/pow-inputs: New input file for POW function.
8754 * scripts/bench.pl: New script to generate source files for
8755 benchmark programs.
8756
bcda9880
SP
87572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8758
d22ca8cd
SP
8759 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8760 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8761 computations on mantissa. Use macros for rounding and
8762 division.
8763 (denorm): Likewise.
8764 (__dbl_mp): Likewise.
8765 (add_magnitudes): Likewise.
8766 (sub_magnitudes): Likewise.
8767 (__mul): Likewise.
8768 (__sqr): Likewise.
8769 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8770 powers of two in terms of TWOPOW macro.
8771 (mp_no): Make type of mantissa as MANTISSA_T.
8772 [!RADIXI]: Define RADIXI.
8773 [!TWO52]: Define TWO52.
8774 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8775
bcda9880
SP
8776 * manual/nptl.texi (cindex): Modify threads to pthreads.
8777
06d5adfb
JM
87782013-03-15 Joseph Myers <joseph@codesourcery.com>
8779
8780 * sysdeps/x86_64/preconfigure: Regenerated.
8781
41c7328e
JM
87822013-03-14 Joseph Myers <joseph@codesourcery.com>
8783
8784 [BZ #14155]
8785 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8786 0x1p28 and above.
8787 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8788 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8789 0x1p28 and above.
8790 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8791 * math/libm-test.inc (j0_test): Do not allow one spurious
8792 underflow exception.
8793 (y1_test): Likewise.
8794
e25cfa60
SP
87952013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8796
0409959c
SP
8797 * manual/Makefile (chapters): Add nptl.
8798 * manual/debug.texi (Debugging Support): Add link to Threads
8799 chapter.
8800 * manual/nptl.texi: New file.
8801
e25cfa60
SP
8802 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8803
58a1335e
PB
88042013-03-14 Petr Baudis <pasky@ucw.cz>
8805
8806 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8807 for non-NULL pointer before the memory validity test. Pointed
8808 out by Holger Brunck <holger.brunck@keymile.com>.
8809
9dc7c64f
AS
88102013-03-13 Andreas Schwab <schwab@suse.de>
8811
8812 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8813 instead of .os.
8814
54206aa6
JM
88152013-03-13 Joseph Myers <joseph@codesourcery.com>
8816
8817 * timezone/zic.c: Update from tzcode 2013b.
8818
e98cdb38
CD
88192013-03-12 Carlos O'Donell <carlos@redhat.com>
8820
8821 * manual/install.texi (Configuring and compiling):
8822 Mention i686 and i586.
8823 * INSTALL: Regenerate.
8824
9967e003
RM
88252013-03-12 Roland McGrath <roland@hack.frob.com>
8826
8827 * sysdeps/init_array/elf-init.c: New file.
8828 * csu/elf-init.c
8829 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8830 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8831
8832 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8833 __gmon_start__ as global, but as static with a .preinit_array pointer.
8834 * sysdeps/init_array/gmon-start.c: New file. Use that.
8835 * sysdeps/init_array/crti.S: New file, empty except for comments.
8836 * sysdeps/init_array/crtn.S: Likewise.
8837
e6b5a293 88382013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8839
8840 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8841 definining bcopy.
80f844c9
OB
8842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8843 Remove Prefer_SSE_for_memop.
8844 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8845 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8846 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8848 memset-x86-64.
80f844c9 8849 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8850 Remove bzero, memset ifunc support.
80f844c9
OB
8851 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8852 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8853 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8854 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8855
fb6b0fcb
AS
88562013-03-11 Andreas Schwab <schwab@suse.de>
8857
8858 [BZ #15234]
8859 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8860 by SHLIB_COMPAT.
8861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8862 (GLIBC_2.16): Remove pthread_atfork.
8863
3e6bd4b1
PP
88642013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8865
8866 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8867 (ptestcases.h): Likewise.
8868
222d7f00
RM
88692013-03-08 Roland McGrath <roland@hack.frob.com>
8870
8871 * Makeconfig ($(common-objpfx)config.status): Depend on
8872 sysdeps/*/preconfigure{,.in} too.
8873
1ba4f030
JM
88742013-03-08 Joseph Myers <joseph@codesourcery.com>
8875
a222d91a
JM
8876 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8877 (__free_hook): Use void * instead of __malloc_ptr_t.
8878 (__malloc_hook): Likewise.
8879 (__realloc_hook): Likewise.
8880 (__memalign_hook): Likewise.
8881 (__after_morecore_hook): Likewise.
8882 * malloc/arena.c (save_malloc_hook): Likewise.
8883 (save_free_hook): Likewise.
8884 * malloc/hooks.c (malloc_hook_ini): Likewise.
8885 (realloc_hook_ini): Likewise.
8886 (memalign_hook_ini): Likewise.
8887 * malloc/malloc.c (malloc_hook_ini): Likewise.
8888 (realloc_hook_ini): Likewise.
8889 (memalign_hook_ini): Likewise.
8890 (__free_hook): Likewise.
8891 (__malloc_hook): Likewise.
8892 (__realloc_hook): Likewise.
8893 (__memalign_hook): Likewise.
8894 (__libc_malloc): Likewise.
8895 (__libc_free): Likewise.
8896 (__libc_realloc): Likewise.
8897 (__libc_memalign): Likewise.
8898 (__libc_valloc): Likewise.
8899 (__libc_pvalloc): Likewise.
8900 (__libc_calloc): Likewise.
8901 (__posix_memalign): Likewise.
8902 * malloc/morecore.c (__sbrk): Likewise.
8903 (__default_morecore): Likewise.
8904
5cc45e10
JM
8905 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8906
dd54b864
JM
8907 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8908 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8909 __malloc_ptrdiff_t.
8910
1ba4f030
JM
8911 * malloc/malloc.h (__malloc_size_t): Remove macro.
8912 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8913 __malloc_size_t.
8914 (old_memalign_hook): Likewise.
8915 (old_realloc_hook): Likewise.
8916 (struct hdr): Likewise.
8917 (flood): Likewise.
8918 (mallochook): Likewise.
8919 (memalignhook): Likewise.
8920 (reallochook): Likewise.
8921 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8922 (tr_old_realloc_hook): Likewise.
8923 (tr_old_memalign_hook): Likewise.
8924 (tr_mallochook): Likewise.
8925 (tr_reallochook): Likewise.
8926 (tr_memalignhook): Likewise.
8927
edf66e57
AZ
89282013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8929
8930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8931 default_ldbl_pack and using as default implementation.
8932 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8933 implementation.
8934 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8935 redundant definition.
8936 (ldbl_insert_mantissa): Likewise.
8937 (ldbl_canonicalize): Likewise.
8938 (ldbl_nearbyint): Likewise.
8939 (ldbl_pack): Rename to ldbl_pack_ppc.
8940 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8941 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8942 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8943
6d9145d8
SP
89442013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8945
8946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8947 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8948 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8949 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8951 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8952 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8953 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8954
4dd4e157
AJ
89552013-03-07 Andreas Jaeger <aj@suse.de>
8956
8957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8958 bits/mman-linux.h.
8959
adbb8027
SP
89602013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8961
ce544b5b
SP
8962 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8963 Include mpa.h and declare __MPEXP.
8964 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8965 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8966 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8967 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8968 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8969 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8970 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8971
4cc149fd
SP
8972 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8973 (__slowpow): Use long double EXPL and LOGL functions to
8974 compute POW.
8975 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8976 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8977 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8978 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8979 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8980 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8981
e6ebd4a7
SP
8982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8983 intermediate variable to calculate exponent.
8984 (__sqr): Likewise.
8985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8986 Likewise.
8987 (__sqr): Likewise.
8988
82a9811d
SP
8989 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8990 [!NO__SQR]: Define __sqr.
8991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8992 and NO__SQR. Remove all code except __mul and __sqr. Include
8993 sysdeps/ieee754/dbl-64/mpa.c.
8994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8995
adbb8027
SP
8996 [BZ #12723]
8997 * posix/Makefile (tests): Add tst-pathconf.
8998 * posix/tst-pathconf.c: New test case.
8999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9000 _PC_PIPE_BUF.
9001 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9002
39120df9
PF
90032013-03-06 Patsy Franklin <pfrankli@redhat.com>
9004
9005 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9006
67525cb8
AJ
90072013-03-06 Andreas Jaeger <aj@suse.de>
9008
664a9ce4
AJ
9009 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9010 definition via __MAP_ANONYMOUS.
9011
8e39047d
AJ
9012 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9013 it's not part of Linux headers.
9014
67525cb8
AJ
9015 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9016 (MAP_HUGE_MASK): Define.
9017
9018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9019 Define.
9020 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9022 Define.
9023 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9024 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9025 Define.
9026 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9027 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9028 Define.
9029 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9030
9031 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9032 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9033 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9034 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9035 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9037
9038 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9039 Handle f2fs.
9040
9041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9042 Handle f2fs and efivarfs.
9043
9044 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9045 f2fs.
9046
9047 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9048 (EFIVARFS_MAGIC): Add.
9049 (F2FS_LINK_MAX): Add.
9050
e1b42695
PP
90512013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9052
9053 * stdio-common/vfprintf.c: Replace __builtin_expect with
9054 __glibc_unlikely.
9055
2d67d91a
JM
90562013-03-06 Joseph Myers <joseph@codesourcery.com>
9057
9058 [BZ #13550]
9059 * sysdeps/generic/bp-sym.h: Remove file.
9060 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9061 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9062 <bp-sym.h> and <bp-asm.h>.
9063 (__longjmp): Don't use BP_SYM.
9064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9065 and <bp-asm.h>.
9066 (memcpy): Don't use BP_SYM.
9067 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9068 <bp-sym.h> and <bp-asm.h>.
9069 (memcpy): Don't use BP_SYM.
9070 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9071 <bp-asm.h>.
9072 (memcpy): Don't use BP_SYM.
9073 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9074 <bp-asm.h>.
9075 (memset): Don't use BP_SYM.
9076 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9077 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9078 (__bzero): Don't use BP_SYM.
9079 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9080 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9081 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9082 <bp-sym.h> and <bp-asm.h>.
9083 (memcmp): Don't use BP_SYM. Remove comment about bounded
9084 pointers.
9085 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9086 <bp-sym.h> and <bp-asm.h>.
9087 (memcpy): Don't use BP_SYM.
9088 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9089 <bp-sym.h> and <bp-asm.h>.
9090 (memset): Don't use BP_SYM.
9091 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9092 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9093 (__bzero): Don't use BP_SYM.
9094 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9095 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9096 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9097 <bp-sym.h> and <bp-asm.h>.
9098 (strncmp): Don't use BP_SYM. Remove comment about bounded
9099 pointers.
9100 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9101 <bp-sym.h> and <bp-asm.h>.
9102 (memcpy): Don't use BP_SYM.
9103 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9104 <bp-sym.h> and <bp-asm.h>.
9105 (memset): Don't use BP_SYM.
9106 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9107 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9108 (__bzero): Don't use BP_SYM.
9109 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9110 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9111 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9112 <bp-sym.h> and <bp-asm.h>.
9113 (__memchr): Don't use BP_SYM.
9114 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9115 <bp-sym.h> and <bp-asm.h>.
9116 (memcmp): Don't use BP_SYM. Remove comment about bounded
9117 pointers.
9118 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9119 <bp-sym.h> and <bp-asm.h>.
9120 (memcpy): Don't use BP_SYM.
9121 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9122 <bp-sym.h> and <bp-asm.h>.
9123 (__mempcpy): Don't use BP_SYM.
9124 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9125 <bp-sym.h> and <bp-asm.h>.
9126 (__memrchr): Don't use BP_SYM.
9127 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9128 <bp-sym.h> and <bp-asm.h>.
9129 (memset): Don't use BP_SYM.
9130 (__bzero): Likewise.
9131 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9132 <bp-sym.h> and <bp-asm.h>.
9133 (__rawmemchr): Don't use BP_SYM.
9134 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9135 <bp-sym.h> and <bp-asm.h>.
9136 (__STRCMP): Don't use BP_SYM.
9137 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9138 <bp-sym.h> and <bp-asm.h>.
9139 (strchr): Don't use BP_SYM.
9140 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9141 <bp-sym.h> and <bp-asm.h>.
9142 (__strchrnul): Don't use BP_SYM.
9143 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9144 <bp-sym.h> and <bp-asm.h>.
9145 (strlen): Don't use BP_SYM.
9146 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9147 <bp-sym.h> and <bp-asm.h>.
9148 (strncmp): Don't use BP_SYM. Remove comment about bounded
9149 pointers.
9150 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9151 <bp-sym.h> and <bp-asm.h>.
9152 (__strnlen): Don't use BP_SYM.
9153 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9154 <bp-sym.h> and <bp-asm.h>.
9155 (__GI__setjmp): Don't use BP_SYM.
9156 (_setjmp): Likewise.
9157 (__sigsetjmp): Likewise.
9158 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9159 (L(start_addresses)): Don't use BP_SYM.
9160 (_start): Likewise.
9161 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9162 <bp-asm.h>.
9163 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9164 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9165 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9166 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9167 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9168 <bp-asm.h>.
9169 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9170 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9171 about bounded pointers.
9172 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9173 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9174 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9175 <bp-asm.h>.
9176 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9177 about bounded pointers. Remove GKM FIXME comments.
9178 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9179 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9180 <bp-asm.h>.
9181 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9182 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9183 Remove GKM FIXME comments.
9184 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9185 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9186 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9187 <bp-asm.h>.
9188 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9189 about bounded pointers. Remove GKM FIXME comment.
9190 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9191 and <bp-asm.h>.
9192 (strncmp): Don't use BP_SYM. Remove comment about bounded
9193 pointers.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9195 <bp-sym.h> and <bp-asm.h>.
9196 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9198 <bp-sym.h> and <bp-asm.h>.
9199 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9200 comment.
9201
cdcf361f
PP
92022013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9203
9204 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9205 call free(NULL).
9206
3c4a2b15
DM
92072013-03-05 David S. Miller <davem@davemloft.net>
9208
9209 * po/es.po: Update from translation team.
9210
cdcf361f 92112013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9212
9213 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9214 <bits/mman-linux.h>.
9215 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9216 is fine.
9217 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9218 <bits/mman-linux.h> to end of file.
9219 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9220 is fine.
9221 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9222 <bits/mman-linux.h> to end of file.
9223 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9224 is fine.
9225 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9226 <bits/mman-linux.h> to end of file.
9227
9228 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9229 (MCL_CURRENT, MCL_FUTURE): Define here.
9230
5f67c04f
AK
92312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9232
8a4473cc 9233 [BZ #15232]
5f67c04f
AK
9234 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9235 attribute_hidden.
9236 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9237
c3e94a95
AK
92382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9239
9240 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9241 fourth parameter needed for rt_sigprocmask syscall.
9242 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9243 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9244 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9245 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9246 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9247 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9248
cfb6382a
JM
92492013-03-04 Joseph Myers <joseph@codesourcery.com>
9250
9251 [BZ #13550]
9252 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9253 comment about bounded pointers.
9254 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9255 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9256
539d8e01
AJ
92572013-03-04 Andreas Jaeger <aj@suse.de>
9258
9259 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9260 common definitions.
9261
9262 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9263 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9264 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9266 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9268
2e167a70 92692013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9270
9271 [BZ #15055]
9272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9273 __ieee754_sqrl instead of __sqrl.
9274
68508633
JM
92752013-03-01 Joseph Myers <joseph@codesourcery.com>
9276
9277 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9278 * sysdeps/powerpc/fpu_control.h: ... here.
9279 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9280 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9281 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9282 * sysdeps/powerpc/bits/mathinline.h: ... here.
9283
7775448e
RM
92842013-03-01 Roland McGrath <roland@hack.frob.com>
9285
9286 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9287 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9288 to just [NEED_DL_SYSINFO_DSO].
9289 * elf/dl-support.c: Likewise.
9290 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9291 * elf/rtld.c (dl_main): Likewise.
9292 * elf/setup-vdso.h (setup_vdso): Likewise.
9293 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9294 * sysdeps/unix/sysv/linux/dl-sysdep.c
9295 (_dl_discover_osversion): Likewise.
9296
4e9b5995
CD
92972013-03-01 Carlos O'Donell <carlos@redhat.com>
9298
9299 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9300 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9301
e23872c8
SP
93022013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9303
e5c74c63
SP
9304 * NEWS: Mention libm performance improvements and non-x86 PI
9305 futex support.
9306
e23872c8
SP
9307 * csu/libc-start.c (__pthread_initialize_minimal): Change
9308 function arguments.
9309 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9310
b5510883
JM
93112013-02-28 Joseph Myers <joseph@codesourcery.com>
9312
9313 [BZ #13550]
9314 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9315 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9316 <bp-sym.h> and <bp-asm.h>.
9317 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9318 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9319 and <bp-asm.h>.
9320 (memcpy): Don't use BP_SYM.
9321 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9322 <bp-asm.h>.
9323 (__mpn_add_n): Don't use BP_SYM.
9324 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9325 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9326 and <bp-asm.h>.
9327 (__mpn_addmul_1): Don't use BP_SYM.
9328 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9329 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9330 <bp-sym.h>.
9331 (_setjmp): Don't use BP_SYM.
9332 (__novmx_setjmp): Likewise.
9333 (__GI__setjmp): Likewise.
9334 (__vmx_setjmp): Likewise.
9335 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9336 <bp-sym.h>.
9337 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9338 (__bzero): Don't use BP_SYM.
9339 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9340 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9341 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9342 <bp-sym.h> and <bp-asm.h>.
9343 (memcpy): Don't use BP_SYM.
9344 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9345 <bp-sym.h> and <bp-asm.h>.
9346 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9347 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9348 <bp-sym.h> and <bp-asm.h>.
9349 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9350 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9351 <bp-asm.h>.
9352 (__mpn_lshift): Don't use BP_SYM.
9353 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9354 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9355 <bp-asm.h>.
9356 (memset): Don't use BP_SYM.
9357 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9358 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9359 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9360 <bp-asm.h>.
9361 (__mpn_mul_1): Don't use BP_SYM.
9362 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9363 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9364 <bp-sym.h> and <bp-asm.h>.
9365 (memcmp): Don't use BP_SYM.
9366 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9367 <bp-sym.h> and <bp-asm.h>.
9368 (memcpy): Don't use BP_SYM.
9369 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9370 <bp-sym.h> and <bp-asm.h>.
9371 (memset): Don't use BP_SYM.
9372 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9373 <bp-sym.h> and <bp-asm.h>.
9374 (strncmp): Don't use BP_SYM.
9375 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9376 <bp-sym.h> and <bp-asm.h>.
9377 (memcpy): Don't use BP_SYM.
9378 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9379 <bp-sym.h> and <bp-asm.h>.
9380 (memset): Don't use BP_SYM.
9381 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9382 <bp-sym.h> and <bp-asm.h>.
9383 (__memchr): Don't use BP_SYM.
9384 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9385 <bp-sym.h> and <bp-asm.h>.
9386 (memcmp): Don't use BP_SYM.
9387 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9388 <bp-sym.h> and <bp-asm.h>.
9389 (memcpy): Don't use BP_SYM.
9390 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9391 <bp-sym.h> and <bp-asm.h>.
9392 (__mempcpy): Don't use BP_SYM.
9393 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9394 <bp-sym.h> and <bp-asm.h>.
9395 (__memrchr): Don't use BP_SYM.
9396 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9397 <bp-sym.h> and <bp-asm.h>.
9398 (memset): Don't use BP_SYM.
9399 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9400 <bp-sym.h> and <bp-asm.h>.
9401 (__rawmemchr): Don't use BP_SYM.
9402 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9403 <bp-sym.h> and <bp-asm.h>.
9404 (__STRCMP): Don't use BP_SYM.
9405 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9406 <bp-sym.h> and <bp-asm.h>.
9407 (strchr): Don't use BP_SYM.
9408 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9409 <bp-sym.h> and <bp-asm.h>.
9410 (__strchrnul): Don't use BP_SYM.
9411 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9412 <bp-sym.h> and <bp-asm.h>.
9413 (strlen): Don't use BP_SYM.
9414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9415 <bp-sym.h> and <bp-asm.h>.
9416 (strncmp): Don't use BP_SYM.
9417 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9418 <bp-sym.h> and <bp-asm.h>.
9419 (__strnlen): Don't use BP_SYM.
9420 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9421 <bp-asm.h>.
9422 (__mpn_rshift): Don't use BP_SYM.
9423 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9424 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9425 <bp-sym.h> and <bp-asm.h>.
9426 (__sigsetjmp): Don't use BP_SYM.
9427 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9428 (L(start_addresses)): Don't use BP_SYM.
9429 (_start): Likewise.
9430 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9431 <bp-asm.h>.
9432 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9433 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9434 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9435 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9436 <bp-asm.h>.
9437 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9438 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9439 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9440 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9441 <bp-asm.h>.
9442 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9443 comments.
9444 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9445 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9446 <bp-asm.h>.
9447 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9448 FIXME comments.
9449 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9450 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9451 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9452 <bp-asm.h>.
9453 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9454 comment.
9455 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9456 and <bp-asm.h>.
9457 (strncmp): Don't use BP_SYM,
9458 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9459 <bp-asm.h>.
9460 (__mpn_sub_n): Don't use BP_SYM.
9461 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9462 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9463 and <bp-asm.h>.
9464 (__mpn_submul_1): Don't use BP_SYM.
9465 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9467 <bp-sym.h> and <bp-asm.h>.
9468 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9470 <bp-sym.h> and <bp-asm.h>.
9471 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9472 comment.
9473
8d19fe64
SP
94742013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9475
9476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9477 Use ZK to minimize writes to Z.
9478 (sub_magnitudes): Simplify code a bit.
9479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9480 Use ZK to minimize writes to Z.
9481 (sub_magnitudes): Simplify code a bit.
9482
85bd816a
RM
94832013-02-27 Roland McGrath <roland@hack.frob.com>
9484
9485 * csu/gmon-start.c: Add special exception to license text.
9486
b5977bf2
RH
94872013-02-27 Richard Henderson <rth@redhat.com>
9488
9489 * scripts/config.guess: Update from config.git.
9490 * scripts/config.sub: Likewise.
9491
11d6e2f2
SP
94922013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9493
09c14ed2
SP
9494 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9495
a688864e
SP
9496 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9497
6295157a
SP
9498 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9499
b8de2202
SP
9500 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9501
11d6e2f2
SP
9502 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9503
7e80ddb8
RM
95042013-02-26 Roland McGrath <roland@hack.frob.com>
9505
9506 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9507 [$(build-shared = yes].
7e80ddb8 9508
7da6d9ed
SP
95092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9510
45f05884
SP
9511 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9512 (__mul): Reduce iterations for calculating mantissa.
9513
2236d359
SP
9514 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9515 MPTWO.
9516 (__mpranred): Likewise.
9517
7da6d9ed
SP
9518 [BZ #15160]
9519 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9520 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9521
b7688c42
PE
95222013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9523
9524 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9525 Define __attribute__.
9526
53a5c423
SP
95272013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9528
9529 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9530 unused.
9531 * posix/regex_internal.h (__attribute): Remove.
9532 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9533 (re_string_context_at): Likewise.
9534 (bitset_not): Use __attribute__ and mark function as possibly
9535 unused.
9536 (bitset_merge): Likewise.
9537 (bitset_mask): Likewise.
9538 (re_string_char_size_at): Likewise.
9539 (re_string_wchar_at): Likewise.
9540 (re_string_elem_size_at): Likewise.
9541
60f5a8b5
SP
95422013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9543
2a983a2e
SP
9544 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9545 code.
9546 (cc32): Likewise.
9547
e69804d1
SP
9548 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9549 (__acr): Likewise.
9550 (__cpy): Likewise.
9551 (norm): Likewise.
9552 (denorm): Likewise.
9553 (__dbl_mp): Likewise.
9554 (add_magnitudes): Likewise.
9555 (sub_magnitudes): Likewise.
9556 (__mul): Likewise.
9557 (__inv): Likewise.
9558
2f22a1e8
SP
9559 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9560 style.
9561
8930ddc7
SP
9562 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9563 style.
9564
dc60cb11
SP
9565 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9566 code.
9567
60f5a8b5
SP
9568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9569 up changes with default code.
9570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9571 Likewise.
9572
b4d1fd33
AM
95732013-02-24 Allan McRae <allan@archlinux.org>
9574
faf6f8bc
AM
9575 * manual/socket.texi (The Internet Namespace): Order menu items
9576 to match that in the file.
9577
b4d1fd33
AM
9578 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9579 node listing of the info page menu.
9580
2366713d
JM
95812013-02-21 Joseph Myers <joseph@codesourcery.com>
9582
9583 [BZ #13550]
9584 * sysdeps/i386/bp-asm.h: Remove file.
9585 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9586 (PARMS): Do not use macros from bp-asm.h.
9587 (S1): Likewise.
9588 (S2): Likewise.
9589 (SIZE): Likewise.
9590 (__mpn_add_n): Do not use BP_SYM
9591 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9592 "bp-asm.h".
9593 (PARMS): Do not use macros from bp-asm.h.
9594 (S1): Likewise.
9595 (SIZE): Likewise.
9596 (__mpn_addmul_1): Do not use BP_SYM
9597 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9598 "bp-asm.h".
9599 (PARMS): Do not use macros from bp-asm.h.
9600 (SIGMSK): Likewise.
9601 (_setjmp): Likewise. Do not use BP_SYM.
9602 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9603 "bp-asm.h".
9604 (PARMS): Do not use macros from bp-asm.h.
9605 (SIGMSK): Likewise.
9606 (setjmp): Likewise. Do not use BP_SYM.
9607 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9608 "bp-asm.h".
9609 (PARMS): Do not use macros from bp-asm.h.
9610 (__frexp): Do not use BP_SYM.
9611 (frexp): Likewise.
9612 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9613 "bp-asm.h".
9614 (PARMS): Do not use macros from bp-asm.h.
9615 (__frexpf): Do not use BP_SYM.
9616 (frexpf): Likewise.
9617 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9618 "bp-asm.h".
9619 (PARMS): Do not use macros from bp-asm.h.
9620 (__frexpl): Do not use BP_SYM.
9621 (frexpl): Likewise.
9622 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9623 "bp-asm.h".
9624 (PARMS): Do not use macros from bp-asm.h.
9625 (__remquo): Do not use BP_SYM.
9626 (remquo): Likewise.
9627 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9628 "bp-asm.h".
9629 (PARMS): Do not use macros from bp-asm.h.
9630 (__remquof): Do not use BP_SYM.
9631 (remquof): Likewise.
9632 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9633 "bp-asm.h".
9634 (PARMS): Do not use macros from bp-asm.h.
9635 (__remquol): Do not use BP_SYM.
9636 (remquol): Likewise.
9637 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9638 "bp-asm.h".
9639 (PARMS): Do not use macros from bp-asm.h.
9640 (DEST): Likewise.
9641 (SRC): Likewise.
9642 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9643 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9644 "bp-asm.h".
9645 (PARMS): Do not use macros from bp-asm.h.
9646 (strlen): Do not use BP_SYM.
9647 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9648 "bp-asm.h".
9649 (PARMS): Do not use macros from bp-asm.h.
9650 (S1): Likewise.
9651 (S2): Likewise.
9652 (SIZE): Likewise.
9653 (__mpn_add_n): Do not use BP_SYM.
9654 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9655 "bp-asm.h".
9656 (PARMS): Do not use macros from bp-asm.h.
9657 (S1): Likewise.
9658 (SIZE): Likewise.
9659 (__mpn_addmul_1): Do not use BP_SYM.
9660 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9661 weak_alias.
9662 (bzero): Likewise.
9663 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9664 "bp-asm.h".
9665 (PARMS): Do not use macros from bp-asm.h.
9666 (S): Likewise.
9667 (SIZE): Likewise.
9668 (__mpn_lshift): Do not use BP_SYM.
9669 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9670 "bp-asm.h".
9671 (PARMS): Do not use macros from bp-asm.h.
9672 (DEST): Likewise.
9673 (SRC): Likewise.
9674 (LEN): Likewise.
9675 (memcpy): Likewise. Do not use BP_SYM.
9676 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9677 libc_hidden_def and weak_alias.
9678 (mempcpy): Do not use BP_SYM in weak_alias.
9679 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9680 "bp-asm.h".
9681 (PARMS): Do not use macros from bp-asm.h.
9682 (DEST): Likewise.
9683 (LEN): Likewise.
9684 [!BZERO_P] (CHR): Likewise.
9685 (memset): Likewise. Do not use BP_SYM.
9686 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9687 "bp-asm.h".
9688 (PARMS): Do not use macros from bp-asm.h.
9689 (S1): Likewise.
9690 (SIZE): Likewise.
9691 (__mpn_mul_1): Do not use BP_SYM.
9692 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9693 "bp-asm.h".
9694 (PARMS): Do not use macros from bp-asm.h.
9695 (S): Likewise.
9696 (SIZE): Likewise.
9697 (__mpn_rshift): Do not use BP_SYM.
9698 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9699 "bp-asm.h".
9700 (PARMS): Do not use macros from bp-asm.h.
9701 (STR): Likewise.
9702 (CHR): Likewise.
9703 (strchr): Likewise. Do not use BP_SYM.
9704 (index): Do not use BP_SYM in weak_alias.
9705 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9706 "bp-asm.h".
9707 (PARMS): Do not use macros from bp-asm.h.
9708 (DEST): Likewise.
9709 (SRC): Likewise.
9710 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9711 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9712 "bp-asm.h".
9713 (PARMS): Do not use macros from bp-asm.h.
9714 (strlen): Do not use BP_SYM.
9715 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9716 "bp-asm.h".
9717 (PARMS): Do not use macros from bp-asm.h.
9718 (S1): Likewise.
9719 (S2): Likewise.
9720 (SIZE): Likewise.
9721 (__mpn_sub_n): Do not use BP_SYM.
9722 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9723 "bp-asm.h".
9724 (PARMS): Do not use macros from bp-asm.h.
9725 (S1): Likewise.
9726 (SIZE): Likewise.
9727 (__mpn_submul_1): Do not use BP_SYM.
9728 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9729 "bp-asm.h".
9730 (PARMS): Do not use macros from bp-asm.h.
9731 (S1): Likewise.
9732 (S2): Likewise.
9733 (SIZE): Likewise.
9734 (__mpn_add_n): Do not use BP_SYM.
9735 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9736 weak_alias.
9737 (bzero): Likewise.
9738 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9739 "bp-asm.h".
9740 (PARMS): Do not use macros from bp-asm.h.
9741 (BLK2): Likewise.
9742 (LEN): Likewise.
9743 (memcmp): Do not use BP_SYM.
9744 (bcmp): Do not use BP_SYM in weak_alias.
9745 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9746 "bp-asm.h".
9747 (PARMS): Do not use macros from bp-asm.h.
9748 (DEST): Likewise.
9749 (SRC): Likewise.
9750 (LEN): Likewise.
9751 (memcpy): Likewise. Do not use BP_SYM.
9752 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9753 "bp-asm.h".
9754 (PARMS): Do not use macros from bp-asm.h.
9755 (DEST): Likewise.
9756 (SRC): Likewise.
9757 (LEN): Likewise.
9758 (memmove): Likewise. Do not use BP_SYM.
9759 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9760 "bp-asm.h".
9761 (PARMS): Do not use macros from bp-asm.h.
9762 (DEST): Likewise.
9763 (SRC): Likewise.
9764 (LEN): Likewise.
9765 (__mempcpy): Likewise. Do not use BP_SYM.
9766 (mempcpy): Do not use BP_SYM in weak_alias.
9767 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9768 "bp-asm.h".
9769 (PARMS): Do not use macros from bp-asm.h.
9770 (DEST): Likewise.
9771 (LEN): Likewise.
9772 [!BZERO_P] (CHR): Likewise.
9773 (memset): Likewise. Do not use BP_SYM.
9774 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9775 "bp-asm.h".
9776 (PARMS): Do not use macros from bp-asm.h.
9777 (STR2): Likewise.
9778 (strcmp): Do not use BP_SYM.
9779 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9780 "bp-asm.h".
9781 (PARMS): Do not use macros from bp-asm.h.
9782 (STR): Likewise.
9783 (DELIM): Likewise.
9784 [USE_AS_STRTOK_R] (SAVE): Likewise.
9785 (FUNCTION): Likewise. Do not use BP_SYM.
9786 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9787 aliases.
9788 (strtok_r): Likewise.
9789 (__GI___strtok_r): Likewise.
9790 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9791 (PARMS): Do not use macros from bp-asm.h.
9792 (S): Likewise.
9793 (SIZE): Likewise.
9794 (__mpn_lshift): Do not use BP_SYM.
9795 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9796 (PARMS): Do not use macros from bp-asm.h.
9797 (STR): Likewise.
9798 (CHR): Likewise.
9799 (__memchr): Do not use BP_SYM.
9800 (memchr): Do not use BP_SYM in weak_alias.
9801 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9802 (PARMS): Do not use macros from bp-asm.h.
9803 (BLK2): Likewise.
9804 (LEN): Likewise.
9805 (memcmp): Do not use BP_SYM.
9806 (bcmp): Do not use BP_SYM in weak_alias.
9807 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9808 (PARMS): Do not use macros from bp-asm.h.
9809 (S1): Likewise.
9810 (SIZE): Likewise.
9811 (__mpn_mul_1): Do not use BP_SYM.
9812 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9813 "bp-asm.h".
9814 (PARMS): Do not use macros from bp-asm.h.
9815 (STR): Likewise.
9816 (CHR): Likewise.
9817 (__rawmemchr): Do not use BP_SYM.
9818 (rawmemchr): Do not use BP_SYM in weak_alias.
9819 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9820 (PARMS): Do not use macros from bp-asm.h.
9821 (S): Likewise.
9822 (SIZE): Likewise.
9823 (__mpn_rshift): Do not use BP_SYM.
9824 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9825 (PARMS): Do not use macros from bp-asm.h.
9826 (SIGMSK): Likewise.
9827 (__sigsetjmp): Likewise. Do not use BP_SYM.
9828 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9829 (_start): Do not use BP_SYM.
9830 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9831 (PARMS): Do not use macros from bp-asm.h.
9832 (DEST): Likewise.
9833 (SRC): Likewise.
9834 (__stpcpy): Likewise. Do not use BP_SYM.
9835 (stpcpy): Do not use BP_SYM in weak_alias.
9836 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9837 "bp-asm.h".
9838 (PARMS): Do not use macros from bp-asm.h.
9839 (DEST): Likewise.
9840 (SRC): Likewise.
9841 (LEN): Likewise.
9842 (__stpncpy): Likewise. Do not use BP_SYM.
9843 (stpncpy): Do not use BP_SYM in weak_alias.
9844 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9845 (PARMS): Do not use macros from bp-asm.h.
9846 (STR): Likewise.
9847 (CHR): Likewise.
9848 (strchr): Likewise. Do not use BP_SYM.
9849 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9850 "bp-asm.h".
9851 (PARMS): Do not use macros from bp-asm.h.
9852 (STR): Likewise.
9853 (CHR): Likewise.
9854 (__strchrnul): Likewise. Do not use BP_SYM.
9855 (strchrnul): Do not use BP_SYM in weak_alias.
9856 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9857 "bp-asm.h".
9858 (PARMS): Do not use macros from bp-asm.h.
9859 (STOP): Likewise.
9860 (strcspn): Do not use BP_SYM.
9861 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9862 "bp-asm.h".
9863 (PARMS): Do not use macros from bp-asm.h.
9864 (STR): Likewise.
9865 (STOP): Likewise.
9866 (strpbrk): Likewise. Do not use BP_SYM.
9867 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9868 "bp-asm.h".
9869 (PARMS): Do not use macros from bp-asm.h.
9870 (STR): Likewise.
9871 (CHR): Likewise.
9872 (strrchr): Likewise. Do not use BP_SYM.
9873 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9874 (PARMS): Do not use macros from bp-asm.h.
9875 (SKIP): Likewise.
9876 (strspn): Do not use BP_SYM.
9877 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9878 (PARMS): Do not use macros from bp-asm.h.
9879 (STR): Likewise.
9880 (DELIM): Likewise.
9881 (SAVE): Likewise.
9882 (FUNCTION): Likewise. Do not use BP_SYM.
9883 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9884 aliases.
9885 (strtok_r): Likewise.
9886 (__GI___strtok_r): Likewise.
9887 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9888 (PARMS): Do not use macros from bp-asm.h.
9889 (S1): Likewise.
9890 (S2): Likewise.
9891 (SIZE): Likewise.
9892 (__mpn_sub_n): Do not use BP_SYM.
9893 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9894 "bp-asm.h".
9895 (PARMS): Do not use macros from bp-asm.h.
9896 (S1): Likewise.
9897 (SIZE): Likewise.
9898 (__mpn_submul_1): Do not use BP_SYM.
9899 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9900 <bp-sym.h>.
9901 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9902 and <bp-asm.h>.
9903 (PARMS): Do not use macros from bp-asm.h.
9904 (FLAGS): Likewise.
9905 (PTID): Likewise.
9906 (TLS): Likewise.
9907 (CTID): Likewise.
9908 (__clone): Do not use BP_SYM.
9909 (clone): Do not use BP_SYM in weak_alias.
9910 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9911 and <bp-asm.h>.
9912 (PARMS): Do not use macros from bp-asm.h.
9913 (LEN): Likewise.
9914 (__mmap64): Do not use BP_SYM.
9915 (mmap64): Do not use BP_SYM in weak_alias.
9916 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9917 <bp-sym.h> and <bp-asm.h>.
9918 (PARMS): Do not use macros from bp-asm.h.
9919 (__posix_fadvise64_l64): Do not use BP_SYM.
9920 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9921 (PARMS): Do not use macros from bp-asm.h.
9922 (NSOPS): Likewise.
9923 (semtimedop): Do not use BP_SYM.
9924 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9925 and <bp-asm.h>.
9926
582a3cff
AM
99272013-02-21 Allan McRae <allan@archlinux.org>
9928
9929 * manual/message.texi (Charset conversion in gettext):
9930 Move @end statement to beginning of line.
9931
bab8a695
SP
99322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9933
80945231
SP
9934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9935 static.
9936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9937 Likewise.
9938
bab8a695
SP
9939 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9940 (denorm): Likewise.
9941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9943
e21d7aa7
AK
99442013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9945
9946 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9947 tail-call to the resolved function if pltexit isn't needed.
9948
4c7a4263
SP
99492013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9950
9951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9952 or Y being zero as being unlikely.
9953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9954 Likewise.
9955
41f49342
CD
99562013-02-20 Carlos O'Donell <carlos@redhat.com>
9957
9958 * manual/nss.texi (System Databases and Name Service Switch):
9959 Remove frobnicate @pxref.
9960
50022a93
TS
99612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9962
9963 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9964 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9965
08cbd996
PM
99662013-02-20 Petr Machata <pmachata@redhat.com>
9967
9968 * elf/elf.h (R_ARM_TARGET1): New macro.
9969 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9970 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9971 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9972 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9973 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9974 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9975 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9976 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9977 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9978 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9979 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9980 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9981 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9982 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9983 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9984 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9985 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9986 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9987 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9988 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9989 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9990 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9991 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9992 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9993 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9994 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9995 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9996 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9997 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9998 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9999 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10000 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10001 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10002 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10003 (R_ARM_THM_GOT_BREL12): Likewise.
10004 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10005 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10006 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10007 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10008 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10009 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10010 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10011 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10012 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10013
c7b275d6
TS
100142013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10015
10016 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10017 __attribute_used__ to __attribute__ ((unused)).
10018
20cd7fb3
SP
100192013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10020
10021 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10022 powerpc mpa.c.
10023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10024 comment formatting.
10025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10026
92945b52
JM
100272013-02-19 Joseph Myers <joseph@codesourcery.com>
10028
10029 [BZ #13550]
10030 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10031 Remove macro.
10032 (ENTER): Remove both macro definitions.
10033 (LEAVE): Likewise.
10034 (CHECK_BOUNDS_LOW): Likewise.
10035 (CHECK_BOUNDS_HIGH): Likewise.
10036 (CHECK_BOUNDS_BOTH): Likewise.
10037 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10038 (RETURN_BOUNDED_POINTER): Likewise.
10039 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10040 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10041 (POP_ERRNO_LOCATION_RETURN): Likewise.
10042 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10043 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10044 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10045 macros.
10046 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10047 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10048 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10049 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10050 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10051 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10052 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10053 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10054 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10055 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10056 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10057 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10058 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10059 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10060 removed macros.
10061 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10062 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10063 macros.
10064 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10065 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10066 * sysdeps/i386/i586/memset.S (memset): Likewise.
10067 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10068 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10069 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10070 macros.
10071 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10072 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10073 Change uses of L(2) to L(out).
10074 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10075 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10076 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10077 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10078 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10079 removed macros.
10080 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10081 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10082 macros.
10083 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10084 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10085 (RETURN): Do not use macro LEAVE.
10086 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10087 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10088 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10089 * sysdeps/i386/i686/memset.S (memset): Likewise.
10090 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10091 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10092 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10093 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10094 Likewise.
10095 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10096 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10097 L(1_2) and L(1_3) into L(1).
10098 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10099 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10100 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10101 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10102 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10103 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10104 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10105 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10106 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10107 macros.
10108 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10109 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10110 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10111 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10112 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10113 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10114 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10115 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10116 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10117 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10118 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10119 * sysdeps/i386/strspn.S (strspn): Likewise.
10120 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10121 conditional code.
10122 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10123 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10124 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10125 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10126 L(1_3) into L(1_1).
10127 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10128 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10129 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10130 macros.
10131 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10132
2389741a
JJ
101332013-02-19 Jakub Jelinek <jakub@redhat.com>
10134
10135 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10136 macro.
10137
2016b3cd
SP
101382013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10139
e4f22324
SP
10140 * math/atest-exp.c (exp_mpn): Remove ROUND.
10141 * math/atest-exp2.c (exp_mpn): Likewise.
10142 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10143
2016b3cd
SP
10144 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10145 * stdlib/tst-tls-atexit-lib.c: Likewise.
10146 * stdlib/tst-tls-atexit.c: Likewise.
10147
4be9b544
MF
101482013-02-18 Mike Frysinger <vapier@gentoo.org>
10149
10150 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10151 and __attribute_alloc_size__.
10152
2f62b9ee
MF
101532013-02-18 Mike Frysinger <vapier@gentoo.org>
10154
10155 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10156 __attribute_alloc_size__.
10157 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10158 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10159
6ff444c4
MF
101602013-02-18 Mike Frysinger <vapier@gentoo.org>
10161
10162 * include/programs/xmalloc.h: New file.
10163 * catgets/gencat.c: Include it.
10164 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10165 * elf/pldd.c: Likewise.
10166 * iconv/iconv_charmap.c: Likewise.
10167 * iconv/iconvconfig.c: Likewise.
10168 * iconv/strtab.c: Likewise.
10169 * locale/programs/locale.c: Likewise.
10170 * locale/programs/localedef.h: Likewise.
10171 * locale/programs/simple-hash.c: Likewise.
10172 * nscd/nscd.h: Likewise.
10173 * nss/makedb.c: Likewise.
10174 * sysdeps/generic/ldconfig.h: Likewise.
10175
be179c8a
SP
101762013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10177
ba384f6e
SP
10178 * Versions.def: Add GLIBC_2.18.
10179 * include/link.h (struct link_map): New member l_tls_dtor_count.
10180 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10181 (__call_tls_dtors): Likewise.
10182 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10183 __cxa_thread_atexit_impl.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10185 Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10187 Likewise.
10188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10189 Likewise.
10190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10191 Likewise.
10192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10194 Likewise.
10195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10196 Likewise.
10197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10199 Likewise.
10200 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10201 (tests): Add test case tst-tls-atexit.
10202 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10203 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10204 (GLIBC_PRIVATE): Add __call_tls_dtors.
10205 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10206 for libstdc++.
10207 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10208 * stdlib/tst-tls-atexit.c: New test case.
10209 * stdlib/tst-tls-atexit-lib.c: New test case.
10210
ffaa74cf 10211 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10212
be179c8a
SP
10213 * elf/Versions (ld): Add _dl_find_dso_for_object.
10214 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10215 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10216 (dl_open_worker): Use _dl_find_dso_for_object.
10217 * elf/dl-sym.c (do_sym): Likewise.
10218 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10219
f78b5caa
AK
102202013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10221
10222 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10223 Syntactic changes only.
10224 (_dl_runtime_profile): Do a tail-call to the resolved function.
10225
29691210
JM
102262013-02-17 Joseph Myers <joseph@codesourcery.com>
10227
10228 [BZ #13550]
10229 * sysdeps/x86_64/bp-asm.h: Remove file.
10230 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10231 <bp-sym.h> and <bp-asm.h>.
10232 (__clone): Do not use BP_SYM.
10233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10234 <bp-sym.h> and <bp-asm.h>.
10235 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10236 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10237 "bp-asm.h".
10238 (_setjmp): Do not use BP_SYM.
10239 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10240 "bp-asm.h".
10241 (setjmp): Do not use BP_SYM.
10242 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10243 libc_hidden_def.
10244 (mempcpy): Do not use BP_SYM in weak_alias.
10245 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10246 "bp-asm.h".
10247 (strchr): Do not use BP_SYM.
10248 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10249 "bp-asm.h".
10250 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10251 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10252 (_start): Do not use BP_SYM.
10253 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10254 "bp-asm.h".
10255 (strcat): Do not use BP_SYM.
10256 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10257 "bp-asm.h".
10258 (STRCMP): Do not use BP_SYM.
10259 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10260 "bp-asm.h".
10261 (STRCPY): Do not use BP_SYM.
10262 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10263 "bp-asm.h".
10264 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10265 "bp-asm.h".
10266 (FUNCTION): Do not use BP_SYM.
10267 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10268 weak_alias.
10269 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10270
f238fd19
AJ
102712013-02-17 Andreas Jaeger <aj@suse.de>
10272
10273 * time/Versions: Sort entries.
10274 * string/Versions: Likewise.
10275 * resolv/Versions: Likewise.
10276 * posix/Versions: Likewise.
10277 * iconv/Versions: Likewise.
10278 * elf/Versions: Likewise.
10279 * wcsmbs/Versions: Likewise.
10280
bd07f23c 102812013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10282
22af19f9
SP
10283 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10284 loop termination condition.
10285
4709fe76
SP
10286 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10287 variable to calculate EZ.
10288 (__sqr): Likewise.
2d0e0f29
SP
10289
10290 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10291 the lower precision input.
10292
daaa7713
JM
102932013-02-15 Joseph Myers <joseph@codesourcery.com>
10294
10295 [BZ #13550]
10296 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10297 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10298 (run-via-rtld-prefix): Do not handle %-bp tests.
10299 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10300 (all-object-suffixes): Remove .ob.
10301 (bppfx): Remove variable.
10302 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10303 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10304 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10305 [$(build-bounded) = yes] (libtype.ob): Likewise.
10306 * Makerules (elide-routines.ob): Remove variable.
10307 (do-tests-clean): Do not handle *-bp.out.
10308 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10309 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10310 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10311 (tests): Do not include $(tests-bp.out).
10312 (xtests): Do not include $(xtests-bp.out).
10313 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10314 [$(build-bounded) = yes] ($(addprefix
10315 $(objpfx),$(binaries-bounded))): Remove rule.
10316 ($(objpfx)%-bp.out): Remove rule.
10317 * config.make.in (build-bounded): Remove variable.
10318 * crypt/Makefile [$(build-bounded) = yes]
10319 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10320 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10321 append to variable.
10322 [$(build-bounded) = yes] (install-lib): Likewise.
10323 [$(build-bounded) = yes] (generated): Likewise.
10324 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10325 Remove rule.
10326 * intl/Makefile [$(build-bounded) = yes]
10327 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10328 * math/Makefile [$(build-bounded) = yes]
10329 ($(tests:%=$(objpfx)%-bp): Likewise.
10330 * misc/Makefile [$(build-bounded) = yes]
10331 ($(objpfx)tst-tsearch-bp): Likewise.
10332 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10333 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10334 Remove dependency.
10335 * string/Makefile (o-objects.ob): Remove variable.
10336 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10337 (CFLAGS-.ob): Remove variable.
10338 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10339 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10340 both definitions of variable.
10341 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10342 (ASFLAGS-.ob): Remove variable.
10343
e97ed6dd
JM
103442013-02-14 Joseph Myers <joseph@codesourcery.com>
10345
2bdd4ca6
JM
10346 [BZ #13550]
10347 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10348 Remove __BOUNDED_POINTERS__ from condition.
10349 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10350 * string/bits/string2.h [!__NO_STRING_INLINES &&
10351 !__BOUNDED_POINTERS__]: Likewise.
10352 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10353 Likewise.
10354 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10355 Remove conditional code.
10356 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10357 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10358 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10359 condition.
10360
e97ed6dd
JM
10361 [BZ #13550]
10362 * csu/libc-start.c: Do not include <bp-sym.h>.
10363 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10364 * elf/dl-open.c: Do not include <bp-sym.h>.
10365 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10366 * math/fegetenv.c: Do not include <bp-sym.h>.
10367 (fegetenv): Do not use BP_SYM in versioned symbols.
10368 * nptl/sysdeps/pthread/bits/libc-lockP.h
10369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10370 <bp-sym.h>.
10371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10372 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10374 (__pthread_mutex_destroy): Likewise.
10375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10376 (__pthread_mutex_lock): Likewise.
10377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10378 (__pthread_mutex_trylock): Likewise.
10379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10380 (__pthread_mutex_unlock): Likewise.
10381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10382 (__pthread_mutexattr_init): Likewise.
10383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10384 (__pthread_mutexattr_destroy): Likewise.
10385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10386 (__pthread_mutexattr_settype): Likewise.
10387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10388 (__pthread_rwlock_init): Likewise.
10389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10390 (__pthread_rwlock_destroy): Likewise.
10391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10392 (__pthread_rwlock_rdlock): Likewise.
10393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10394 (__pthread_rwlock_tryrdlock): Likewise.
10395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10396 (__pthread_rwlock_wrlock): Likewise.
10397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10398 (__pthread_rwlock_trywrlock): Likewise.
10399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10400 (__pthread_rwlock_unlock): Likewise.
10401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10402 (__pthread_key_create): Likewise.
10403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10404 (__pthread_setspecific): Likewise.
10405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10406 (__pthread_getspecific): Likewise.
10407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10408 Likewise.
10409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10410 (_pthread_cleanup_push_defer): Likewise.
10411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10412 (_pthread_cleanup_pop_restore): Likewise.
10413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10414 (pthread_setcancelstate): Likewise.
10415 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10416 <bp-sym.h>.
10417 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10418 (memchr): Do not use BP_SYM in weak_alias.
10419 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10420 (fegetenv): Do not use BP_SYM in versioned symbols.
10421 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10422 (fesetenv): Do not use BP_SYM in versioned symbols.
10423 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10424 (feupdateenv): Do not use BP_SYM in versioned symbols.
10425 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10426 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10427 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10428 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10429 (open64): Do not use BP_SYM in weak_alias.
10430 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10431 (fegetenv): Do not use BP_SYM in versioned symbols.
10432 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10433 (fesetenv): Do not use BP_SYM in versioned symbols.
10434 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10435 (feupdateenv): Do not use BP_SYM in versioned symbols.
10436 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10437 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10438 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10439 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10440 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10441 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10442 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10443 <bp-sym.h>.
10444 (__libc_start_main): Do not use BP_SYM.
10445
d6752ccd
SP
104462013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10447
cb57ce60
SP
10448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10449 redundant return line.
10450 (norm): Likewise.
10451 (denorm): Likewise.
10452 (dbl_mp): Likewise.
10453 (sub_magnitudes): Likewise.
10454 (__add): Likewise.
10455 (__sub): Likewise.
10456 (__mul): Likewise.
10457 (__inv): Likewise.
10458 (__dvd): Likewise.
10459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10460 (norm): Likewise.
10461 (denorm): Likewise.
10462 (dbl_mp): Likewise.
10463 (sub_magnitudes): Likewise.
10464 (__add): Likewise.
10465 (__sub): Likewise.
10466 (__mul): Likewise.
10467 (__inv): Likewise.
10468 (__dvd): Likewise.
10469
f414520d
SP
10470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10471 instead of __mul.
10472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10473 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10474 (cc32): Likewise.
10475
d6752ccd
SP
10476 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10477 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10479 of __mul for squares.
10480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10481 function
10482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10483 Likewise.
10484 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10485 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10486
70d9946a
JM
104872013-02-13 Joseph Myers <joseph@codesourcery.com>
10488
10489 [BZ #13550]
10490 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10491 code.
10492 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10493 prototype or function definition. Rename ubp_* variables and
10494 parameters. Remove argv definitions conditional on
10495 [__BOUNDED_POINTERS__].
10496 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10497 * elf/dl-runtime.c (_dl_fixup): Likewise.
10498 * include/set-hooks.h (RUN_HOOK): Likewise.
10499 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10500 definition.
10501 * string/strcpy.c (strcpy): Do not use __unbounded.
10502 * sysdeps/generic/frame.h (struct layout): Likewise.
10503 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10504 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10505 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10506 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10507 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10508 (__backtrace): Likewise.
10509 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10510 use __ptrvalue.
10511 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10512 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10513 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10514 Likewise.
10515 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10516 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10517 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10518 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10519 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10520 Do not use __unbounded.
10521 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10522 Rename __unboundedrlimits parameter to rlimits in prototype.
10523 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10524 Do not use __unbounded.
10525 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10526 not use __ptrvalue.
10527 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10528 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10529 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10530 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10531 __ptrvalue or __unbounded.
10532 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10533 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10534 use __unbounded.
10535 (__new_msgctl): Do not use __ptrvalue.
10536 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10537 __unbounded.
10538 (__libc_msgrcv): Do not use __ptrvalue.
10539 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10540 startup_info): Do not use __unbounded.
10541 (__libc_start_main): Likewise. Rename ubp_* variables and
10542 parameters. Remove argv definitions conditional on
10543 [__BOUNDED_POINTERS__].
10544 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10545 __ptrvalue.
10546 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10547 use __unbounded.
10548 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10549 or __ptrvalue.
10550 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10551 use __unbounded.
10552 (__new_shmctl): Do not use __ptrvalue.
10553 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10554 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10555 Likewise.
10556 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10558 (__libc_sigaction): Likewise.
10559 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10560 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10561 Likewise.
10562 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10563
cc7834d6
OB
105642013-02-13 Ondřej Bílka <neleai@seznam.cz>
10565
ffb1ec7b 10566 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10567
10568 * string/mempcpy.c: Implement by calling memcpy.
10569
bdf02814
SP
105702013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10571
c2af38aa
SP
10572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10573
4e92d59e
SP
10574 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10575 evaluation.
10576
909279a5
SP
10577 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10578 values in the mantissa.
10579
bdf02814
SP
10580 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10581 minimize writes to Z.
10582 (sub_magnitudes): Simplify code a bit.
10583
cd525923
RM
105842013-02-12 Roland McGrath <roland@hack.frob.com>
10585
10586 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10587 from the message. The linker prefixes all warnings with that already.
10588
7e2f0d2d
AS
105892013-02-12 Andreas Schwab <schwab@suse.de>
10590
a445af0b
AS
10591 [BZ #15078]
10592 * posix/regexec.c (extend_buffers): Add parameter min_len.
10593 (check_matching): Pass minimum needed length.
10594 (clean_state_log_if_needed): Likewise.
10595 (get_subexp): Likewise.
10596 * posix/Makefile (tests): Add bug-regex34.
10597 (bug-regex34-ENV): Define.
10598 * posix/bug-regex34.c: New file.
10599
7e2f0d2d
AS
10600 [BZ #11561]
10601 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10602 elements compare against the byte sequence of it, not its name.
10603 * posix/Makefile (tests): Add bug-regex35.
10604 (bug-regex35-ENV): Define.
10605 * posix/bug-regex35.c: New file.
10606
a175b684
TV
106072013-02-11 Tom de Vries <tom@codesourcery.com>
10608
10609 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10610 comment.
10611 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10612 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10613 (CHECK_EOL): Add undef.
10614
310998fe 106152013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10616
10617 * bits/stdlib-bsearch.h: New file.
10618 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10619 * stdlib/stdlib.h: Likewise.
41eda41d 10620
8ded91fb
RM
106212013-02-11 Roland McGrath <roland@hack.frob.com>
10622
10623 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10624 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10625 declaration.
10626 * manual/search.texi (Array Search Function): Add missing const in
10627 lfind prototype.
10628 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10629 declaration to use rlim_t.
10630 (Basic Scheduling Functions): Remove erroneous const from
10631 sched_getparam prototype. Remove erroneous * from
10632 sched_get_priority_max and sched_get_priority_min prototypes.
10633 (Resource Usage): Fix summary @comment on vtimes to refer to
10634 sys/vtimes.h rather than vtimes.h.
10635 Add missing *s in vtimes prototype.
10636 (Limits on Resources): Fix ulimit prototype to return long int.
10637 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10638 prototypes to use long int rather than double.
10639 (BSD Random): Fix initstate and setstate to use char *, not void *.
10640 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10641 prototype to make second argument 'struct aiocb64 *const[]'.
10642 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10643 (Status of AIO Operations): Remove erroneous const in aio_return and
10644 aio_return64 prototypes.
10645 (Synchronizing I/O): Fix sync prototype to return void.
10646 * manual/startup.texi (Suboptions): Remove an erroneous const in
10647 getsubopt prototype.
10648 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10649 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10650 use size_t rather than int.
10651 (Scanning All Users): Likewise for getpwent_r.
10652 (Setting Groups): Add missing const to setgroups prototype.
10653 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10654 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10655 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10656 'const void *' rather than 'const char *'.
10657 (Host Address Functions): Likewise for inet_ntop.
10658 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10659 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10660 ssize_t for return value.
10661 (Sending Data): Likewise for send, sendto, sendmsg.
10662 (Socket Option Functions): Add a missing const in setsockopt prototype.
10663 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10664 use wchar_t for the argument.
10665 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10666 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10667 take no arguments.
10668 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10669 double/float/long double for second argument.
10670 Fix return types of significand, significandf, significandl.
10671 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10672 argument in fchmod prototype.
10673 (File Owner): Use uid_t and gid_t in fchown prototype.
10674 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10675 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10676 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10677 use 'const struct dirent **' as argument types to CMP function pointer
10678 argument.
10679 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10680 (File Times): Fix summary magic @comment for struct utimbuf and utime
10681 to refer to utime.h, not time.h.
10682 * manual/string.texi (Argz Functions): Add missing const in
10683 argz_extract and argz_next prototypes.
10684 (Finding Tokens in a String): Likewise for basename.
10685 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10686 (Copying and Concatenation): Fix typo in wmemmove prototype.
10687 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10688 (Signal Stack): Remove erroneous const in sigstack prototype.
10689 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10690 prototype.
10691 (Simple Calendar Time): Likewise for stime.
10692 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10693 prototype.
10694 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10695 say sys/sysctl.h instead.
10696 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10697 and vsyslog prototypes.
10698
fe77fe6d
TV
106992013-02-11 Tom de Vries <tom@codesourcery.com>
10700
10701 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10702 Remove.
10703
3a09b620
RM
107042013-02-11 Roland McGrath <roland@hack.frob.com>
10705
10706 * misc/sys/mman.h: Fix typo in mremap comment.
10707
550a0b89
RM
107082013-02-08 Roland McGrath <roland@hack.frob.com>
10709
10710 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10711 the '\0' terminator.
10712
a2da1673
JM
107132013-02-08 Joseph Myers <joseph@codesourcery.com>
10714
10715 [BZ #13550]
10716 * debug/segfault.c: Don't include <bp-checks.h>.
10717 * sysdeps/generic/bp-checks.h: Remove file.
10718 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10719 (__GETDENTS): Don't use CHECK_N.
10720 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10721 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10722 (__getgroups): Don't use CHECK_N.
10723 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10724 (setgroups): Don't use CHECK_N.
10725 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10726 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10727 (__libc_msgrcv): Don't use CHECK_N.
10728 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10729 (__libc_msgsnd): Don't use CHECK_N.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10731 <bp-checks.h>.
10732 (__libc_pread): Don't use CHECK_N.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10734 include <bp-checks.h>.
10735 (__libc_pread64): Don't use CHECK_N.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10737 include <bp-checks.h>.
10738 (__libc_pwrite): Don't use CHECK_N.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10740 include <bp-checks.h>.
10741 (__libc_pwrite64): Don't use CHECK_N.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10743 <bp-checks.h>.
10744 (__libc_pread): Don't use CHECK_N.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10746 include <bp-checks.h>.
10747 (__libc_pread64): Don't use CHECK_N.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10749 include <bp-checks.h>.
10750 (__libc_pwrite): Don't use CHECK_N.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10752 include <bp-checks.h>.
10753 (__libc_pwrite64): Don't use CHECK_N.
10754 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10755 (do_pread): Don't use CHECK_N.
10756 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10757 (do_pread64): Don't use CHECK_N.
10758 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10759 (do_pwrite): Don't use CHECK_N.
10760 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10761 (do_pwrite64): Don't use CHECK_N.
10762 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10763 (__libc_readv): Don't use CHECK_N.
10764 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10765 (semop): Don't use CHECK_N.
10766 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10767 <bp-checks.h>.
10768 (semtimedop): Don't use CHECK_N.
10769 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10770 (__libc_pread): Don't use CHECK_N.
10771 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10772 <bp-checks.h>.
10773 (__libc_pread64): Don't use CHECK_N.
10774 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10775 <bp-checks.h>.
10776 (__libc_pwrite): Don't use CHECK_N.
10777 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10778 <bp-checks.h>.
10779 (__libc_pwrite64): Don't use CHECK_N.
10780 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10781 <bp-checks.h>.
10782 (__libc_msgrcv): Don't use CHECK_N.
10783 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10784 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10785 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10786 (__libc_writev): Don't use CHECK_N.
10787
b84660a8
RM
107882013-02-08 Roland McGrath <roland@hack.frob.com>
10789
7f3e75f8
RM
10790 * string/strcpy.c: Removed unused variable.
10791
b84660a8
RM
10792 * Makeconfig (+sysdep-includes): Define with := rather than =.
10793 Use an existing include/ subdir of each sysdeps dir before it.
10794
471514d3
CD
107952013-02-08 Carlos O'Donell <carlos@redhat.com>
10796
10797 * nscd/connection.c (register_traced_file): Comment function.
10798 [HAVE_INOTIFY] (union __inev): Define.
10799 [HAVE_INOTIFY] (inotify_check_files): New function.
10800 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10801 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10802 clear_db_cache.
10803 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10804
b2d3c3be
CD
108052013-02-08 Carlos O'Donell <carlos@redhat.com>
10806
10807 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10808 loaded if not already and that a failure is permanent.
10809
b39949d2
CD
108102013-02-08 Carlos O'Donell <carlos@redhat.com>
10811
ddacd1db 10812 [BZ #15006]
b39949d2
CD
10813 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10814 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10815
b2c9eff4
JM
108162013-02-08 Joseph Myers <joseph@codesourcery.com>
10817
f3aae3f3
JM
10818 [BZ #13550]
10819 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10820 (CHECK_1_NULL_OK): Likewise.
10821 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10822 (__fxstat): Do not use CHECK_1.
10823 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10824 <bp-checks.h>.
10825 (___fxstat64): Do not use CHECK_1.
10826 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10827 <bp-checks.h>.
10828 (__fxstatat): Do not use CHECK_1.
10829 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10830 <bp-checks.h>.
10831 (__fxstatat64): Do not use CHECK_1.
10832 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10833 <bp-checks.h>.
10834 (__fxstat): Do not use CHECK_1.
10835 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10836 <bp-checks.h>.
10837 (__fxstatat): Do not use CHECK_1.
10838 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10839 <bp-checks.h>.
10840 (__getresgid): Do not use CHECK_1.
10841 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10842 <bp-checks.h>.
10843 (__getresuid): Do not use CHECK_1.
10844 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10845 <bp-checks.h>.
10846 (__lxstat): Do not use CHECK_1.
10847 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10848 <bp-checks.h>.
10849 (__old_msgctl): Do not use CHECK_1.
10850 (__new_msgctl): Likewise.
10851 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10852 <bp-checks.h>.
10853 (__new_setrlimit): Do not use CHECK_1.
10854 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10855 <bp-checks.h>.
10856 (__old_shmctl): Do not use CHECK_1.
10857 (__new_shmctl): Likewise.
10858 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10859 <bp-checks.h>.
10860 (__xstat): Do not use CHECK_1.
10861 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10862 (__lxstat): Do not use CHECK_1.
10863 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10864 <bp-checks.h>.
10865 (___lxstat64): Do not use CHECK_1.
10866 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10867 (__old_msgctl): Do not use CHECK_1.
10868 (__new_msgctl): Likewise.
10869 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10870 <bp-checks.h>.
10871 (__gettimeofday): Do not use CHECK_1.
10872 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10873 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10874 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10875 <bp-checks.h>.
10876 (__gettimeofday): Do not use CHECK_1.
10877 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10878 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10879 (__new_shmctl): Do not use CHECK_1.
10880 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10881 <bp-checks.h>.
10882 (do_sigtimedwait): Do not use CHECK_1.
10883 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10884 <bp-checks.h>.
10885 (do_sigwaitinfo): Do not use CHECK_1.
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10887 <bp-checks.h>.
10888 (msgctl): Do not use CHECK_1.
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10890 <bp-checks.h>.
10891 (shmctl): Do not use CHECK_1.
10892 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10893 (ustat): Do not use CHECK_1.
10894 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10895 <bp-checks.h>.
10896 (__fxstat): Do not use CHECK_1.
10897 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10898 <bp-checks.h>.
10899 (__fxstatat): Do not use CHECK_1.
10900 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10901 <bp-checks.h>.
10902 (__lxstat): Do not use CHECK_1.
10903 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10904 <bp-checks.h>.
10905 (__xstat): Do not use CHECK_1.
10906 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10907 (__xstat): Do not use CHECK_1.
10908 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10909 (___xstat64): Do not use CHECK_1.
10910
b2c9eff4
JM
10911 [BZ #13550]
10912 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10913 definitions.
10914 (CHECK_BOUNDS_HIGH): Likewise.
10915 * string/strcpy.c: Do not include <bp-checks.h>.
10916 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10917
f1d70dad
RM
109182013-02-07 Roland McGrath <roland@hack.frob.com>
10919
10920 * nscd/nscd-client.h (__nscd_drop_map_ref):
10921 Add __attribute__ ((unused)).
10922 * nis/nss-nisplus.h (niserr2nss): Likewise.
10923
10924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10925 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10926
10927 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10928 Remove inline keyword.
10929 * include/rounding-mode.h (round_away): Likewise.
10930 * libio/wfileops.c (adjust_wide_data): Likewise.
10931 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10932 (__m128i_strloadu_tolower): Likewise.
10933 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10934 (__m128i_strloadu_tolower): Likewise.
10935 * time/mktime.c (ydhms_diff): Likewise.
10936 * locale/elem-hash.h (elem_hash): Likewise.
10937 * locale/setlocale.c (setdata): Likewise.
10938 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10939 (re_string_wchar_at): Likewise.
10940 (bitset_not, bitset_merge, bitset_mask): Likewise.
10941 [!(__GNUC__ > 3)] (inline): Remove macro.
10942 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10943 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10944 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10945 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10946 * string/memcmp.c (memcmp_bytes): Likewise.
10947 * locale/programs/locarchive.c (compute_hashval): Likewise.
10948 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10949 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10950 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10951 * nss/getent.c (print_rpc, print_protocols): Likewise.
10952 (print_passwd, print_group, print_aliases): Likewise.
10953 * nis/nss-nisplus.h (niserr2nss): Likewise.
10954 * nscd/connections.c (restart_p): Likewise.
10955 Change return type to bool.
10956
eab55bfb
RM
109572013-02-05 Roland McGrath <roland@hack.frob.com>
10958
7bd642f5
RM
10959 * Makeconfig (all-Depend-files): Add existing
10960 $(sorted-subdirs:=/Depend) files.
10961 (all-subdirs): Remove nss.
10962 * sysdeps/unix/inet/Subdirs: Add it here instead.
10963 * hesiod/Depend: New file.
10964
573c29b2
RM
10965 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10966 instead of calling alloca.
10967
b2e25af0
RM
10968 * io/lseek.c (__lseek): Rename to __libc_lseek.
10969 Define __lseek as an alias.
10970
eab55bfb
RM
10971 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10972
9a0d1941
CD
109732013-02-04 Carlos O'Donell <carlos@redhat.com>
10974
10975 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10976 else clause and remove check for non-standard endianness.
10977
b83bbec4
DM
109782013-02-04 David S. Miller <davem@davemloft.net>
10979
10980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10981
6277fdab
JM
109822013-02-04 Joseph Myers <joseph@codesourcery.com>
10983
10984 [BZ #13550]
10985 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10986 (__ubp_memchr): Remove prototype.
10987 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10988 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10989 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10990 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10991 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10992 Remove alias.
10993 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10994 (__ubp_memchr): Likewise.
10995 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10996 (__ubp_memchr): Likewise.
10997 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10998 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10999 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11000 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11001 CHECK_STRING.
11002 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11003 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11004 (__getcwd): Do not use CHECK_STRING.
11005 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11006 <bp-checks.h>.
11007 (__real_chown): Do not use CHECK_STRING.
11008 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11009 <bp-checks.h>.
11010 (fchownat): Do not use CHECK_STRING.
11011 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11012 CHECK_STRING.
11013 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11014 <bp-checks.h>.
11015 (__lchown): Do not use CHECK_STRING.
11016 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11017 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11018 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11019 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11021 include <bp-checks.h>.
11022 (truncate64): Do not use CHECK_STRING.
11023 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11024 <bp-checks.h>.
11025 (__real_chown): Do not use CHECK_STRING.
11026 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11027 <bp-checks.h>.
11028 (__lchown): Do not use CHECK_STRING.
11029 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11030 <bp-checks.h>.
11031 (__chown): Do not use CHECK_STRING.
11032 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11033 <bp-checks.h>.
11034 (truncate64): Do not use CHECK_STRING.
11035 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11036 Likewise.
11037 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11038 (__xmknod): Do not use CHECK_STRING.
11039 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11040 <bp-checks.h>.
11041 (__xmknodat): Do not use CHECK_STRING.
11042 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11043 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11044
903ae060
AS
110452013-02-04 Andreas Schwab <schwab@suse.de>
11046
11047 [BZ #14142]
11048 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11049 * include/netdb.h: Likewise for h_errno.
11050 * elf/tst-stackguard1.c: Include <tls.h>.
11051
542f9466
JK
110522013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11053
11054 * elf/link.h (struct link_map): Extend the l_addr comment.
11055 * include/link.h (struct link_map): Likewise.
11056
e782a927
JM
110572013-02-01 Joseph Myers <joseph@codesourcery.com>
11058
11059 [BZ #13550]
11060 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11061 (BOUNDED_1): Remove macro.
11062 * debug/backtrace.c: Don't include <bp-checks.h>.
11063 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11064 (__backtrace): Likewise.
11065 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11066 <bp-checks.h>.
11067 (__backtrace): Don't use BOUNDED_1.
11068 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11069 <bp-checks.h>.
11070 (__backtrace): Don't use BOUNDED_1.
11071 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11072 (__backtrace): Don't use BOUNDED_1.
11073 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11074 (shmat): Don't use BOUNDED_N.
11075
8cf28c5e
JM
110762013-01-31 Joseph Myers <joseph@codesourcery.com>
11077
3a7ac8a0
JM
11078 [BZ #13550]
11079 * sysdeps/generic/bp-start.h: Remove file.
11080 * csu/libc-start.c: Don't include <bp-start.h>.
11081 (LIBC_START_MAIN): Set up __environ directly instead of using
11082 INIT_ARGV_and_ENVIRON.
11083 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11084 <bp-start.h>.
11085
f3499f95
JM
11086 [BZ #13550]
11087 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11088 definitions.
11089 (CHECK_FCNTL): Likewise.
11090 (CHECK_N_PAGES): Likewise.
11091
32a45bea
JM
11092 [BZ #13550]
11093 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11094 definitions.
11095 (CHECK_SIGSET_NULL_OK): Likewise.
11096 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11097 <bp-checks.h>.
11098 (sigpending): Don't use CHECK_SIGSET.
11099 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11100 <bp-checks.h>.
11101 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11102 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11103 <bp-checks.h>.
11104 (do_sigsuspend): Don't use CHECK_SIGSET.
11105 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11106 use CHECK_SIGSET.
11107 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11108 (do_sigwait): Don't use CHECK_SIGSET.
11109 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11110 use CHECK_SIGSET.
11111 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11112 include <bp-checks.h>.
11113 (sigpending): Don't use CHECK_SIGSET.
11114 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11115 include <bp-checks.h>.
11116 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11117 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11118 <bp-checks.h>.
11119 (sigpending): Don't use CHECK_SIGSET.
11120 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11121 <bp-checks.h>.
11122 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11123
2e8a5c8c
JM
11124 [BZ #13550]
11125 * sysdeps/generic/bp-semctl.h: Remove file.
11126 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11127 <bp-checks.h> and <bp-semctl.h>.
11128 (__old_semctl): Don't use CHECK_SEMCTL.
11129 (__new_semctl): Likewise.
11130 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11131 and <bp-semctl.h>.
11132 (__old_semctl): Don't use CHECK_SEMCTL.
11133 (__new_semctl): Likewise.
11134 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11135 <bp-checks.h> and <bp-semctl.h>.
11136 (__old_semctl): Don't use CHECK_SEMCTL.
11137 (__new_semctl): Likewise.
11138 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11139 <bp-checks.h> and <bp-semctl.h>.
11140 (semctl): Don't use CHECK_SEMCTL.
11141
c2d54929
JM
11142 [BZ #13550]
11143 * Makerules (elide-bp-thunks): Remove variable.
11144 (elide-routines.oS): Don't use $(elide-bp-thunks).
11145 (elide-routines.os): Likewise.
11146 (elide-routines.o): Likewise.
11147 (elide-routines.op): Likewise.
11148 (elide-routines.og): Likewise.
11149 (objects): Don't use $(bp-thunks).
11150 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11151 include.
11152 (common-generated): Do not add s-proto-bp.d.
11153 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11154 (int): Likewise.
11155 (typ): Likewise.
11156 Do not generate makefile rules for bounded-pointer thunks.
11157 * sysdeps/generic/bp-thunks.h: Remove file.
11158 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11159 * sysdeps/unix/s-proto-bp.S: Likewise.
11160
8cf28c5e
JM
11161 [BZ #15062]
11162 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11163 parts of result separately when argument is not close to line from
11164 -i to i and one part of argument is small.
11165 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11166 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11167 * math/libm-test.inc (cacos_test): Add more tests.
11168 (casin_test): Likewise.
11169 (casinh_test): Likewise.
11170 * sysdeps/i386/fpu/libm-test-ulps: Update.
11171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11172
c4e33b8d
DM
111732013-01-31 David S. Miller <davem@davemloft.net>
11174
11175 * po/de.po: Update from translation team.
11176
3b60b421
MK
111772013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11178
11179 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11180
bb931195
TS
111812013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11182
b5a5da23
TS
11183 * configure.in (_AC_PROG_CC_C89): New definition.
11184 * configure: Regenerate.
11185
bb931195
TS
11186 * configure.in (AC_PROG_CPP): New definition.
11187 * configure: Regenerate.
11188
8c53a12c
JM
111892013-01-23 Joseph Myers <joseph@codesourcery.com>
11190
11191 * debug/tst-backtrace.h: New file.
11192 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11193 (ret): Remove variable.
11194 (x): Likewise.
11195 (FAIL): Remove macro.
11196 (NO_INLINE): Likewise.
11197 (fn1): Use match function instead of strstr.
11198 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11199 (ret): Remove variable.
11200 (x): Likewise.
11201 (FAIL): Remove macro.
11202 (NO_INLINE): Likewise.
11203 (fn): Use match function instead of strstr.
11204 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11205 (ret): Remove variable.
11206 (x): Likewise.
11207 (FAIL): Remove macro.
11208 (NO_INLINE): Likewise.
11209 (handle_signal): Use match function instead of strstr.
11210 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11211 (ret): Remove variable.
11212 (x): Likewise.
11213 (FAIL): Remove macro.
11214 (NO_INLINE): Likewise.
11215 (handle_signal): Use match function instead of strstr.
11216
4858fa2a
RM
112172013-01-23 Roland McGrath <roland@hack.frob.com>
11218
11219 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11220
bae8e7f5
DM
112212013-01-23 David S. Miller <davem@davemloft.net>
11222
11223 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11224 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11225 argument of CAS if possible.
11226 * sysdeps/sparc/sparc64/bits/atomic.h
11227 (__arch_compare_and_exchange_val_32_acq): Likewise.
11228 (__arch_compare_and_exchange_val_64_acq): Likewise.
11229
9cbbc4ae
PT
112302013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11231
11232 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11233 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11234 Include <limits.h>.
67b3f58c 11235 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11236
5655a0b5
AC
112372013-01-23 Adam Conrad <adconrad@0c3.net>
11238
11239 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11240 (LDFLAGS-tst-array5): Likewise.
11241
052aff95
JM
112422013-01-23 Joseph Myers <joseph@codesourcery.com>
11243
11244 [BZ #15036]
11245 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11246 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11247 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11248 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11249
7c1e01aa
DM
112502013-01-21 David S. Miller <davem@davemloft.net>
11251
11252 * sysdeps/sparc/backtrace.c: New file.
11253 * sysdeps/sparc/sparc32/backtrace.h: New file.
11254 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11255 * sysdeps/sparc/sparc64/backtrace.h: New file.
11256 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11257 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11258 -funwind-tables.
11259
ab087e0a
AS
112602013-01-21 Andreas Schwab <schwab@suse.de>
11261
11262 [BZ #15020]
11263 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11264 closed its stdout.
11265
ed689c2f
AS
112662013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11267
11268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11269 "mpa2.h".
11270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11271
31d470ac
JM
112722013-01-18 Joseph Myers <joseph@codesourcery.com>
11273 Mark Mitchell <mark@codesourcery.com>
11274 Tom de Vries <tom@codesourcery.com>
11275 Paul Pluzhnikov <ppluzhnikov@google.com>
11276
11277 * debug/tst-backtrace2.c: New file.
11278 * debug/tst-backtrace3.c: Likewise.
11279 * debug/tst-backtrace4.c: Likewise.
11280 * debug/tst-backtrace5.c: Likewise.
11281 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11282 (CFLAGS-tst-backtrace3.c): Likewise.
11283 (CFLAGS-tst-backtrace4.c): Likewise.
11284 (CFLAGS-tst-backtrace5.c): Likewise.
11285 (LDFLAGS-tst-backtrace2): Likewise.
11286 (LDFLAGS-tst-backtrace3): Likewise.
11287 (LDFLAGS-tst-backtrace4): Likewise.
11288 (LDFLAGS-tst-backtrace5): Likewise.
11289 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11290 tst-backtrace4 and tst-backtrace5.
11291
90567f30 112922013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11293 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11294
11295 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11296 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11297 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11298 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11300 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11301 "+r" and remove output regs list as redundant. Add explicit inline
11302 asm to specify register of return val to work around compiler codegen
11303 bug. Remove (int) cast on return value. Add return type parameter to
11304 use in macro so that this macro does not truncate return value for
11305 64-bit values.
11306 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11307 pass to INTERNAL_VSYSCALL_NCS.
11308 (INLINE_VSYSCALL): Add 'long int' as return type to
11309 INTERNAL_VSYSCALL_NCS macro invocation.
11310 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11311 INTERNAL_VSYSCALL_NCS macro invocation.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11313
d3b9ea61
SP
113142013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11315
0b57daeb
SP
11316 [BZ #14496]
11317 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11318 Fix application of SIMD FP exception mask.
11319
caa99d06
SP
11320 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11321 mp_no from a power of two.
11322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11323 __mpexp_twomm1. Use __pow_mp.
11324
d3b9ea61
SP
11325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11326 multiplication.
11327
1dbaee3c
DM
113282013-01-17 David S. Miller <davem@davemloft.net>
11329
11330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11331
728d7b43
JM
113322013-01-17 Joseph Myers <joseph@codesourcery.com>
11333
11334 [BZ #15023]
11335 * include/complex.h: Condition contents on [!_COMPLEX_H].
11336 (__kernel_casinhf): New prototype.
11337 (__kernel_casinh): Likewise.
11338 (__kernel_casinhl): Likewise.
11339 * math/Makefile (libm_calls): Add k_casinh.
11340 * math/k_casinh.c: New file.
11341 * math/k_casinhf.c: Likewise.
11342 * math/k_casinhl.c: Likewise.
11343 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11344 finite nonzero arguments.
11345 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11346 finite nonzero arguments.
11347 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11348 finite nonzero arguments.
11349 * math/s_casinh.c: Do not include <float.h>.
11350 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11351 * math/s_casinhf.c: Do not include <float.h>.
11352 (__casinhf): Move code for finite nonzero arguments to
11353 k_casinhf.c.
11354 * math/s_casinhl.c: Do not include <float.h>.
11355 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11356 redefine.
11357 (__casinhl): Move code for finite nonzero arguments to
11358 k_casinhl.c.
11359 * math/libm-test.inc (cacos_test): Add more tests.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11362
2a26ef3a
PT
113632013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11364
11365 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11366 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11367 [!HAVE_MREMAP]: Remove [defined linux] case.
11368 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11369
a897655d
SP
113702013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11371
11372 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11373
881ebe89 113742013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11375
11376 * elf/elf.h (R_386_SIZE32): New relocation.
11377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11378 R_386_SIZE32.
11379 (elf_machine_rela): Likewise.
11380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11381 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11382
59981e9b
JM
113832013-01-17 Joseph Myers <joseph@codesourcery.com>
11384
11385 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11386 (FP_FAST_FMA): Do not define.
11387 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11388 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11389 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11390 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11391 !_SOFT_FLOAT]: Likewise.
11392 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11393 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11394 value.
11395 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11396 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11397 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11398 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11399 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11400 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11401 file.
11402
cfa8054f
AS
114032013-01-16 Andreas Schwab <schwab@suse.de>
11404
11405 [BZ #14327]
11406 * include/stdlib.h (__mktemp): Add declaration.
11407 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11408 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11409
dd930cc5
SP
114102013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11411
881ebe89
SP
11412 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11413 definitions.
11414 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11415 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11416 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11417 definitions here.
11418 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11419 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11420 definitions.
11421 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11422 and ONE.
11423 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11424 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11425 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11426 definitions.
11427 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11428 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11429 definitions.
11430 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11431
dd930cc5
SP
11432 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11433
c19a9f89
DM
114342013-01-15 David S. Miller <davem@davemloft.net>
11435
1aa61767
DM
11436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11437 trunc{,f} to libm-sysdep_routes.
11438 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11440 file.
11441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11443 file.
11444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11445 file.
11446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11448 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11449 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11450 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11451 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11452 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11453 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11454
c42d5e98
DM
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11456 nearbyint{,f} to libm-sysdep_routes.
11457 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11459 New file.
11460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11461 file.
11462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11463 New file.
11464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11465 file.
11466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11468 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11469 file.
11470 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11471 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11472 file.
11473 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11474 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11475 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11476
c19a9f89
DM
11477 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11478 libc_feholdexcept and libc_fesetenv.
11479
357679d2
MF
114802013-01-15 Mike Frysinger <vapier@gentoo.org>
11481
11482 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11483
65a82e3d
DM
114842013-01-14 David S. Miller <davem@davemloft.net>
11485
8b954ab9
DM
11486 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11487 (SPARC_ASM_VIS2_IFUNC): Likewise.
11488 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11490 use of 'siam' instruction.
11491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11492 Likewise.
11493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11494 Likewise.
11495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11496 Likewise.
11497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11500 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11502 file.
11503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11504 file.
11505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11506 file.
11507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11508 file.
11509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11514 new VIS2 routines.
11515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11518 Likewise.
11519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11524 routines to libm-sysdep_routines.
11525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11526
65a82e3d
DM
11527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11528 fdim/fdimf to libm-sysdep_routines.
11529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11530 file.
11531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11533 file.
11534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11537 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11538 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11539 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11540 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11541
e34ab705
SP
115422013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11543
2a91b573
SP
11544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11545 to optimize copies.
11546
1066a534
SP
11547 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11550
e34ab705
SP
11551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11552 local variable MPTWO.
11553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11554 Likewise.
11555
aba5e596
MF
115562013-01-13 Mike Frysinger <vapier@gentoo.org>
11557
11558 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11559 GLOB_NOESCAPE.
11560
e557e9e5
MF
115612013-01-13 Mike Frysinger <vapier@gentoo.org>
11562
11563 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11564
0428cec9
MF
115652013-01-13 Mike Frysinger <vapier@gentoo.org>
11566
11567 * manual/pattern.texi (glob_t): Document gl_flags.
11568 (glob64_t): Likewise.
11569
8794a964
DM
115702013-01-11 David S. Miller <davem@davemloft.net>
11571
66438c3f
RM
11572 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11573 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11574 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11575 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11576 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11577 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11578 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11579 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11580 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11581 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11582 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11583 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11584 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11585
4ae4244d
DM
11586 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11587 sparc V9 rather than using V8 code.
11588 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11589 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11590
8794a964
DM
11591 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11592 Move to...
11593 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11594 Here.
11595
6270516e
RM
115962013-01-11 Roland McGrath <roland@hack.frob.com>
11597
11598 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11599 not in the main loop.
11600 * configure: Regenerated.
11601
6a57d931
JM
116022013-01-11 Joseph Myers <joseph@codesourcery.com>
11603
11604 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11605 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11606 to just #else.
11607 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11608 [!__GLIBC_HAVE_LONG_LONG] case.
11609 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11610 condition to just #else.
11611 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11612 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11613 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11614 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11615 unconditional.
11616 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11617 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11618 #elif condition to just #else.
11619 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11620 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11621 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11622 #elif condition to just #else.
11623
0e8529e9
SE
116242013-01-11 Steve Ellcey <sellcey@mips.com>
11625
11626 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11627 (EF_MIPS_ARCH_64): Fix value.
11628 (EF_MIPS_ARCH_32R2): New.
11629 (EF_MIPS_ARCH_64R2): New.
11630
740b3dbe
L
116312013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11632
11633 * Makeconfig (+link-pie-before-libc): New.
11634 (+link-pie-after-libc): Likewise.
11635 (+link-pie-tests): Likewise.
11636 (+link-pie): Rewritten.
11637 (link-before-libc): Remove $(config-LDFLAGS).
11638 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11639 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11640 (config-LDFLAGS): Renamed to ...
11641 (rtld-LDFLAGS): This.
11642 (rtld-tests-LDFLAGS): New macro.
11643 (link-libc-rpath-link): Likewise.
11644 (link-libc-tests-rpath-link): Likewise.
11645 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11646 (link-libc): Prepand $(link-libc-rpath-link).
11647 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11648 (test-program-prefix): New macro.
11649 (test-via-rtld-prefix): Likewise.
11650 (test-program-cmd): Likewise.
11651 (host-test-program-cmd): Likewise.
11652 * Makefile ($(common-objpfx)testrun.sh): Replace
11653 $(run-program-prefix) with $(test-program-prefix).
11654 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11655 $(rtld-LDFLAGS).
11656 ($(common-objpfx)shlib.lds): Likewise.
11657 (build-module-helper): Likewise.
11658 ($(common-objpfx)format.lds): Likewise.
11659 * Rules (binaries-pie-tests): New.
11660 (binaries-pie-notests): Likewise.
11661 (binaries-pie): Rewritten.
11662 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11663 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11664 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11665 (make-test-out): Replace $(host-built-program-cmd) with
11666 $(host-test-program-cmd).
11667 * config.make.in (build-hardcoded-path-in-tests): New variable.
11668 * configure.in (--enable-hardcoded-path-in-tests): New configure
11669 option.
11670 (hardcoded_path_in_tests): New AC_SUBST.
11671 * configure: Regenerated.
11672 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11673 $(built-program-cmd) with $(test-program-cmd).
11674 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11675 (test_program_cmd): This.
11676 * elf/Makefile ($(objpfx)order.out): Run test with
11677 $(test-program-prefix).
11678 ($(objpfx)order2.out): Likewise.
11679 ($(objpfx)tst-initorder.out): Likewise.
11680 ($(objpfx)tst-initorder2.out): Likewise.
11681 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11682 $(test-program-cmd).
11683 ($(objpfx)tst-array1-static.out): Likewise.
11684 ($(objpfx)tst-array2.out): Likewise.
11685 ($(objpfx)tst-array3.out): Likewise.
11686 ($(objpfx)tst-array4.out): Likewise.
11687 ($(objpfx)tst-array5.out): Likewise.
11688 ($(objpfx)tst-array5-static.out): Likewise.
11689 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11690 $(test-program-cmd).
11691 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11692 $(run-program-prefix) with $(test-program-prefix).
11693 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11694 (test_program_prefix): This.
11695 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11696 $(run-program-prefix) with $(test-program-prefix).
11697 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11698 (test_program_prefix): This.
11699 * iconvdata/tst-tables.sh: Likewise.
11700 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11701 $(run-program-prefix) with $(test-program-prefix).
11702 ($(objpfx)tst-translit.out): Likewise.
11703 ($(objpfx)tst-gettext2.out): Likewise.
11704 ($(objpfx)tst-gettext4.out): Likewise.
11705 ($(objpfx)tst-gettext6.out): Likewise.
11706 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11707 (test_program_prefix): This.
11708 * intl/tst-gettext2.sh: Likewise.
11709 * intl/tst-gettext4.sh Likewise.
11710 * intl/tst-gettext6.sh: Likewise.
11711 * intl/tst-translit.sh: Likewise.
11712 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11713 with $(test-program-cmd).
11714 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11715 $(run-program-prefix) with $(test-program-prefix).
11716 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11717 (test_program_prefix): This.
11718 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11719 $(run-program-prefix) with $(test-program-prefix).
11720 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11721 (test_program_prefix): This.
11722 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11723 * posix/Makefile ($(objpfx)globtest.out): Replace
11724 $(run-via-rtld-prefix) and $(test-wrapper) with
11725 $(test-program-prefix) and $(test-via-rtld-prefix).
11726 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11727 $(test-program-prefix).
11728 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11729 $(host-test-program-cmd).
11730 (tst-spawn-ARGS): Likewise.
11731 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11732 $(test-program-prefix).
11733 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11734 (test_via_rtld_prefix): This.
11735 (test_wrapper): Renamed to ...
11736 (test_program_prefix): This.
11737 (run_program_prefix): Replaced by test_program_prefix.
11738 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11739 (test_program_prefix): This.
11740 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11741 with $(host-test-program-cmd).
11742 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11743 $(run-program-prefix) with $(test-program-prefix).
11744 ($(objpfx)tst-printf.out): Likewise.
11745 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11746 $(test-program-cmd).
11747 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11748 (test_program_prefix): This.
11749 * stdio-common/tst-unbputc.sh: Likewise.
11750 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11751 $(run-program-prefix) with $(test-program-prefix).
11752 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11753 (test_program_prefix): This.
11754 * string/Makefile ($(objpfx)tst-svc.out): Replace
11755 $(built-program-cmd) with $(test-program-cmd).
11756
c6fe55cf
AJ
117572013-01-11 Andreas Jaeger <aj@suse.de>
11758
11759 [BZ #15003]
11760 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11761 value. Sync with Linux 3.7.
11762
9e6919c8
DM
117632013-01-10 David S. Miller <davem@davemloft.net>
11764
11765 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11766 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11767 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11768
1c9f1a02
RM
117692013-01-10 Roland McGrath <roland@hack.frob.com>
11770
11771 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11772 never set.
11773 * configure: Regenerated.
11774
b9de2dde
DM
117752013-01-10 David S. Miller <davem@davemloft.net>
11776
11777 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11778 sparc V9 rather than using V8 code.
11779 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11780 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11781
e7f68ef4
RM
117822013-01-10 Roland McGrath <roland@hack.frob.com>
11783
11784 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11785 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11786 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11787 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11788 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11789 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11790 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11791 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11792 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11793 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11794 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11795 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11796 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11797 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11798 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11799 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11800 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11801 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11802 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11803 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11804 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11805 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11806 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11807 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11808 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11809 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11810 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11811
5a47cc9c
DM
118122013-01-10 David S. Miller <davem@davemloft.net>
11813
11814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11815
4cf8f209
L
118162013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11817
11818 * posix/Makefile (tests-static): New variable.
11819 (tests): Add $(tests-static).
11820 (tst-exec-static-ARGS): New variable.
11821 (tst-spawn-static-ARGS): Likewise.
11822 * posix/tst-exec-static.c: New file.
11823 * posix/tst-spawn-static.c: Likewise.
11824 * posix/tst-exec.c: Support run directly.
11825 * posix/tst-spawn.c: Likewise.
11826
fed0faa1
JM
118272013-01-10 Joseph Myers <joseph@codesourcery.com>
11828
828beb13
JM
11829 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11830 long.
11831 * math/bits/mathcalls.h (llrint): Likewise.
11832 (llround): Likewise.
11833 * stdlib/stdlib.h (struct drand48_data): Likewise.
11834 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11835 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11837 Likewise.
11838 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11839 Likewise.
11840 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11841 (elf_greg_t): Likewise.
11842 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11843 (__jmp_buf): Likewise.
11844 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11845 definitions.
11846 (llrint): Likewise, for all definitions.
11847 (llrintl): Likewise.
11848
fed0faa1
JM
11849 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11850 Remove [__GNUC__] condition.
11851 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11852 condition to just [__USE_ISOC99].
11853 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11854
1a20cb20
L
118552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11856
11857 [BZ #14200]
11858 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11859 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11860 defined.
11861 (_POSIX_V6_ILP32_OFF32): Likewise.
11862 (_XBS5_ILP32_OFF32): Likewise.
11863 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11864 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11865
751b85f7
SP
118662013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11867
7490eb81
SP
11868 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11869
751b85f7
SP
11870 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11871 doubles __mpexp_twomm1. Adjust usage.
11872 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11873 Remove.
11874
988197f0
AS
118752013-01-10 Andreas Schwab <schwab@suse.de>
11876
11877 [BZ #14964]
11878 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11879 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11880
e83d7298
DM
118812013-01-09 David S. Miller <davem@davemloft.net>
11882
034ed64b 11883 [BZ #15003]
e83d7298
DM
11884 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11885 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11886 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11887 TCP_FASTOPEN): Define.
11888 (tcp_repair_opt): New structure.
11889 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11890 enum values.
11891 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11892 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11893 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11894 (tcp_cookie_transactions): New structure.
11895
d5e0b9bd
AB
118962013-01-09 Anton Blanchard <anton@samba.org>
11897
11898 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11899 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11900 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11901 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11902
0c07e3ea
JM
119032013-01-09 Joseph Myers <joseph@codesourcery.com>
11904
11905 * include/features.h (__USE_ANSI): Remove.
11906
232f7002
RM
119072013-01-09 Roland McGrath <roland@hack.frob.com>
11908
ad98e30c
RM
11909 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11910
232f7002
RM
11911 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11912
950c99ca
SP
119132013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11914
b5792741
SP
11915 * sysdeps/s390/fpu/libm-test-ulps: Update.
11916
47cf2278
SP
11917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11918
950c99ca
SP
11919 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11920 (__acr): Likewise.
11921 (__cpy): Likewise.
11922 (norm): Likewise.
11923 (denorm): Likewise.
11924 (__mp_dbl): Likewise.
11925 (__dbl_mp): Likewise.
11926 (add_magnitudes): Likewise.
11927 (sub_magnitudes): Likewise.
11928 (__add): Likewise.
11929 (__sub): Likewise.
11930 (__mul): Likewise.
11931 (__inv): Likewise.
11932 (__dvd): Likewise.
11933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11934 (__acr): Likewise.
11935 (__cpy): Likewise.
11936 (norm): Likewise.
11937 (denorm): Likewise.
11938 (__mp_dbl): Likewise.
11939 (__dbl_mp): Likewise.
11940 (add_magnitudes): Likewise.
11941 (sub_magnitudes): Likewise.
11942 (__add): Likewise.
11943 (__sub): Likewise.
11944 (__mul): Likewise.
11945 (__inv): Likewise.
11946 (__dvd): Likewise.
11947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11948 (__acr): Likewise.
11949 (__cpy): Likewise.
11950 (norm): Likewise.
11951 (denorm): Likewise.
11952 (__mp_dbl): Likewise.
11953 (__dbl_mp): Likewise.
11954 (add_magnitudes): Likewise.
11955 (sub_magnitudes): Likewise.
11956 (__add): Likewise.
11957 (__sub): Likewise.
11958 (__mul): Likewise.
11959 (__inv): Likewise.
11960 (__dvd): Likewise.
11961
eede9df9
JM
119622013-01-08 Joseph Myers <joseph@codesourcery.com>
11963
11964 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11965 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11966 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11967 2 && __USE_EXTERN_INLINES]: Likewise.
11968
c40ea3d9
AJ
119692013-01-08 Andreas Jaeger <aj@suse.de>
11970
11971 [BZ# 14985]
11972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11973 Remove.
11974 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11975 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11976
2ccdea26
AB
119772013-01-07 Anton Blanchard <anton@samba.org>
11978
11979 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11980 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11981 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11982 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11983 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11984 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11985 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11986 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11988 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11990 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11992 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11993 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11994 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11995 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11996 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11997 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11998 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11999 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12000 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12001 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12002 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12003 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12004 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12005 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12006 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12008 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12009 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12011 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12012 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12013 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12014 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12017 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12019 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12021 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12022
a9708fed
JM
120232013-01-07 Joseph Myers <joseph@codesourcery.com>
12024
375607b9
JM
12025 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12026 (__MALLOC_PMT): Likewise.
12027 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12028 [__GNUC__], only on [_LIBC].
12029 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12030 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12031 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12032 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12033 forward declaration.
12034 (realloc_hook_ini): Likewise.
12035 (memalign_hook_ini): Likewise.
12036 (__libc_memalign): Do not use __MALLOC_PMT in variable
12037 declaration.
12038 (__libc_valloc): Likewise.
12039 (__libc_pvalloc): Likewise.
12040 (__libc_calloc): Likewise.
12041 (__posix_memalign): Likewise.
12042
a9708fed
JM
12043 [BZ #14996]
12044 * math/s_casinh.c: Include <float.h>.
12045 (__casinh): Do not do computation with squaring and square root
12046 for large arguments.
12047 * math/s_casinhf.c: Include <float.h>.
12048 (__casinhf): Do not do computation with squaring and square root
12049 for large arguments.
12050 * math/s_casinhl.c: Include <float.h>.
12051 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12052 (__casinhl): Do not do computation with squaring and square root
12053 for large arguments.
12054 * math/libm-test.inc (casin_test): Add more tests.
12055 (casinh_test): Likewise.
12056 * sysdeps/i386/fpu/libm-test-ulps: Update.
12057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12058
afec409a
L
120592013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12060
12061 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12062 (__x86_64_raw_data_cache_size): Likewise.
12063 (__x86_64_data_cache_size_half): Likewise.
12064 (__x86_64_raw_data_cache_size_half): Likewise.
12065 (__x86_64_shared_cache_size): Likewise.
12066 (__x86_64_raw_shared_cache_size): Likewise.
12067 (__x86_64_shared_cache_size_half): Likewise.
12068 (__x86_64_raw_shared_cache_size_half): Likewise.
12069 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12070 to ...
12071 (__x86_data_cache_size): This.
12072 (__x86_64_raw_data_cache_size): Renamed to ...
12073 (__x86_raw_data_cache_size): This.
12074 (__x86_64_data_cache_size_half): Renamed to ...
12075 (__x86_data_cache_size_half): This.
12076 (__x86_64_raw_data_cache_size_half): Renamed to ...
12077 (__x86_raw_data_cache_size_half): This.
12078 (__x86_64_shared_cache_size): Renamed to ...
12079 (__x86_shared_cache_size): This.
12080 (__x86_64_raw_shared_cache_size): Renamed to ...
12081 (__x86_raw_shared_cache_size): This.
12082 (__x86_64_shared_cache_size_half): Renamed to ...
12083 (__x86_shared_cache_size_half): This.
12084 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12085 (__x86_raw_shared_cache_size_half): This.
12086 * sysdeps/x86_64/memcpy.S: Updated.
12087 * sysdeps/x86_64/memset.S: Likewise.
12088 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12089 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12091
0b3986d0
DM
120922013-01-04 David S. Miller <davem@davemloft.net>
12093
12094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12095
e47686e9
AS
120962013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12097
d643bac1
AS
12098 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12099 1 to avoid redefinition warning.
12100 (__USE_GNU): Don't define.
12101 (init_signaling_nan): Protoize.
12102
e47686e9
AS
12103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12104
b18decba
SP
121052013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12106
fffb407f
SP
12107 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12109 (__cpymn): Likewise.
12110 (norm): Remove commented code.
12111 (denorm): Likewise.
12112 (__mp_dbl): Likewise.
12113 (__inv): Likewise.
12114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12115 (__cpymn): Likewise.
12116 (norm): Remove commented code.
12117 (denorm): Likewise.
12118 (__mp_dbl): Likewise.
12119 (__inv): Likewise.
12120
b18decba
SP
12121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12122 mp_no value for 1.0 and 2.0.
12123 (norm): Use RADIXI instead of radixi.d.
12124 (denorm): Likewise.
12125 (__mul): Use 0.0 instead of zero.d.
12126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12127 mp_no value for 1.0 and 2.0.
12128 (norm): Use RADIXI instead of radixi.d.
12129 (denorm): Likewise.
12130 (__mul): Use 0.0 instead of zero.d.
12131
cdc1c96f
JM
121322013-01-04 Joseph Myers <joseph@codesourcery.com>
12133
12134 [BZ #14994]
12135 * math/s_casinh.c (__casinh): Reduce finite argument to first
12136 quadrant then set signs of results at the end.
12137 * math/s_casinhf.c (__casinhf): Likewise.
12138 * math/s_casinhl.c (__casinhl): Likewise.
12139 * math/libm-test.inc (casin_test): Add more tests.
12140 (casinh_test): Likewise.
12141 * sysdeps/i386/fpu/libm-test-ulps: Update.
12142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12143
302913e1
SP
121442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12145
6420d207
SP
12146 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12147
a9e48ab4
SP
12148 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12149
b7837264
SP
12150 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12151 declarations.
12152 (denorm): Likewise.
12153 (__mp_dbl): Likewise.
12154 (__inv): Likewise.
12155
f8af25d2
SP
12156 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12157 and adjust the header comment.
12158
302913e1
SP
12159 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12160 variable name from declaration.
12161
5d7dd1ca
L
121622013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12163
12164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12165 Initialize COMMON_CPUID_INDEX_7 element.
12166 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12167 (CPUID_RTM): Likewise.
12168 (HAS_RTM): Likewise.
12169 (COMMON_CPUID_INDEX_7): New enum.
12170
2f5f40f4
AS
121712013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12172
12173 [BZ #14981]
12174 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12175 size is zero, record memory as freed.
12176
4056f4a0
AJ
121772013-01-03 Andreas Jaeger <aj@suse.de>
12178
12179 * po/ia.po: Add new Interlingua translation.
12180
ab15736f 121812012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12182
12183 * locale/programs/localedef.c: Fix description of '--posix' flag.
12184
568035b7
JM
121852013-01-02 Joseph Myers <joseph@codesourcery.com>
12186
e6898b8d
JM
12187 * NEWS: Update dates in second copyright notice.
12188 * README: Update copyright dates in example.
12189 * manual/libc.texinfo: Update copyright dates.
12190 * scripts/test-installation.pl: Update copyright date in --version
12191 output.
12192
0e2f9562
JM
12193 * hurd/ctty-input.c: Fix copyright notice formatting.
12194 * hurd/ctty-output.c: Likewise.
12195 * hurd/dtable.c: Likewise.
12196 * hurd/hurd-raise.c: Likewise.
12197 * hurd/hurdprio.c: Likewise.
12198 * hurd/msgportdemux.c: Likewise.
12199 * misc/sys/file.h: Likewise.
12200 * misc/sys/ioctl.h: Likewise.
12201 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12202 * sysdeps/mach/hurd/chdir.c: Likewise.
12203 * sysdeps/mach/hurd/fchdir.c: Likewise.
12204 * sysdeps/mach/hurd/rename.c: Likewise.
12205 * sysdeps/mach/hurd/rmdir.c: Likewise.
12206 * sysdeps/mach/hurd/seekdir.c: Likewise.
12207 * sysdeps/mach/hurd/setsid.c: Likewise.
12208 * sysdeps/posix/wait3.c: Likewise.
12209
568035b7
JM
12210 * All files with FSF copyright notices: Update copyright dates
12211 using scripts/update-copyrights.
12212 * intl/plural.c: Regenerated.
12213 * locale/programs/charmap-kw.h: Likewise.
12214 * locale/programs/locfile-kw.h: Likewise.
12215
da08f647
SP
122162013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12217
0f5477af
SP
12218 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12219 four values.
12220
44e0d4c2
SP
12221 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12222 calculation loop and add branch prediction.
12223
4d55b4e5
SP
12224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12225 check access beyond bounds of m1np.
12226
da08f647
SP
12227 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12228 MPTWO.
12229 (__inv): Remove local variable MPTWO to use the global
12230 constant.
12231 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12232 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12233 variable MPTWO.
12234 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12235 MP3HALFS static const.
12236
8e051029
DM
122372013-01-01 David S. Miller <davem@davemloft.net>
12238
12239 * po/ca.po: Update from translation team.
12240
f4cf5f2d
JM
122412013-01-01 Joseph Myers <joseph@codesourcery.com>
12242
12243 * scripts/update-copyrights: New file.
12244 * Makeconfig: Reformat copyright notice.
12245 * ctype/ctype.h: Likewise.
12246 * debug/swprintf_chk.c: Likewise.
12247 * elf/dl-cache.c: Likewise.
12248 * elf/dl-debug.c: Likewise.
12249 * elf/dl-object.c: Likewise.
12250 * grp/initgroups.c: Likewise.
12251 * hurd/Makefile: Likewise.
12252 * hurd/hurd/signal.h: Likewise.
12253 * hurd/hurdfault.c: Likewise.
12254 * hurd/hurdioctl.c: Likewise.
12255 * hurd/hurdlookup.c: Likewise.
12256 * hurd/intr-msg.c: Likewise.
12257 * iconv/gconv_open.c: Likewise.
12258 * libio/swprintf.c: Likewise.
12259 * locale/lc-ctype.c: Likewise.
12260 * locale/nl_langinfo.c: Likewise.
12261 * mach/Machrules: Likewise.
12262 * mach/Makefile: Likewise.
12263 * malloc/obstack.h: Likewise.
12264 * manual/Makefile: Likewise.
12265 * manual/tsort.awk: Likewise.
12266 * misc/bits/stab.def: Likewise.
12267 * nis/nis_print_group_entry.c: Likewise.
12268 * nis/nis_table.c: Likewise.
12269 * nis/nss_compat/compat-pwd.c: Likewise.
12270 * nis/nss_compat/compat-spwd.c: Likewise.
12271 * po/Makefile: Likewise.
12272 * posix/fnmatch.c: Likewise.
12273 * posix/regex.h: Likewise.
12274 * resolv/Makefile: Likewise.
12275 * resolv/nss_dns/dns-network.c: Likewise.
12276 * resolv/res_hconf.c: Likewise.
12277 * scripts/gen-sorted.awk: Likewise.
12278 * soft-fp/soft-fp.h: Likewise.
12279 * stdio-common/printf.h: Likewise.
12280 * stdlib/monetary.h: Likewise.
12281 * stdlib/random.c: Likewise.
12282 * stdlib/random_r.c: Likewise.
12283 * sysdeps/generic/Makefile: Likewise.
12284 * sysdeps/gnu/Makefile: Likewise.
12285 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12313 * sysdeps/mach/hurd/errnos.awk: Likewise.
12314 * sysdeps/mach/hurd/fork.c: Likewise.
12315 * sysdeps/mach/hurd/getcwd.c: Likewise.
12316 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12317 * sysdeps/mach/hurd/mmap.c: Likewise.
12318 * sysdeps/mach/hurd/utimes.c: Likewise.
12319 * sysdeps/mach/hurd/xmknod.c: Likewise.
12320 * sysdeps/posix/profil.c: Likewise.
12321 * sysdeps/posix/readdir_r.c: Likewise.
12322 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12323 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12324 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12325 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12327 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12328 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12329 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12333 * sysdeps/pthread/lio_listio.c: Likewise.
12334 * sysdeps/sparc/dl-procinfo.h: Likewise.
12335 * sysdeps/unix/i386/sysdep.S: Likewise.
12336 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12337 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12338 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12339 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12341 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12342 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12343 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12344 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12345 * sysdeps/wordsize-32/divdi3.c: Likewise.
12346 * time/sys/time.h: Likewise.
12347 * wcsmbs/Makefile: Likewise.
12348
0549fbba
DM
123492013-01-01 David S. Miller <davem@davemloft.net>
12350
a141f1a7
DM
12351 * po/fr.po: Update from translation team.
12352
0549fbba
DM
12353 * catgets/gencat.c: Update copyright year.
12354 * csu/version.c: Likewise.
12355 * debug/catchsegv.sh: Likewise.
12356 * debug/pcprofiledump.c: Likewise.
12357 * debug/xtrace.sh: Likewise.
12358 * elf/ldconfig.c: Likewise.
12359 * elf/ldd.bash.in: Likewise.
12360 * elf/pldd.c: Likewise.
12361 * elf/sotruss.ksh: Likewise.
12362 * elf/sprof.c: Likewise.
12363 * iconv/iconv_prog.c: Likewise.
12364 * iconv/iconvconfig.c: Likewise.
12365 * locale/programs/locale.c: Likewise.
12366 * locale/programs/localedef.c: Likewise.
12367 * login/programs/pt_chown.c: Likewise.
12368 * malloc/memusage.sh: Likewise.
12369 * malloc/memusagestat.c: Likewise.
12370 * malloc/mtrace.pl: Likewise.
12371 * nscd/nscd.c: Likewise.
12372 * nss/getent.c: Likewise.
12373 * nss/makedb.c: Likewise.
12374 * posix/getconf.c: Likewise.
12375
18ea052c
SP
123762012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12377
12378 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12379 numbers.
12380
9c89fca6
MF
123812012-12-30 Mike Frysinger <vapier@gentoo.org>
12382
12383 * math/bits/mathcalls.h (modf): Use __nonnull.
12384
085ec079
SP
123852012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12386
12387 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12388 (split): Use macro CN instead of the bare value.
12389 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12390 could be used.
12391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12392 instead of the bare value.
12393 (power1): Likewise.
12394
6d9f97e1
SP
123952012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12396
d63f73be
SP
12397 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12398 __ATAN_TWOM.
12399 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12400
6d9f97e1
SP
12401 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12402 their values.
12403 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12404 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12405 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12406 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12407
4c4febf5
AJ
124082012-12-28 Andreas Jaeger <aj@suse.de>
12409
af5843ef
AJ
12410 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12411 values are from Linux 3.7.
12412
4c4febf5
AJ
12413 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12414 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12415
99136f82
SP
124162012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12417
2f216c3c 12418 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12419 TRUE case.
12420
99136f82
SP
12421 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12422 (norm): Likewise.
12423 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12424 variables with preprocessor constants.
12425 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12426 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12427 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12428
7fffbdff
BH
124292012-12-27 Bruno Haible <bruno@clisp.org>
12430
12431 [BZ #14317]
12432 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12433 only if needed.
12434
b76eb5f0
SP
124352012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12436
31a7fe5c
SP
12437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12438 and use variable directly.
12439 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12440
b76eb5f0
SP
12441 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12442 MPONE.
12443 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12444 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12445 variable MPONE.
12446 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12448 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12449 include directive. Remove local variable MPONE.
12450 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12451 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12452 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12453
2c8bfe7d
DM
124542012-12-25 David S. Miller <davem@davemloft.net>
12455
12456 * version.h (RELEASE): Set to "development".
12457 (VERSION): Set to "2.17.90".
12458 * NEWS: Add 2.18 section.
12459
147d03b0
DM
124602012-12-21 David S. Miller <davem@davemloft.net>
12461
12462 * po/hr.po: Update from translation team.
12463
a8ebb2b9
AK
124642012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12465
12466 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12467
95b4f1b6
SE
124682012-12-19 Steve Ellcey <sellcey@mips.com>
12469
b2d94007 12470 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12471
cedb2a90
MS
124722012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12473
12474 * manual/contrib.texi (Contributors): Spelling correction.
12475
bbf527d6
DM
124762012-12-15 David S. Miller <davem@davemloft.net>
12477
12478 * po/ru.po: Update from translation team.
12479
bc38c906
DM
124802012-12-13 David S. Miller <davem@davemloft.net>
12481
85429b1a
DM
12482 * NEWS: Mention IFUNC testsuite enhancements.
12483
d283e353
DM
12484 * po/pl.po: Update from translation team.
12485 * po/bg.po: Likewise.
12486
bc38c906
DM
12487 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12488 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12489
a181b0d7
DM
124902012-12-11 David S. Miller <davem@davemloft.net>
12491
4641d57e
DM
12492 * po/sv.po: Update from translation team.
12493
f7bc6495
DM
12494 * po/vi.po: Update from translation team.
12495
6fc9048f
DM
12496 * po/cs.po: Update from translation team.
12497
a181b0d7
DM
12498 * po/de.po: Update from translation team.
12499 * po/eo.po: Likewise.
12500 * po/nl.po: Likewise.
12501
f70bfe80
SP
125022012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12503
3c8b4190
SP
12504 [BZ #14246]
12505 * manual/argp.texi (Argp Helper Functions): Move node to follow
12506 Argp Parsing State.
12507
f70bfe80
SP
12508 [BZ #14872]
12509 * manual/conf.texi (Limits on File System Capacity): Mention if
12510 terminating null is included in the max size.
12511
188f0adf
AJ
125122012-12-10 Andreas Jaeger <aj@suse.de>
12513
12514 * po/cs.po: Update from translation team.
12515
56e7d3ad
SP
125162012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12517
12518 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12519 void pointer and cast to uintptr_t.
12520 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12521 path.
12522 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12523 * sysdeps/s390/s390-64/memset.S: Likewise.
12524
76f2d2ea 125252012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12526
12527 [BZ #14833]
12528 * menual/message.texi (Message Translation): Fix typos.
12529 (Helper programs for gettext): Likewise.
12530
67cbf9a2
AS
125312012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12532
12533 [BZ #14898]
12534 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12535 Change to -1.
12536
682d0e9a
DM
125372012-12-07 David S. Miller <davem@davemloft.net>
12538
12539 * po/libc.pot: Update.
12540
573cd484
RH
125412012-12-07 Richard Henderson <rth@redhat.com>
12542
7e9da188 12543 [BZ #10114]
573cd484
RH
12544 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12545 normal/normal case to before the switch.
12546 (_FP_DIV): Likewise.
12547
e933a943
MF
125482012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12549 Mike Frysinger <vapier@gentoo.org>
12550
12551 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12552 check for __NR_fadvise64_64.
12553
82123268
CM
125542012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12555
12556 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12557 0, not just to plain "0" as a statement.
12558 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12559 with cw.
12560
d9814526
JM
125612012-12-06 Joseph Myers <joseph@codesourcery.com>
12562
12563 * NEWS: Use sourceware.org in Bugzilla URL.
12564
7728c574
SP
125652012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12566
f16946dd
SP
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12568 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12569
5704bbcb
SP
12570 * stdio-common/tst-put-error.c (do_test): Add newline to the
12571 padded test to ensure flush.
12572
17aa0516
JL
125732012-12-05 Jeff Law <law@redhat.com>
12574
12575 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12576
363313b5
JM
125772012-12-05 Joseph Myers <joseph@codesourcery.com>
12578
effbd42a
JM
12579 * README: Don't refer to ports add-on as distributed separately.
12580 Mention AArch64 in list of systems supported in the ports add-on.
12581
87600365
JM
12582 * LICENSES: Add more non-FSF copyright and license notices.
12583
a0d7066a
JM
12584 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12585 ((unused)).
12586
66ca5a5b
JM
12587 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12588
363313b5
JM
12589 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12590 10000 as width of padded output.
12591
b37984ad
JM
125922012-12-04 Joseph Myers <joseph@codesourcery.com>
12593
9003570a
JM
12594 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12595
b37984ad
JM
12596 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12597 variable LX with __attribute__ ((unused)).
12598 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12599 Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12603 with __attribute__ ((unused)).
12604
c8df52ec
DM
126052012-12-04 David S. Miller <davem@abraco.davemloft.net>
12606
12607 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12608
b3b099af
JM
126092012-12-04 Joseph Myers <joseph@codesourcery.com>
12610
c33aa6e3
JM
12611 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12612 (CFLAGS-nldbl-acos.c): New variable.
12613 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12614 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12615 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12616 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12617 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12618 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12619 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12620 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12621 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12622 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12623 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12624 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12625 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12626 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12627 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12628 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12629 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12630 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12631 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12632 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12633 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12634 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12635 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12636 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12637 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12638 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12639 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12640 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12641 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12642 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12643 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12644 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12645 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12646 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12647 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12648 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12653 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12654 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12655 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12656 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12657 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12658 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12659 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12660 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12661 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12662 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12663 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12664 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12665 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12666 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12667 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12668 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12669 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12670 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12671 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12672 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12673 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12674 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12675 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12676 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12677 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12678 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12679 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12680 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12681 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12682 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12683 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12684 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12685 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12686 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12687 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12688 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12689 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12690 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12691 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12692 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12693 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12694 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12695 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12696 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12697 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12698 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12699 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12700 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12701 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12702 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12703 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12704 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12705 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12706 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12707 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12708 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12709 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12710
20f0018d
JM
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12712 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12713
b3b099af
JM
12714 [BZ #14914]
12715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12716 whole low double instead of just low 47 bits when splitting values
12717 into two parts.
12718
029264d1
AM
127192012-12-03 Allan McRae <allan@archlinux.org>
12720
12721 * manual/stdio.texi (Predefined Printf Handlers): Remove
12722 @hsep and @vsep usage.
12723
c9d6789e
MF
127242012-12-03 Mike Frysinger <vapier@gentoo.org>
12725
12726 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12727 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12728
4b7634a5
JL
127292012-12-03 Jeff Law <law@redhat.com>
12730
12731 * time/sys/time.h (settimeofday): Do not mark TV argument
12732 as __nonnull.
12733
eb6cbd24
MF
127342012-12-01 Mike Frysinger <vapier@gentoo.org>
12735
12736 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12737 when currently writing and seek to current position when not.
12738 * libio/Makefile (tests): Remove bug-fclose1.
12739 * libio/bug-fclose1.c: Delete.
12740
f638872a
JM
127412012-12-01 Joseph Myers <joseph@codesourcery.com>
12742
12743 * manual/arith.texi (feenableexcept): Fix typo.
12744 (fedisableexcept): Likewise.
12745
48085d14
RM
127462012-11-30 Roland McGrath <roland@hack.frob.com>
12747
12748 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12749 second, differently-typed declaration, rather than a cast.
12750
1a538b9f
SP
127512012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12752
12753 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12754 * include/rpc/svc.h: ... here.
12755
d07f2ff1 127562012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12757
12758 [BZ #13013]
12759 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12760 depending n and resplen2 to catch cases where answer
12761 equals answerp2.
12762
c93ec1f0
CD
127632012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12764
12765 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12766 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12767
37db69de
MF
127682012-11-29 Mike Frysinger <vapier@gentoo.org>
12769
12770 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12771
e10c4e4f
RM
127722012-11-29 Roland McGrath <roland@hack.frob.com>
12773
12774 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12775
2af1b328
JL
127762012-11-28 Jeff Law <law@redhat.com>
12777
12778 [BZ #13761]
12779 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12780 dataset_temporary. Track alloca usage into alloca_used.
12781 If dataset is large allocate and release it via malloc/free.
12782
111db5b1
FW
127832012-06-04 Florian Weimer <fweimer@redhat.com>
12784
f06cc227 12785 [BZ #14197]
111db5b1
FW
12786 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12787
dd694abd
DM
127882012-11-28 David S. Miller <davem@davemloft.net>
12789
12790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12791
9984dd01
JM
127922012-11-28 Joseph Myers <joseph@codesourcery.com>
12793
12794 [BZ #14803]
12795 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12796 of pi/2 rounded to nearest to 64 bits.
12797 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12798 nearest to 64 bits.
12799 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12800 bits.
12801
14bc93a9
JL
128022012-11-28 Jeff Law <law@redhat.com>
12803 Martin Osvald <mosvald@redhat.com>
12804
12805 [BZ #14889]
12806 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12807 * sunrpc/svc.c: Include time.h.
12808 (__svc_accept_failed): New function.
12809 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12810 any reason other than EINTR, call __svc_accept_failed.
12811 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12812 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12813
e3c6aa3a
AS
128142012-11-28 Andreas Schwab <schwab@suse.de>
12815
12816 * scripts/abilist.awk: Also handle indirect functions in .opd
12817 section.
12818
1bead169
JM
128192012-11-28 Joseph Myers <joseph@codesourcery.com>
12820
12821 [BZ #13881]
12822 * sysdeps/x86/fpu/powl_helper.c: New file.
12823 * sysdeps/x86/fpu/Makefile: Likewise.
12824 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12825 (p3): New object.
12826 (__ieee754_powl): Use __powl_helper for finite arguments except
12827 integer exponents below 8.
12828 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12829 (p3): New object.
12830 (__ieee754_powl): Use __powl_helper for finite arguments except
12831 integer exponents below 8.
12832 * math/libm-test.inc (pow_test): Add more tests and enable some
12833 previously disabled tests.
12834 * sysdeps/i386/fpu/libm-test-ulps: Update.
12835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12836
0817d63d
SP
128372012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12838 Carlos O'Donell <carlos_odonell@mentor.com>
12839
12840 * nss/makedb.c (is_prime): Assert that input is odd and greater
12841 than 4. Note that fact in a comment too.
12842 (next_prime): Add 4 to input.
12843
de2fd463
SP
128442012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12845
12846 [BZ #11741]
12847 * libio/Makefile (tests): Add test case tst-fwrite-error.
12848 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12849 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12850 * libio/tst-fwrite-error.c: New test case.
12851
c515fb51
L
128522012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12853
12854 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12855 before casting to void *.
12856 * include/libc-internal.h (__pointer_type): New macro.
12857 (__integer_if_pointer_type_sub): Likewise.
12858 (__integer_if_pointer_type): Likewise.
12859 (cast_to_integer): Likewise.
12860 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12861 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12862 before casting to atomic64_t.
12863 (atomic_exchange_acq): Likewise.
12864 (__arch_exchange_and_add_body): Likewise.
12865 (__arch_add_body): Likewise.
12866 (atomic_add_negative): Likewise.
12867 (atomic_add_zero): Likewise.
12868
4cf77aa9
JM
128692012-11-26 Joseph Myers <joseph@codesourcery.com>
12870
12871 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12872 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12873 (add_fdes): Likewise.
12874 (linear_search_fdes): Likewise.
12875 (binary_search_unencoded_fdes): Likewise.
12876
d260b3b4
AS
128772012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12878
12879 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12880
67060746
AC
128812012-11-24 Adam Conrad <adconrad@0c3.net>
12882
12883 * configure.in: Autodetect C++ header directories.
12884 * configure: Regenerated.
12885
800938a1
MF
128862012-11-23 Mike Frysinger <vapier@gentoo.org>
12887
12888 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12889
4e6e34e6
AS
128902012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12891
12892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12893
7c7feb47
JM
128942012-11-22 Joseph Myers <joseph@codesourcery.com>
12895
7184dcdf
JM
12896 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12897 LDBL_MANT_DIG == 106]: Disable some tests.
12898 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12899 Likewise.
12900 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12901 Likewise.
12902
0a42601f
JM
12903 [BZ #14871]
12904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12905 input for small inputs. Return +/- pi/2 for large inputs.
12906 * math/libm-test.inc (atan_test): Add more tests.
12907
79c9b9fe
JM
12908 * sysdeps/generic/unwind-dw2-fde-glibc.c
12909 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12910 __attribute__ ((unused)).
12911
c60d3bf2
JM
12912 [BZ #14645]
12913 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12914 x * y if x and y are nonzero and z is zero.
12915
ef1e0867
JM
12916 [BZ #14811]
12917 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12918 nonzero exponents with absolute value below 0x1p-117 to +/-
12919 0x1p-117.
12920
1468ded3
JM
12921 [BZ #14869]
12922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12923 up arguments below 2**-450, not just those below 2**-500.
12924 * math/libm-test.inc (hypot_test): Add another test.
12925
8e27e3cc
JM
12926 [BZ #14868]
12927 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12928 Return a+b for ratio over 2**120, not 2**60.
12929 * math/libm-test.inc (hypot_test): Add another test.
12930
c9c0279b
JM
12931 * math/libm-test.inc (clog_test): Use
12932 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12933 (clog10_test): Likewise.
12934
7c7feb47
JM
12935 [BZ #6778]
12936 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12937
fff1530e
AS
129382012-11-22 Andreas Schwab <schwab@suse.de>
12939
12940 * sysdeps/i386/fpu/libm-test-ulps: Update.
12941
94558d30
PT
129422012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12943
12944 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12945 printf output with newline.
12946
7e1be741
L
129472012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12948
6bfea974
L
12949 [BZ #14865]
12950 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12951 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12952 -z nodlopen, -z initfirst and -z execstack support.
12953 * configure: Regenerated.
12954
7e1be741
L
12955 * elf/elf.h (DF_1_NODIRECT): New macro.
12956 (DF_1_IGNMULDEF): Likewise.
12957 (DF_1_NOKSYMS): Likewise.
12958 (DF_1_NOHDR): Likewise.
12959 (DF_1_EDITED): Likewise.
12960 (DF_1_NORELOC): Likewise.
12961 (DF_1_SYMINTPOSE): Likewise.
12962 (DF_1_GLOBAUDIT): Likewise.
12963 (DF_1_SINGLETON): Likewise.
12964 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12965 DT_1_SUPPORTED_MASK bits.
12966 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12967
105ce2ce
CD
129682012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12969
12970 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12971
123be9de
TS
129722012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12973
d072f3f7
TS
12974 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12975 macro.
12976
123be9de
TS
12977 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12978 (sendmmsg): Move declarations...
12979 * socket/sys/socket.h: ... here.
12980 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12981 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12982 include it from...
12983 * socket/recvmmsg.c: ... this new file.
12984 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12985 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12986 definition of __sendmmsg hidden.
12987 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12988 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12989 Move ENOSYS stub into and include it from...
12990 * socket/sendmmsg.c: ... this new file.
12991 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12992 (sysdep_routines): Move recvmmsg and sendmmsg...
12993 * socket/Makefile (routines): ... here.
12994 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12995 (GLIBC_PRIVATE): Add __sendmmsg.
12996 * include/sys/socket.h (__sendmmsg): Add declarations.
12997 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12998 sendmmsg.
12999
cf9a5d18
JM
130002012-11-20 Joseph Myers <joseph@codesourcery.com>
13001
13002 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13003 variable I1 with __attribute__ ((unused)).
13004 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13005
ecd4caf9
JM
130062012-11-19 Joseph Myers <joseph@codesourcery.com>
13007
be14d48f
JM
13008 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13009 DUMMY variables with __attribute__ ((unused)).
13010
ecd4caf9
JM
13011 * bits/byteswap.h: Include <bits/types.h>.
13012 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13013
986cab95
PT
130142012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13015
13016 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13017 string_t. Do not manually set errno.
13018 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13019 length with __strnlen. Make sure to both set errno and return it on
13020 failure.
13021
6d33cc9d
DM
130222012-11-19 David S. Miller <davem@davemloft.net>
13023
13024 With help from Joseph Myers.
13025 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13026 very large arguments properly.
13027 * math/libm-test.inc (atan_test): New tests.
13028 (atan2_test): New tests.
13029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13031
ee663277
JM
130322012-11-19 Joseph Myers <joseph@codesourcery.com>
13033
877f2d8e
JM
13034 [BZ #14856]
13035 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13036 Define to 3.
13037
116fc08a
JM
13038 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13039 [POSIX] (EADDRNOTAVAIL): Likewise.
13040 [POSIX] (EAFNOSUPPORT): Likewise.
13041 [POSIX] (EALREADY): Likewise.
13042 [POSIX] (ECONNABORTED): Likewise.
13043 [POSIX] (ECONNREFUSED): Likewise.
13044 [POSIX] (ECONNRESET): Likewise.
13045 [POSIX] (EDESTADDRREQ): Likewise.
13046 [POSIX] (EDQUOT): Likewise.
13047 [POSIX] (EHOSTUNREACH): Likewise.
13048 [POSIX] (EIDRM): Likewise.
13049 [POSIX] (EISCONN): Likewise.
13050 [POSIX] (ELOOP): Likewise.
13051 [POSIX] (EMULTIHOP): Likewise.
13052 [POSIX] (ENETDOWN): Likewise.
13053 [POSIX] (ENETUNREACH): Likewise.
13054 [POSIX] (ENOBUFS): Likewise.
13055 [POSIX] (ENODATA): Likewise.
13056 [POSIX] (ENOLINK): Likewise.
13057 [POSIX] (ENOMSG): Likewise.
13058 [POSIX] (ENOPROTOOPT): Likewise.
13059 [POSIX] (ENOSR): Likewise.
13060 [POSIX] (ENOSTR): Likewise.
13061 [POSIX] (ENOTCONN): Likewise.
13062 [POSIX] (ENOTSOCK): Likewise.
13063 [POSIX] (EOPNOTSUPP): Likewise.
13064 [POSIX] (EOVERFLOW): Likewise.
13065 [POSIX] (EPROTO): Likewise.
13066 [POSIX] (EPROTONOSUPPORT): Likewise.
13067 [POSIX] (EPROTOTYPE): Likewise.
13068 [POSIX] (ESTALE): Likewise.
13069 [POSIX] (ETIME): Likewise.
13070 [POSIX] (ETXTBSY): Likewise.
13071 [POSIX] (EWOULDBLOCK): Likewise.
13072 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13073 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13074 [POSIX] (SEEK_CUR): Likewise.
13075 [POSIX] (SEEK_END): Likewise.
13076 [POSIX || UNIX98] (mode_t): Do not require.
13077 [POSIX] (off_t): Likewise.
13078 [POSIX] (pid_t): Likewise.
13079 [POSIX] (sys/stat.h): Do not allow header.
13080 [POSIX] (unistd.h): Likewise.
13081 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13082 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13083 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13084 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13085 require.
13086 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13087 sigevent): Specify elements.
13088 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13089 entry.
13090 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13091 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13092
a483863f
JM
13093 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13094 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13095 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13096 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13097 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13098 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13099 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13100 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13101 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13102 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13103 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13104 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13105 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13106 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13107 Likewise.
13108 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13109 Likewise.
13110 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13111 Likewise.
13112 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13113 Likewise.
13114 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13115 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13116 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13117 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13118 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13119 Specify lower bound on value.
13120 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13121 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13122 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13123 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13124 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13125 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13126 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13127 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13128 value.
13129 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13130 as optional.
13131 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13132 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13133 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13134 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13135 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13136 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13137 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13138 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13139 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13140 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13141 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13142 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13143 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13144 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13145 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13146 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13147 entry.
13148 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13149 optional.
13150 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13151 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13152 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13153 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13154 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13155 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13156 Likewise.
13157 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13158 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13159 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13160 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13161 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13162 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13163 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13164 as optional.
13165 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13166 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13167 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13168 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13169 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13170 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13171 specify as optional.
13172 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13173 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13174 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13175 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13176 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13177 [XPG3] (NL_LANGMAX): Likewise.
13178 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13179 [POSIX || XPG3] (NL_NMAX): Likewise.
13180 [POSIX || XPG3] (NL_SETMAX): Likewise.
13181 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13182 [XPG3] (NZERO): Likewise.
13183 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13184 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13185 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13186 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13187 (REG_ERANGE): Expect.
13188 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13189 optional-constant.
13190 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13191 Use (void) in prototype.
13192 [POSIX] (*_t): Allow.
13193 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13194 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13195 (WRDE_BADVAL): Expect.
13196
5ba924e3
JM
13197 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13198 expect.
13199 [XPG3 || XPG4] (O_RSYNC): Likewise.
13200 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13201 Likewise.
13202 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13203 [XPG3 || XPG4] (sigqueue): Likewise.
13204 [XPG3 || XPG4] (sigtimedwait): Likewise.
13205 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13206 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13207 [XPG3 || XPG4] (vsnprintf): Likewise.
13208 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13209 Likewise.
13210 [XPG3 || XPG4] (blksize_t): Likewise.
13211 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13212 Likewise.
13213 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13214 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13215 [XPG3 || XPG4] (struct itimerspec): Likewise.
13216 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13217 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13218 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13219 [XPG3 || XPG4] (clockid_t): Likewise.
13220 [XPG3 || XPG4] (timer_t): Likewise.
13221 [XPG3 || XPG4] (clock_getres): Likewise.
13222 [XPG3 || XPG4] (clock_gettime): Likewise.
13223 [XPG3 || XPG4] (clock_settime): Likewise.
13224 [XPG3 || XPG4] (nanosleep): Likewise.
13225 [XPG3 || XPG4] (timer_create): Likewise.
13226 [XPG3 || XPG4] (timer_delete): Likewise.
13227 [XPG3 || XPG4] (timer_gettime): Likewise.
13228 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13229 [XPG3 || XPG4] (timer_settime): Likewise.
13230 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13231 [XPG3 || XPG4] (getlogin_r): Likewise.
13232 [XPG3 || XPG4] (pread): Likewise.
13233 [XPG3 || XPG4] (pthread_atfork): Likewise.
13234 [XPG3 || XPG4] (pwrite): Likewise.
13235
ee663277
JM
13236 [BZ #14835]
13237 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13238 <bits/siginfo.h>.
13239
942caa16
PT
132402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13241
e19af380
PT
13242 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13243 finalizing MALLSTREAM.
13244
942caa16
PT
13245 * sysdeps/mach/hurd/syncfs.c: New file.
13246
cfde9b46
SP
132472012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13248
13249 [BZ #14719]
13250 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13251 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13252 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13253 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13254 (_nss_dns_gethostbyname4_r): Likewise.
13255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13256 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13257
f6da27e5
PH
132582012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13259
13260 [BZ #13763]
13261 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13262
6665d4a2
SM
132632012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13264
1f51ee92
SM
13265 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13266 * elf/cache.c (print_entry): Print ",AArch64" for
13267 FLAG_AARCH64_LIB64
13268
6665d4a2
SM
13269 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13270 * elf/cache.c (print_entry): Print ",hard-float" for
13271 FLAG_ARM_LIBHF.
13272
05b227bd
DM
132732012-11-18 David S. Miller <davem@davemloft.net>
13274
13275 With help from Joseph Myers.
13276 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13277 cutoff to 2**-13.
13278 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13279 cutoff to 2**-25.
13280 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13281 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13282 small.
13283 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13284 * math/libm-test.inc (y0_test): New tests.
13285 (y1_test): New tests.
13286 * sysdeps/i386/fpu/libm-test-ulps: Update.
13287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13289
786b0b67
AS
132902012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13291
13292 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13293 64-bit targets.
13294 * configure: Regenerated.
13295
8e18b86d
DM
132962012-11-17 David S. Miller <davem@davemloft.net>
13297
13298 [BZ #14811]
13299 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13300 nonzero exponents with absolute value below 0x1p-128 to +/-
13301 0x1p-128.
13302
531f1ae0
JM
133032012-11-17 Joseph Myers <joseph@codesourcery.com>
13304
12df29e2
JM
13305 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13306
150dc1a0
JM
13307 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13308
531f1ae0
JM
13309 * posix/getconf-speclist.c: New file.
13310 * posix/posix-envs.def: Likewise.
13311 * posix/confstr.c (START_ENV_GROUP): New macro.
13312 (END_ENV_GROUP): Likewise.
13313 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13314 (KNOWN_PRESENT_ENV_STRING): Likewise.
13315 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13316 (UNKNOWN_ENVIRONMENT): Likewise.
13317 (confstr): Include posix-envs.def instead of handling
13318 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13319 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13320 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13321 (END_ENV_GROUP): Likewise.
13322 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13323 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13324 (UNKNOWN_ENVIRONMENT): Likewise.
13325 (__sysconf): Include posix-envs.def instead of handling associated
13326 cases directly here.
13327 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13328 preprocessing getconf-speclist.c rather than running getconf or
13329 generating empty file.
13330
a93f9cbc
PT
133312012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13332
13333 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13334
d64d9f87
AL
133352012-11-16 Andrej Lajovic <natrij@gmail.com>
13336
13337 [BZ #14672]
13338 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13339
447885eb
DM
133402012-11-16 David S. Miller <davem@davemloft.net>
13341
13342 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13343 smaller than LDBL_EPSILON/2.0L, just return xm1.
13344
bcbf9830
L
133452012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 * elf/tst-array1.c (init): Set constructor priority to 1000.
13348 (fini): Set destructor priority to 1000.
13349 * elf/tst-array2dep.c: Likewise.
13350
2b766585
SP
133512012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13352
13353 [BZ #11741]
13354 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13355 (_IO_new_file_xsputn): Also return EOF if none of the input
13356 data was written when overflow failed.
13357 * libio/iopadn.c (_IO_padn): Likewise.
13358 * libio/iowpadn.c (_IO_wpadn): Likewise.
13359 * stdio-common/tst-put-error.c: Add copyright notice.
13360 (do_test): Add case for printing padded string.
13361 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13362 _IO_padn returned error.
13363 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13364 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13365 return EOF.
13366
b1848fde
SP
133672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13368
13369 * libio/libioP.h: Add comment note that the references to C++
13370 bits are now obsolete.
13371
2fd89785
MS
133722012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13373
13374 * math/libm-test.inc (check_complex): Use asprintf.
13375
e3ea5409
JM
133762012-11-14 Joseph Myers <joseph@codesourcery.com>
13377
13378 * debug/pcprofiledump.c (print_version): Update copyright year.
13379 * malloc/memusagestat.c (print_version): Likewise.
13380
2e64d265
L
133812012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13382
13383 [BZ #14831]
13384 * elf/Makefile (tests): Add tst-audit8.
13385 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13386 ($(objpfx)tst-audit8.out): New target.
13387 (tst-audit8-ENV): New variable.
13388 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13389 audit if l_reloc_result is NULL.
13390 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13391 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13392 * elf/tst-audit8.c: New file.
13393
c485e4d2
MS
133942012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13395
13396 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13397 * misc/Makefile (CFLAGS-select.c): Define.
13398 * posix/Makefile (CFLAGS-pause.c): Define.
13399
3a0d900a
DM
134002012-11-13 David S. Miller <davem@davemloft.net>
13401
13402 * crypt/Makefile: Move test targets after toplevel Rules
13403 inclusion. Grab any necessary sysdep routines when linking.
13404 * crypt/md5.c (md5_process_block): Remove define, we will always
13405 name it __md5_process_block.
13406 (md5_finish_ctx): Update md5_process_block call.
13407 (md5_stream): Likewise.
13408 (md5_process_bytes): Likewise.
13409 (md5_process_block): Rename to __md5_process_block and move to ...
13410 * crypt/md5-block.c: ... here.
13411 * crypt/sha256.c (sha256_process_block): Move to ...
13412 * crypt/sha256-block.c: ... here.
13413 * crypt/sha512.c (sha512_process_block): Move to ...
13414 * crypt/sha512-block.c: ... here.
13415 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13416 path.
13417 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13418 * sysdeps/sparc/sparc64/multiarch/Makefile
13419 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13420 crypt subdir.
13421 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13422 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13423 multiarch changes.
13424 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13425 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13426 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13427 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13428 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13429 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13430 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13431 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13432 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13433 file.
13434 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13435 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13436 file.
13437 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13438
8ca89318
JM
134392012-11-13 Joseph Myers <joseph@codesourcery.com>
13440
e27d476a
JM
13441 * timezone/tzselect.ksh: Update from tzcode git revision
13442 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13443 * timezone/zdump.c: Likewise.
13444 * timezone/zic.c: Likewise.
13445 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13446 in TZVERSION setting, not $(PKGVERSION).
13447 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13448 REPORT_BUGS_TO settings.
13449
8ca89318
JM
13450 [BZ #14838]
13451 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13452 macro.
13453
47594329
MS
134542012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13455
13456 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13457 detection to immediately after _FP_ROUND().
13458 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13459 bits are 0.
13460
640ac3f1
DM
134612012-11-11 David S. Miller <davem@davemloft.net>
13462
13463 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13464 inttypes.h
13465 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13466 __close rather than their public counterparts.
13467
3d2577bb
JM
134682012-11-10 Joseph Myers <joseph@codesourcery.com>
13469
13470 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13471 file.
13472 [UNIX98] (sem_timedwait): Do not expect.
13473 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13474 [XPG4 || UNIX98] (sockatmark): Do not expect.
13475 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13476 (clock_getcpuclockid): Do not expect.
13477 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13478 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13479 Do not expect.
13480 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13481 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13482 [UNIX98] (vwscanf): Likewise.
13483 [UNIX98] (vswscanf): Likewise.
13484
fb1ae1ee
JM
134852012-11-09 Joseph Myers <joseph@codesourcery.com>
13486
9ec6f8bd
JM
13487 * timezone/version.h: Remove file.
13488 * timezone/README: Do not refer to version.h.
13489 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13490 $(objpfx)version.h.
13491 ($(objpfx)zdump.o): Likewise.
c3f81911 13492 ($(objpfx)version.h): New target.
9ec6f8bd 13493
0aa8f8a1
JM
13494 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13495 2012i.
13496 * timezone/README: Don't mention modification to tzselect.ksh.
13497 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13498 work on unmodified tzselect.ksh. Substitute version numbers in
13499 tzselect.ksh.
13500
4e87147f
JM
13501 * Makefile (format-me): Remove.
13502 (INSTALL): Adjust indentation. Use commands directly instead of
13503 using $(format-me).
13504
8b748aed
JM
13505 * aclocal.m4 (ACX_PKGVERSION): New macro.
13506 (ACX_BUGURL): Likewise.
13507 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13508 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13509 (REPORT_BUGS_TO): Likewise.
13510 * configure: Regenerated.
13511 * config.h.in (PKGVERSION): New macro.
13512 (REPORT_BUGS_TO): Likewise.
13513 * config.make.in (PKGVERSION): New variable.
13514 (PKGVERSION_TEXI): Likewise.
13515 (REPORT_BUGS_TO): Likewise.
13516 (REPORT_BUGS_TEXI): Likewise.
13517 * Makefile (format-me): Use -I$(common-objpfx)manual.
13518 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13519 ($(common-objpfx)manual/%): New target.
13520 (manual/%): Remove target.
13521 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13522 (print_version): Use PKGVERSION.
13523 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13524 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13525 and REPORT_BUGS_TO.
13526 ($(objpfx)xtrace): Likewise.
13527 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13528 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13529 (print_version): Use PKGVERSION.
13530 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13531 (do_version): Use PKGVERSION.
13532 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13533 REPORT_BUGS_TO.
13534 (common-ldd-rewrite): Likewise.
13535 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13536 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13537 (print_version): Use PKGVERSION.
13538 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13539 * elf/pldd.c (argp_program_bug_address): Remove variable.
13540 (more_help): New function.
13541 (argp): Use more_help.
13542 (print_version): Use PKGVERSION.
13543 * elf/sln.c (main): Use PKGVERSION.
13544 (usage): Use REPORT_BUGS_TO.
13545 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13546 (top level): Use PKGVERSION.
13547 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13548 (print_version): Use PKGVERSION.
13549 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13550 (print_version): Use PKGVERSION.
13551 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13552 (print_version): Use PKGVERSION.
13553 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13554 (print_version): Use PKGVERSION.
13555 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13556 (print_version): Use PKGVERSION.
13557 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13558 (print_version): Use PKGVERSION.
13559 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13560 and BUGURL.
13561 ($(objpfx)memusage): Likewise.
13562 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13563 (do_version): Use PKGVERSION.
13564 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13565 (print_version): Use PKGVERSION.
13566 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13567 ($PKGVERSION): New variable.
13568 ($REPORT_BUGS_TO): Likewise.
13569 (usage): Use $REPORT_BUGS_TO.
13570 (top level): Use $PKGVERSION.
13571 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13572 ($(objpfx)pkgvers.texi): New rule.
13573 ($(objpfx)stamp-pkgvers): Likewise.
13574 * manual/install.texi: Include pkgvers.texi.
13575 (--with-pkgversion): Document new configure option.
13576 (--with-bugurl): Likewise.
13577 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13578 than necessarily for this particular distribution. Use
13579 REPORT_BUGS_TO for where to report bugs.
13580 * INSTALL: Regenerated.
13581 * manual/libc.texinfo: Include pkgvers.texi.
13582 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13583 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13584 (print_version): Use PKGVERSION.
13585 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13586 (print_version): Use PKGVERSION.
13587 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13588 (print_version): Use PKGVERSION.
13589 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13590 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13591 macro.
13592 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13593 (print_version): Use PKGVERSION.
13594 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13595 (print_version): Use PKGVERSION.
13596 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13597 and PKGVERSION.
13598
92e4b6a9
JM
13599 * timezone/checktab.awk: Update from tzcode 2012i.
13600 * timezone/ialloc.c: Likewise.
13601 * timezone/private.h: Likewise.
13602 * timezone/scheck.c: Likewise.
13603 * timezone/tzfile.h: Likewise.
13604 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13605 (TZVERSION): Hardcode tzcode version number.
13606 * timezone/zdump.c: Update from tzcode 2012i.
13607 * timezone/zic.c: Likewise.
13608 * timezone/version.h: New file.
13609 * timezone/README: Describe version.h. Update upstream location.
13610
9bde902c
JM
13611 [BZ #14824]
13612 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13613 (mktemp): Enable declaration.
13614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13618 Likewise.
13619 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13620 Likewise.
13621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13622 Likewise.
13623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13624 Likewise.
13625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13626 Likewise.
13627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13628 Likewise.
13629
fb1ae1ee
JM
13630 [BZ #14821]
13631 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13632 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13633 for copies of such integer values.
13634 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13635 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13636
2c1adbcb
AJ
136372012-11-09 Andreas Jaeger <aj@suse.de>
13638
13639 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13640 definitions and declarations that are provided by
13641 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13642
d0f8457e
AK
136432012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13644
3a235abb 13645 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13646 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13647 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13648 definition.
13649
57241e26
MS
136502012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13651
13652 * elf/elf.h: Update comment before AArch64 relocations.
13653
60e8270d
DM
136542012-11-07 David S. Miller <davem@davemloft.net>
13655
13656 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13657 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13658 (__start_context): Declare.
13659 (__makecontext_ret): Delete.
13660 (__makecontext): Hook up __start_context instead of
13661 __makecontext_ret.
13662 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13663 (sysdep_routines): Add __start_context when in stdlib.
13664
0fbb0fbc
JM
136652012-11-07 Joseph Myers <joseph@codesourcery.com>
13666
13667 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13668 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13669 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13670 hardcoded "nm".
13671 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13672 (READELF): New variable. Use it instead of hardcoded "readelf".
13673
eb48db7e
L
136742012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13675
13676 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13677 * sysdeps/x86/Makefile: Here.
13678 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13679 * sysdeps/x86/tst-xmmymm.sh: This.
13680
05bcf62a
JM
136812012-11-07 Joseph Myers <joseph@codesourcery.com>
13682
c4b6cf53
JM
13683 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13684 expectations.
13685 [UNIX98] (pthread_barrier_t): Do not expect.
13686 [UNIX98] (pthread_barrierattr_t): Likewise.
13687 [UNIX98] (pthread_spinlock_t): Likewise.
13688 [UNIX98] (pthread_barrier_destroy): Likewise.
13689 [UNIX98] (pthread_barrier_init): Likewise.
13690 [UNIX98] (pthread_barrier_wait): Likewise.
13691 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13692 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13693 [UNIX98] (pthread_barrierattr_init): Likewise.
13694 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13695 [UNIX98] (pthread_getcpuclockid): Likewise.
13696 [UNIX98] (pthread_mutex_timedlock): Likewise.
13697 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13698 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13699 [UNIX98] (pthread_sigmask): Likewise.
13700 [UNIX98] (pthread_spin_destroy): Likewise.
13701 [UNIX98] (pthread_spin_init): Likewise.
13702 [UNIX98] (pthread_spin_lock): Likewise.
13703 [UNIX98] (pthread_spin_trylock): Likewise.
13704 [UNIX98] (pthread_spin_unlock): Likewise.
13705 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13706 Do not expect.
13707 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13708 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13709 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13710 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13711 [XPG3 || XPG4] (pthread_key_t): Likewise.
13712 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13713 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13714 [XPG3 || XPG4] (pthread_once_t): Likewise.
13715 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13716 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13717 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13718 [XPG3 || XPG4] (pthread_t): Likewise.
13719
cbe6e120
JM
13720 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13721 not expect.
13722 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13723
1b126443
JM
13724 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13725 Change function return type to int.
13726
b961a573
JM
13727 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13728 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13729 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13730 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13731 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13732 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13733 [!POSIX] (posix_madvise): Likewise.
13734 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13735 && !UNIX98].
13736 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13737 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13738 (mode_t): Likewise.
13739 (posix_mem_offset): Likewise.
13740 (posix_typed_mem_get_info): Likewise.
13741 (posix_typed_mem_open): Likewise.
13742
9e188909
JM
13743 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13744 Change condition to [XOPEN2K8].
13745
05bcf62a
JM
13746 * conform/conformtest.pl: Preprocess allow-header data with -x c
13747 instead of from stdin.
13748 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13749 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13750 [C99-based standards] (cerfc): Likewise.
13751 [C99-based standards] (cexp2): Likewise.
13752 [C99-based standards] (cexpm1): Likewise.
13753 [C99-based standards] (clog10): Likewise.
13754 [C99-based standards] (clog1p): Likewise.
13755 [C99-based standards] (clog2): Likewise.
13756 [C99-based standards] (clgamma): Likewise.
13757 [C99-based standards] (ctgamma): Likewise.
13758 [C99-based standards] (cerff): Likewise.
13759 [C99-based standards] (cerfcf): Likewise.
13760 [C99-based standards] (cexp2f): Likewise.
13761 [C99-based standards] (cexpm1f): Likewise.
13762 [C99-based standards] (clog10f): Likewise.
13763 [C99-based standards] (clog1pf): Likewise.
13764 [C99-based standards] (clog2f): Likewise.
13765 [C99-based standards] (clgammaf): Likewise.
13766 [C99-based standards] (ctgammaf): Likewise.
13767 [C99-based standards] (cerfl): Likewise.
13768 [C99-based standards] (cerfcl): Likewise.
13769 [C99-based standards] (cexp2l): Likewise.
13770 [C99-based standards] (cexpm1l): Likewise.
13771 [C99-based standards] (clog10l): Likewise.
13772 [C99-based standards] (clog1pl): Likewise.
13773 [C99-based standards] (clog2l): Likewise.
13774 [C99-based standards] (clgammal): Likewise.
13775 [C99-based standards] (ctgammal): Likewise.
13776 * conform/data/inttypes.h-data [C99-based standards]: Include
13777 stdint.h-data. Remove all expectations for stdint.h contents.
13778 [C99-based standards] (PRI*): Do not allow.
13779 [C99-based standards] (SCN*): Likewise.
13780 [C99-based standards] (*_t): Likewise.
13781 [C99-based-standards] (PRId8): Expect macro.
13782 [C99-based-standards] (PRIi8): Likewise.
13783 [C99-based-standards] (PRIo8): Likewise.
13784 [C99-based-standards] (PRIu8): Likewise.
13785 [C99-based-standards] (PRIx8): Likewise.
13786 [C99-based-standards] (PRIX8): Likewise.
13787 [C99-based-standards] (SCNd8): Likewise.
13788 [C99-based-standards] (SCNi8): Likewise.
13789 [C99-based-standards] (SCNo8): Likewise.
13790 [C99-based-standards] (SCNu8): Likewise.
13791 [C99-based-standards] (SCNx8): Likewise.
13792 [C99-based-standards] (PRIdLEAST8): Likewise.
13793 [C99-based-standards] (PRIiLEAST8): Likewise.
13794 [C99-based-standards] (PRIoLEAST8): Likewise.
13795 [C99-based-standards] (PRIuLEAST8): Likewise.
13796 [C99-based-standards] (PRIxLEAST8): Likewise.
13797 [C99-based-standards] (PRIXLEAST8): Likewise.
13798 [C99-based-standards] (SCNdLEAST8): Likewise.
13799 [C99-based-standards] (SCNiLEAST8): Likewise.
13800 [C99-based-standards] (SCNoLEAST8): Likewise.
13801 [C99-based-standards] (SCNuLEAST8): Likewise.
13802 [C99-based-standards] (SCNxLEAST8): Likewise.
13803 [C99-based-standards] (PRIdFAST8): Likewise.
13804 [C99-based-standards] (PRIiFAST8): Likewise.
13805 [C99-based-standards] (PRIoFAST8): Likewise.
13806 [C99-based-standards] (PRIuFAST8): Likewise.
13807 [C99-based-standards] (PRIxFAST8): Likewise.
13808 [C99-based-standards] (PRIXFAST8): Likewise.
13809 [C99-based-standards] (SCNdFAST8): Likewise.
13810 [C99-based-standards] (SCNiFAST8): Likewise.
13811 [C99-based-standards] (SCNoFAST8): Likewise.
13812 [C99-based-standards] (SCNuFAST8): Likewise.
13813 [C99-based-standards] (SCNxFAST8): Likewise.
13814 [C99-based-standards] (PRId16): Likewise.
13815 [C99-based-standards] (PRIi16): Likewise.
13816 [C99-based-standards] (PRIo16): Likewise.
13817 [C99-based-standards] (PRIu16): Likewise.
13818 [C99-based-standards] (PRIx16): Likewise.
13819 [C99-based-standards] (PRIX16): Likewise.
13820 [C99-based-standards] (SCNd16): Likewise.
13821 [C99-based-standards] (SCNi16): Likewise.
13822 [C99-based-standards] (SCNo16): Likewise.
13823 [C99-based-standards] (SCNu16): Likewise.
13824 [C99-based-standards] (SCNx16): Likewise.
13825 [C99-based-standards] (PRIdLEAST16): Likewise.
13826 [C99-based-standards] (PRIiLEAST16): Likewise.
13827 [C99-based-standards] (PRIoLEAST16): Likewise.
13828 [C99-based-standards] (PRIuLEAST16): Likewise.
13829 [C99-based-standards] (PRIxLEAST16): Likewise.
13830 [C99-based-standards] (PRIXLEAST16): Likewise.
13831 [C99-based-standards] (SCNdLEAST16): Likewise.
13832 [C99-based-standards] (SCNiLEAST16): Likewise.
13833 [C99-based-standards] (SCNoLEAST16): Likewise.
13834 [C99-based-standards] (SCNuLEAST16): Likewise.
13835 [C99-based-standards] (SCNxLEAST16): Likewise.
13836 [C99-based-standards] (PRIdFAST16): Likewise.
13837 [C99-based-standards] (PRIiFAST16): Likewise.
13838 [C99-based-standards] (PRIoFAST16): Likewise.
13839 [C99-based-standards] (PRIuFAST16): Likewise.
13840 [C99-based-standards] (PRIxFAST16): Likewise.
13841 [C99-based-standards] (PRIXFAST16): Likewise.
13842 [C99-based-standards] (SCNdFAST16): Likewise.
13843 [C99-based-standards] (SCNiFAST16): Likewise.
13844 [C99-based-standards] (SCNoFAST16): Likewise.
13845 [C99-based-standards] (SCNuFAST16): Likewise.
13846 [C99-based-standards] (SCNxFAST16): Likewise.
13847 [C99-based-standards] (PRId32): Likewise.
13848 [C99-based-standards] (PRIi32): Likewise.
13849 [C99-based-standards] (PRIo32): Likewise.
13850 [C99-based-standards] (PRIu32): Likewise.
13851 [C99-based-standards] (PRIx32): Likewise.
13852 [C99-based-standards] (PRIX32): Likewise.
13853 [C99-based-standards] (SCNd32): Likewise.
13854 [C99-based-standards] (SCNi32): Likewise.
13855 [C99-based-standards] (SCNo32): Likewise.
13856 [C99-based-standards] (SCNu32): Likewise.
13857 [C99-based-standards] (SCNx32): Likewise.
13858 [C99-based-standards] (PRIdLEAST32): Likewise.
13859 [C99-based-standards] (PRIiLEAST32): Likewise.
13860 [C99-based-standards] (PRIoLEAST32): Likewise.
13861 [C99-based-standards] (PRIuLEAST32): Likewise.
13862 [C99-based-standards] (PRIxLEAST32): Likewise.
13863 [C99-based-standards] (PRIXLEAST32): Likewise.
13864 [C99-based-standards] (SCNdLEAST32): Likewise.
13865 [C99-based-standards] (SCNiLEAST32): Likewise.
13866 [C99-based-standards] (SCNoLEAST32): Likewise.
13867 [C99-based-standards] (SCNuLEAST32): Likewise.
13868 [C99-based-standards] (SCNxLEAST32): Likewise.
13869 [C99-based-standards] (PRIdFAST32): Likewise.
13870 [C99-based-standards] (PRIiFAST32): Likewise.
13871 [C99-based-standards] (PRIoFAST32): Likewise.
13872 [C99-based-standards] (PRIuFAST32): Likewise.
13873 [C99-based-standards] (PRIxFAST32): Likewise.
13874 [C99-based-standards] (PRIXFAST32): Likewise.
13875 [C99-based-standards] (SCNdFAST32): Likewise.
13876 [C99-based-standards] (SCNiFAST32): Likewise.
13877 [C99-based-standards] (SCNoFAST32): Likewise.
13878 [C99-based-standards] (SCNuFAST32): Likewise.
13879 [C99-based-standards] (SCNxFAST32): Likewise.
13880 [C99-based-standards] (PRId64): Likewise.
13881 [C99-based-standards] (PRIi64): Likewise.
13882 [C99-based-standards] (PRIo64): Likewise.
13883 [C99-based-standards] (PRIu64): Likewise.
13884 [C99-based-standards] (PRIx64): Likewise.
13885 [C99-based-standards] (PRIX64): Likewise.
13886 [C99-based-standards] (SCNd64): Likewise.
13887 [C99-based-standards] (SCNi64): Likewise.
13888 [C99-based-standards] (SCNo64): Likewise.
13889 [C99-based-standards] (SCNu64): Likewise.
13890 [C99-based-standards] (SCNx64): Likewise.
13891 [C99-based-standards] (PRIdLEAST64): Likewise.
13892 [C99-based-standards] (PRIiLEAST64): Likewise.
13893 [C99-based-standards] (PRIoLEAST64): Likewise.
13894 [C99-based-standards] (PRIuLEAST64): Likewise.
13895 [C99-based-standards] (PRIxLEAST64): Likewise.
13896 [C99-based-standards] (PRIXLEAST64): Likewise.
13897 [C99-based-standards] (SCNdLEAST64): Likewise.
13898 [C99-based-standards] (SCNiLEAST64): Likewise.
13899 [C99-based-standards] (SCNoLEAST64): Likewise.
13900 [C99-based-standards] (SCNuLEAST64): Likewise.
13901 [C99-based-standards] (SCNxLEAST64): Likewise.
13902 [C99-based-standards] (PRIdFAST64): Likewise.
13903 [C99-based-standards] (PRIiFAST64): Likewise.
13904 [C99-based-standards] (PRIoFAST64): Likewise.
13905 [C99-based-standards] (PRIuFAST64): Likewise.
13906 [C99-based-standards] (PRIxFAST64): Likewise.
13907 [C99-based-standards] (PRIXFAST64): Likewise.
13908 [C99-based-standards] (SCNdFAST64): Likewise.
13909 [C99-based-standards] (SCNiFAST64): Likewise.
13910 [C99-based-standards] (SCNoFAST64): Likewise.
13911 [C99-based-standards] (SCNuFAST64): Likewise.
13912 [C99-based-standards] (SCNxFAST64): Likewise.
13913 [C99-based-standards] (PRIdMAX): Likewise.
13914 [C99-based-standards] (PRIiMAX): Likewise.
13915 [C99-based-standards] (PRIoMAX): Likewise.
13916 [C99-based-standards] (PRIuMAX): Likewise.
13917 [C99-based-standards] (PRIxMAX): Likewise.
13918 [C99-based-standards] (PRIXMAX): Likewise.
13919 [C99-based-standards] (SCNdMAX): Likewise.
13920 [C99-based-standards] (SCNiMAX): Likewise.
13921 [C99-based-standards] (SCNoMAX): Likewise.
13922 [C99-based-standards] (SCNuMAX): Likewise.
13923 [C99-based-standards] (SCNxMAX): Likewise.
13924 [C99-based-standards] (PRIdPTR): Likewise.
13925 [C99-based-standards] (PRIiPTR): Likewise.
13926 [C99-based-standards] (PRIoPTR): Likewise.
13927 [C99-based-standards] (PRIuPTR): Likewise.
13928 [C99-based-standards] (PRIxPTR): Likewise.
13929 [C99-based-standards] (PRIXPTR): Likewise.
13930 [C99-based-standards] (SCNdPTR): Likewise.
13931 [C99-based-standards] (SCNiPTR): Likewise.
13932 [C99-based-standards] (SCNoPTR): Likewise.
13933 [C99-based-standards] (SCNuPTR): Likewise.
13934 [C99-based-standards] (SCNxPTR): Likewise.
13935 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13936 allow.
13937 * conform/data/stdint.h-data: Update comments to clarify
13938 requirements.
13939 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13940 type.
13941 [C99-based standards] (INT8_MAX): Likewise.
13942 [C99-based standards] (INT16_MIN): Likewise.
13943 [C99-based standards] (INT16_MAX): Likewise.
13944 [C99-based standards] (INT32_MIN): Likewise.
13945 [C99-based standards] (INT32_MAX): Likewise.
13946 [C99-based standards] (INT64_MIN): Likewise.
13947 [C99-based standards] (INT64_MAX): Likewise.
13948 [C99-based standards] (UINT8_MAX): Likewise.
13949 [C99-based standards] (UINT16_MAX): Likewise.
13950 [C99-based standards] (UINT32_MAX): Likewise.
13951 [C99-based standards] (UINT64_MAX): Likewise.
13952 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13953 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13954 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13955 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13956 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13957 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13958 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13959 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13960 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13961 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13962 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13963 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13964 [C99-based standards] (INT_FAST8_MIN): Likewise.
13965 [C99-based standards] (INT_FAST8_MAX): Likewise.
13966 [C99-based standards] (INT_FAST16_MIN): Likewise.
13967 [C99-based standards] (INT_FAST16_MAX): Likewise.
13968 [C99-based standards] (INT_FAST32_MIN): Likewise.
13969 [C99-based standards] (INT_FAST32_MAX): Likewise.
13970 [C99-based standards] (INT_FAST64_MIN): Likewise.
13971 [C99-based standards] (INT_FAST64_MAX): Likewise.
13972 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13973 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13974 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13975 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13976 [C99-based standards] (INTPTR_MIN): Likewise.
13977 [C99-based standards] (INTPTR_MAX): Likewise.
13978 [C99-based standards] (UINTPTR_MAX): Likewise.
13979 [C99-based standards] (INTMAX_MIN): Likewise.
13980 [C99-based standards] (INTMAX_MAX): Likewise.
13981 [C99-based standards] (UINTMAX_MAX): Likewise.
13982 [C99-based standards] (PTRDIFF_MIN): Likewise.
13983 [C99-based standards] (PTRDIFF_MAX): Likewise.
13984 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13985 [C99-based standards] (SIZE_MAX): Likewise.
13986 [C99-based standards] (WCHAR_MAX): Likewise.
13987 [C99-based standards] (WINT_MAX): Likewise.
13988 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13989 constraint on value.
13990 [C99-based standards] (WCHAR_MIN): Likewise.
13991 [C99-based standards] (WINT_MIN): Likewise.
13992 [C99-based standards] (*_t): Allow.
13993 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13994 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13995 Include math.h-data and complex.h-data. Remove all expectations
13996 of math.h and complex.h contents.
13997 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13998 at end of line.
13999 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14000 (struct tm): Expect tag.
14001 [C99-based-standards] (wcstof): Expect function.
14002 [C99-based-standards] (wcstold): Likewise.
14003 [C99-based-standards] (wcstoll): Likewise.
14004 [C99-based-standards] (wcstoull): Likewise.
14005 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14006 macro-int-constant. Specify type.
14007 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14008 constraint on value.
14009 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14010 Specify type.
14011 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14012 Specify value.
14013 [ISO C standards]: Do not allow headers.
14014 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14015 wcs[abcdefghijklmnopqrstuvwxyz]*.
14016 [ISO C standards] (*_t): Do not allow.
14017 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14018 Expect function.
14019 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14020 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14021 Specify type.
14022 [ISO C standards]: Do not allow headers.
14023 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14024 is[abcdefghijklmnopqrstuvwxyz]*.
14025 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14026 to[abcdefghijklmnopqrstuvwxyz]*.
14027 [ISO C standards] (*_t): Do not allow.
14028 * conform/data/stdalign.h-data: New file.
14029 * conform/data/stdbool.h-data: Likewise.
14030 * conform/data/stdnoreturn.h-data: Likewise.
14031
7514feb8
RM
140322012-11-07 Roland McGrath <roland@hack.frob.com>
14033
14034 [BZ #14815]
14035 * manual/filesys.texi (Directory Entries): Typo fix.
14036 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14037
19b2ecfc
MS
140382012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14039
14040 * elf/elf.h (EM_AARCH64): New macro.
14041 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14042 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14043 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14044 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14045 (R_AARCH64_TLSDESC): Likewise.
14046 (NT_ARM_TLS): Likewise.
14047 (NT_ARM_HW_BREAK): Likewise.
14048 (NT_ARM_HW_WATCH): Likewise.
14049
60e235ee
JM
140502012-11-07 Joseph Myers <joseph@codesourcery.com>
14051
14052 [BZ #14811]
14053 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14054 (__ieee754_powl): Saturate nonzero exponents with absolute value
14055 below 0x1p-79 to +/- 0x1p-79.
14056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14057 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14058 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14059 nonzero exponents with absolute value below 0x1p-32 to +/-
14060 0x1p-32.
14061 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14062 (__ieee754_powl): Saturate nonzero exponents with absolute value
14063 below 0x1p-79 to +/- 0x1p-79.
14064 * math/libm-test.inc (pow_test): Add more tests.
14065
0ab234b7
AK
140662012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14067
14068 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14069 _dl_s390_cap_flags with kernel. Increase string length.
14070 (_dl_s390_platforms): Add z196 and zEC12.
14071
45832f74
JM
140722012-11-07 Joseph Myers <joseph@codesourcery.com>
14073
14074 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14075 Change XOPEN21K to XOPEN2K.
14076
19218757
MK
140772012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14078
14079 * string/memmove.c: Use memcpy when possible.
14080
c5f45721
AJ
140812012-11-06 Andreas Jaeger <aj@suse.de>
14082
14083 * po/eo.po: Update from translation team.
14084
82477c28
JM
140852012-11-06 Joseph Myers <joseph@codesourcery.com>
14086
14087 [BZ #14793]
14088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14089 exponent and small x and y exponents, scale x or y up. Increase
14090 by 2 the exponent used in scaling up.
14091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14093 * math/libm-test.inc (fma_test): Add more tests.
14094 (fma_test_towardzero): Likewise.
14095 (fma_test_downward): Likewise.
14096 (fma_test_upward): Likewise.
14097
99252c8c
JM
140982012-11-05 Joseph Myers <joseph@codesourcery.com>
14099
acfa885f
JM
14100 [BZ #14805]
14101 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14102 fenv_t *.
14103
99252c8c
JM
14104 [BZ #14801]
14105 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14106 namespace for names of struct fields.
14107 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14108 fenv_t fields.
14109 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14110 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14111
d6d98dea
ST
141122012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14113
14114 [BZ #3665]
14115 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14116
e10bb107
TS
141172012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14118
14119 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14120 PTR_DEMANGLE.
14121
14122 [BZ #5246]
14123 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14124 PTR_DEMANGLE.
14125
a0c2940d
JM
141262012-11-04 Joseph Myers <joseph@codesourcery.com>
14127
14128 [BZ #14797]
14129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14130 definitely overflow as x * y not x * y + z.
14131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14132 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14133 * math/libm-test.inc (fma_test): Add more tests.
14134 (fma_test_towardzero): Likewise.
14135 (fma_test_downward): Likewise.
14136 (fma_test_upward): Likewise.
14137
b830319d
TS
141382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14139
14140 [BZ #157]
14141
14142 * include/stub-tag.h: Remove file.
14143 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14144 '#include' of it.
14145 * manual/maint.texi (Porting): Don't reference it.
14146 * Makerules ($(objpfx)stubs): Likewise.
14147 * dirent/closedir.c: Don't include <stub-tag.h>.
14148 * dirent/dirfd.c: Likewise.
14149 * dirent/fdopendir.c: Likewise.
14150 * dirent/getdents.c: Likewise.
14151 * dirent/getdents64.c: Likewise.
14152 * dirent/opendir.c: Likewise.
14153 * dirent/readdir.c: Likewise.
14154 * dirent/readdir64.c: Likewise.
14155 * dirent/readdir64_r.c: Likewise.
14156 * dirent/readdir_r.c: Likewise.
14157 * dirent/rewinddir.c: Likewise.
14158 * dirent/seekdir.c: Likewise.
14159 * dirent/telldir.c: Likewise.
14160 * gmon/profil.c: Likewise.
14161 * grp/setgroups.c: Likewise.
14162 * inet/if_index.c: Likewise.
14163 * io/access.c: Likewise.
14164 * io/chdir.c: Likewise.
14165 * io/chmod.c: Likewise.
14166 * io/chown.c: Likewise.
14167 * io/close.c: Likewise.
14168 * io/dup.c: Likewise.
14169 * io/dup2.c: Likewise.
14170 * io/dup3.c: Likewise.
14171 * io/euidaccess.c: Likewise.
14172 * io/faccessat.c: Likewise.
14173 * io/fchdir.c: Likewise.
14174 * io/fchmod.c: Likewise.
14175 * io/fchmodat.c: Likewise.
14176 * io/fchown.c: Likewise.
14177 * io/fchownat.c: Likewise.
14178 * io/fcntl.c: Likewise.
14179 * io/flock.c: Likewise.
14180 * io/fstatfs.c: Likewise.
14181 * io/fstatfs64.c: Likewise.
14182 * io/fstatvfs.c: Likewise.
14183 * io/fstatvfs64.c: Likewise.
14184 * io/futimens.c: Likewise.
14185 * io/fxstat.c: Likewise.
14186 * io/fxstat64.c: Likewise.
14187 * io/fxstatat.c: Likewise.
14188 * io/fxstatat64.c: Likewise.
14189 * io/getcwd.c: Likewise.
14190 * io/isatty.c: Likewise.
14191 * io/lchmod.c: Likewise.
14192 * io/lchown.c: Likewise.
14193 * io/link.c: Likewise.
14194 * io/linkat.c: Likewise.
14195 * io/lseek.c: Likewise.
14196 * io/lseek64.c: Likewise.
14197 * io/lxstat64.c: Likewise.
14198 * io/mkdir.c: Likewise.
14199 * io/mkdirat.c: Likewise.
14200 * io/mkfifo.c: Likewise.
14201 * io/mkfifoat.c: Likewise.
14202 * io/open.c: Likewise.
14203 * io/open64.c: Likewise.
14204 * io/openat.c: Likewise.
14205 * io/openat64.c: Likewise.
14206 * io/pipe.c: Likewise.
14207 * io/pipe2.c: Likewise.
14208 * io/poll.c: Likewise.
14209 * io/posix_fadvise.c: Likewise.
14210 * io/posix_fadvise64.c: Likewise.
14211 * io/posix_fallocate.c: Likewise.
14212 * io/posix_fallocate64.c: Likewise.
14213 * io/read.c: Likewise.
14214 * io/readlink.c: Likewise.
14215 * io/readlinkat.c: Likewise.
14216 * io/rmdir.c: Likewise.
14217 * io/sendfile.c: Likewise.
14218 * io/sendfile64.c: Likewise.
14219 * io/statfs.c: Likewise.
14220 * io/statfs64.c: Likewise.
14221 * io/statvfs.c: Likewise.
14222 * io/statvfs64.c: Likewise.
14223 * io/symlink.c: Likewise.
14224 * io/symlinkat.c: Likewise.
14225 * io/ttyname.c: Likewise.
14226 * io/ttyname_r.c: Likewise.
14227 * io/umask.c: Likewise.
14228 * io/unlink.c: Likewise.
14229 * io/unlinkat.c: Likewise.
14230 * io/utime.c: Likewise.
14231 * io/utimensat.c: Likewise.
14232 * io/write.c: Likewise.
14233 * io/xmknod.c: Likewise.
14234 * io/xmknodat.c: Likewise.
14235 * io/xstat.c: Likewise.
14236 * io/xstat64.c: Likewise.
14237 * login/getpt.c: Likewise.
14238 * login/grantpt.c: Likewise.
14239 * login/unlockpt.c: Likewise.
14240 * math/e_acoshl.c: Likewise.
14241 * math/e_acosl.c: Likewise.
14242 * math/e_asinl.c: Likewise.
14243 * math/e_atan2l.c: Likewise.
14244 * math/e_atanhl.c: Likewise.
14245 * math/e_coshl.c: Likewise.
14246 * math/e_expl.c: Likewise.
14247 * math/e_fmodl.c: Likewise.
14248 * math/e_gammal_r.c: Likewise.
14249 * math/e_hypotl.c: Likewise.
14250 * math/e_j0l.c: Likewise.
14251 * math/e_j1l.c: Likewise.
14252 * math/e_jnl.c: Likewise.
14253 * math/e_lgammal_r.c: Likewise.
14254 * math/e_log10l.c: Likewise.
14255 * math/e_log2l.c: Likewise.
14256 * math/e_logl.c: Likewise.
14257 * math/e_powl.c: Likewise.
14258 * math/e_rem_pio2l.c: Likewise.
14259 * math/e_sinhl.c: Likewise.
14260 * math/e_sqrtl.c: Likewise.
14261 * math/fclrexcpt.c: Likewise.
14262 * math/fedisblxcpt.c: Likewise.
14263 * math/feenablxcpt.c: Likewise.
14264 * math/fegetenv.c: Likewise.
14265 * math/fegetexcept.c: Likewise.
14266 * math/fegetround.c: Likewise.
14267 * math/feholdexcpt.c: Likewise.
14268 * math/fesetenv.c: Likewise.
14269 * math/fesetround.c: Likewise.
14270 * math/feupdateenv.c: Likewise.
14271 * math/fgetexcptflg.c: Likewise.
14272 * math/fraiseexcpt.c: Likewise.
14273 * math/fsetexcptflg.c: Likewise.
14274 * math/ftestexcept.c: Likewise.
14275 * math/k_cosl.c: Likewise.
14276 * math/k_rem_pio2l.c: Likewise.
14277 * math/k_sinl.c: Likewise.
14278 * math/k_tanl.c: Likewise.
14279 * math/s_asinhl.c: Likewise.
14280 * math/s_atanl.c: Likewise.
14281 * math/s_cbrtl.c: Likewise.
14282 * math/s_erfl.c: Likewise.
14283 * math/s_expm1l.c: Likewise.
14284 * math/s_log1pl.c: Likewise.
14285 * math/s_tanhl.c: Likewise.
14286 * misc/acct.c: Likewise.
14287 * misc/brk.c: Likewise.
14288 * misc/chflags.c: Likewise.
14289 * misc/chroot.c: Likewise.
14290 * misc/fchflags.c: Likewise.
14291 * misc/fgetxattr.c: Likewise.
14292 * misc/flistxattr.c: Likewise.
14293 * misc/fremovexattr.c: Likewise.
14294 * misc/fsetxattr.c: Likewise.
14295 * misc/fsync.c: Likewise.
14296 * misc/ftruncate.c: Likewise.
14297 * misc/futimes.c: Likewise.
14298 * misc/futimesat.c: Likewise.
14299 * misc/getdomain.c: Likewise.
14300 * misc/getdtsz.c: Likewise.
14301 * misc/gethostid.c: Likewise.
14302 * misc/gethostname.c: Likewise.
14303 * misc/getloadavg.c: Likewise.
14304 * misc/getpagesize.c: Likewise.
14305 * misc/getsysstats.c: Likewise.
14306 * misc/getxattr.c: Likewise.
14307 * misc/gtty.c: Likewise.
14308 * misc/ioctl.c: Likewise.
14309 * misc/lgetxattr.c: Likewise.
14310 * misc/listxattr.c: Likewise.
14311 * misc/llistxattr.c: Likewise.
14312 * misc/lremovexattr.c: Likewise.
14313 * misc/lsetxattr.c: Likewise.
14314 * misc/lutimes.c: Likewise.
14315 * misc/madvise.c: Likewise.
14316 * misc/mincore.c: Likewise.
14317 * misc/mlock.c: Likewise.
14318 * misc/mlockall.c: Likewise.
14319 * misc/mmap.c: Likewise.
14320 * misc/mprotect.c: Likewise.
14321 * misc/msync.c: Likewise.
14322 * misc/munlock.c: Likewise.
14323 * misc/munlockall.c: Likewise.
14324 * misc/munmap.c: Likewise.
14325 * misc/preadv.c: Likewise.
14326 * misc/preadv64.c: Likewise.
14327 * misc/ptrace.c: Likewise.
14328 * misc/pwritev.c: Likewise.
14329 * misc/pwritev64.c: Likewise.
14330 * misc/readv.c: Likewise.
14331 * misc/reboot.c: Likewise.
14332 * misc/remap_file_pages.c: Likewise.
14333 * misc/removexattr.c: Likewise.
14334 * misc/revoke.c: Likewise.
14335 * misc/select.c: Likewise.
14336 * misc/setdomain.c: Likewise.
14337 * misc/setegid.c: Likewise.
14338 * misc/seteuid.c: Likewise.
14339 * misc/sethostid.c: Likewise.
14340 * misc/sethostname.c: Likewise.
14341 * misc/setregid.c: Likewise.
14342 * misc/setreuid.c: Likewise.
14343 * misc/setxattr.c: Likewise.
14344 * misc/sstk.c: Likewise.
14345 * misc/stty.c: Likewise.
14346 * misc/swapoff.c: Likewise.
14347 * misc/swapon.c: Likewise.
14348 * misc/sync.c: Likewise.
14349 * misc/syncfs.c: Likewise.
14350 * misc/syscall.c: Likewise.
14351 * misc/truncate.c: Likewise.
14352 * misc/ualarm.c: Likewise.
14353 * misc/usleep.c: Likewise.
14354 * misc/ustat.c: Likewise.
14355 * misc/utimes.c: Likewise.
14356 * misc/vhangup.c: Likewise.
14357 * misc/writev.c: Likewise.
14358 * posix/_exit.c: Likewise.
14359 * posix/alarm.c: Likewise.
14360 * posix/execve.c: Likewise.
14361 * posix/fexecve.c: Likewise.
14362 * posix/fork.c: Likewise.
14363 * posix/fpathconf.c: Likewise.
14364 * posix/getaddrinfo.c: Likewise.
14365 * posix/getegid.c: Likewise.
14366 * posix/geteuid.c: Likewise.
14367 * posix/getgid.c: Likewise.
14368 * posix/getgroups.c: Likewise.
14369 * posix/getlogin.c: Likewise.
14370 * posix/getlogin_r.c: Likewise.
14371 * posix/getpgid.c: Likewise.
14372 * posix/getpid.c: Likewise.
14373 * posix/getppid.c: Likewise.
14374 * posix/getresgid.c: Likewise.
14375 * posix/getresuid.c: Likewise.
14376 * posix/getsid.c: Likewise.
14377 * posix/getuid.c: Likewise.
14378 * posix/glob64.c: Likewise.
14379 * posix/nanosleep.c: Likewise.
14380 * posix/pathconf.c: Likewise.
14381 * posix/pause.c: Likewise.
14382 * posix/posix_madvise.c: Likewise.
14383 * posix/pread.c: Likewise.
14384 * posix/pread64.c: Likewise.
14385 * posix/pwrite.c: Likewise.
14386 * posix/pwrite64.c: Likewise.
14387 * posix/sched_getaffinity.c: Likewise.
14388 * posix/sched_getp.c: Likewise.
14389 * posix/sched_gets.c: Likewise.
14390 * posix/sched_primax.c: Likewise.
14391 * posix/sched_primin.c: Likewise.
14392 * posix/sched_rr_gi.c: Likewise.
14393 * posix/sched_setaffinity.c: Likewise.
14394 * posix/sched_setp.c: Likewise.
14395 * posix/sched_sets.c: Likewise.
14396 * posix/sched_yield.c: Likewise.
14397 * posix/setgid.c: Likewise.
14398 * posix/setlogin.c: Likewise.
14399 * posix/setpgid.c: Likewise.
14400 * posix/setresgid.c: Likewise.
14401 * posix/setresuid.c: Likewise.
14402 * posix/setsid.c: Likewise.
14403 * posix/setuid.c: Likewise.
14404 * posix/sleep.c: Likewise.
14405 * posix/spawni.c: Likewise.
14406 * posix/sysconf.c: Likewise.
14407 * posix/times.c: Likewise.
14408 * posix/wait.c: Likewise.
14409 * posix/wait3.c: Likewise.
14410 * posix/wait4.c: Likewise.
14411 * posix/waitpid.c: Likewise.
14412 * resolv/gai_sigqueue.c: Likewise.
14413 * resource/getpriority.c: Likewise.
14414 * resource/getrlimit.c: Likewise.
14415 * resource/getrusage.c: Likewise.
14416 * resource/nice.c: Likewise.
14417 * resource/setpriority.c: Likewise.
14418 * resource/setrlimit.c: Likewise.
14419 * resource/ulimit.c: Likewise.
14420 * rt/aio_cancel.c: Likewise.
14421 * rt/aio_fsync.c: Likewise.
14422 * rt/aio_read.c: Likewise.
14423 * rt/aio_sigqueue.c: Likewise.
14424 * rt/aio_suspend.c: Likewise.
14425 * rt/aio_write.c: Likewise.
14426 * rt/clock_getres.c: Likewise.
14427 * rt/clock_gettime.c: Likewise.
14428 * rt/clock_nanosleep.c: Likewise.
14429 * rt/clock_settime.c: Likewise.
14430 * rt/lio_listio.c: Likewise.
14431 * rt/mq_close.c: Likewise.
14432 * rt/mq_getattr.c: Likewise.
14433 * rt/mq_notify.c: Likewise.
14434 * rt/mq_open.c: Likewise.
14435 * rt/mq_receive.c: Likewise.
14436 * rt/mq_send.c: Likewise.
14437 * rt/mq_setattr.c: Likewise.
14438 * rt/mq_timedreceive.c: Likewise.
14439 * rt/mq_timedsend.c: Likewise.
14440 * rt/mq_unlink.c: Likewise.
14441 * rt/shm_open.c: Likewise.
14442 * rt/shm_unlink.c: Likewise.
14443 * rt/timer_create.c: Likewise.
14444 * rt/timer_delete.c: Likewise.
14445 * rt/timer_getoverr.c: Likewise.
14446 * rt/timer_gettime.c: Likewise.
14447 * rt/timer_settime.c: Likewise.
14448 * setjmp/__longjmp.c: Likewise.
14449 * setjmp/setjmp.c: Likewise.
14450 * signal/kill.c: Likewise.
14451 * signal/killpg.c: Likewise.
14452 * signal/raise.c: Likewise.
14453 * signal/sigaction.c: Likewise.
14454 * signal/sigaltstack.c: Likewise.
14455 * signal/sigblock.c: Likewise.
14456 * signal/sigignore.c: Likewise.
14457 * signal/sigintr.c: Likewise.
14458 * signal/signal.c: Likewise.
14459 * signal/sigpause.c: Likewise.
14460 * signal/sigpending.c: Likewise.
14461 * signal/sigqueue.c: Likewise.
14462 * signal/sigreturn.c: Likewise.
14463 * signal/sigset.c: Likewise.
14464 * signal/sigsetmask.c: Likewise.
14465 * signal/sigstack.c: Likewise.
14466 * signal/sigsuspend.c: Likewise.
14467 * signal/sigtimedwait.c: Likewise.
14468 * signal/sigvec.c: Likewise.
14469 * signal/sigwait.c: Likewise.
14470 * signal/sigwaitinfo.c: Likewise.
14471 * signal/sysv_signal.c: Likewise.
14472 * socket/accept.c: Likewise.
14473 * socket/accept4.c: Likewise.
14474 * socket/bind.c: Likewise.
14475 * socket/connect.c: Likewise.
14476 * socket/getpeername.c: Likewise.
14477 * socket/getsockname.c: Likewise.
14478 * socket/getsockopt.c: Likewise.
14479 * socket/isfdtype.c: Likewise.
14480 * socket/listen.c: Likewise.
14481 * socket/recv.c: Likewise.
14482 * socket/recvfrom.c: Likewise.
14483 * socket/recvmsg.c: Likewise.
14484 * socket/send.c: Likewise.
14485 * socket/sendmsg.c: Likewise.
14486 * socket/sendto.c: Likewise.
14487 * socket/setsockopt.c: Likewise.
14488 * socket/shutdown.c: Likewise.
14489 * socket/sockatmark.c: Likewise.
14490 * socket/socket.c: Likewise.
14491 * socket/socketpair.c: Likewise.
14492 * stdio-common/ctermid.c: Likewise.
14493 * stdio-common/cuserid.c: Likewise.
14494 * stdio-common/remove.c: Likewise.
14495 * stdio-common/rename.c: Likewise.
14496 * stdio-common/renameat.c: Likewise.
14497 * stdio-common/tempname.c: Likewise.
14498 * stdlib/getcontext.c: Likewise.
14499 * stdlib/makecontext.c: Likewise.
14500 * stdlib/setcontext.c: Likewise.
14501 * stdlib/swapcontext.c: Likewise.
14502 * stdlib/system.c: Likewise.
14503 * streams/fattach.c: Likewise.
14504 * streams/fdetach.c: Likewise.
14505 * streams/getmsg.c: Likewise.
14506 * streams/getpmsg.c: Likewise.
14507 * streams/putmsg.c: Likewise.
14508 * streams/putpmsg.c: Likewise.
14509 * sysdeps/unix/bsd/getpt.c: Likewise.
14510 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14511 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14512 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14514 Likewise.
14515 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14516 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14517 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14518 * sysvipc/msgctl.c: Likewise.
14519 * sysvipc/msgget.c: Likewise.
14520 * sysvipc/msgrcv.c: Likewise.
14521 * sysvipc/msgsnd.c: Likewise.
14522 * sysvipc/semctl.c: Likewise.
14523 * sysvipc/semget.c: Likewise.
14524 * sysvipc/semop.c: Likewise.
14525 * sysvipc/semtimedop.c: Likewise.
14526 * sysvipc/shmat.c: Likewise.
14527 * sysvipc/shmctl.c: Likewise.
14528 * sysvipc/shmdt.c: Likewise.
14529 * sysvipc/shmget.c: Likewise.
14530 * termios/tcdrain.c: Likewise.
14531 * termios/tcflow.c: Likewise.
14532 * termios/tcflush.c: Likewise.
14533 * termios/tcgetattr.c: Likewise.
14534 * termios/tcgetpgrp.c: Likewise.
14535 * termios/tcsendbrk.c: Likewise.
14536 * termios/tcsetattr.c: Likewise.
14537 * termios/tcsetpgrp.c: Likewise.
14538 * time/adjtime.c: Likewise.
14539 * time/clock.c: Likewise.
14540 * time/getitimer.c: Likewise.
14541 * time/gettimeofday.c: Likewise.
14542 * time/setitimer.c: Likewise.
14543 * time/settimeofday.c: Likewise.
14544 * time/stime.c: Likewise.
14545 * time/time.c: Likewise.
14546
145472012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14548
a20492cf
PT
14549 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14550 /usr/old/bin.
14551
72e182e3
PT
14552 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14553 instead of spaces.
14554 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14555
fbeafede
JM
145562012-11-03 Joseph Myers <joseph@codesourcery.com>
14557
5b5b04d6
JM
14558 [BZ #14796]
14559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14560 FE_TONEAREST before applying Dekker multiplication and Knuth
14561 addition. Clear inexact exceptions and check for exact zero
14562 results afterwards.
14563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14564 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14566 * math/libm-test.inc (fma_test): Add more tests.
14567 (fma_test_towardzero): Likewise.
14568 (fma_test_downward): Likewise.
14569 (fma_test_upward): Likewise.
14570 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14571 function.
14572 (libc_fesetround): New macro.
14573 (libc_fesetroundf): Likewise.
14574 (libc_fesetroundl): Likewise.
14575 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14576 function.
14577 (libc_fesetround_387): Likewise.
14578 (libc_fesetroundf): New macro.
14579 (libc_fesetround): Likewise.
14580 (libc_fesetroundl): Likewise.
14581 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14582 function.
14583 (libc_fesetroundf): New macro.
14584 (libc_fesetround): Likewise.
14585 (libc_fesetroundl): Likewise.
14586 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14587 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14588 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14589 libm_hidden_ver.
14590 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14591 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14592 libm_hidden_def.
14593 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14594 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14595 libm_hidden_ver.
14596 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14597 libm_hidden_def.
14598
fbeafede
JM
14599 [BZ #3439]
14600 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14601 integer constant usable in #if and use that to give value to enum
14602 constant.
14603 (FE_DIVBYZERO): Likewise.
14604 (FE_UNDERFLOW): Likewise.
14605 (FE_OVERFLOW): Likewise.
14606 (FE_INVALID): Likewise.
14607 (FE_INVALID_SNAN): Likewise.
14608 (FE_INVALID_ISI): Likewise.
14609 (FE_INVALID_IDI): Likewise.
14610 (FE_INVALID_ZDZ): Likewise.
14611 (FE_INVALID_IMZ): Likewise.
14612 (FE_INVALID_COMPARE): Likewise.
14613 (FE_INVALID_SOFTWARE): Likewise.
14614 (FE_INVALID_SQRT): Likewise.
14615 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14616 (FE_TONEAREST): Likewise.
14617 (FE_TOWARDZERO): Likewise.
14618 (FE_UPWARD): Likewise.
14619 (FE_DOWNWARD): Likewise.
14620 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14621 (FE_DIVBYZERO): Likewise.
14622 (FE_OVERFLOW): Likewise.
14623 (FE_UNDERFLOW): Likewise.
14624 (FE_INEXACT): Likewise.
14625 (FE_TONEAREST): Likewise.
14626 (FE_DOWNWARD): Likewise.
14627 (FE_UPWARD): Likewise.
14628 (FE_TOWARDZERO): Likewise.
14629 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14630 (FE_UNDERFLOW): Likewise.
14631 (FE_OVERFLOW): Likewise.
14632 (FE_DIVBYZERO): Likewise.
14633 (FE_INVALID): Likewise.
14634 (FE_TONEAREST): Likewise.
14635 (FE_TOWARDZERO): Likewise.
14636 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14637 (FE_OVERFLOW): Likewise.
14638 (FE_UNDERFLOW): Likewise.
14639 (FE_DIVBYZERO): Likewise.
14640 (FE_INEXACT): Likewise.
14641 (FE_TONEAREST): Likewise.
14642 (FE_TOWARDZERO): Likewise.
14643 (FE_UPWARD): Likewise.
14644 (FE_DOWNWARD): Likewise.
14645 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14646 (FE_DIVBYZERO): Likewise.
14647 (FE_OVERFLOW): Likewise.
14648 (FE_UNDERFLOW): Likewise.
14649 (FE_INEXACT): Likewise.
14650 (FE_TONEAREST): Likewise.
14651 (FE_DOWNWARD): Likewise.
14652 (FE_UPWARD): Likewise.
14653 (FE_TOWARDZERO): Likewise.
14654
105ca950
CM
146552012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14656
14657 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14658
a542b389
AS
146592012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14660
14661 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14662 commands. Quote $PWD.
14663 (blacklist_exports): Don't use remove_newlines. Replace "declare
14664 -x" by "export".
14665 (remove_newlines): Remove.
14666
f62c8abc
L
146672012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14668
14669 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14670 * stdlib/stdlib.h (atof): Moved to ...
14671 * include/bits/stdlib-float.h: Here. New file.
14672 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14673 * stdlib/bits/stdlib-float.h: New file.
14674 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14675 -mno-sse -mno-mmx.
14676 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14677 <xmmintrin.h>.
14678
0155d5b2
JM
146792012-11-02 Joseph Myers <joseph@codesourcery.com>
14680
a68d0680
JM
14681 * conform/conformtest.pl (@headers): Add fenv.h.
14682 * conform/data/fenv.h-data: New file.
14683 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14684 include of <math/fenv.h>.
14685
caf7f573
JM
14686 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14687 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14688 && !UNIX98]. Enables tests for XOPEN2K8.
14689 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14690 POSIX2008]: Likewise.
14691
6c073ad6
JM
14692 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14693 (struct rusage): Do not expect type or its members.
14694
0155d5b2
JM
14695 [BZ #3439]
14696 * math/math.h (FP_NAN): Define macro to integer constant usable in
14697 #if and use that to give value to enum constant.
14698 (FP_INFINITE): Likewise.
14699 (FP_ZERO): Likewise.
14700 (FP_SUBNORMAL): Likewise.
14701 (FP_NORMAL): Likewise.
14702
b5dcacb4
AS
147032012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14704
14705 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14706 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14707 arguments.
14708
f7934be8
RM
147092012-11-02 Roland McGrath <roland@hack.frob.com>
14710
14711 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14712 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14713 autoconf-time if not.
14714 * configure.in: Remove AC_PREREQ.
14715
d7d08bde
TMQMF
147162012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14717
14718 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14719 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14720 of the internal implementation.
14721
dcdae19a
JM
147222012-11-02 Joseph Myers <joseph@codesourcery.com>
14723
14724 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14725 except include of <misc/sys/syslog.h>.
14726
d6cffd3e
AS
147272012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14728
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14730 function returns with a NULL context exit with zero.
14731
b3563932
TMQMF
147322012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14733
14734 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14735
b288a93d
L
147362012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14737
14738 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14739 (run_program_cmd): This.
14740 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14741 (tst_langinfo): New variable. Use it.
14742
a2421a68
SAS
147432012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14744
14745 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14746 floating point opcodes.
14747
6f796e1b
TS
147482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14749
7402596b
TS
14750 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14751 variable.
14752
d0d4f868
TS
14753 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14754
6f796e1b
TS
14755 * sysdeps/mach/hurd/powerpc: Remove directory.
14756 * sysdeps/mach/powerpc: Likewise.
14757
4da224a2
AS
147582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14759
14760 * scripts/check-local-headers.sh: Ignore c++ headers.
14761
341dd673
TS
147622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14763
14764 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14765 __libc_cleanup_region_start argument.
14766
473611b2
JM
147672012-11-01 Joseph Myers <joseph@codesourcery.com>
14768
14769 [BZ #14784]
14770 [BZ #14785]
14771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14772 x * y using scaling, not as x * y + z.
14773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14774 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14775 * math/libm-test.inc (fma_test): Add more tests.
14776 (fma_test_towardzero): Likewise.
14777 (fma_test_downward): Likewise.
14778 (fma_test_upward): Likewise.
14779
4078da3d
TS
147802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14781
14782 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14783
903252aa
JM
147842012-10-31 Joseph Myers <joseph@codesourcery.com>
14785
14786 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14787 New variable.
14788
cbc818d0
TS
147892012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14790
14791 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14792
5a03cb1e
AS
147932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14794
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14796 Fix sort order.
14797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14798 Likewise.
14799
90aff2ff
TMQMF
148002012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14801
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14803 Fix the order of the list for glibc 2.17.
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14805 Likewise.
14806
1818fcb7
AS
148072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14808
14809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14810
ef82f4da
JM
148112012-10-31 Joseph Myers <joseph@codesourcery.com>
14812
16a0e2ec
JM
14813 [BZ #14610]
14814 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14815 for low part of x being zero before using __atanl (y).
14816 * math/libm-test.inc (atan2_test): Add another test.
14817
0eb69512
JM
14818 * manual/install.texi (Configuring and compiling): Document
14819 general use of test-wrapper and test-wrapper-env.
14820 * INSTALL: Regenerated.
14821
ef82f4da
JM
14822 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14823 (__fma): Do not extract and scale down low bits on after-rounding
14824 systems when result rounded to normal precision would have normal
14825 exponent.
14826 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14827 (__fmal): Do not extract and scale down low bits on after-rounding
14828 systems when result rounded to normal precision would have normal
14829 exponent.
14830 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14831 (__fmal): Do not extract and scale down low bits on after-rounding
14832 systems when result rounded to normal precision would have normal
14833 exponent.
14834 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14835 macro.
14836 (fma_test): Add more tests.
14837 (fma_test_towardzero): Likewise.
14838 (fma_test_downward): Likewise.
14839 (fma_test_upward): Likewise.
14840
954ef0d9
L
148412012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14842
14843 * sysdeps/i386/tininess.h: Renamed to ...
14844 * sysdeps/x86/tininess.h: This.
14845 * sysdeps/x86_64/tininess.h: Removed.
14846
df61ffb2
JM
148472012-10-30 Joseph Myers <joseph@codesourcery.com>
14848
14849 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14850 input. Use $(build-program-cmd).
14851 ($(objpfx)tst-array1-static.out): Likewise.
14852 ($(objpfx)tst-array2.out): Likewise.
14853 ($(objpfx)tst-array3.out): Likewise.
14854 ($(objpfx)tst-array4.out): Likewise.
14855 ($(objpfx)tst-array5.out): Likewise.
14856 ($(objpfx)tst-array5-static.out): Likewise.
14857
01767843
CM
148582012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14859
47cc1490
CM
14860 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14861 if defined.
14862
01767843
CM
14863 * nss/nsswitch.h (nss_interface_function): Provide new
14864 macro for use with NSS functions.
14865 * grp/initgroups.c: Use new macro.
14866 * nss/getXXbyYY.c: Likewise.
14867 * nss/getXXbyYY_r.c: Likewise.
14868 * nss/getXXent.c: Likewise.
14869 * nss/getXXent_r.c: Likewise.
14870 * sysdeps/posix/getaddrinfo.c: Likewise.
14871
8321aa97
AJ
148722012-10-30 Andreas Jaeger <aj@suse.de>
14873
14874 * po/ru.po: Update Russion translation from translation project.
14875
2a27fd6d
JM
148762012-10-30 Joseph Myers <joseph@codesourcery.com>
14877
8627a232
JM
14878 [BZ #14152]
14879 [BZ #14783]
14880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14881 result and shift together with sticky bit instead of replicating
14882 round-to-nearest rounding.
14883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14885 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14886 missing underflow exceptions.
14887 (fma_test_towardzero): Add more tests.
14888 (fma_test_downward): Likewise.
14889 (fma_test_upward): Likewise.
14890
2a27fd6d
JM
14891 [BZ #14047]
14892 * sysdeps/generic/tininess.h: New file.
14893 * sysdeps/i386/tininess.h: Likewise.
14894 * sysdeps/sh/tininess.h: Likewise.
14895 * sysdeps/x86_64/tininess.h: Likewise.
14896 * stdlib/tst-strtod-underflow.c: Likewise.
14897 * stdlib/tst-tininess.c: Likewise.
14898 * stdlib/strtod_l.c: Include <tininess.h>.
14899 (round_and_return): Do not set errno for exact underflow cases.
14900 Force an underflow exception when setting errno for underflow.
14901 Determine underflow based on rounding to normal precision if
14902 TININESS_AFTER_ROUNDING.
14903 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14904 ERANGE for exact underflow cases.
14905 * stdlib/Makefile (tests): Add tst-tininess and
14906 tst-strtod-underflow.
14907 ($(objpfx)tst-tininess): Use $(link-libm).
14908 ($(objpfx)tst-strtod-underflow): Likewise.
14909
e7170363
AJ
149102012-10-30 Andreas Jaeger <aj@suse.de>
14911
e5088dc6
AJ
14912 [BZ#14767]
14913 * elf/Makefile (tests): Remove conditional for have-initfini-array
14914 since this is now always required and the variable does not exist
14915 anymore.
14916 (tests-static): Likewise.
14917 (modules-names): Likewise.
14918
e7170363 14919 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14920
14921 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14922 merged with constructor/destructor.
14923 (init_array): Likewise.
14924 * elf/tst-array2dep.c (fini_array): Likewise.
14925 (init_array): Likewise.
14926
60457d8a
MF
149272012-10-29 Mike Frysinger <vapier@gentoo.org>
14928
14929 * manual/message.texi: Delete @cartouche tags.
14930
8bece752
PT
149312012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14932
94ce799f
PT
14933 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14934 EOPNOTSUPP.
14935 * sysdeps/mach/hurd/fsync.c: Likewise.
14936
8bece752
PT
14937 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14938 [_POSIX_REALTIME_SIGNALS]: Change condition to
14939 [_POSIX_REALTIME_SIGNALS > 0].
14940
86ebe6b1
AJ
149412012-10-27 Andreas Jaeger <aj@suse.de>
14942
14943 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14944 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14946 [__WORDSIZE != 64]: Likewise.
14947
54399c08
L
149482012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14949
14950 * iconvdata/tst-table.sh: Remove ${SHELL}.
14951 * iconvdata/tst-tables.sh: Likewise.
14952
e2211bed
DM
149532012-10-25 David S. Miller <davem@davemloft.net>
14954
14955 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14956 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14957 of strtoull.
14958
f303f97c
DM
14959 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14960 ifunc-impl-list.c
14961 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14962 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14963 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14964 file.
14965
1e9d84cd
RM
149662012-10-25 Roland McGrath <roland@hack.frob.com>
14967
14968 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14969 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14970 __getdirentries.
14971
df381762
JM
149722012-10-25 Joseph Myers <joseph@codesourcery.com>
14973 Jim Blandy <jimb@codesourcery.com>
14974
14975 * scripts/cross-test-ssh.sh: New file.
14976 * manual/install.texi (Configuring and compiling): Document use of
14977 cross-test-ssh.sh.
14978 * INSTALL: Regenerated.
14979
bff64913
PT
149802012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14981
14982 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14983 EOPNOTSUPP.
14984
25fe8932
JM
149852012-10-25 Joseph Myers <joseph@codesourcery.com>
14986
14987 * Makeconfig (run-program-prefix): Fix comment.
14988
cc1290d0
JM
149892012-10-24 Joseph Myers <joseph@codesourcery.com>
14990 Jim Blandy <jimb@codesourcery.com>
14991
14992 * Makeconfig (test-wrapper): New variable,
14993 (test-wrapper-env): Likewise.
14994 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14995 (run-built-tests): Define to yes.
14996 (run-program-prefix): Use $(test-wrapper).
14997 (built-program-cmd): Likewise.
14998 * Rules (make-test-out): Use $(test-wrapper-env) and
14999 $(host-built-program-cmd).
15000 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15001 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15002 tst-pathopt.sh.
15003 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15004 $(test-wrapper-env) to tst-rtld-load-self.sh.
15005 ($(objpfx)order2.out): Use $(test-wrapper).
15006 ($(objpfx)tst-initorder.out): Likewise.
15007 ($(objpfx)tst-initorder2.out): Likewise.
15008 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15009 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15010 (test_wrapper_env): New variable. Use it to run ld.so.
15011 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15012 Use it to run ld.so.
15013 (test_wrapper_env): Likewise.
15014 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15015 $(test-wrapper) to run-iconv-test.sh.
15016 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15017 (ICONV): Use $test_wrapper.
15018 * posix/Makefile ($(objpfx)globtest.out): Pass
15019 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15020 globtest.sh, not $(run-program-prefix).
15021 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15022 (test_wrapper): Likewise.
15023 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15024 set together with run_via_rtld_prefix.
15025 (run_program_prefix): Define in terms of test_wrapper and
15026 run_via_rtld_prefix.
15027
6e6249d0
RM
150282012-10-24 Roland McGrath <roland@hack.frob.com>
15029
15030 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15031 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15032 Targets removed.
15033
15034 [BZ #14743]
15035 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15036 Declare __clock_getres, __clock_gettime, __clock_settime,
15037 __clock_nanosleep, and __clock_getcpuclockid.
15038 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15039 Remove librt_hidden_def (clock_gettime).
15040 * sysdeps/unix/clock_gettime.c: Likewise.
15041 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15042 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15043 * rt/clock_getres.c: Define __clock_getres as an alias.
15044 * sysdeps/posix/clock_getres.c: Likewise.
15045 * rt/clock_settime.c: Define __clock_settime as an alias.
15046 * sysdeps/unix/clock_settime.c: Likewise.
15047 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15048 * sysdeps/unix/clock_nanosleep.c: Likewise.
15049 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15050 * rt/clock-compat.c: New file.
15051 * rt/Makefile (librt-routines): Add clock-compat and move
15052 $(clock-routines) to ...
15053 (routines): ... here, new variable.
15054 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15055 Don't add get_clockfreq here.
15056 * rt/Versions (libc: GLIBC_2.17): New version set.
15057 Add clock_* symbols here.
15058 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15059 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15060 (GLIBC_2.17): Add clock_* symbols.
15061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15065 Likewise.
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15067 Likewise.
15068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15072 * NEWS: Mention the move.
15073
15074 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15075 Use __open, __read, __close rather than their public counterparts.
15076 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15077 (__get_clockfreq_via_cpuinfo): Likewise.
15078 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15079 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15080
15081 * config.h.in (HAVE_IFUNC): New #undef.
15082 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15083 was successful.
15084 * configure: Regenerated.
15085
0cae3f4b
MF
150862012-10-24 Mike Frysinger <vapier@gentoo.org>
15087
15088 * configure.in: Move READELF check to start of file.
15089 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15090 libc_cv_asm_gnu_indirect_function in the process.
15091 * configure: Regenerated.
15092
8175a253
MF
150932012-10-24 Mike Frysinger <vapier@gentoo.org>
15094
15095 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15096 send the output to /dev/null.
15097 (libc_cv_cc_with_libunwind): Likewise.
15098 (libc_cv_as_noexecstack): Likewise.
15099 * configure: Regenerate.
15100
0708a7d1
JM
151012012-10-24 Joseph Myers <joseph@codesourcery.com>
15102
10b40d85
JM
15103 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15104
0708a7d1
JM
15105 * posix/globtest.sh (TMPDIR): Do not set.
15106 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15107 (testout): Likewise.
15108
9fddec1a
AJ
151092012-10-24 Andreas Jaeger <aj@suse.de>
15110
3a8db22f
AJ
15111 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15112 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15113 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15114 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15115 posix_fadvise64, posix_fallocate64.
15116
9fddec1a
AJ
15117 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15118 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15119 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15120 Likewise.
15121 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15122 Likewise.
15123 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15124
15125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15126 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15127 <bits/fcntl-linux.h>.
15128 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15129
15130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15131 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15132 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15133 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15134 [__WORDSIZE != 64]: Likewise.
15135
ebfd1bbd
JM
151362012-10-23 Joseph Myers <joseph@codesourcery.com>
15137
03ac099f
JM
15138 * Makeconfig (run-built-tests): New variable.
15139 * Rules [$(cross-compiling) = yes]: Change condition to
15140 [$(run-built-tests) = no].
15141 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15142 to [$(run-built-tests) = yes].
15143 * elf/Makefile [$(cross-compiling) = no]: Likewise
15144 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15145 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15146 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15147 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15148 * io/Makefile [$(cross-compiling) = no]: Likewise.
15149 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15150 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15151 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15152 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15153 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15154 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15155 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15156 * string/Makefile [$(cross-compiling) = no]: Likewise.
15157
ebfd1bbd
JM
15158 * posix/Makefile ($(objpfx)globtest.out): Pass
15159 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15160 $(rtld-installed-name).
15161 * posix/globtest.sh (elf_objpfx): Remove variable.
15162 (rtld_installed_name): Likewise.
15163 (library_path): Likewise.
15164 (run_program_prefix): New variable. Use for running globtest
15165 binary.
15166
166bca24
JB
151672012-10-23 Jim Blandy <jimb@codesourcery.com>
15168 Joseph Myers <joseph@codesourcery.com>
15169
15170 * Makeconfig (host-built-program-cmd): New variable.
15171 * elf/Makefile (tst-stackguard1-ARGS): Use
15172 $(host-built-program-cmd).
15173 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15174 (tst-spawn-ARGS): Likewise.
15175 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15176
88866099
JM
151772012-10-23 Joseph Myers <joseph@codesourcery.com>
15178 Jim Blandy <jimb@codesourcery.com>
15179
15180 * Makeconfig (run-via-rtld-prefix): New variable.
15181 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15182 (built-program-cmd): Likewise.
15183
b4b4c296
AJ
151842012-10-22 Andreas Jaeger <aj@suse.de>
15185
15186 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15187 __O_RSYNC if it exists, otherwise to O_SYNC.
15188
6fb54a22
JB
151892012-10-22 Jim Blandy <jimb@codesourcery.com>
15190 Joseph Myers <joseph@codesourcery.com>
15191
15192 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15193 /dev/null.
15194 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15195 from /dev/null
15196 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15197 /dev/null.
15198
481b90b9
AJ
151992012-10-22 Andreas Jaeger <aj@suse.de>
15200
2a0e2669
AJ
15201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15202 Define always.
15203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15204
76e38f9a
AJ
15205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15206 bits/fcntl-linux.h.
15207
7cd37b43
AJ
15208 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15209 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15210
481b90b9
AJ
15211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15212 to __O_LARGEFILE.
15213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15214 to __O_LARGEFILE.
15215
aba75984
JB
152162012-10-21 Jim Blandy <jimb@codesourcery.com>
15217 Joseph Myers <joseph@codesourcery.com>
15218
15219 * config.make.in (NM): New variable.
15220
88d4247f
AJ
152212012-10-21 Andreas Jaeger <aj@suse.de>
15222
15223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15224 definitions and declarations that are provided by
15225 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15226
f2eed205
L
152272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15228
15229 [BZ #14683]
15230 * elf/Makefile (tests-static): Add tst-leaks1-static.
15231 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15232 ($(objpfx)tst-leaks1-static): New rule.
15233 ($(objpfx)tst-leaks1-static-mem): Likewise.
15234 (tst-leaks1-static-ENV): New macro.
15235 * elf/dl-open.c (dl_open_worker): Check the main application
15236 only if SHARED is defined.
15237 * elf/tst-leaks1-static.c: New file.
15238
335e6931
AJ
152392012-10-20 Andreas Jaeger <aj@suse.de>
15240
15241 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15242 generic values for Linux.
15243 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15244 and declarations that are provided by <bits/fcntl-linux.h> and
15245 include <bits/fcntl-linux.h>.
15246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15248
ac5c94d3
RM
152492012-10-20 Roland McGrath <roland@hack.frob.com>
15250
15251 * io/fcntl.h: Move include of <bits/types.h> to the top and
15252 include it unconditionally.
15253
de54b33a
L
152542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15255
228cfb01
L
15256 * wcsmbs/Makefile (tests-ifunc): New variable.
15257 (tests): Add $(tests-ifunc).
15258 * wcsmbs/test-wcschr-ifunc.c: New file.
15259 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15260 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15261 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15262 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15263 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15264
69f07e5f
L
15265 * string/Makefile (tests-ifunc): New variable.
15266 (tests): Add $(tests-ifunc).
15267 * string/test-memccpy.c (TEST_NAME): New macro.
15268 * string/test-memchr.c (TEST_NAME): Likewise.
15269 * string/test-memcmp.c (TEST_NAME): Likewise.
15270 * string/test-memcpy.c (TEST_NAME): Likewise.
15271 * string/test-memmem.c (TEST_NAME): Likewise.
15272 * string/test-memmove.c (TEST_NAME): Likewise.
15273 * string/test-memset.c (TEST_NAME): Likewise.
15274 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15275 * string/test-stpcpy.c (TEST_NAME): Likewise.
15276 * string/test-stpncpy.c (TEST_NAME): Likewise.
15277 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15278 * string/test-strcasestr.c (TEST_NAME): Likewise.
15279 * string/test-strcat.c (TEST_NAME): Likewise.
15280 * string/test-strchr.c (TEST_NAME): Likewise.
15281 * string/test-strcmp.c(TEST_NAME): Likewise.
15282 * string/test-strcpy.c (TEST_NAME): Likewise.
15283 * string/test-strcspn.c (TEST_NAME): Likewise.
15284 * string/test-strlen.c (TEST_NAME): Likewise.
15285 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15286 * string/test-strncmp.c (TEST_NAME): Likewise.
15287 * string/test-strncpy.c (TEST_NAME): Likewise.
15288 * string/test-strnlen.c (TEST_NAME): Likewise.
15289 * string/test-strpbrk.c (TEST_NAME): Likewise.
15290 * string/test-strrchr.c (TEST_NAME): Likewise.
15291 * string/test-strspn.c (TEST_NAME): Likewise.
15292 * string/test-strstr.c (TEST_NAME): Likewise.
15293 * string/test-bcopy-ifunc.c: New file.
15294 * string/test-bzero-ifunc.c: Likewise.
15295 * string/test-memccpy-ifunc.c: Likewise.
15296 * string/test-memchr-ifunc.c: Likewise.
15297 * string/test-memcmp-ifunc.c: Likewise.
15298 * string/test-memcpy-ifunc.c: Likewise.
15299 * string/test-memmem-ifunc.c: Likewise.
15300 * string/test-memmove-ifunc.c: Likewise.
15301 * string/test-mempcpy-ifunc.c: Likewise.
15302 * string/test-memset-ifunc.c: Likewise.
15303 * string/test-rawmemchr-ifunc.c: Likewise.
15304 * string/test-stpcpy-ifunc.c: Likewise.
15305 * string/test-stpncpy-ifunc.c: Likewise.
15306 * string/test-strcasecmp-ifunc.c: Likewise.
15307 * string/test-strcasestr-ifunc.c: Likewise.
15308 * string/test-strcat-ifunc.c: Likewise.
15309 * string/test-strchr-ifunc.c: Likewise.
15310 * string/test-strchrnul-ifunc.c: Likewise.
15311 * string/test-strcmp-ifunc.c: Likewise.
15312 * string/test-strcpy-ifunc.c: Likewise.
15313 * string/test-strcspn-ifunc.c: Likewise.
15314 * string/test-strlen-ifunc.c: Likewise.
15315 * string/test-strncasecmp-ifunc.c: Likewise.
15316 * string/test-strncat-ifunc.c: Likewise.
15317 * string/test-strncmp-ifunc.c: Likewise.
15318 * string/test-strncpy-ifunc.c: Likewise.
15319 * string/test-strnlen-ifunc.c: Likewise.
15320 * string/test-strpbrk-ifunc.c: Likewise.
15321 * string/test-strrchr-ifunc.c: Likewise.
15322 * string/test-strspn-ifunc.c: Likewise.
15323 * string/test-strstr-ifunc.c: Likewise.
15324
de54b33a
L
15325 * debug/Makefile (tests-ifunc): New variable.
15326 (tests): Add $(tests-ifunc).
15327 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15328 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15329 * debug/test-stpcpy_chk-ifunc.c: New file.
15330 * debug/test-strcpy_chk-ifunc.c: Likewise.
15331
88481c16
SP
153322012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15333
15334 [BZ #13601]
15335 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15336 header is not read in.
15337
135948bd
JM
153382012-10-19 Joseph Myers <joseph@codesourcery.com>
15339
89f1c388
JM
15340 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15341 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15342 directly. Pass built executable to script as
15343 $(built-program-cmd).
15344 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15345 $testprogram without using LD_LIBRARY_PATH and $ldso.
15346
e40a0d21
JM
15347 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15348 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15349 $(rtld-installed-name).
15350 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15351 (rtld_installed_name): Likewise.
15352 (library_path): Likewise.
15353 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15354 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15355 $(run-program-prefix) to tst-tables.sh.
15356 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15357 it to run tst-table-from and tst-table-to.
15358 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15359 Pass it to tst-table.sh.
15360 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15361 $(run-program-prefix) to tst-gettext.sh.
15362 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15363 tst-translit.sh.
15364 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15365 tst-gettext2.sh.
15366 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15367 to run tst-gettext.
15368 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15369 to run tst-gettext2.
15370 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15371 to run tst-translit.
15372 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15373 $(run-program-prefix) to tst-mtrace.sh.
15374 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15375 to run tst-mtrace.
15376 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15377 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15378 $(rtld-installed-name).
15379 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15380 (rtld_installed_name): Likewise.
15381 (run_program_prefix): New variable. Use it to run wordexp-test.
15382
728e272a
JM
15383 * Makeconfig (ARCH): Remove all definitions.
15384 (machine): Likewise.
15385 [ARCH]: Remove conditional code.
15386 [!objdir]: Give error.
15387 [!objdir] (objpfx): Remove.
15388 [!objdir] (common-objpfx): Likewise.
15389 [!objdir] (common-objdir): Likewise.
15390 * configure.in (config_makefile): Remove. Hardcode Makefile in
15391 AC_CONFIG_FILES call.
15392 * configure: Regenerated.
15393
d528cdcf
JM
15394 [BZ #13888]
15395 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15396 or TMPDIR.
15397 (testout): Likewise.
15398
135948bd
JM
15399 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15400 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15401 $(rtld-installed-name).
15402 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15403 (rtld_installed_name): Likwise.
15404 (runit): Remove function.
15405 (run_getconf): New variable, Use it for running getconf binary.
15406
38c78296
L
154072012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15408
15409 [BZ #14716]
15410 * string/test-memmem.c (check_result): New function.
15411 (do_one_test): Use it.
15412 (check1): New function.
15413 (test_main): Use it.
15414
d077f65f
MT
154152012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15416
15417 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15418
ced52c71
JM
154192012-10-18 Joseph Myers <joseph@codesourcery.com>
15420
15421 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15422 (_G_LSEEK64): Likewise.
15423 (_G_MMAP64): Likewise.
15424 (_G_FSTAT64): Likewise.
15425 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15426 (_G_LSEEK64): Likewise.
15427 (_G_MMAP64): Likewise.
15428 (_G_FSTAT64): Likewise.
15429 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15430 unconditional. Call __mmap64 directly.
15431 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15432 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15433 __lseek64 directly.
15434 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15435 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15436 __mmap64 directly.
15437 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15438 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15439 __lseek64 directly.
15440 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15441 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15442 __lseek64 directly.
15443 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15444 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15445 __lseek64 directly.
15446 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15447 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15448 __fxstat64 directly.
15449 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15450 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15451 unconditional.
15452 (freopen64) [!_G_OPEN64]: Remove conditional code.
15453 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15454 unconditional.
15455 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15456 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15457 unconditional.
15458 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15459 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15460 unconditional.
15461 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15462 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15463 unconditional.
15464 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15465 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15466 unconditional.
15467 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15468 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15469 unconditional.
15470 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15471 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15472 unconditional.
15473 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15474
b741de23
SP
154752012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15476
15477 [BZ #12140]
15478 * manual/memory.texi (Malloc Tunable Parameters): Add note
15479 about free list pointers overwriting some perturb bytes.
15480 Wording suggested by Roland McGrath.
15481
f9b9d9c9
JM
154822012-10-17 Joseph Myers <joseph@codesourcery.com>
15483
15484 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15485 (lgamma_test): Likewise.
15486 (tgamma_test): Likewise.
15487
172a631a
FW
154882012-10-16 Florian Weimer <fweimer@redhat.com>
15489
15490 [BZ #14700]
15491 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15492 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15493
e9f37252
MK
154942012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15495
15496 * NEWS: Mention BZ #14716.
15497 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15498 when removing AVAILABLE1_USES_J macro.
15499
d394eb74
L
155002012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15501
15502 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15503 (__bswap_64): __uint64_t for unsigned 64-bit int.
15504
ca38dc17
AS
155052012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15506
15507 * include/string.h (memmem): Declare libc hidden alias.
15508 * string/memmem.c (memmem): Define libc hidden alias.
15509 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15510 __read, __close instead of open, read, close.
15511
9a387d1f
L
155122012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15513
ac49ecaf
L
15514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15515 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15516 global and hidden.
15517 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15518 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15519 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15520 Likewise.
15521 (__rawmemchr_sse2): Likewise.
15522 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15523 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15524 (__strchr_sse2): Likewise.
15525 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15526 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15527 (__strcasecmp_sse2): Likewise.
15528 (__strncasecmp_sse2): Likewise.
15529 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15530 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15531 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15532 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15533 (__strrchr_sse2): Likewise.
15534 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15535 ifunc-impl-list.c.
15536 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15537 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15538 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15539 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15540 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15541 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15542 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15543 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15544 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15545 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15546 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15547 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15548 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15549 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15550 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15551 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15552 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15553 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15554 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15555 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15556 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15557 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15558 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15559 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15560 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15561 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15562 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15563 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15564 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15565 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15566
b090e8ea
L
15567 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15568 global and hidden.
15569 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15570 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15571 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15572 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15573 Likewise.
15574 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15575 Likewise.
15576 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15577 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15578 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15579 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15580 ifunc-impl-list.c.
15581 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15599 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15610 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15612 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15613 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15614 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15615 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15616 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15617 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15618 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15619 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15620 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15621 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15622
11dd4af6
L
15623 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15624 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15625 * include/ifunc-impl-list.h: New file.
15626 * misc/ifunc-impl-list.c: Likewise.
15627 * misc/Makefile (routines): Add ifunc-impl-list.
15628 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15629 * string/test-string.h: Include <ifunc-impl-list.h>.
15630 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15631 impl_array): New variables.
15632 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15633 are defined.
15634 (test_init): Call __libc_ifunc_impl_list to initialize
15635 func_list if TEST_IFUNC and TEST_NAME are defined.
15636
9a387d1f
L
15637 * string/Makefile (strop-tests): Add bcopy and bzero.
15638 * string/test-bcopy.c: New file.
15639 * string/test-bzero.c: Likewise.
15640 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15641 defined.
15642 * string/test-memset.c: Support bzero test if TEST_BZERO is
15643 defined.
15644 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15645 __libc_memmove.
15646 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15647 __libc_memset.
15648 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15649 of memset.
15650
472371b9
JM
156512012-10-10 Joseph Myers <joseph@codesourcery.com>
15652
1e4a9536
JM
15653 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15654 * configure: Regenerated.
15655
d173d12e
JM
15656 * Makeconfig (+link-static-before-libc): Don't include
15657 $(link-static-libc).
15658
472371b9
JM
15659 * libio/libio.h (_IO_pos_t): Remove.
15660
89a3ad0b
AO
156612012-10-10 Alexandre Oliva <aoliva@redhat.com>
15662
15663 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15664 McGrath.
15665
e7451425
AO
156662012-10-10 Alexandre Oliva <aoliva@redhat.com>
15667
15668 * crypt/crypt-entry.c: Include fips-private.h.
15669 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15670 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15671 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15672 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15673
4ba74a35
AO
156742012-10-10 Alexandre Oliva <aoliva@redhat.com>
15675
15676 * crypt/crypt-private.h: Include stdbool.h.
15677 (_ufc_setup_salt_r): Return bool.
15678 * crypt/crypt-entry.c: Include errno.h.
15679 (__crypt_r): Return NULL with EINVAL for bad salt.
15680 * crypt/crypt_util.c (bad_for_salt): New.
15681 (_ufc_setup_salt_r): Check that salt is long enough and within
15682 the specified alphabet.
15683 * crypt/badsalttest.c: New file.
15684 * crypt/Makefile (tests): Add it.
15685 ($(objpfx)badsalttest): New.
15686
f96f1242
MK
156872012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15688
15689 * NEWS: Add entry for BZ #14602.
15690
0e8e0c1c
JM
156912012-10-09 Joseph Myers <joseph@codesourcery.com>
15692
15693 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15694 type-generic.
15695 * math/libm-test.inc: Update comment listing what functions and
15696 macros are tested.
15697 (isgreater_test): New function.
15698 (isgreaterequal_test): Likewise.
15699 (isless_test): Likewise.
15700 (islessequal_test): Likewise.
15701 (islessgreater_test): Likewise.
15702 (isunordered_test): Likewise.
15703 (main): Call the new functions.
15704
273edc5e
RM
157052012-10-09 Roland McGrath <roland@hack.frob.com>
15706
b8493de0
RM
15707 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15708 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15709 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15710 * sysdeps/i386/configure: Regenerated.
15711 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15712 * sysdeps/mach/configure: Regenerated.
15713 * sysdeps/mach/hurd/configure: Regenerated.
15714 * sysdeps/powerpc/configure: Regenerated.
15715 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15716 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15717 * sysdeps/s390/s390-32/configure: Regenerated.
15718 * sysdeps/s390/s390-64/configure: Regenerated.
15719 * sysdeps/sh/configure: Regenerated.
15720 * sysdeps/sparc/configure: Regenerated.
15721 * sysdeps/unix/sysv/linux/configure: Regenerated.
15722 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15723 * sysdeps/x86_64/configure: Regenerated.
15724
273edc5e
RM
15725 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15726 defined. Don't check if MAP is NULL.
15727
c8450f70
JM
157282012-10-09 Joseph Myers <joseph@codesourcery.com>
15729
15730 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15731 (_G_stat64): Likewise.
15732 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15733 (_G_stat64): Likewise.
15734 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15735 instead of struct _G_stat64.
15736 * libio/fileops.c (mmap_remap_check): Likewise.
15737 (decide_maybe_mmap): Likewise.
15738 (_IO_new_file_seekoff): Likewise.
15739 (_IO_file_stat): Likewise.
15740 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15741 _G_off64_t.
15742 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15743 instead of struct _G_stat64.
15744 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15745
57e605ba
MK
157462012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15747
15748 [BZ #14602]
15749 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15750 Replace with ...
15751 (CHECK_EOL): New macro.
15752 (two_way_short_needle): Check beginning of haystack for EOL. Use
15753 CHECK_EOL.
15754 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15755 Replace with CHECK_EOL.
15756 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15757 Replace with CHECK_EOL.
15758
ef1bb361
JM
157592012-10-08 Joseph Myers <joseph@codesourcery.com>
15760
15761 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15762 type-generic.
15763 * math/libm-test.inc: Update comment listing what functions and
15764 macros are tested.
15765 (finite_test): New function.
15766 (isinf_test): Likewise.
15767 (isnan_test): Likewise.
15768 (fpclassify_test): Test subnormal input.
15769 (isfinite_test): Likewise.
15770 (isnormal_test): Likewise.
15771 (main): Call the new functions.
15772
55f11534
JN
157732012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15774
15775 [BZ #14660]
15776 * Makerules (%.dynsym): Force C locale when running
15777 $(OBJDUMP) --dynamic-syms.
15778
1ab29350
AS
157792012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15780
15781 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15782 <stdint.h>.
15783
f1ecb7ef
DM
157842012-10-06 David S. Miller <davem@davemloft.net>
15785
15786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15787 upper 32-bits of the length value in %o2 since we use branch-on-register
15788 tests which consider the entire 64-bit register.
15789
5d41d91a
L
157902012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15791
15792 * string/test-strstr.c (check2): Add a test for page boundary.
15793
3baddb72
DM
157942012-10-05 David S. Miller <davem@davemloft.net>
15795
15796 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15797 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15798 file.
15799 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15800 sysdep_routines.
15801 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15802 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15803 and bzero when HWCAP_SPARC_CRYPTO is present.
15804
9cee5585
L
158052012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15806
d7e0dab9
L
15807 [BZ #14602]
15808 * string/test-strstr.c (check2): New function.
15809 (test_main): Call check2.
15810
03759f47
L
15811 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15812 and bug-strchr1.
15813 * string/bug-strcasestr1.c (do_test): Moved to ...
15814 * string/test-strcasestr.c (check1): Here. New function.
15815 (do_one_test): Break out result checking code into ...
15816 (check_result): This. New function.
15817 (do_one_test): Call check_result.
15818 (test_main): Call check1.
15819 * string/bug-strchr1.c (do_test): Moved to ...
15820 * string/test-strchr.c (check1): Here. New function.
15821 (do_one_test): Break out result checking code into ...
15822 (check_result): This. New function.
15823 (do_one_test): Call check_result.
15824 (test_main): Call check1.
15825 * string/bug-strstr1.c (main): Moved to ...
046f153e 15826 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15827 (do_one_test): Break out result checking code into ...
15828 (check_result): This. New function.
15829 (do_one_test): Call check_result.
15830 (test_main): Call check1.
15831 * string/bug-strcasestr1.c: Removed.
15832 * string/bug-strchr1.c: Likewise.
15833 * string/bug-strstr1.c: Likewise.
15834
53cea63e
L
15835 * elf/Makefile (dl-routines): Add hwcaps.
15836 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15837 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15838 (_dl_important_hwcaps): Moved to ...
15839 * elf/dl-hwcaps.c: Here. New file.
15840 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15841
9cee5585 15842 [BZ #14557]
bb859b06
L
15843 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15844 if IS_IN_rtld isn't defined.
15845
9cee5585
L
15846 * elf/dl-support.c (_dl_sysinfo_map): New.
15847 Include "get-dynamic-info.h" and "setup-vdso.h".
15848 (_dl_non_dynamic_init): Call setup_vdso.
15849 * elf/dynamic-link.h: Don't include <assert.h>.
15850 (elf_get_dynamic_info): Moved to ...
15851 * elf/get-dynamic-info.h: Here. New file.
15852 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15853 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15854 * elf/setup-vdso.h: Here. New file.
15855 * elf/rtld.c: Include "setup-vdso.h".
15856 (dl_main): Call setup_vdso.
15857
23c31b76
JM
158582012-10-05 Joseph Myers <joseph@codesourcery.com>
15859
28234b07
JM
15860 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15861 creal in comment listing functions tested. List finite, isinf,
15862 isnan, isless, islessequal, isgreater, isgreaterequal,
15863 islessgreater, isunordered, lgamma_r and pow10 as functions and
15864 macros not tested. Mention which functions not tested are aliases
15865 for other functions. Fix typo. Note that signs of NaNs are not
15866 tested.
15867
23c31b76
JM
15868 * scripts/config.guess: Update from config.git.
15869 * scripts/config.sub: Likewise.
15870
9043e228
RM
158712012-10-04 Roland McGrath <roland@hack.frob.com>
15872
15873 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15874 * misc/madvise.c (madvise): Renamed to __madvise.
15875 Make madvise a weak alias.
15876 * include/sys/mman.h: Declare __madvise.
15877 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15878 * sysdeps/unix/syscalls.list
15879 (madvise): Make __madvise the strong name, and madvise a weak alias.
15880 * sysdeps/unix/sysv/linux/syscalls.list
15881 (madvise, mmap): Remove redundant entries.
15882 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15883 * malloc/malloc.c (mtrim): Likewise.
15884 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15885
f57f8055
RM
158862012-10-03 Roland McGrath <roland@hack.frob.com>
15887
15888 * sysdeps/mach/hurd/dl-cache.c: File removed.
15889 * config.h.in (USE_LDCONFIG): New #undef.
15890 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15891 * configure: Regenerated.
15892 * elf/Makefile (dl-routines): Add dl-cache only under
15893 [$(use-ldconfig) = yes].
15894 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15895 cache on [USE_LDCONFIG].
15896 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15897 [USE_LDCONFIG].
15898 * elf/rtld.c (dl_main): Likewise.
15899
5bb0c10a
PT
159002012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15901
15902 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15903 _SC_LEVEL4_CACHE_LINESIZE.
15904
010188c6
RM
159052012-10-03 Roland McGrath <roland@hack.frob.com>
15906
15907 * sysdeps/unix/bsd/confstr.h: File removed.
15908
b6c5ec07
AO
159092012-10-02 Alexandre Oliva <aoliva@redhat.com>
15910
15911 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15912 sys/sdt-config.h.
15913
408223d4
RM
159142012-10-02 Roland McGrath <roland@hack.frob.com>
15915
15916 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15917 Make 'mapoff' field ElfW(Off) rather than off_t.
15918
bb9510dc
DL
159192012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15920
fc997c6e
DL
15921 * nscd/Makefile: Remove nscd-cflags and all its users.
15922 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15923 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15924
bb9510dc
DL
15925 [BZ #10631]
15926 * malloc.c (malloc_printerr): Clarify error message.
15927
05699367
L
159282012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15929
15930 [BZ #14648]
15931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15932 Set bit_FMA_Usable if FMA is supported.
15933 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15934 macro.
15935 (bit_FMA4_Usable): Updated.
15936 (index_FMA_Usable): New macro.
15937 (CPUID_FMA): Likewise
15938 (HAS_FMA): Defined with bit_FMA_Usable.
15939
51367701
RM
159402012-10-01 Roland McGrath <roland@hack.frob.com>
15941
15942 * bits/types.h (__swblk_t): Type removed.
15943 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15944 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15946 (__SWBLK_T_TYPE): Likewise.
15947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15948 (__SWBLK_T_TYPE): Likewise.
15949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15950 (__SWBLK_T_TYPE): Likewise.
15951 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15952 (__SWBLK_T_TYPE): Likewise.
15953
4d57bf63 159542012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15955 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15956
15957 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15958 (xdr_mapname): Use YPMAXMAP as maxsize.
15959 (xdr_peername): Use YPMAXPEER as maxsize.
15960 (xdr_keydat): Use YPAXRECORD as maxsize.
15961 (xdr_valdat): Use YPMAXRECORD as maxsize.
15962
93c65d43
RM
159632012-10-01 Roland McGrath <roland@hack.frob.com>
15964
497a03d6
RM
15965 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15966
93c65d43
RM
15967 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15968 * csu/init-first.c: ... here.
15969 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15970 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15971 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15972 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15973 * sysdeps/i386/init-first.c: File removed.
15974 * sysdeps/sh/init-first.c: File removed.
15975
bec749fd
JM
159762012-10-01 Joseph Myers <joseph@codesourcery.com>
15977
15978 [BZ #14645]
15979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15980 if x * y might underflow to zero and z is zero.
15981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15983 * math/libm-test.inc (min_subnorm_value): New variable.
15984 (fma_test): Add more tests.
15985 (fma_test_towardzero): Likewise.
15986 (fma_test_downward): Likewise
15987 (fma_test_upward): Likewise.
15988 (initialize): Set min_subnorm_value.
15989
8ec5b013
JM
159902012-09-29 Joseph Myers <joseph@codesourcery.com>
15991
15992 [BZ #14638]
15993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15994 0 + 0.
15995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15996 mode for addition resulting in exact zero.
15997 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15999 exact 0 + 0.
16000 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16002 * math/libm-test.inc (fma_test): Add more tests.
16003 (fma_test_towardzero): New function.
16004 (fma_test_downward): Likewise.
16005 (fma_test_upward): Likewise.
16006 (main): Call the new functions.
16007
b1fa802e
DM
160082012-09-28 David S. Miller <davem@davemloft.net>
16009
16010 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16011
d3b9fd9e
RM
160122012-09-28 Roland McGrath <roland@hack.frob.com>
16013
ea4d37b3
RM
16014 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16015 instead of SIGALRM.
16016
ac51c949
RM
16017 * sysdeps/gnu/_G_config.h: Moved to ...
16018 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16019 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16020 * sysdeps/generic/_G_config.h: ... here.
16021
28c195f7
RM
16022 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16023
848917f9
RM
16024 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16025
6bacf05b
RM
16026 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16027 Conditionalize target on [libnss_test1.so-version].
16028
91363dbb
RM
16029 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16030
cc87f7d8
RM
16031 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16032 (elfobjdir): Move out of conditionals.
16033
b1c608fe
RM
16034 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16035 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16036 (__nss_lookup_function): Conditionalize label remove_from_tree on
16037 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16038
1d9a6d96
DM
160392012-09-28 David S. Miller <davem@davemloft.net>
16040
16041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16042 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16043 file.
16044 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16045 sysdep_routines.
16046 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16048 when HWCAP_SPARC_CRYPTO is present.
16049
72581615
PT
160502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16051
16052 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16053
715a900c
JL
160542012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16055
16056 [BZ #6530]
16057 * stdio-common/vfprintf.c (process_string_arg): Revert
16058 2000-07-22 change.
16059
160602011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16061
16062 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16063 for testcase.
16064 * stdio-common/tst-sprintf.c: Include <locale.h>
16065 (main): Test sprintf's handling of incomplete multibyte
16066 characters.
16067
9bac1d86
L
160682012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16069
16070 * elf/dl-runtime.c (VERSYMIDX): Removed.
16071 * elf/dl-version.c (VERSYMIDX): Likewise.
16072 * elf/do-rel.h (VERSYMIDX): Likewise.
16073 (VALIDX): Likewise.
16074 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16075 * elf/rtld.c (VALIDX): Likewise.
16076 (ADDRIDX): Likewise.
9bac1d86
L
16077 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16078 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16079 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16080 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16081 (VALIDX): Likewise.
16082 (ADDRIDX): Likewise.
9bac1d86 16083
b31606c0
PT
160842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16085
16086 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16087
11541177
JL
160882012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16089
16090 [BZ #11438]
16091 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16092 to global scope.
16093 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16094 addresses are in the same scope as 192.0.2/24.
16095 * posix/gai.conf: Document new scope table defaults.
16096
adb26fae
SP
160972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16098
16099 [BZ #5298]
16100 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16101 for ftell. Compute offsets from write pointers instead.
16102 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16103
4573c6b0
SP
161042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16105
16106 [BZ #14543]
16107 * libio/Makefile (tests): New test case tst-fseek.
16108 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16109 combination works in wide mode.
16110 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16111 state when the external buffer state changes.
16112
aa9bbfe6
DM
161132012-09-27 David S. Miller <davem@davemloft.net>
16114
16115 [BZ #14376]
16116 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16117 pass reloc->r_addend in as the 'high' argument to
16118 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16119
784421e7
DM
16120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16121
c39bc8b8
PT
161222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16123
16124 * rt/tst-aio2.c: Include <pthread.h>.
16125 * rt/tst-aio3.c: Likewise.
16126
1ccc2399
SE
161272012-09-27 Steve Ellcey <sellcey@mips.com>
16128
16129 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16130
31ed4153
L
161312012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16132
25f5f885
L
16133 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16134 contents on [SHARED].
31ed4153 16135
b7bfe116
MP
161362012-09-26 Marek Polacek <polacek@redhat.com>
16137
16138 [BZ #14530]
16139 [BZ #13741]
16140 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16141 for C++ and GCC <4.3 as well as for non GCC compilers.
16142
43c4edba
MT
161432012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16144
16145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16146
6a1bf82f
RM
161472012-09-25 Roland McGrath <roland@hack.frob.com>
16148
16149 * Makefile.in (all, install): Declare with .PHONY.
16150 Reported by Michael Hope <michael.hope@linaro.org>.
16151
8ad11b9a
TMQMF
161522012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16153
16154 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16155 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16156 system header.
16157 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16158 Likewise.
16159 (sydep_routines): Add the new and the internal functions.
16160 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16161 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16163 (GLIBC_2.17): Add the new function.
16164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16165 (GLIBC_2.17): Likewise.
16166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16167 (GLIBC_2.17): Likewise.
16168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16169 (GLIBC_2.17): Likewise.
16170 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16171
7e2fca8d
AM
161722012-09-25 Alan Modra <amodra@gmail.com>
16173
16174 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16175 Add release barrier before setting once_control to say
16176 initialisation is done. Add hints on lwarx. Use macro in
16177 place of isync.
16178 (clear_once_control): Add release barrier.
16179
b87c4b24
JM
161802012-09-25 Joseph Myers <joseph@codesourcery.com>
16181
d032e0d2
JM
16182 [BZ #13629]
16183 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16184 specially.
16185 * math/s_clog10.c (__clog10): Likewise.
16186 * math/s_clog10f.c (__clog10f): Likewise.
16187 * math/s_clog10l.c (__clog10l): Likewise.
16188 * math/s_clogf.c (__clogf): Likewise.
16189 * math/s_clogl.c (__clogl): Likewise.
16190 * math/Makefile (libm-calls): Add x2y2m1.
16191 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16192 (__x2y2m1): Likewise.
16193 (__x2y2m1l): Likewise.
16194 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16195 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16196 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16197 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16198 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16199 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16200 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16201 * sysdeps/i386/fpu/libm-test-ulps: Update.
16202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16203
b87c4b24
JM
16204 [BZ #14621]
16205 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16206 int as type of variable DEPTH.
16207 (glob): Use size_t instead of int as type of variables NEWCOUNT
16208 and OLD_PATHC.
16209
6d3bf199
LD
162102012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16211
22bf5c17
LD
16212 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16213 Add s_sincosf-sse2.
16214 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16215 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16216 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16217 macros for using routine as __sincosf_ia32.
16218 Use macro for function declaration and weak_alias.
16219 * sysdeps/i386/fpu/libm-test-ulps: Update.
16220
16221 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16223
16224 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16225 subnormal argument.
16226 * math/s_cexpf.c (__cexpf): Likewise.
16227 * math/s_csinf.c (__csinf): Likewise.
16228 * math/s_csinhf.c (__csinhf): Likewise.
16229 * math/s_ctanf.c (__ctanf): Likewise.
16230 * math/s_ctanhf.c (__ctanhf): Likewise.
16231 * math/s_ccosh.c (__ccoshf): Likewise.
16232 * math/s_cexp.c (__cexpl): Likewise.
16233 * math/s_csin.c (__csin): Likewise.
16234 * math/s_csinh.c (__csinh): Likewise.
16235 * math/s_ctan.c (__ctan): Likewise.
16236 * math/s_ctanh.c (ctanh): Likewise.
16237 * math/s_ccoshl.c (__ccoshl): Likewise.
16238 * math/s_cexpl.c (__cexpl): Likewise.
16239 * math/s_csinl.c (__csinl): Likewise.
16240 * math/s_csinhl.c (__csinhl): Likewise.
16241 * math/s_ctanl.c (__ctanl): Likewise.
16242 * math/s_ctanhl.c (__ctanhl): Likewise.
16243
203e5603
JM
162442012-09-25 Joseph Myers <joseph@codesourcery.com>
16245
16246 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16247 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16248 (_IO_off_t): Define to __off_t, not _G_off_t.
16249 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16250 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16251 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16252 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16253 type of __dummy and __dummy2 fields.
16254 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16255 (_G_ssize_t): Likewise.
16256 (_G_off_t): Likewise.
16257 (_G_pid_t): Likewise.
16258 (_G_uid_t): Likewise.
16259 (_G_wchar_t): Likewise.
16260 (_G_wint_t): Likewise.
16261 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16262 (_G_ssize_t): Likewise.
16263 (_G_off_t): Likewise.
16264 (_G_pid_t): Likewise.
16265 (_G_uid_t): Likewise.
16266 (_G_wchar_t): Likewise.
16267 (_G_wint_t): Likewise.
16268 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16269 (_G_ssize_t): Likewise.
16270 (_G_off_t): Likewise.
16271 (_G_pid_t): Likewise.
16272 (_G_uid_t): Likewise.
16273 (_G_wchar_t): Likewise.
16274 (_G_wint_t): Likewise.
16275
9fab36eb
SP
162762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16277
16278 * malloc/arena.c: Include malloc-sysdep.h.
16279 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16280 is sufficient to shrink the heap or an unmap is needed.
16281 * sysdeps/generic/malloc-sysdep.h: New file. Define
16282 new function check_may_shrink_heap.
16283 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16284 new function check_may_shrink_heap.
16285
2b4f00d1
SP
162862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16287
16288 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16289 comments.
16290
9a9028b1
DL
162912012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16292
57c69bef
DL
16293 * catgets/test-gencat.sh: Add "set -e".
16294 * elf/tst-pathopt.sh: Likewise.
16295 * grp/tst_fgetgrent.sh: Likewise.
16296 * iconvdata/run-iconv-test.sh: Likewise.
16297 * intl/tst-gettext.sh: Likewise.
16298 * intl/tst-gettext2.sh: Likewise.
16299 * intl/tst-gettext4.sh: Likewise.
16300 * intl/tst-gettext6.sh: Likewise.
16301 * intl/tst-translit.sh: Likewise.
16302 * io/ftwtest-sh: Likewise.
16303 * libio/test-freopen.sh: Likewise.
16304 * malloc/tst-mtrace.sh: Likewise.
16305 * posix/globtest.sh: Likewise.
16306 * posix/tst-getconf.sh: Likewise.
16307 * posix/wordexp-tst.sh: Likewise.
16308 * stdio-common/tst-printf.sh: Likewise.
16309 * stdio-common/tst-unbputc.sh: Likewise.
16310 * stdlib/tst-fmtmsg.sh: Likewise.
16311 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16312 * catgets/Makefile: Do not specify -e option when running
16313 testsuite shell scripts.
16314 * elf/Makefile: Likewise.
16315 * grp/Makefile: Likewise.
16316 * iconvdata/Makefile: Likewise.
16317 * intl/Makefile: Likewise.
16318 * io/Makefile: Likewise.
16319 * libio/Makefile: Likewise.
16320 * malloc/Makefile: Likewise.
16321 * posix/Makefile: Likewise.
16322 * stdio-common/Makefile: Likewise.
16323 * stdlib/Makefile: Likewise.
16324 * sysdeps/x86_64/Makefile: Likewise.
16325
9a9028b1
DL
16326 * io/ftwtest-sh: Add copyright header.
16327 * posix/globtest.sh: Likewise.
16328 * posix/tst-getconf.sh: Likewise.
16329 * posix/wordexp-tst.sh: Likewise.
16330 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16331
ced6f16e
L
163322012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16333
94b32c39
L
16334 [BZ #13679]
16335 * Makeconfig (+link): Defined as $(+link-static) if
16336 $(build-shared) isn't yes.
16337 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16338 isn't yes.
16339 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16340
189e935b
L
16341 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16342
ced6f16e
L
16343 [BZ #14562]
16344 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16345 new chunk size with MALLOC_ALIGN_MASK.
16346
a9f8e53a
JM
163472012-09-24 Joseph Myers <joseph@codesourcery.com>
16348
16349 [BZ #5044]
16350 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16351 <rounding-mode.h>.
16352 (__printf_fphex): Determine rounding using get_rounding_mode and
16353 round_away.
16354 * stdio-common/tst-printf-round.c (struct hex_test): New
16355 structure.
16356 (hex_tests): New variable.
16357 (test_hex_in_one_mode): New function.
16358 (do_test): Also run tests for hex float output.
16359
43153109
JM
163602012-09-21 Joseph Myers <joseph@codesourcery.com>
16361
16362 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16363 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16364 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16365 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16366 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16367 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16368 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16369 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16370
8a26625d
JM
163712012-09-20 Joseph Myers <joseph@codesourcery.com>
16372
16373 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16374 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16375 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16376 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16377
f3fd569c
DL
163782012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16379
16380 [BZ #14579]
16381 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16382 mode only.
16383 * elf/tst-rtld-load-self.sh: New test.
16384 * elf/Makefile: Run it.
16385
63bbedd4
JM
163862012-09-18 Joseph Myers <joseph@codesourcery.com>
16387
16388 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16389 (tst-writev-ENV): Remove.
16390 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16391
626f8b6a
CM
163922012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16393
16394 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16395
b7aaa4d6
JM
163962012-09-17 Joseph Myers <joseph@codesourcery.com>
16397
16398 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16399 unconditional.
16400 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16401 Likewise.
16402 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16403 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16404 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16405 Likewise.
16406
65513990
L
164072012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16408
16409 [BZ #14587]
16410 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16411 * config.make.in (have-cpp-asm-debuginfo): Removed.
16412 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16413 * configure: Regenerated.
16414
784761be
JM
164152012-09-14 Joseph Myers <joseph@codesourcery.com>
16416
16417 [BZ #5044]
16418 * stdio-common/printf_fp.c: Include <stdbool.h> and
16419 <rounding-mode.h>.
16420 (___printf_fp): Determine rounding using get_rounding_mode and
16421 round_away.
16422 * stdio-common/tst-printf-round.c: New file.
16423 * stdio-common/Makefile (tests): Add tst-printf-round.
16424 (link-libm): New variable.
16425 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16426
9503345f
L
164272012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16428
16429 [BZ #14576]
16430 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16431 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16432 Likewise.
16433 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16434 Likewise.
16435
ad35fc00
JM
164362012-09-13 Joseph Myers <joseph@codesourcery.com>
16437
16438 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16439 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16440 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16441 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16442
6c9b0f68
JM
164432012-09-12 Joseph Myers <joseph@codesourcery.com>
16444
16445 [BZ #14518]
16446 * include/rounding-mode.h: New file.
16447 * sysdeps/generic/get-rounding-mode.h: Likewise.
16448 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16449 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16450 (MAX_VALUE): New macro.
16451 (MIN_VALUE): Likewise.
16452 (overflow_value): New function.
16453 (underflow_value): Likewise.
16454 (round_and_return): Use overflow_value and underflow_value to
16455 determine return values in overflow and underflow cases. Use
16456 round_away to determine rounding depending on rounding mode.
16457 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16458 determine return values in overflow and underflow cases.
16459 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16460 (struct test_results): New structure.
16461 (struct test): Use struct test_results to store expected results
16462 for all rounding modes.
16463 (TEST): Include expected results for all rounding modes.
16464 (test_in_one_mode): New function.
16465 (do_test): Use test_in_one_mode to compute and check results.
16466 Check results for all rounding modes.
16467 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16468 $(link-libm).
16469
19fcedd5
AM
164702012-12-09 Allan McRae <allan@archlinux.org>
16471
1e9d84cd 16472 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16473
8bbfd2f1
JM
164742012-09-11 Joseph Myers <joseph@codesourcery.com>
16475
16476 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16477 (_G_int32_t): Likewise.
16478 (_G_uint16_t): Likewise.
16479 (_G_uint32_t): Likewise.
16480 (_G_HAVE_BOOL): Likewise.
16481 (_G_HAVE_ATEXIT): Likewise.
16482 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16483 (_G_HAVE_IO_FILE_OPEN): Likewise.
16484 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16485 (_G_int32_t): Likewise.
16486 (_G_uint16_t): Likewise.
16487 (_G_uint32_t): Likewise.
16488 (_G_HAVE_BOOL): Likewise.
16489 (_G_HAVE_ATEXIT): Likewise.
16490 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16491 (_G_HAVE_IO_FILE_OPEN): Likewise.
16492 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16493 (_G_int32_t): Likewise.
16494 (_G_uint16_t): Likewise.
16495 (_G_uint32_t): Likewise.
16496 (_G_HAVE_BOOL): Likewise.
16497 (_G_HAVE_ATEXIT): Likewise.
16498 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16499 (_G_HAVE_IO_FILE_OPEN): Likewise.
16500
b1dc5912
L
165012012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16502
16503 * csu/libc-tls.c: Update copyright years.
16504
0e886ef9
JM
165052012-09-10 Joseph Myers <joseph@codesourcery.com>
16506
28361c5e
JM
16507 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16508 [!_G_USING_THUNKS]: Remove conditional code.
16509 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16510 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16511
0e886ef9
JM
16512 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16513 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16514 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16515 (_G_VTABLE_LABEL_PREFIX): Likewise.
16516 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16517 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16518 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16519 (_G_VTABLE_LABEL_PREFIX): Likewise.
16520 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16521 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16522 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16523 (_G_VTABLE_LABEL_PREFIX): Likewise.
16524 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16525
bcba7aa2
L
165262012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16527
16528 * libio/Makefile: Include ../Makeconfig before tests.
16529 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16530 only if $(build-shared) is yes.
16531
06585ee8
L
16532 * iconv/gconv_db.c: Update copyright years.
16533
80ccd52c
LD
165342012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16535
16536 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16537 unwind info if defined PIC. Fix special cases description.
16538 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16539
16540 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16541 DP_HI_MASK entry.
16542 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16543
691bc9c1
L
165442012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16545
3d9b46b3
L
16546 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16547
de2139a9
L
16548 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16549 is NULL.
16550
5ca78dd0
L
16551 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16552 (LDLIBS-tst-chk4): This.
16553 (LDFLAGS-tst-chk5): Renamed to ...
16554 (LDLIBS-tst-chk5): This.
16555 (LDFLAGS-tst-chk6): Renamed to ...
16556 (LDLIBS-tst-chk6): This.
16557 (LDFLAGS-tst-lfschk4): Renamed to ...
16558 (LDLIBS-tst-lfschk4): This.
16559 (LDFLAGS-tst-lfschk5): Renamed to ...
16560 (LDLIBS-tst-lfschk5): This.
16561 (LDFLAGS-tst-lfschk6): Renamed to ...
16562 (LDLIBS-tst-lfschk6): This.
16563
691bc9c1
L
16564 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16565 on $(common-objpfx)soversions.mk.
16566
65cafb1c
JM
165672012-09-07 Joseph Myers <joseph@codesourcery.com>
16568
16569 [BZ #10014]
16570 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16571 example host name.
16572
c78ab094
SP
165732012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16574
16575 * malloc/arena.c (arena_get_retry): New function that gets
16576 another arena for the caller to try its request on.
16577 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16578 current arena cannot fulfill the request.
16579 (__libc_memalign): Likewise.
16580 (__libc_memalign): Likewise.
16581 (__libc_pvalloc): Likewise.
16582 (__libc_calloc): Likewise.
16583
01f49f59
JT
165842012-09-05 John Tobey <john.tobey@gmail.com>
16585
16586 [BZ #13542]
16587 * manual/arith.texi (Operations on Complex): Fix description
16588 of carg branch cut.
16589
4c23fed5
JM
165902012-09-06 Joseph Myers <joseph@codesourcery.com>
16591
1d3c8572
JM
16592 [BZ #10014]
16593 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16594 host name.
16595
4c23fed5
JM
16596 [BZ #10038]
16597 * manual/memory.texi (Memory): Make order of menu items match
16598 order of sections.
16599
04570aaa
L
166002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16601
16602 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16603 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16604 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16605
b80af2f4
L
166062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16607
16608 * csu/libc-tls.c (static_dtv): Renamed to ...
16609 (_dl_static_dtv): This. Make it global.
16610 (_dl_initial_dtv): Removed.
16611 (__libc_setup_tls): Updated.
16612 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16613 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16614 DL_INITIAL_DTV.
16615
2abe9f15
PM
166162012-09-06 Petr Machata <pmachata@redhat.com>
16617
16618 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16619 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16620 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16621 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16622
0948c3af
L
166232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16624
16625 [BZ #14545]
16626 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16627 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16628 freeing dtv[-1].
16629
a5055ad1
L
166302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16631
16632 [BZ #14544]
16633 * Makeconfig (link-static-before-libc): Replace $(+prector)
16634 with $(+prectorT).
16635 (link-static-after-libc): Replace $(+postctor) with
16636 $(+postctorT).
16637 (link-bounded): Replace $(+prector)/$(+postctor) with
16638 $(+prectorT)/$(+postctorT).
16639 (+prectorT): New macro.
16640 (+postctorT): Likewise.
16641
ed8c2ecd
JM
166422012-09-06 Joseph Myers <joseph@codesourcery.com>
16643
16644 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16645 (round_str): Handle values above the maximum for IBM long double
16646 as inexact.
16647 * stdlib/tst-strtod-round.c (tests): Regenerated.
16648
14c996c8
AK
166492012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16650
16651 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16652 assembler flag.
16653 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16654 zarch_nohighgprs around the zarch optimized routines.
16655 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16656 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16657 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16658 for zarch.
16659
430d6ce6
DM
166602012-09-05 David S. Miller <davem@davemloft.net>
16661
16662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16663
ff04dda4
DM
16664 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16665 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16666 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16667 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16668 entries.
16669
24d4e01b
AO
166702012-09-05 Alexandre Oliva <aoliva@redhat.com>
16671
16672 * malloc/arena.c: Fold copyright years.
16673 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16674
61d58174
AO
166752012-09-05 Alexandre Oliva <aoliva@redhat.com>
16676
16677 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16678
20196a5e
AO
166792012-09-05 Alexandre Oliva <aoliva@redhat.com>
16680
16681 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16682
5c447383
AO
166832012-09-05 Alexandre Oliva <aoliva@redhat.com>
16684
16685 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16686 change internal state upon failure.
16687
fad64255
AO
166882012-09-05 Alexandre Oliva <aoliva@redhat.com>
16689
16690 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16691 * malloc/memusage.c (mmap): Likewise.
16692 (mmap64, mremap): Likewise. Adjust name in comment.
16693
1ffb8c90
SP
166942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16695
16696 * libio/fileops.c: Fix typos in comments.
16697 * libio/oldfileops.c: Likewise.
16698 * libio/wfileops.c: Likewise.
16699
6ef9cc37
SP
167002012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16701
16702 [BZ #1349]
16703 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16704 (tst-malloc-usable-ENV): Set environment for test case.
16705 * malloc/hooks.c (malloc_check_get_size): New function to get
16706 requested size.
16707 * malloc/malloc.c (musable): Use malloc_check_get_size.
16708 * malloc/tst-malloc-usable.c: New test case.
16709
4d038ae3
AS
167102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16711
16712 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16713
c4e85184
AM
167142012-09-05 Allan McRae <allan@archlinux.org>
16715
b9dafc56 16716 [BZ #13966]
c4e85184
AM
16717 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16718 determine header location.
16719 * configure: Regenerated.
16720
e1343020
AS
167212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16722
16723 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16724 float format.
16725 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16726 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16727 format.
e1343020
AS
16728 (test): Regenerate.
16729
0a9f1987
DM
167302012-09-04 David S. Miller <davem@davemloft.net>
16731
16732 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16733 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16734 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16735
29237804
FW
167362012-09-04 Florian Weimer <fweimer@redhat.com>
16737
16738 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16739 failures.
16740
edb3cb88
FW
16741 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16742
60160d83
JM
167432012-09-04 Joseph Myers <joseph@codesourcery.com>
16744
16745 [BZ #9914]
16746 * libio/iogetdelim.c: Include <limits.h>.
16747 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16748 + len + 1 would overflow.
16749
bcd6c8dc
AJ
167502012-09-03 Andreas Jaeger <aj@suse.de>
16751
16752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16753 * sysdeps/i386/fpu/libm-test-ulps: Update.
16754
4ffffbd2
LD
167552012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16756
16757 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16758 Add s_sinf-sse2, s_conf-sse2.
16759
16760 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16761 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16762 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16763 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16764
16765 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16766 for using routine as __sinf_ia32.
16767 Use macro for function declaration and weak_alias.
16768 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16769 for using routine as __cosf_ia32.
16770 Use macro for function declaration and weak_alias.
16771
16772 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16773 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16774
16775 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16776 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16778
16779 * math/libm-test.inc (cos_test): Add more test cases.
16780 (sin_test): Likewise.
16781 (sincos_test): Likewise.
16782
511fa286
AK
167832012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16784
16785 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16786 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16787 hidden.
16788 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16789
5f30cfec
L
167902012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16791
16792 [BZ #14538]
16793 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16794 first element of the GOT.
16795 (elf_machine_load_address): Return the difference between
16796 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16797
0786794f
AM
167982012-09-01 Allan McRae <allan@archlinux.org>
16799
5f30cfec
L
16800 [BZ #13412]
16801 * configure.in (AWK): Require gawk version 3.0 or later.
16802 * configure: Regenerated.
0786794f 16803
26889eac
JM
168042012-09-01 Joseph Myers <joseph@codesourcery.com>
16805
16806 * sysdeps/unix/sysv/linux/kernel-features.h
16807 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16809 [__NR_clock_getres]: Make code unconditional.
16810 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16811 (clock_getcpuclockid): Remove code left unreachable by removal of
16812 conditionals.
16813 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16814 code unconditional.
16815 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16816 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16817 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16818 Make code unconditional.
16819 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16820 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16821 * sysdeps/unix/sysv/linux/clock_settime.c
16822 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16823 conditional code.
16824 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16825 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16826
d22e28b0
L
168272012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16828
16829 [BZ #14476]
16830 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16831 scripts/test-installation.pl.
16832
16833 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16834 and $ld_so_version if it is set.
16835
050af9c4
SP
168362012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16837
16838 [BZ #14516]
16839 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16840 failure if reading from procfs failed.
16841 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16842
ad845c0b
JM
168432012-08-27 Joseph Myers <joseph@codesourcery.com>
16844
16845 * sysdeps/unix/sysv/linux/kernel-features.h
16846 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16847 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16848 Remove conditional code.
16849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16850 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16851 Remove conditional code.
16852 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16853 * sysdeps/unix/sysv/linux/i386/fxstat.c
16854 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16855 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16856 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16857 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16858 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16859 * sysdeps/unix/sysv/linux/i386/lxstat.c
16860 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16862 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16863 Remove conditional code.
16864 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16865 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16866 Remove conditional code.
16867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16868 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16869 <kernel-features.h>.
16870 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16871 Remove.
16872 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16873 Remove conditional code.
16874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16875 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16876 Remove conditional.
16877
5dbf56af
MF
168782012-08-27 Mike Frysinger <vapier@gentoo.org>
16879
16880 [BZ #5400]
16881 * NEWS: Add fixed bug number.
16882
d6e70f43
JM
168832012-08-27 Joseph Myers <joseph@codesourcery.com>
16884
7efb4737
JM
16885 [BZ #14519]
16886 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16887 underflowing exponent in case of negative sign.
16888 * stdlib/tst-strtod-round-data: Add more tests.
16889 * stdlib/tst-strtod-round.c (tests): Regenerated.
16890
af92131a
JM
16891 [BZ #3479]
16892 * stdlib/strtod_l.c (NDIG): Remove.
16893 (HEXNDIG): Likewise.
16894 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16895 smallest representable value.
16896 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16897 lie within an exact representation of 1/2 ulp of the result.
16898 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16899 unconditionally.
16900 (TENS_P9_IDX): Define unconditionally.
16901 (TENS_P9_SIZE): Likewise.
16902 (TENS_P10_IDX): Likewise.
16903 (TENS_P10_SIZE): Likewise.
16904 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16905 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16906 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16907 entries for 10^2^13 and 10^2^14.
16908 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16909 (TENS_P13_IDX): Define.
16910 (TENS_P13_SIZE): Likewise.
16911 (TENS_P14_IDX): Likewise.
16912 (TENS_P14_SIZE): Likewise.
16913 (_fpioconst_pow10): Change array size to
16914 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16915 unconditional.
16916 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16917 1024]: Add entries for 10^2^13 and 10^2^14.
16918 [LAST_POW10 > _LAST_POW10]: Remove #error.
16919 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16920 (_fpioconst_pow10): Change array size to
16921 FPIOCONST_POW10_ARRAY_SIZE.
16922 * stdlib/gen-fpioconst.c: New file.
16923 * stdlib/gen-tst-strtod-round.c: Likewise.
16924 * stdlib/tst-strtod-round-data: Likewise.
16925 * stdlib/tst-strtod-round.c: Likewise.
16926 * stdlib/Makefile (tests): Add tst-strtod-round.
16927
d6e70f43
JM
16928 [BZ #14459]
16929 * stdlib/strtod_l.c: Include <stdint.h>.
16930 (NDEBUG): Do not define.
16931 (round_and_return): Change EXPONENT parameter to type intmax_t.
16932 Rearrange calculations to avoid internal overflow possibilities.
16933 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16934 Rearrange calculations to avoid internal overflow possibilities.
16935 Assert that number fits inside MPNSIZE limbs.
16936 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16937 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16938 calculations and add assertions to avoid internal overflow
16939 possibilities. Add casts to avoid signed/unsigned operations.
16940 * stdlib/tst-strtod-overflow.c: New file.
16941 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16942
1f529f7d
MP
169432012-08-25 Marek Polacek <polacek@redhat.com>
16944
16945 * time/time.h: Fix some typos in comments.
16946
59a629f1
RM
169472012-08-23 Roland McGrath <roland@hack.frob.com>
16948
16949 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16950 * posix/tst-rfc3484-2.c: Likewise.
16951 * posix/tst-rfc3484-3.c: Likewise.
16952
d3bafbc9
SM
169532012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16954
16955 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16956 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16957
4efcc022
JM
169582012-08-23 Joseph Myers <joseph@codesourcery.com>
16959
16960 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16961 #include of fxstatat64.c.
16962
3cc3ef96
RM
169632012-08-22 Roland McGrath <roland@hack.frob.com>
16964
f04e2132
RM
16965 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16966 * shadow/getspent_r.c: Likewise.
16967 * shadow/getspnam.c: Likewise.
16968 * shadow/getspnam_r.c: Likewise.
16969 * gshadow/getsgent.c: Likewise.
16970 * gshadow/getsgent_r.c: Likewise.
16971 * gshadow/getsgnam.c: Likewise.
16972 * gshadow/getsgnam_r.c: Likewise.
16973 * inet/getnetbyad.c: Likewise.
16974 * inet/getnetbyad_r.c: Likewise.
16975 * inet/getnetbynm.c: Likewise.
16976 * inet/getnetbynm_r.c: Likewise.
16977 * inet/getnetent.c: Likewise.
16978 * inet/getnetent_r.c: Likewise.
16979 * inet/getproto.c: Likewise.
16980 * inet/getproto_r.c: Likewise.
16981 * inet/getprtent.c: Likewise.
16982 * inet/getprtent_r.c: Likewise.
16983 * inet/getprtname.c: Likewise.
16984 * inet/getprtname_r.c: Likewise.
16985 * inet/getrpcbyname.c: Likewise.
16986 * inet/getrpcbyname_r.c: Likewise.
16987 * inet/getrpcbynumber.c: Likewise.
16988 * inet/getrpcbynumber_r.c: Likewise.
16989 * inet/getrpcent.c: Likewise.
16990 * inet/getrpcent_r.c: Likewise.
16991 * inet/getaliasent.c: Likewise.
16992 * inet/getaliasent_r.c: Likewise.
16993 * inet/getaliasname.c: Likewise.
16994 * inet/getaliasname_r.c: Likewise.
16995 * nscd/getgrgid_r.c: Likewise.
16996 * nscd/getgrnam_r.c: Likewise.
16997 * nscd/gethstbyad_r.c: Likewise.
16998 * nscd/gethstbynm3_r.c: Likewise.
16999 * nscd/getpwnam_r.c: Likewise.
17000 * nscd/getpwuid_r.c: Likewise.
17001 * nscd/getsrvbynm_r.c: Likewise.
17002 * nscd/getsrvbypt_r.c: Likewise.
17003 * nscd/gai.c: Likewise.
17004
c53d909c
RM
17005 * configure.in (build_nscd): New substituted variable, set
17006 by --disable-build-nscd and defaults to $use_nscd.
17007 * configure: Regenerated.
17008 * config.make.in (build-nscd): New substituted variable.
17009 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17010 Change conditional to require [$(build-nscd) = yes] as well.
17011 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17012
3cc3ef96
RM
17013 [BZ# 13696]
17014 * configure.in (use_nscd): New substituted variable, set by
17015 --disable-nscd. If enabled, define USE_NSCD.
17016 * configure: Regenerated.
17017 * config.h.in: Add USE_NSCD.
17018 * config.make.in (use-nscd): New substituted variable.
17019 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17020 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17021 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17022 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17023 (CFLAGS-getgrnam_r.c): Likewise.
17024 (CFLAGS-initgroups.c): Likewise.
17025 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17026 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17027 Variables removed.
17028 * inet/getnetgrent_r.c
17029 (nscd_setnetgrent): New function, broken out of ...
17030 (setnetgrent): ... here. Call it.
17031 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17032 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17033 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17034 * nscd/Makefile (routines, aux): Move definitions after include of
17035 Makeconfig. Conditionalize on [$(use-nscd) != no].
17036 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17037 Conditionalize on [USE_NSCD].
17038 (is_nscd, nscd_init_cb): Likewise.
17039 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17040 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17041 * nss/nss_db/db-init.c: Likewise.
17042 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17043 [USE_NSCD].
17044 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17045 (make_request): Use it.
17046 (cache_valid_p): New function.
17047 (__check_pf): Use it.
17048 * NEWS: Add item for --disable-nscd.
17049
07e51550
DL
170502012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17051
17052 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17053 to support sed >= 4.2.1-20-ga9bf076.
17054 * configure: Regenerated.
17055
35a5b08b
RM
170562012-08-22 Roland McGrath <roland@hack.frob.com>
17057
17058 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17059 Conditionalize whole body on [IREL].
17060
8479f23a
JL
170612012-08-22 Jeff Law <law@redhat.com>
17062
17063 [BZ #14505]
17064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17065 if the family is PF_UNSPEC.
17066
48da0b21
MF
170672012-08-22 Mike Frysinger <vapier@gentoo.org>
17068
17069 * Makerules (lib-version): Rename from V.
17070 (install-lib-nosubdir): Change V to lib-version.
17071
15d0da8c
WS
170722012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17073
17074 [BZ #14252]
17075 * powerpc32/power6/wcschr.c: New file.
17076 * powerpc32/power6/wcscpy.c: New file.
17077 * powerpc32/power6/wcsrchr.c: New file.
17078 * powerpc64/power6/wcschr.c: New file.
17079 * powerpc64/power6/wcscpy.c: New file.
17080 * powerpc64/power6/wcsrchr.c: New file.
17081
bcca0895
MK
170822012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17083
17084 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17085 (two_way_short_needle): Use it.
5a4aaa33
RM
17086 * string/strstr.c (AVAILABLE1_USES_J): Define.
17087 * string/strcasestr.c: Likewise.
99677e57
MK
17088
17089 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17090 array references.
17091 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17092
400726de
MK
17093 [BZ #11607]
17094 * NEWS: Add an entry.
17095 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17096 define their defaults.
17097 (two_way_short_needle): Detect end-of-string on-the-fly.
17098 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17099 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17100 * string/bug-strcasestr1.c: New test.
17101 * string/Makefile: Run it.
17102
20a71f2c
MK
171032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17104
17105 [BZ #11607]
17106 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17107 the first character.
17108
21ad0558
RM
171092012-08-21 Roland McGrath <roland@hack.frob.com>
17110
17111 * csu/elf-init.c (__libc_csu_irel): Function removed.
17112 * csu/libc-start.c (apply_irel): New function.
17113 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17114
0e1d9911
JM
171152012-08-21 Joseph Myers <joseph@codesourcery.com>
17116
17117 * sysdeps/unix/sysv/linux/kernel-features.h
17118 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17119 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17120 <kernel-features.h>.
17121 [__NR_fadvise64_64]: Make code unconditional.
17122 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17123 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17124 !__NR_fadvise64_64)]: Likewise.
17125 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17126 !__NR_fadvise64_64))]: Likewise.
17127 [__NR_fadvise64]: Make code unconditional.
17128 [!__NR_fadvise64]: Remove conditional code.
17129 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17130 <kernel-features.h>.
17131 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17132 unconditional.
17133 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17134 conditional code.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17136 not include <kernel-features.h>.
17137 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17138 unconditional.
17139 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17140 conditional code.
17141 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17142 include <kernel-features.h>.
17143 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17144 unconditional.
17145 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17146 conditional code.
17147
14a50c9d
WS
171482012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17149
17150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17151 slight instruction rearrangements per scrollpipe analysis.
17152 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17153
c0f4faf0
RM
171542012-08-20 Roland McGrath <roland@hack.frob.com>
17155
696da859
RM
17156 * manual/syslog.texi (syslog; vsyslog, closelog):
17157 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17158 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17159
c0f4faf0
RM
17160 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17161 DSOCAPS to match condition on defining it.
17162
348363b2
JM
171632012-08-20 Joseph Myers <joseph@codesourcery.com>
17164
a35cbf28
JM
17165 * sysdeps/unix/sysv/linux/kernel-features.h
17166 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17168 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17169 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17171 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17172 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17174 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17175 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17176
445f7ecd
JM
17177 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17178 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17179
348363b2
JM
17180 * sysdeps/unix/sysv/linux/kernel-features.h
17181 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17182 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17183 unconditional.
17184 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17185 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17186 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17187 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17188 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17189 Make code unconditional.
17190 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17191 (__mmap64) [!__NR_mmap2]: Likewise.
17192 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17193 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17194 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17195 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17196 [__NR_mmap2]: Make code unconditional.
17197 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17198 (__mmap64) [!__NR_mmap2]: Likewise.
17199
bc5bc0e5
AK
172002012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17201
17202 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17203
88d506de
AJ
172042012-08-18 Andreas Jaeger <aj@suse.de>
17205
17206 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17207
493387d2
MF
172082012-08-18 Mike Frysinger <vapier@gentoo.org>
17209
17210 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17211 * include/unistd.h (__have_sock_cloexec): Likewise.
17212 (__have_pipe2): Likewise.
17213 (__have_dup3): Likewise.
17214
a277af22
MF
172152012-08-18 Mike Frysinger <vapier@gentoo.org>
17216
17217 [BZ #9685]
17218 * include/unistd.h (__have_pipe2): Change define into an extern int.
17219 (__have_dup3): Likewise.
17220 * socket/have_sock_cloexec.c: Include fcntl.h.
17221 (__have_pipe2): New variable.
17222 (__have_dup3): Likewise.
17223
fdab8fd3
MF
172242012-08-17 Mike Frysinger <vapier@gentoo.org>
17225
17226 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17227
31035e80
MP
172282012-08-17 Marek Polacek <polacek@redhat.com>
17229
17230 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17231 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17232
3bd9e993
RM
172332012-08-17 Roland McGrath <roland@hack.frob.com>
17234
c91c505f
RM
17235 * configure.in: Add AC_SUBST for sysheaders.
17236 * configure: Regenerated.
17237 * config.make.in (sysheaders): New substituted variable.
17238
7c6f9d53
RM
17239 * sysdeps/unix/mkfifo.c: Moved ...
17240 * sysdeps/posix/mkfifo.c: ... here.
17241 * sysdeps/unix/mkfifoat.c: Moved ...
17242 * sysdeps/posix/mkfifoat.c: ... here.
17243
17244 * sysdeps/unix/utime.c: Moved ...
17245 * sysdeps/posix/utime.c: ... here.
17246
17247 * sysdeps/unix/time.c: Moved ...
17248 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17249 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17250 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17251
17252 * sysdeps/unix/nice.c: Moved ...
17253 * sysdeps/posix/nice.c: ... here.
17254
17255 * sysdeps/unix/alarm.c: Moved ...
17256 * sysdeps/posix/alarm.c: ... here.
17257
3bd9e993
RM
17258 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17259
d1f09384
JL
172602012-08-17 Jeff Law <law@redhat.com>
17261
17262 * intl/Makefile (codeset_mo): New variable.
17263 ($(codeset_mo)): New target.
17264 (tst-codeset.out): Depend on that. Remove explicit rule.
17265 (tst-gettext3.out, tst-gettext5.out): Likewise.
17266 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17267 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17268 * intl/tst-codeset.sh: Remove.
17269 * intl/tst-gettext3.sh: Likewise.
17270 * intl/tst-gettext5.sh: Likewise.
17271
2ae1ae5c
RM
172722012-08-17 Roland McGrath <roland@hack.frob.com>
17273
c31fdb83
RM
17274 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17275 * sysdeps/unix/syscalls.list: ... here.
17276
a0844057
RM
17277 * sysdeps/posix/getaddrinfo.c
17278 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17279 (gaiconf_init, gaiconf_reload): Use them.
17280 [!_STATBUF_ST_NSEC]
17281 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17282 Define using time_t rather than struct timespec.
17283
750c1f2a
RM
17284 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17285 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17286 Macros removed.
17287 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17288 [!NO_THREADS].
17289 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17290 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17291 Likewise.
17292
2ae1ae5c
RM
17293 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17294 __libc_cleanup_push argument.
17295
e66a42f5
RM
17296 * bits/param.h: New file.
17297 * misc/sys/param.h: New file.
17298 * include/sys/param.h: New file.
17299 * misc/Makefile (headers): Add bits/param.h.
17300 * sysdeps/generic/sys/param.h: File removed.
17301 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17302 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17303 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17304 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17305
b7c08a66
RM
17306 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17307 last change.
17308
b2e1c562
RM
17309 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17310 [_IO_MTSAFE_IO].
17311 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17312 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17313 New macros.
17314
c75ccd4c
RM
17315 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17316 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17317 rather than -D_IO_MTSAFE_IO conditionally.
17318 * stdio-common/Makefile (CPPFLAGS): Likewise.
17319 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17320 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17321 Use $(libio-mtsafe).
17322 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17323 of -D_IO_MTSAFE_IO.
17324 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17325 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17326 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17327 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17328 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17329 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17330 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17331 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17332 (CFLAGS-fread_u_chk.c): Likewise.
17333 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17334 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17335 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17336 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17337 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17338 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17339 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17340 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17341 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17342
17343 * libio/Makefile: Test [$(libc-reentrant) = yes]
17344 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17345
17346 * Makeconfig
17347 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17348 * sysdeps/pthread/configure: File removed.
17349 * sysdeps/pthread/Makeconfig: New file.
17350 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17351 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17352
d9195db8
GB
173532012-08-16 Gary Benson <gbenson@redhat.com>
17354
17355 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17356 unmapping the first object in a namespace.
17357
86466cd9
RM
173582012-08-16 Roland McGrath <roland@hack.frob.com>
17359
17360 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17361 (__internal_setnetgrent): ... this. Add internal_function to
17362 definition. Add libc_hidden_def.
17363 (setnetgrent): Update caller.
17364 (internal_endnetgrent): Renamed to ...
17365 (__internal_endnetgrent): ... this. Add internal_function to
17366 definition. Add libc_hidden_def.
17367 (endnetgrent): Update caller.
17368 (internal_getnetgrent_r): Renamed to ...
17369 (__internal_getnetgrent_r): ... this. Add internal_function to
17370 definition. Add libc_hidden_def.
17371 (__getnetgrent_r): Update caller.
17372 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17373
c3c8283c
JM
173742012-08-16 Joseph Myers <joseph@codesourcery.com>
17375
17376 * stdlib/longlong.h: Update from GCC.
17377
db1ee0a8
RM
173782012-08-16 Roland McGrath <roland@hack.frob.com>
17379
17380 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17381 on _QL, which is set by umul_ppmm but never used.
17382 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17383 variables, which are set by GMP macros but never used.
17384 * stdio-common/_itowa.c (_itowa): Likewise.
17385 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17386 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17387
30f69637
CD
173882012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17389
17390 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17391 struct La_sh_regs is not constant.
17392 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17393 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17394 and struct La_sparc64_regs are not constant.
17395
93a78ac4
JM
173962012-08-16 Joseph Myers <joseph@codesourcery.com>
17397
17398 * sysdeps/unix/sysv/linux/kernel-features.h
17399 (__ASSUME_POSIX_TIMERS): Remove.
17400 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17401 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17402 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17403 Make code unconditional.
17404 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17405 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17406 Make code unconditional.
17407 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17408 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17409 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17410 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17411 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17412 Make code unconditional.
17413 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17414 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17415 (__libc_missing_posix_timers): Remove.
17416
dd924cd7
RM
174172012-08-15 Roland McGrath <roland@hack.frob.com>
17418
4b4f2771
RM
17419 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17420 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17421
601c888b
RM
17422 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17423
176790a7
RM
17424 * elf/dl-sym.c: Include <stdlib.h>.
17425
329bc018
RM
17426 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17427 constants, which avoids warnings in 32-bit builds.
17428
e04e272d
RM
17429 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17430 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17431
952bf94a
RM
17432 * misc/lseek.c: File moved to ...
17433 * io/lseek.c: ... here.
17434
7c99b50a
RM
17435 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17436
dd924cd7
RM
17437 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17438 shifting LEN more than 31 bits at once.
17439
b3f479a8
LD
174402012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17441
17442 [BZ #14195]
8c4ae0d4
RM
17443 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17444 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17445 * string/test-strncasecmp.c (check1): Renamed to...
17446 (bz12205): ...this.
17447 (bz14195): Add new testcase for two empty input strings and N > 0.
17448 (test_main): Call new testcase, adapt for renamed function.
17449
9c55864e
AJ
174502012-08-15 Andreas Jaeger <aj@suse.de>
17451
17452 [BZ #14090]
17453 * crypt/md5test2.c: New test, based on test supplied by Serge
17454 Belyshev <belyshev@depni.sinp.msu.ru>.
17455 * crypt/Makefile (xtests): Add md5test-giant..
17456 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17457
02dcb6c5
PE
174582012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17459
17460 [BZ #14090]
17461 * crypt/md5.c (md5_process_block): Don't assume the buffer
17462 length is less than 2**32.
17463 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17464 length is less than 2**64.
17465
a3f95dcc
RM
174662012-08-15 Roland McGrath <roland@hack.frob.com>
17467
be75d758
RM
17468 * string/str-two-way.h: Include <sys/param.h>.
17469 (MAX): Macro removed.
17470
7312ca90
RM
17471 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17472 Move #define and #undef of memmove to just before and after
17473 including <string.h>.
17474
9a0a5486
RM
17475 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17476 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17477 and after including <string.h>. Move declarations of
17478 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17479 to before #include "string/memmove.c".
17480
67cc348d
RM
17481 * include/dirent.h: Declare __getdirentries.
17482
a3f95dcc
RM
17483 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17484 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17485
ca98e171
MF
174862012-08-14 Mike Frysinger <vapier@gentoo.org>
17487
17488 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17489 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17490 * sysdeps/i386/configure: Regenerated.
17491 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17492 STABS_CURRENT_FILE, and STABS_FUN.
17493 (END): Remove call to STABS_FUN_END.
17494 (STABS_CURRENT_FILE1): Delete.
17495 (STABS_CURRENT_FILE): Likewise.
17496 (STABS_FUN): Likewise.
17497 (STABS_FUN_END): Likewise.
17498 (STABS_FUN2): Likewise.
17499 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17500 * sysdeps/x86_64/configure: Regenerated.
17501
5908bf46
RM
175022012-08-14 Roland McGrath <roland@hack.frob.com>
17503
17504 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17505 * elf/dl-lookup.c: Likewise.
5908bf46 17506
f2c05b9e
JM
175072012-08-14 Joseph Myers <joseph@codesourcery.com>
17508
17509 * sysdeps/unix/sysv/linux/kernel-features.h
17510 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17511 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17512 unconditionally.
17513 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17514 unconditionally.
17515 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17516 condition on __ASSUME_CLONE_THREAD_FLAGS.
17517
e11f5155
AJ
175182012-08-14 Andreas Jaeger <aj@suse.de>
17519
17520 * sysdeps/i386/fpu/libm-test-ulps: Update.
17521
51a9ba86
MK
175222012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17523
2fdd4f78
AJ
17524 * include/atomic.h (atomic_exchange_and_add): Split into ...
17525 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17526 New atomic macros.
51a9ba86 17527
ba6cba9e
MT
175282012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17529
17530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17531
42443a47
JL
175322012-08-13 Jeff Law <law@redhat.com>
17533
17534 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17535 null byte in the output string.
17536
121dce05
JM
175372012-08-10 Joseph Myers <joseph@codesourcery.com>
17538
17539 * sysdeps/unix/sysv/linux/kernel-features.h
17540 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17541 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17542 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17543 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17544 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17545 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17546 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17547
bf51f568
JL
175482012-08-09 Jeff Law <law@redhat.com>
17549
17550 [BZ #13939]
17551 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17552 When avoid_arena is set, don't retry in the that arena. Pick the
17553 next one, whatever it might be.
17554 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17555 (arena_lock): Pass in new parameter to arena_get2.
17556 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17557 arena_get2.
17558 (__libc_malloc): Unify retrying after main arena failure with
17559 __libc_memalign version.
17560 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17561
f85fa270
L
175622012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17563
17564 [BZ #14166]
17565 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17566 to __redirect_strstr.
17567 (__strstr_sse42): Use typeof __redirect_strstr.
17568 (__strstr_ia32): Likewise.
17569 (__libc_strstr): New prototype.
17570 (strstr): Renamed to ...
17571 (__libc_strstr): This.
17572 (strstr): New strong alias of __libc_strstr.
17573 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17575 __redirect_time.
17576 Include <time.h>.
17577 (__libc_time): New prototype.
17578 (time_ifunc): Replace time with __libc_time.
17579 (time): New strong alias and hidden definition of __libc_time.
17580 (__GI_time): Remove strong alias.
17581 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17582 Include <stddef.h>.
17583 (memmove): Redefined to __redirect_memmove.
17584 (__memmove_sse2): Use typeof __redirect_memmove.
17585 (__memmove_ssse3): Likewise.
17586 (__memmove_ssse3_back): Likewise.
17587 (__libc_memmove): New prototype.
17588 (memmove): Renamed to ...
17589 (__libc_memmove): This.
17590 (memmove): New strong alias of __libc_memmove.
17591
33b4a91e
MS
175922012-08-08 Mark Salter <msalter@redhat.com>
17593
17594 * elf/elf.h
17595 (R_MN10300_TLS_GD): Define.
17596 (R_MN10300_TLS_LD): Likewise.
17597 (R_MN10300_TLS_LDO): Likewise.
17598 (R_MN10300_TLS_GOTIE): Likewise.
17599 (R_MN10300_TLS_IE): Likewise.
17600 (R_MN10300_TLS_LE): Likewise.
17601 (R_MN10300_TLS_DTPMOD): Likewise.
17602 (R_MN10300_TLS_DTPOFF): Likewise.
17603 (R_MN10300_TLS_TPOFF): Likewise.
17604 (R_MN10300_SYM_DIFF): Likewise.
17605 (R_MN10300_ALIGN): Likewise.
17606 (R_MN10300_NUM): Update.
17607
b36137f1
JM
176082012-08-08 Joseph Myers <joseph@codesourcery.com>
17609
17610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17611 Remove.
17612
cdd915fd
RM
176132012-08-08 Roland McGrath <roland@hack.frob.com>
17614
a2433aac
RM
17615 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17616
cdd915fd
RM
17617 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17618 sysdeps/unix -> sysdeps/posix move.
17619 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17620
bf9b740a
AM
176212012-08-07 Allan McRae <allan@archlinux.org>
17622
17623 [BZ #14303]
17624 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17625 (SUNOS_CPP): Likewise.
17626 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17627 not found.
17628 (open_input): Call CPP using execvp.
17629
93df14ee
JM
176302012-08-07 Joseph Myers <joseph@codesourcery.com>
17631
17632 * sysdeps/unix/sysv/linux/kernel-features.h
17633 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17634 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17635 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17636 (__ASSUME_WAITID_SYSCALL): Likewise.
17637 * sysdeps/unix/sysv/linux/dl-execstack.c
17638 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17639 code unconditional.
17640 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17641 conditional code.
17642 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17643 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17644 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17645 code.
17646 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17647 unconditional.
17648 [__ASSUME_WAITID_SYSCALL]: Likewise.
17649 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17650
d34689de
RM
176512012-08-07 Roland McGrath <roland@hack.frob.com>
17652
a281decc
RM
17653 * sysdeps/unix/closedir.c: Renamed to ...
17654 * sysdeps/posix/closedir.c: ... here.
17655 * sysdeps/unix/dirfd.c: Renamed to ...
17656 * sysdeps/posix/dirfd.c: ... here.
17657 * sysdeps/unix/dirstream.h: Renamed to ...
17658 * sysdeps/posix/dirstream.h: ... here.
17659 * sysdeps/unix/fdopendir.c: Renamed to ...
17660 * sysdeps/posix/fdopendir.c: ... here.
17661 * sysdeps/unix/opendir.c: Renamed to ...
17662 * sysdeps/posix/opendir.c: ... here.
17663 * sysdeps/unix/readdir.c: Renamed to ...
17664 * sysdeps/posix/readdir.c: ... here.
17665 * sysdeps/unix/readdir_r.c: Renamed to ...
17666 * sysdeps/posix/readdir_r.c: ... here.
17667 * sysdeps/unix/rewinddir.c: Renamed to ...
17668 * sysdeps/posix/rewinddir.c: ... here.
17669 * sysdeps/unix/seekdir.c: Renamed to ...
17670 * sysdeps/posix/seekdir.c: ... here.
17671 * sysdeps/unix/telldir.c: Renamed to ...
17672 * sysdeps/posix/telldir.c: ... here.
17673 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17674 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17675 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17676 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17677
22895b47
RM
17678 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17679 * bits/fcntl.h: ... here.
17680
707a53b6
RM
17681 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17682 not 0.
17683 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17684 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17685 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17686 (struct flock): Move l_start, l_len to the beginning.
17687 Use __pid_t for l_pid.
17688 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17689 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17690 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17691 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17692 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17693 [__USE_LARGEFILE64] (struct flock64): New type.
17694 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17695
f0bd3e25
RM
17696 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17697 * bits/dirent.h: ... here.
17698
d34689de
RM
17699 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17700 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17701
6dad2c06
JM
177022012-08-07 Joseph Myers <joseph@codesourcery.com>
17703
17704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17705 Change from 2.6.0 to 2.6.16.
17706 * sysdeps/unix/sysv/linux/configure: Regenerated.
17707 * sysdeps/unix/sysv/linux/kernel-features.h
17708 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17709 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17710 version.
17711 (__ASSUME_UTIMES): Likewise.
17712 (__ASSUME_CLONE_STOPPED): Remove.
17713 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17714 architectures, not kernel version.
17715 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17716 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17717 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17718 (__ASSUME_WAITID_SYSCALL): Likewise.
17719 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17720 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17721 * README: State 2.6.16 as minimum Linux kernel version. Do not
17722 refer to older versions.
17723
03af9520
RM
177242012-08-06 Roland McGrath <roland@hack.frob.com>
17725
8e49df1d
RM
17726 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17727 Define alphasort64 as an alias.
17728 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17729 Define versionsort64 as an alias.
17730 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17731 Define scandir64 as an alias.
17732 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17733 Define scandirat64 as an alias.
17734 * dirent/alphasort64.c (alphasort64):
17735 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17736 * dirent/versionsort64.c: Likewise.
17737 * dirent/scandir64.c: Likewise.
17738 * dirent/scandirat64.c: Likewise.
17739 * sysdeps/wordsize-64/alphasort.c: File removed.
17740 * sysdeps/wordsize-64/alphasort64.c: File removed.
17741 * sysdeps/wordsize-64/scandir.c: File removed.
17742 * sysdeps/wordsize-64/scandir64.c: File removed.
17743 * sysdeps/wordsize-64/scandirat.c: File removed.
17744 * sysdeps/wordsize-64/scandirat64.c: File removed.
17745 * sysdeps/wordsize-64/versionsort.c: File removed.
17746 * sysdeps/wordsize-64/versionsort64.c: File removed.
17747 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17748 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17749 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17750 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17751 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17752 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17753 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17754 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17755
17756 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17757 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17758 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17760 [defined __arch64__ || defined __sparcv9]
17761 (__INO_T_MATCHES_INO64_T): New macro.
17762 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17763 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17764 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17765 * sysdeps/unix/sysv/linux/bits/dirent.h
17766 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17767 (_DIRENT_MATCHES_DIRENT64): New macro.
17768
03af9520
RM
17769 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17770 Define lockf64 as an alias.
17771 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17772 Define fseeko64 as an alias.
17773 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17774 Define ftello64 as an alias.
17775 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17776 Define _IO_fgetpos64 and fgetpos64 as aliases.
17777 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17778 Define _IO_fsetpos64 and fsetpos64 as aliases.
17779 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17780 Conditionalize body on this.
17781 * libio/fseeko64.c: Likewise.
17782 * libio/ftello64.c: Likewise.
17783 * libio/iofgetpos64.c: Likewise.
17784 * libio/iofsetpos64.c: Likewise.
17785 * sysdeps/wordsize-64/lockf.c: File removed.
17786 * sysdeps/wordsize-64/lockf64.c: File removed.
17787 * sysdeps/wordsize-64/fseeko.c: File removed.
17788 * sysdeps/wordsize-64/fseeko64.c: File removed.
17789 * sysdeps/wordsize-64/ftello.c: File removed.
17790 * sysdeps/wordsize-64/ftello64.c: File removed.
17791 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17792 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17793 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17794 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17795 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17796 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17798 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17799 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17800 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17801 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17805
17806 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17808 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17810 [defined __arch64__ || defined __sparcv9]
17811 (__OFF_T_MATCHES_OFF64_T): New macro.
17812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17813 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17815 (__OFF_T_MATCHES_OFF64_T): New macro.
17816
c5757acd
L
178172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 * stdlib/secure-getenv.c (__secure_getenv): Replace
17820 GLIBC_2_16 with GLIBC_2_17.
17821
3a31811e
L
178222012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17823
17824 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17825 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17826
faa2bccb
DM
178272012-08-03 David S. Miller <davem@davemloft.net>
17828
17829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17830
85fe1997
JM
178312012-08-03 Joseph Myers <joseph@codesourcery.com>
17832
17833 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17834 Remove.
17835 (__ASSUME_CORRECT_SI_PID): Likewise.
17836 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17837 (__ASSUME_TMPFS_NAME): Likewise.
17838 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17839 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17840 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17841 (HAVE_AUX_SECURE): Make definition unconditional.
17842 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17843 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17844
4f75b7a0
RM
178452012-08-03 Roland McGrath <roland@hack.frob.com>
17846
17847 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17848 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17849 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17850 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17851 __eloop_threshold instead of SYMLOOP_MAX.
17852
17853 * sysdeps/generic/eloop-threshold.h: New file.
17854 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17855 of MAXSYMLINKS.
17856 * elf/chroot_canon.c (chroot_canon): Likewise.
17857
7aab07e4
JM
178582012-08-03 Joseph Myers <joseph@codesourcery.com>
17859
17860 [BZ #13717]
17861 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17862 Change to 2.6.0 everywhere.
17863 * sysdeps/unix/sysv/linux/configure: Regenerated.
17864 * sysdeps/unix/sysv/linux/kernel-features.h
17865 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17866 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17867 kernel versions.
17868 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17869 (__ASSUME_FUTEX_REQUEUE): Remove.
17870 (__ASSUME_STATFS64): Define unconditionally.
17871 (__ASSUME_AT_SECURE): Likewise.
17872 (__ASSUME_CORRECT_SI_PID): Likewise.
17873 (__ASSUME_TGKILL): Define without depending on kernel version for
17874 i386.
17875 (__ASSUME_UTIMES): Likewise.
17876 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17877 kernel version.
17878 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17879 (__ASSUME_TMPFS_NAME): Likewise.
17880 * README: Update reference to Linux kernel versions.
17881
b67e9372
MP
178822012-08-02 Marek Polacek <polacek@redhat.com>
17883
1f529f7d 17884 [BZ# 14150]
b67e9372
MP
17885 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17886 libc_cv_asm_type_prefix with %.
17887 * configure: Regenerated.
d2441631
RM
17888 * include/libc-symbols.h: Remove comment about
17889 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17890 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17891 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17892 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17893 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17894 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17895 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17896 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17897 * elf/tst-unique2mod1.c: Likewise.
17898 * elf/tst-unique1mod2.c: Likewise.
17899 * elf/tst-unique1mod1.c: Likewise.
17900 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17901 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17902 Replace ASM_TYPE_DIRECTIVE with .type.
17903 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17904 * sysdeps/i386/sysdep.h: Likewise.
17905 * sysdeps/x86_64/sysdep.h: Likewise.
17906 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17908 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17909 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17910 * sysdeps/powerpc/powerpc32/sysdep.h:
17911 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17912 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17913 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17914 * sysdeps/i386/fpu/e_powf.S: Likewise.
17915 * sysdeps/i386/fpu/e_expl.S: Likewise.
17916 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17917 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17918 * sysdeps/i386/fpu/e_pow.S: Likewise.
17919 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17920 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17921 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17922 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17923 * sysdeps/i386/fpu/e_log2.S: Likewise.
17924 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17925 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17926 * sysdeps/i386/fpu/e_powl.S: Likewise.
17927 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17928 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17929 * sysdeps/i386/fpu/e_logl.S: Likewise.
17930 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17931 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17932 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17933 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17934 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17935 * sysdeps/i386/fpu/e_log.S: Likewise.
17936 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17937 * sysdeps/i386/fpu/e_logf.S: Likewise.
17938 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17939 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17940 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17941 * sysdeps/i386/fpu/e_log10.S: Likewise.
17942 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17943 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17944 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17945 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17946 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17947 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17948 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17949 * sysdeps/i386/i686/strtok.S: Likewise.
17950 * sysdeps/i386/i386-mcount.S: Likewise.
17951 * sysdeps/i386/strtok.S: Likewise.
17952 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17953 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17954 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17955 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17956 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17957 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17958 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17959 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17960 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17961 * sysdeps/x86_64/_mcount.S: Likewise.
17962 * sysdeps/x86_64/strtok.S: Likewise.
17963 * sysdeps/sh/_mcount.S: Likewise.
17964
2747bf9a
RM
179652012-08-01 Roland McGrath <roland@hack.frob.com>
17966
17967 * libio/iofopen.c: Include <fcntl.h>.
17968 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17969 (_IO_fopen64, fopen64): Define as aliases.
17970 * libio/iofopen64.c: Include <fcntl.h>.
17971 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17972 Conditionalize body on this.
17973 * sysdeps/wordsize-64/iofopen.c: File removed.
17974 * sysdeps/wordsize-64/iofopen64.c: File removed.
17975
3fb791b8
MP
179762012-08-01 Marek Polacek <polacek@redhat.com>
17977
17978 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17979 Use dlfcn directly instead of a variable.
17980 (binfmt-subdir): Do not define.
17981 (dlfcn): Likewise.
17982
a9f1039f
JM
179832012-08-01 Joseph Myers <joseph@codesourcery.com>
17984
23bddc06
JM
17985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17986 Remove all definitions.
17987 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17988 <kernel-features.h>.
17989 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17990 (miss_F_GETOWN_EX): Remove all definitions.
17991 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17992 macro definition.
17993 [!__ASSUME_FCNTL64]: Remove conditional code.
17994 [__ASSUME_FCNTL64]: Make code unconditional.
17995 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17996 <kernel-features.h>.
17997 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17998 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17999 (lockf64) [__NR_fcntl64]: Make code unconditional.
18000 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18001
a9f1039f
JM
18002 * sysdeps/unix/sysv/linux/kernel-features.h
18003 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18004 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18005 Make code unconditional.
18006 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18007 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18009 [__NR_vfork]: Make code unconditional.
18010 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18011 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18013 [__NR_vfork]: Make code unconditional.
18014 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18015 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18016
09c0ee5f
RM
180172012-08-01 Roland McGrath <roland@hack.frob.com>
18018
48aec5b9
RM
18019 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18020 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18021
cd97c966
RM
18022 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18023 Define mkstemp64 as an alias.
3f55550c
RM
18024 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18025 Define mkstemps64 as an alias.
cd97c966
RM
18026 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18027 Define mkostemp64 as an alias.
b8625cfc
RM
18028 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18029 Define mkostemps64 as an alias.
cd97c966
RM
18030 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18031 Conditionalize body on this.
18032 * misc/mkostemp64.c: Likewise.
b8625cfc 18033 * misc/mkostemps64.c: Likewise.
3f55550c 18034 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18035 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18036 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18037 * sysdeps/wordsize-64/mkostemp.c: File removed.
18038 * sysdeps/wordsize-64/mkstemp.c: File removed.
18039 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18040 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18041 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18042 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18043
09c0ee5f
RM
18044 [BZ #14138]
18045 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18046 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18047 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18048 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18049
18050 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18051 compat_symbol macros from <shlib-compat.h> rather than the underlying
18052 default_symbol_version and symbol_version macros, so that DEFAULT
18053 lines in shlib-versions are respected.
18054 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18055
7e66ee51
FW
180562012-08-01 Florian Weimer <fweimer@redhat.com>
18057
18058 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18059 Declare with warn_unused_result.
18060 (setgid, setregid, setegid, setresgid): Likewise.
18061 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18062 Likewise.
18063 * WUR-REPORT: Remove set*id functions.
18064
d2a54255
PT
180652012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18066
18067 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18068
7ecdb005
RM
180692012-07-31 Roland McGrath <roland@hack.frob.com>
18070
b4180a5e 18071 [BZ #10191]
789bd351
RM
18072 * include/sys/socket.h (__libc_accept, __libc_accept4):
18073 Add attribute_hidden.
18074 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18075
40ce302d
RM
18076 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18077 use of PTR_MANGLE.
18078 * inet/getnetgrent_r.c (setup): Likewise.
18079
7ecdb005
RM
18080 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18081
e2eabb2c
DM
180822012-07-31 David S. Miller <davem@davemloft.net>
18083
18084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18085
d0419dbf
JM
180862012-07-31 Joseph Myers <joseph@codesourcery.com>
18087
18088 [BZ #13629]
18089 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18090 value between 1.0 and 2.0 and smaller part has absolute value less
18091 than 1.0.
18092 * math/s_clog10.c (__clog10): Likewise.
18093 * math/s_clog10f.c (__clog10f): Likewise.
18094 * math/s_clog10l.c (__clog10l): Likewise.
18095 * math/s_clogf.c (__clogf): Likewise.
18096 * math/s_clogl.c (__clogl): Likewise.
18097 * math/libm-test.inc (clog_test): Add more tests.
18098 (clog10_test): Likewise.
18099 * sysdeps/i386/fpu/libm-test-ulps: Update.
18100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18101
2bc13872
FW
181022012-07-31 Florian Weimer <fweimer@redhat.com>
18103
18104 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18105 Exit with zero in case no suitable GID is found, and write a
18106 message to standard error.
18107
bea9b193
RM
181082012-07-30 Roland McGrath <roland@hack.frob.com>
18109
18110 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18111 rather than to 1.
18112 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18113 (MAXPATHLEN): Removed.
18114 (NOGROUP, NODEV): New macros.
18115 (setbit, clrbit, isset, isclr): New macros.
18116 (howmany, roundup, powerof2): New macros.
18117 (DEV_BSIZE): New macro.
18118
18119 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18120 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18121
18122 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18123 definition on [!__NO_LONG_DOUBLE_MATH].
18124
18125 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18126 PTR_MANGLE and PTR_DEMANGLE.
18127
18128 * socket/accept4.c (accept4): Rename to __libc_accept4.
18129 Define accept4 as a weak alias.
18130
18131 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18132 on [_DIRENT_HAVE_D_TYPE].
18133 * io/ftw.c (ftw_dir): Likewise.
18134
18135 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18136
18137 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18138
18139 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18140 Use the BSD numbers rather than the arbitrary ones we had.
18141 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18142 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18143 (SIGXCPU, SIGXFSZ): New macros.
18144 (_NSIG): Now 32.
18145
18146 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18147 initializer on [_LIBC_REENTRANT].
18148
18149 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18150 definitions inside [_POSIX_MAPPED_FILES].
18151
18152 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18153
18154 * dirent/opendir.c: Include <fcntl.h>.
18155
18156 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18157 (__libc_getspecific): Likewise.
18158 (__libc_key_create): Likewise.
18159
18160 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18161 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18162 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18163 (tmpfile64): Define as alias.
18164 * sysdeps/wordsize-64/tmpfile.c: File removed.
18165 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18166 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18167 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18168
18169 * stdio-common/vfscanf.c: Include <stdbool.h>.
18170 * nss/makedb.c: Likewise.
18171 * stdio-common/_i18n_number.h: Likewise.
18172 * argp/argp-help.c: Likewise.
18173 * posix/wordexp.c: Likewise.
18174 * sysdeps/posix/spawni.c: Likewise.
18175 * nss/nss_files/files-initgroups.c: Likewise.
18176 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18177 * nss/nss_files/files-initgroups.c: Likewise.
18178 * nss/nss_db/db-netgrp.c: Likewise.
18179 * nss/nss_db/db-initgroups.c: Likewise.
18180 * io/fchmodat.c: Include <sys/stat.h>.
18181
18182 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18183 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18184
18185 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18186 [HAVE_MMAP].
18187
18188 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18189 Add multiple inclusion protection.
18190
e5abc686
DM
181912012-07-27 David S. Miller <davem@davemloft.net>
18192
18193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18194
815e6fa3
GB
181952012-07-27 Gary Benson <gbenson@redhat.com>
18196
18197 [BZ #14298]
18198 * elf/rtld.c: Include <stap-probe.h>.
18199 (dl_main): Added static probes "init_start" and "init_complete".
18200 * elf/dl-load.c: Include <stap-probe.h>.
18201 (lose): Take new parameter "nsid".
18202 Added static probe "map_failed".
18203 (_dl_map_object_from_fd): Pass namespace id to lose.
18204 Added static probe "map_start".
18205 (open_verify): Pass namespace id to lose.
18206 * elf/dl-open.c: Include <stap-probe.h>.
18207 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18208 and "reloc_complete".
18209 * elf/dl-close.c: Include <stap-probe.h>.
18210 (_dl_close_worker): Added static probes "unmap_start" and
18211 "unmap_complete".
18212 * elf/rtld-debugger-interface.txt: New file documenting the above.
18213
9f98c16c
RM
182142012-07-26 Roland McGrath <roland@hack.frob.com>
18215
18216 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18217 rather than a string variable.
18218 * sunrpc/rpc_main.c (h_output): Likewise.
18219 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18220
f3c22df3
PT
182212012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18222
18223 * inet/check_native.c: New file.
18224
3129cfc6
JM
182252012-07-26 Joseph Myers <joseph@codesourcery.com>
18226
da865e95
JM
18227 [BZ #13629]
18228 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18229 if larger part has absolute value 1.0.
18230 * math/s_clog10.c (__clog10): Likewise.
18231 * math/s_clog10f.c (__clog10f): Likewise.
18232 * math/s_clog10l.c (__clog10l): Likewise.
18233 * math/s_clogf.c (__clogf): Likewise.
18234 * math/s_clogl.c (__clogl): Likewise.
18235 * math/libm-test.inc (clog_test): Add more tests.
18236 (clog10_test): Likewise.
18237 * sysdeps/i386/fpu/libm-test-ulps: Update.
18238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18239
3129cfc6
JM
18240 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18241 (pltexit): Likewise.
18242 (La_regs): Likewise.
18243 (La_retval): Likewise.
18244 (int_retval): Likewise.
18245 Update #error for removed macros to refer only to definitions in
18246 tst-audit.h.
18247 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18248 macro.
18249 (pltexit): Likewise.
18250 (La_regs): Likewise.
18251 (La_retval): Likewise.
18252 (int_retval): Likewise.
18253 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18254 macro.
18255 (pltexit): Likewise.
18256 (La_regs): Likewise.
18257 (La_retval): Likewise.
18258 (int_retval): Likewise.
18259 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18260 macro.
18261 (pltexit): Likewise.
18262 (La_regs): Likewise.
18263 (La_retval): Likewise.
18264 (int_retval): Likewise.
18265 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18266 macro.
18267 (pltexit): Likewise.
18268 (La_regs): Likewise.
18269 (La_retval): Likewise.
18270 (int_retval): Likewise.
18271 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18272 macro.
18273 (pltexit): Likewise.
18274 (La_regs): Likewise.
18275 (La_retval): Likewise.
18276 (int_retval): Likewise.
18277 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18278 macro.
18279 (pltexit): Likewise.
18280 (La_regs): Likewise.
18281 (La_retval): Likewise.
18282 (int_retval): Likewise.
18283 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18284 macro definitions in tst-audit.h.
18285 * sysdeps/i386/tst-audit.h: New file.
18286 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18287 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18288 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18289 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18290 * sysdeps/sh/tst-audit.h: Likewise.
18291 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18292 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18293 * sysdeps/x86_64/tst-audit.h: Likewise.
18294
bfc07087
AJ
182952012-07-26 Andreas Jaeger <aj@suse.de>
18296
b1b2aaf8
AJ
18297 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18298 ptrace.
18299
18300 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18301 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18302 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18303 PTRACE_O_MASK.
18304 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18305 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18306 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18307
bfc07087
AJ
18308 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18309 value.
18310
18311 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18312 _sigsys.
18313 (si_call_addr, si_syscall, si_arch): Define new macro.
18314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18315 _sigsys.
18316 (si_call_addr, si_syscall, si_arch): Define new marcro.
18317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18318 _sigsys.
18319 (si_call_addr, si_syscall, si_arch): Define new macro.
18320 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18321 _sigsys.
18322 (si_call_addr, si_syscall, si_arch): Define new macro.
18323
89b4b02f
JM
183242012-07-25 Joseph Myers <joseph@codesourcery.com>
18325
18326 [BZ #13717]
18327 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18328 Change to 2.4.21 where previously 2.4.1.
18329 * sysdeps/unix/sysv/linux/configure: Regenerated.
18330 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18331 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18332 Linux kernel version.
18333 (__ASSUME_STD_AUXV): Remove.
18334 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18335 kernel version.
18336 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18337 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18338 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18339 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18340 (__ASSUME_NETLINK_SUPPORT): Likewise.
18341 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18342 (__no_netlink_support): Remove conditional definition.
18343 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18344 Remove.
18345 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18346 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18347 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18348 (if_nameindex_ioctl): Remove.
18349 (if_nameindex_netlink): Do not handle __no_netlink_support.
18350 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18351 code.
18352 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18353 Remove conditional code.
18354 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18355 code.
18356 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18357 unconditional.
18358 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18359 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18360 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18361 Remove.
18362 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18363 [!__ASSUME_STD_AUXV]: Remove conditional code.
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18365 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18366 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18368 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18369 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18370 code.
18371 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18373 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18374 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18375 conditional code.
18376 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18378 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18379 code.
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18381 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18382 conditional code.
18383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18384 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18385 code unconditional.
18386 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18387 conditional code.
18388 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18389 unconditional.
18390 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18391 conditional code.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18393 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18394 unconditional.
18395 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18396 conditional code.
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18398 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18399 code unconditional.
18400 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18401 conditional code.
18402 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18403 unconditional.
18404 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18405 conditional code.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18407 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18408 code unconditional.
18409 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18410 conditional code.
18411 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18412 unconditional.
18413 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18414 conditional code.
18415
842a39cd
AS
184162012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18417
18418 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18419 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18420 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18421 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18422 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18423 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18424 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18425 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18426 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18427 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18428 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18429 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18430 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18431 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18432 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18438 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18441
84b3fd84
FW
184422012-07-25 Florian Weimer <fweimer@redhat.com>
18443
18444 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18445 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18446 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18447 Introduce __libc_secure_getenv.
0c7936d5
FW
18448 * stdlib/Versions (2.17): Add secure_getenv
18449 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18450 * stdlib/secure-getenv.c: Rename __secure_getenv to
18451 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18452 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18453 * stdlib/tst-secure-getenv.c: New.
18454 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18455 * manual/startup.texi (Environment Access): Document
18456 secure_getenv.
84b3fd84
FW
18457 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18458 __libc_secure_getenv.
18459 * inet/ruserpass.c (ruserpass): Likewise.
18460 * malloc/mtrace.c (mtrace): Likewise.
18461 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18462 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18463 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18464 * sysdeps/posix/tempname.c: Likewise. Evaluate
18465 HAVE_SECURE_GETENV.
18466 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18467 __secure_getenv to __libc_secure_getenv.
84b3fd84 18468 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18470 Likewise.
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18472 Likewise.
18473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18480
56e49b71
JM
184812012-07-25 Joseph Myers <joseph@codesourcery.com>
18482
18483 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18484 (struct La_i86_retval): Likewise.
18485 (struct La_x86_64_regs): Likewise.
18486 (struct La_x86_64_retval): Likewise.
18487 (struct La_x32_regs): Likewise.
18488 (struct La_x32_retval): Likewise.
18489 (struct La_ppc32_regs): Likewise.
18490 (struct La_ppc32_retval): Likewise.
18491 (struct La_ppc64_regs): Likewise.
18492 (struct La_ppc64_retval): Likewise.
18493 (struct La_sh_regs): Likewise.
18494 (struct La_sh_retval): Likewise.
18495 (struct La_s390_32_regs): Likewise.
18496 (struct La_s390_32_retval): Likewise.
18497 (struct La_s390_64_regs): Likewise.
18498 (struct La_s390_64_retval): Likewise.
18499 (struct La_sparc32_regs): Likewise.
18500 (struct La_sparc32_retval): Likewise.
18501 (struct La_sparc64_regs): Likewise.
18502 (struct La_sparc64_retval): Likewise.
18503 (struct audit_ifaces): Remove architecture-specific pltenter and
18504 pltexit members.
18505 * sysdeps/i386/ldsodefs.h: New file.
18506 * sysdeps/powerpc/ldsodefs.h: Likewise.
18507 * sysdeps/s390/ldsodefs.h: Likewise.
18508 * sysdeps/sh/ldsodefs.h: Likewise.
18509 * sysdeps/sparc/ldsodefs.h: Likewise.
18510 * sysdeps/x86_64/ldsodefs.h: Likewise.
18511
354691b7
MP
185122012-07-25 Marek Polacek <polacek@redhat.com>
18513
18514 [BZ #6808]
18515 * math/libm-test.inc (yn_test): Add another test.
18516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18517 to ERANGE when the result is +-Inf.
18518 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18519 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18520 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18521 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18522
bf9e2071
JM
185232012-07-24 Joseph Myers <joseph@codesourcery.com>
18524
18525 * conform/data/time.h-data (NULL): Use macro-constant. Require
18526 equal to 0.
18527 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18528 clock_t.
18529 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18530
57633811
TS
185312012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18532
18533 * configure.in <sysdeps resolving>: Correct printing
18534 Implies_before.
18535 * configure: Regenerate.
18536
c23c33b0
TS
185372012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18538
18539 * math/w_ilogb.c: Include <limits.h>.
18540 * math/w_ilogbl.c: Likewise.
18541
b5982523
JM
185422012-07-20 Joseph Myers <joseph@codesourcery.com>
18543
18544 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18545 va_copy. Document allowing for unavailable va_copy only as
18546 pre-C99 compatibility.
18547 * manual/string.texi (Copying and Concatenation): Use va_copy
18548 instead of __va_copy in concat example.
18549
ac4ea442
PT
185502012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18551
18552 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18553 (__sendto): Use create_address_port. Initialize APORT and deallocate
18554 it if not null.
18555
f98eafbd
PT
18556 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18557 with O_NOLINK passed to __file_name_lookup.
18558
898c7aab
PT
18559 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18560 with O_NOLINK passed to __file_name_lookup.
18561
0ced335a
PT
18562 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18563 negative N or less than NGIDS.
18564
b3404dbd
PT
18565 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18566 type to string_t. Set ERANGE as errno and return it if NAME is not big
18567 enough. Use memcpy instead of strncpy.
18568
0f48659e
JM
185692012-07-20 Joseph Myers <joseph@codesourcery.com>
18570
18571 * elf/Makefile (check-data): Remove.
18572 (localplt.data): New vpath directive.
18573 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18574 instead of $(check-data).
18575 * scripts/data/localplt-generic.data: Move to ...
18576 * sysdeps/generic/localplt.data: ... here.
18577 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18578 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18579 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18581 ... here.
18582 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18584 ... here.
18585 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18587 ... here.
18588 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18590 ... here.
18591 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18593 ... here.
18594 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18596 ... here.
18597
d37cbdaa
AZ
185982012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18599
18600 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18601 PPC32 and PPC64 files.
18602 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18603 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18604
46f85fc2
AK
186052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18606
18607 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18608 __makecontext_ret to ...
18609 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18610 ... here and call exit if uc_link is NULL. New file.
18611 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18612 __makecontext_ret.S.
18613 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18614 __makecontext_ret to ...
18615 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18616 ... here and call exit if uc_link is NULL. New file.
18617 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18618 __makecontext_ret.S.
18619
08f43f9b
AK
186202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18621
18622 * elf/elf.h (R_390_IRELATIVE): New definition.
18623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18624 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18625 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18626 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18627 (elf_machine_lazy_rel): Likewise.
18628 * sysdeps/s390/dl-irel.h: New file.
18629 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18630 * sysdeps/s390/s390-64/memset.S: New asm code.
18631 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18632 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18633 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18634 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18635 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18636 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18637 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18638 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18639 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18640 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18641 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18642 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18643 * sysdeps/s390/s390-32/memset.S: New asm code.
18644 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18645
3b05db33
MP
186462012-07-17 Marek Polacek <polacek@redhat.com>
18647
18648 [BZ #14349]
18649 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18650 * sysdeps/s390/s390-64/configure.in: Likewise.
18651 * sysdeps/sparc/configure.in: Likewise.
18652 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18653 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18654 * sysdeps/i386/configure.in: Likewise.
18655 * sysdeps/x86_64/configure.in: Likewise.
18656 * sysdeps/sh/configure.in: Likewise.
18657 * sysdeps/s390/s390-32/configure: Regenerated.
18658 * sysdeps/s390/s390-64/configure: Likewise.
18659 * sysdeps/x86_64/configure: Likewise.
18660 * sysdeps/sh/configure: Likewise.
18661 * sysdeps/powerpc/powerpc64/configure: Likewise.
18662 * sysdeps/powerpc/powerpc32/configure: Likewise.
18663 * sysdeps/sparc/configure: Likwise.
18664 * sysdeps/i386/configure: Likewise.
18665
a66877c6
MP
18666 * elf/dl-open.c: Comment fixes.
18667
cfc82fd8
JM
186682012-07-17 Joseph Myers <joseph@codesourcery.com>
18669
bd29910a
JM
18670 * Makefile [CXX] (check-data): Remove.
18671 [CXX] (c++-types.data): New vpath directive.
18672 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18673 vpath. Do not allow for C++ type data being missing.
18674 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18675 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18676 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18677 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18678 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18679 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18680 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18682 ... here.
18683 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18685 ... here.
18686 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18688 ... here.
18689 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18691 ... here.
18692 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18694 ... here.
18695 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18697 ... here.
18698 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18700 ... here.
18701 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18703
cfc82fd8
JM
18704 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18705 definitions to architecture-specific files.
18706 (TLS_IE): Likewise.
18707 (TLS_LD): Likewise.
18708 (TLS_GD): Likewise.
18709 * sysdeps/i386/tls-macros.h: New file.
18710 * sysdeps/powerpc/tls-macros.h: Likewise.
18711 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18712 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18713 * sysdeps/sh/tls-macros.h: Likewise.
18714 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18715 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18716 * sysdeps/x86_64/tls-macros.h: Likewise.
18717
f7db3170
TS
187182012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18719
07cbfc23
TS
18720 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18721 zero value for regular exit case.
18722
f7db3170
TS
18723 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18724 (__start_context): Preserve zero value for regular exit case.
18725
dc97c227
TS
187262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18727 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18728
18729 * manual/setjmp.texi (setcontext): Clarify normal process
18730 termination when uc_link is the null pointer.
18731 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18732 exit call.
18733
d0cd7d02
AS
187342012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18735
18736 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18737 preprocessor. Test for each exception mask separately.
18738
dd318934
AJ
187392012-07-16 Andreas Jaeger <aj@suse.de>
18740
18741 * po/ru.po: Update from translation team.
18742
8048311a
JM
187432012-07-15 Joseph Myers <joseph@codesourcery.com>
18744
18745 * conform/data/string.h-data (NULL): Use macro-constant. Require
18746 equal to 0.
18747 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18748 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18749 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18750 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18751 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18752
b637d46e
AJ
187532012-07-13 Andreas Jaeger <aj@suse.de>
18754
18755 * po/fr.po: Update from translation team.
18756
541428fe
MP
187572012-07-12 Marek Polacek <polacek@redhat.com>
18758
18759 [BZ #14173]
18760 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18761 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18762 loop condition.
18763
ec332e94
JM
187642012-07-12 Joseph Myers <joseph@codesourcery.com>
18765
18766 [BZ #13717]
18767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18768 Change to 2.4.1 where previously 2.4.0.
18769 * sysdeps/unix/sysv/linux/configure: Regenerated.
18770 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18771 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18772 version.
18773 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18774 (__ASSUME_AT_CLKTCK): Remove.
18775 (__ASSUME_AT_PAGESIZE): Likewise.
18776 (__ASSUME_AT_XID): Likewise.
18777 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18778 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18779 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18780 unconditionally.
18781 (HAVE_AUX_PAGESIZE): Likewise.
18782 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18783 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18784 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18785
7b6e99be
JB
187862012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18787
18788 [BZ #14307]
18789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18790 the temporary buffer used to invoke __gethostbyname2_r,
18791 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18792 host_data / struct gaih_addrtuple.
18793 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18794 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18795 header file nss/nsswitch.h.
18796 * nss/nsswitch.h (global scope): Add definition of implementation
18797 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18798 resolv/nss_dns/dns-host.c).
18799
608404eb
AJ
188002012-07-11 Andreas Jaeger <aj@suse.de>
18801
18802 * po/fr.po: Update from translation team.
18803
71220aca
AJ
18804 * po/sv.po: Update from translation team
18805 * po/fr.po: Another update from translation team.
18806
28cfe843
AZ
188072012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18808
18809 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18810 for subnormals or multiply small sinh result by itself.
18811 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18813
6b90f981
DM
188142012-07-11 David S. Miller <davem@davemloft.net>
18815
18816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18817
c6825772
AS
188182012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18819
18820 [BZ #14347]
18821 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18822 (INTERNAL_MARK): Shift it here.
18823
7b8e0d49
MP
188242012-07-10 Marek Polacek <polacek@redhat.com>
18825
18826 [BZ #14151]
18827 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18828 libc_cv_asm_global_directive with .globl.
18829 * configure: Regenerated.
18830 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18831 with .globl.
18832 * sysdeps/i386/configure: Regenerated.
18833 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18834 with .globl.
18835 * sysdeps/x86_64/configure: Regenerated.
18836 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18837 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18838 * elf/tst-unique2mod2.c: Likewise.
18839 * elf/tst-unique2mod1.c: Likewise.
18840 * elf/tst-unique1mod2.c: Likewise.
18841 * elf/tst-unique1mod1.c: Likewise.
18842 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18843 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18844 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18845 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18846 * sysdeps/mach/sysdep.h: Likewise.
18847 * sysdeps/i386/sysdep.h: Likewise.
18848 * sysdeps/i386/i386-mcount.S: Likewise.
18849 * sysdeps/x86_64/_mcount.S: Likewise.
18850 * sysdeps/x86_64/sysdep.h: Likewise.
18851 * sysdeps/sh/_mcount.S: Likewise.
18852 * sysdeps/sh/sysdep.h: Likewise.
18853 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18854 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18855 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18856 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18857 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18858 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18859 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18860 * locale/localeinfo.h: Likewise.
18861 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18862 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18863
6c55cda3
RM
188642012-07-09 Roland McGrath <roland@hack.frob.com>
18865
18866 [BZ #14336]
18867 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18868 system".
18869 * manual/message.texi (The Uniforum approach): Likewise.
18870 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18871 (glibc iconv Implementation): Likewise.
18872
638a572e
JM
188732012-07-09 Joseph Myers <joseph@codesourcery.com>
18874
18875 [BZ #14337]
18876 * math/s_clog.c (__clog): Avoid scaling a value down where that
18877 could result in underflow.
18878 * math/s_clog10.c (__clog10): Likewise.
18879 * math/s_clog10f.c (__clog10f): Likewise.
18880 * math/s_clog10l.c (__clog10l): Likewise.
18881 * math/s_clogf.c (__clogf): Likewise.
18882 * math/s_clogl.c (__clogl): Likewise.
18883 * math/libm-test.inc (clog_test): Add more tests.
18884 (clog10_test): Likewise.
18885 * sysdeps/i386/fpu/libm-test-ulps: Update.
18886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18887
261f4859
AS
188882012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18889
0abaf3e4
AS
18890 [BZ #14283]
18891 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18892 by 7 not 8 to examine high bit of fractional part.
18893
261f4859
AS
18894 [BZ #14042]
18895 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18896 for call to __mcount_internal.
18897 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18898 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18899 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18900
f17ac40d
JM
189012012-07-06 Joseph Myers <joseph@codesourcery.com>
18902
9ad63c23
JM
18903 [BZ #14154]
18904 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18905 approximation for values within 0x1p-13f of an odd multiple of
18906 pi/4.
18907 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18908 exception. Add more tests.
18909 * sysdeps/i386/fpu/libm-test-ulps: Update.
18910
f17ac40d
JM
18911 [BZ #6778]
18912 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18913 inputs and return -1 for them. Do not check for +Inf in case not
18914 reachable for +Inf.
18915 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18916 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18917 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18918 and return -1 for them. Do not check for +Inf in case not
18919 reachable for +Inf.
18920 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18921 define.
18922 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18923 and return -1 for them. Do not check for +Inf in case not
18924 reachable for +Inf.
18925 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18926 spurious underflow.
18927 * sysdeps/i386/fpu/libm-test-ulps: Update.
18928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18929
fb21f89b
MF
189302012-07-06 Mike Frysinger <vapier@gentoo.org>
18931
18932 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18933
cdfe2c5e
JM
189342012-07-05 Joseph Myers <joseph@codesourcery.com>
18935
18936 [BZ #14157]
18937 [BZ #14331]
18938 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18939 could result in spurious underflow. Scale down values above
18940 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18941 * math/s_csqrtf.c (__csqrtf): Likewise.
18942 * math/s_csqrtl.c (__csqrtl): Likewise.
18943 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18944 spurious underflow.
18945 * sysdeps/i386/fpu/libm-test-ulps: Update.
18946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18947
70d35b67
AS
189482012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18949
704bc459
AS
18950 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18951 xopen-msg.sed.
18952 * catgets/xopen-msg.awk: New file.
18953 * catgets/xopen-msg.sed: Removed.
18954
70d35b67
AS
18955 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18956 po2text.sed.
18957 * intl/po2test.awk: New file.
18958 * intl/po2test.sed: Removed.
18959
ca61cf32
JM
189602012-07-04 Joseph Myers <joseph@codesourcery.com>
18961
18962 [BZ #14328]
18963 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18964 or multiply small sinh result by itself.
18965 * math/s_ctanf.c (__ctanf): Likewise.
18966 * math/s_ctanh.c (__ctanh): Likewise.
18967 * math/s_ctanhf.c (__ctanhf): Likewise.
18968 * math/s_ctanhl.c (__ctanhl): Likewise.
18969 * math/s_ctanl.c (__ctanl): Likewise.
18970 * math/libm-test.inc (ctan_test_tonearest): New function.
18971 (ctan_test_towardzero): Likewise.
18972 (ctan_test_downward): Likewise.
18973 (ctan_test_upward): Likewise.
18974 (ctanh_test_tonearest): Likewise.
18975 (ctanh_test_towardzero): Likewise.
18976 (ctanh_test_downward): Likewise.
18977 (ctanh_test_upward): Likewise.
18978 (main): Call these new functions.
18979 * sysdeps/i386/fpu/libm-test-ulps: Update.
18980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18981
ca48a46a
MF
189822012-07-03 Mike Frysinger <vapier@gentoo.org>
18983
18984 * .gitignore: Delete /ports entry.
18985
9d63d37d
AJ
189862012-07-03 Andreas Jaeger <aj@suse.de>
18987
18988 * po/bg.po: Update from translation team.
18989 * po/cs.po: Likewise.
18990 * po/de.po: Likewise.
18991 * po/hr.po: Likewise.
18992 * po/nl.pl: Likewise.
18993 * po/pl.po: Likewise.
18994 * po/vi.po: Likewise.
18995
370ca3d2
JM
189962012-07-03 Joseph Myers <joseph@codesourcery.com>
18997
95f5a9a8
JM
18998 * Makeconfig [!+link] (+link-before-libc): New variable.
18999 [!+link] (+link-after-libc): Likewise.
19000 [!+link] (+link-tests): Likewise.
19001 [!+link] (+link): Define in terms of $(+link-before-libc) and
19002 $(+link-after-libc).
19003 [!+link-static] (+link-static-before-libc): New variable.
19004 [!+link-static] (+link-static-after-libc): Likewise.
19005 [!+link-static] (+link-static-tests): Likewise.
19006 [!+link-static] (+link-static): Define in terms of
19007 $(+link-static-before-libc) and $(+link-static-after-libc).
19008 [build-shared] (link-libc-before-gnulib): New variable.
19009 [build-shared] (link-libc-tests): Likewise.
19010 [build-shared] (link-libc): Define in terms of
19011 $(link-libc-before-gnulib).
19012 [!build-shared] (link-libc-tests): New variable.
19013 (link-libc-static-tests): New variable.
19014 [!gnulib] (gnulib-arch): New variable.
19015 [!gnulib] (gnulib-tests): Likewise.
19016 [!gnulib] (static-gnulib-arch): Likewise.
19017 [!gnulib] (static-gnulib-tests): Likewise.
19018 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19019 Define with "=" instead of ":=".
19020 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19021 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19022 * Rules (binaries-all-notests): New variable.
19023 (binaries-all-tests): Likewise.
19024 (binaries-static-notests): Likewise.
19025 (binaries-static-tests): Likewise.
19026 (binaries-all): Define using $(binaries-all-notests) and
19027 $(binaries-all-tests).
19028 (binaries-static): Define using $(binaries-static-notests) and
19029 $(binaries-static-tests).
19030 (binaries-shared-tests): New variable.
19031 (binaries-shared-notests): Likewise.
19032 (binaries-shared): Remove variable.
19033 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19034 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19035 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19036 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19037 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19038 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19039 * elf/Makefile (sln-modules): New variable.
19040 (extra-objs): Add $(sln-modules:=.o).
19041 (ldconfig-modules): Add static-stubs.
19042 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19043 * elf/static-stubs.c: New file.
19044
7a845b2c
JM
19045 [BZ #14283]
19046 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19047 by 7 not 8 to examine high bit of fractional part. Use volatile
19048 variables when splitting into final array of floats if
19049 __FLT_EVAL_METHOD__ != 0.
19050 * math/libm-test.inc (cos_test): Add another test.
19051 (sin_test): Likewise.
19052 * sysdeps/i386/fpu/libm-test-ulps: Update.
19053
e2283f38
JM
19054 [BZ #14273]
19055 * math/libm-test.inc (cosh_test): Add more tests.
19056
370ca3d2
JM
19057 * version.h (RELEASE): Set to "development".
19058 (VERSION): Set to "2.16.90".
19059
ee9247c3
CD
190602012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19061
19062 * NEWS: Update copyright. Remove last-updated date.
19063 Mention math library bug fixes and timezone data changes.
19064 * README: Mention GNU/Hurd, x32, and HPPA support status.
19065
4648c381
TS
190662012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19067
19068 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19069
aac78a43
AJ
190702012-06-27 Andreas Jaeger <aj@suse.de>
19071
19072 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19073
ed3dbfad
AJ
190742012-06-25 Andreas Jaeger <aj@suse.de>
19075
19076 * sysdeps/s390/fpu/libm-test-ulps: Update.
19077
4d0ee855
AS
190782012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19079 Thomas Schwinge <thomas@codesourcery.com>
19080
19081 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19082 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19084 fanotify_mark.
19085
af1bce34
TS
190862012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19087
a9fa33ba
TS
19088 * sysdeps/mach/start.c: Remove file.
19089 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19090 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19091 * sysdeps/sh/init-first.c: Likewise.
19092
58f902b8
TS
19093 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19094 registers for frame unwinding purposes, add CFI directives.
19095 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19096 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19097 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19098 Likewise.
19099
1518f58b
TS
19100 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19101 __fortify_fail returning.
19102 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19103
db9b5059
TS
19104 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19105 sysdeps/sh/____longjmp_chk.S.
19106 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19107 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19108 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19109 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19110
967705fe
TS
19111 * sysdeps/sh/abort-instr.h: New file.
19112 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19113 process in case exit returns.
19114
a9def8c4
TS
19115 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19116 initialize the GOT register before use.
19117
2a649725
TS
19118 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19119 calculation of ARGC > 4.
19120
af1bce34
TS
19121 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19122 meaningful names to some local labels.
19123
d230f50a
KK
191242012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19125 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19126
19127 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19128 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19129 (__arch_compare_and_exchange_val_16_acq): Likewise.
19130 (__arch_compare_and_exchange_val_32_acq): Likewise.
19131 (atomic_exchange_and_add): Fix gUSA sequence.
19132 (atomic_add): Likewise.
19133 (atomic_add_negative): Likewise.
19134 (atomic_add_zero): Likewise.
19135 (atomic_bit_test_set): Likewise.
19136
0479b305
AS
191372012-06-22 Andreas Schwab <schwab@redhat.com>
19138
19139 [BZ #13579]
19140 * include/link.h (struct link_map): Add l_free_initfini.
19141 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19142 l_initfini.
19143 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19144 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19145 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19146 set.
19147
0e3933b9
CD
191482012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19149
19150 * configure.in: Use AC_LANG_SOURCE.
19151 * configure: Regenerate.
19152
4248b1b1
RM
191532012-06-22 Roland McGrath <roland@hack.frob.com>
19154
19155 * configure.in (libc_cv_localstatedir): New substituted variable.
19156 * configure: Regenerated.
19157 * config.make.in (localstatedir): New variable, substituted from
19158 libc_cv_localstatedir.
19159 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19160 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19161 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19162 * sysdeps/gnu/configure: Regenerated.
19163
006dd861
JL
191642012-06-21 Jeff Law <law@redhat.com>
19165
19166 [BZ #14277]
19167 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19168 free. Simplify list management for _LIBC case.
19169
79662d42
JM
191702012-06-21 Joseph Myers <joseph@codesourcery.com>
19171
b7abb4bf
JM
19172 [BZ #14273]
19173 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19174 Clear sign bit of 64-bit integer value before comparing against
19175 overflow value.
19176
79662d42
JM
19177 * sysdeps/mach/configure: Regenerated.
19178
1f150908
L
191792012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19180
19181 [BZ #14278]
19182 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19183
28363bbf
JL
191842012-06-21 Jeff Law <law@redhat.com>
19185
19186 [BZ #13882]
19187 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19188 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19189 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19190 * elf/dl-open.c (dl_open_worker): Likewise.
19191
09615db4
CD
191922012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19193
19194 * scripts/list-sources.sh: Scan PORTS for translations.
19195 * po/libc.pot: Regenerated.
19196
2174c6dd
AJ
191972012-06-21 Andreas Jaeger <aj@suse.de>
19198
19199 [BZ #12194]
19200 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19201 warning.
19202 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19203 * bits/byteswap-16.h (__bswap_16): Likewise.
19204 * bits/byteswap.h (__bswap_constant_16): Likewise.
19205
3ee947b1
L
192062012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19207
19208 [BZ #14117]
a2f34833
L
19209 * sysdeps/i386/fpu_control.h: Removed.
19210 * sysdeps/x86_64/fpu_control.h: Moved to ...
19211 * sysdeps/x86/fpu_control.h: Here.
19212
3ee947b1
L
19213 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19214 (_FPU_SETCW): Likewise.
19215
ed1825f8
L
192162012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19217
25f1282a
L
19218 [BZ #14117]
19219 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19220 * sysdeps/x86/fpu/bits/mathinline.h: This.
19221 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19222
ed1825f8
L
19223 [BZ #14050]
19224 [BZ #14117]
19225 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19226 functions if __x86_64__ is defined.
19227
36d54b74
CLT
192282012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19229
19230 * string/endian.h: Add !__ASSEMBLER__ condition for including
19231 conversion interfaces.
19232
10285c21
JM
192332012-06-15 Joseph Myers <joseph@codesourcery.com>
19234
19235 [BZ #14241]
19236 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19237 of ABS(x) in calculating zero to negative powers other than odd
19238 integers.
19239 * math/libm-test.inc (pow_test): Add more tests.
19240
06c5abbd
AJ
192412012-06-15 Andreas Jaeger <aj@suse.de>
19242
19243 * manual/contrib.texi (Contributors): Update entry of Liubov
19244 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19245 Machado Filho.
19246
a3aeac40
CH
192472012-06-15 Cyril Hrubis <metan@ucw.cz>
19248
19249 * string/string.h: Add __wur to GNU version of strerror_r.
19250
49bdf4c1
L
192512012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19252
19253 [BZ #14229]
19254 * string/Makefile (tests): Add tst-strtok_r.
19255 * string/tst-strtok_r.c: New file.
19256 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19257 RAX_LP/RDX_LP on SAVE_PTR.
19258
834f9b8d
RM
192592012-06-14 Roland McGrath <roland@hack.frob.com>
19260
19261 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19262
75fa1921
JM
192632012-06-14 Joseph Myers <joseph@codesourcery.com>
19264
19265 * libm_test.inc (csqrt_test): Allow more spurious underflow
19266 exceptions.
19267 (j0_test): Likewise.
19268 (j1_test): Likewise.
19269 (y0_test): Likewise.
19270 (y1_test): Likewise.
19271
771766df
CD
192722012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19273
19274 * po/Makefile (libc.pot): Use UTF-8 charset.
19275
ceb9e56b
PP
192762012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19277
19278 [BZ #14210]
19279 Suppress sign-conversion warning from FD_SET.
19280 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19281 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19282 not unsigned long int.
19283 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19284
ddb28975
L
192852012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19286
19287 [BZ #14050]
19288 [BZ #14117]
19289 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19290 __extern_always_inline instead of __extern_inline.
19291 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19292 (__signbit): Likewise.
19293 (__signbitl): Support C++ namespace.
19294 (lrintf): New inline function.
19295 (lrint): Likewise.
19296 (llrintf): Likewise.
19297 (llrint): Likewise.
19298 (fmaxf): Likewise.
19299 (fmax): Likewise.
19300 (fminf): Likewise.
19301 (fmin): Likewise.
19302 (rint): Likewise.
19303 (rintf): Likewise.
19304 (ceil): Likewise.
19305 (ceilf): Likewise.
19306 (floor): Likewise.
19307 (floorf): Likewise.
19308 (nearbyint): Likewise.
19309 (nearbyintf): Likewise.
19310
d7b4fb26
TS
193112012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19312
19313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19314 non-default versions.
19315
eb55f5c2
RM
193162012-06-11 Roland McGrath <roland@hack.frob.com>
19317
19318 [BZ #14218]
19319 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19320
366af02c
TS
193212012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19322
99ff6e5c
TS
19323 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19324 (FE_UPWARD, FE_DOWNWARD): Don't define.
19325 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19326 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19327
366af02c
TS
19328 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19329 reading it.
19330 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19331 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19332
793ea851
KK
193332012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19334
19335 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19337 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19338 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19339
a728a38f
L
193402012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19341
19342 [BZ #14117]
c08010c7
L
19343 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19344 * sysdeps/i386/fpu/Implies: New file.
19345 * sysdeps/x86_64/fpu/Implies: Likewise.
19346 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19347 * sysdeps/x86/fpu/bits/fenv.h: This.
19348
a728a38f
L
19349 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19350 __SSE_MATH__.
19351
6e230d11
SP
193522012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19353
19354 [BZ #14134]
19355 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19356 character 0xffff that matches the last element of the
19357 conversion table.
19358
1b671feb
AZ
193592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19360
19361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19362 fmodl commit.
19363
6043738b
AZ
193642012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19365
19366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19367 values higher than 25.6283.
19368
34ae0b32
AZ
193692012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19370
19371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19372 subnormal exponent extraction and add some __builtin_expect.
19373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19374 Fix for subnormal mantissa calculation.
19375
1214ec8f
MF
193762012-06-04 Mike Frysinger <vapier@gentoo.org>
19377
19378 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19379 cpu2 is -1 and errno is not ENOSYS.
19380
f3d1f93c
L
193812012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19382
19383 [BZ #14117]
0e4a3cd7
L
19384 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19385 * sysdeps/x86/bits/string.h: This.
19386 * sysdeps/x86_64/bits/string.h: Removed.
19387
6704c645
L
19388 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19389 if not compiling for x86-64, but compiling for >= i486.
19390
48495318
L
19391 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19392 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19393
14adcbfc
L
19394 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19395 New macro from Linux kernel 3.4.0.
19396 (FP_XSTATE_MAGIC2): Likewise.
19397 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19398 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19399 (struct _fpx_sw_bytes): New struct.
19400 (struct _xsave_hdr): Likewise.
19401 (struct _ymmh_state): Likewise.
19402 (struct _xstate): Likewise.
19403
68e408ab
L
19404 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19405 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19406 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19407 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19408 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19409 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19410
f3d1f93c
L
19411 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19412 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19413 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19414 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19415 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19416 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19417
d9dc34cd
TMQMF
194182012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19419
19420 [BZ #13743]
19421 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19422 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19423 (sysdep_headers): Include sys/platform/ppc.h.
19424 * sysdeps/powerpc/test-gettimebase.c: Test for
19425 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19426 * manual/Makefile (appendices): Include platform.texi.
19427 * manual/contrib.texi (Contributors): Update @node pointers.
19428 * manual/maint.texi (Maintenance): Likewise.
19429 (Platform): New node.
19430 * manual/platform.texi: New file. Document the new features.
19431
4af3879c
SP
194322012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19433 Jakub Jelinek <jakub@redhat.com>
19434
19435 [BZ #14188]
19436 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19437 where __builtin_expect is unavailable.
19438
2fd6ff13
DM
194392012-06-03 David S. Miller <davem@davemloft.net>
19440
19441 * stdlib/longlong.h: Updated from GCC.
19442
173f7220
AS
194432012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19444
19445 [BZ #14042]
19446 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19447 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19448 __mcount_internal.
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19450 (GLIBC_2.16): Likewise.
19451
f34a1c6f
L
194522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19453
19454 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19455
88a4576f
JM
194562012-06-01 Joseph Myers <joseph@codesourcery.com>
19457
ea32bcdd
JM
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19459 (default-abi): New variable.
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19461 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19462 variable.
19463 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19464 Likewise.
19465 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19466 Likewise.
19467 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19468 Likewise.
19469
88a4576f
JM
19470 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19471 definition. Document in comment.
19472
402fe938
DM
194732012-06-01 David S. Miller <davem@davemloft.net>
19474
19475 * stdlib/longlong.h: Updated from GCC.
19476
3553723f
L
194772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19478
19479 [BZ #14117]
3bd872c4
L
19480 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19481 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19482 sys/debugreg.h sys/io.h here.
19483 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19484 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19485 sys/io.h.
19486 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19487 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19488 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19489 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19490 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19491 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19492
3553723f
L
19493 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19494 Define only if __x86_64__ is defined.
19495
4842e4fe
JM
194962012-06-01 Joseph Myers <joseph@codesourcery.com>
19497
c5bfe3d5
JM
19498 [BZ #14048]
19499 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19500 Use int64_t for variable i.
19501 * math/libm-test.inc (fmod_test): Add more tests.
19502
4842e4fe
JM
19503 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19504 z computation is not scheduled after fetestexcept.
19505 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19506 Use math_force_eval instead of asm to ensure calculation scheduled
19507 before exception test.
19508 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19509 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19510
efb73488
AJ
195112012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19512
19513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19514 computation is not scheduled after fetestexcept.
19515
29bcce7c
L
195162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19517
19518 [BZ #14117]
19519 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19520 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19521
73a68f94
AZ
195222012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19523
19524 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19525 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19526
67b6df78
L
195272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19528
edf2933a 19529 [BZ #14117]
ebc64a18
L
19530 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19531 <bits/wordsize.h>.
19532 (__WCHAR_MIN): Support __WORDSIZE == 64.
19533 (__WCHAR_MAX): Likewise.
19534
edf2933a
L
19535 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19536 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19537
57c6cf40
L
19538 [BZ #14183]
19539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19540 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19541
67b6df78 19542 [BZ #14117]
8eb6281e
L
19543 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19544 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19545
aac639f4
L
19546 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19547 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19548
67b6df78
L
19549 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19550 Defined to 1 if __x86_64__ isn't defined.
19551 (_STAT_VER_LINUX_OLD): New.
19552 (st_atime): Remove duplicate.
19553 (st_mtime): Likewise.
19554 (st_ctime): Likewise.
19555
1c2cfe81
DM
195562012-05-31 David S. Miller <davem@davemloft.net>
19557
19558 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19559 entries.
19560
5be8418c
AS
195612012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19562
e7725326
AS
19563 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19564 gen-libm-test.pl.
19565
5be8418c
AS
19566 [BZ #14132]
19567 * elf/dl-reloc.c: Include <_itoa.h>.
19568 (_dl_reloc_bad_type): Remove use of INTUSE.
19569 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19570 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19571 * stdio-common/psiginfo.c (psiginfo): Likewise.
19572 * stdio-common/psignal.c (psignal): Likewise.
19573 * string/strsignal.c (strsignal): Likewise.
19574 * include/signal.h (_sys_siglist): Declare hidden proto.
19575 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19576 INTVARDEF with libc_hidden_data_def.
19577 * stdio-common/itoa-udigits.c: Likewise.
19578 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19579 (_itoa_lower_digits_internal): Remove declaration.
19580 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19581 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19582 (_sys_sigabbrev_internal): Remove aliases.
19583 (_sys_siglist): Define hidden alias.
19584
507352f1
MT
195852012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19586
19587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19588 bits/sysctl.h.
19589
42bbb1c3
L
195902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19591
19592 [BZ #14117]
6bd784b6
L
19593 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19594 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19595
8bca20f0
L
19596 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19597 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19598 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19599 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19600 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19601 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19602
f9e890a9
L
19603 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19604 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19605 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19606
471101a1
L
19607 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19608 with __addr.
19609 (insw): Likewise.
19610 (insl): Likewise.
19611 (outsb): Likewise.
19612 (outsw): Likewise.
19613 (outsl): Likewise.
19614
6451c862
L
19615 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19616 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19617 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19618
a254b8c9
L
19619 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19620 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19621 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19622 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19623 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19624 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19625
b8dfdd92
L
19626 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19627 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19628
578cd270
L
19629 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19630 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19631
de662f5f
L
19632 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19634 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19635
25653439
L
19636 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19637 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19638 to ...
19639 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19640
6bad24a0
L
19641 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19642 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19643 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19644
42bbb1c3
L
19645 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19646 for x86-64.
19647 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19648
2d10d547
JM
196492012-05-31 Joseph Myers <joseph@codesourcery.com>
19650
19651 * math/math.h (M_El): Use two more decimal places.
19652 (M_LOG2El): Likewise.
19653 (M_LOG10El): Likewise.
19654 (M_LN2l): Likewise.
19655 (M_LN10l): Likewise.
19656 (M_PIl): Likewise.
19657 (M_PI_2l): Likewise.
19658 (M_PI_4l): Likewise.
19659 (M_1_PIl): Likewise.
19660 (M_2_PIl): Likewise.
19661 (M_2_SQRTPIl): Likewise.
19662 (M_SQRT2l): Likewise.
19663 (M_SQRT1_2l): Likewise.
19664
f230c29b
DM
196652012-05-31 David S. Miller <davem@davemloft.net>
19666
19667 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19668 values between float registers.
19669 * sysdeps/sparc/sparc64/memset.S: Likewise.
19670 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19671
fed806c3
MF
196722012-05-31 Mike Frysinger <vapier@gentoo.org>
19673
19674 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19675 -D_FORTIFY_SOURCE=1.
19676 (CPPFLAGS-tst-longjmp_chk.c): Define.
19677 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19678 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19679 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19680 CFLAGS-tst-wchar-h.c.
19681
30917259
MP
196822012-05-31 Marek Polacek <polacek@redhat.com>
19683
19684 [BZ #14132]
19685 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19686 __endmntent_internal): Remove declaration.
19687 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19688 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19689 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19690
1c58d5dc
DM
196912012-05-30 David S. Miller <davem@davemloft.net>
19692
19693 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19694 (___Q_simulate_exceptions): Use real FP ops rather than writing
19695 into the %fsr.
19696 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19697 Likewise.
19698
7dc00e0d
L
196992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19700
19701 [BZ #14117]
0bd53985
L
19702 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19703 * sysdeps/x86/bits/xtitypes.h: This.
19704
3a257e66
L
19705 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19706 * sysdeps/x86/bits/wordsize.h: This.
19707
62f62904
L
19708 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19709 * sysdeps/x86/bits/huge_vall.h: This.
19710
404fe9d9
L
19711 * sysdeps/i386/bits/select.h: Removed.
19712 * sysdeps/x86_64/bits/select.h: Renamed to ...
19713 * sysdeps/x86/bits/select.h: This.
19714
d48d0446
L
19715 * sysdeps/i386/bits/setjmp.h: Removed.
19716 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19717 * sysdeps/x86/bits/setjmp.h: This.
19718
7dc00e0d
L
19719 * sysdeps/i386/bits/mathdef.h: Removed.
19720 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19721 * sysdeps/x86/bits/mathdef.h: This.
19722
03277f8f
AS
197232012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19724
19725 [BZ #14132]
19726 * include/sys/socket.h (__connect_internal)
19727 (__libc_sa_len_internal): Remove declaration.
19728 (__connect, __libc_sa_len): Declare hidden_proto.
19729 (SA_LEN): Remove use of INTUSE.
19730 * socket/connect.c: Add libc_hidden_def.
19731 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19732 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19733 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19734 alias.
19735 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19736 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19737 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19738 of adding _internal alias.
19739
13764867
L
197402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19741
19742 [BZ #14117]
6bd97696
L
19743 * sysdeps/i386/bits/link.h: Removed.
19744 * sysdeps/i386/bits/linkmap.h: Likewise.
19745 * sysdeps/x86_64/bits/link.h: Renamed to ...
19746 * sysdeps/x86/bits/link.h: This.
19747 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19748 * sysdeps/x86/bits/linkmap.h: This.
19749
f726f0bb
L
19750 * sysdeps/i386/bits/endian.h: Removed.
19751 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19752 * sysdeps/x86/bits/endian.h: This.
19753
13764867
L
19754 * sysdeps/i386/bits/byteswap.h: Removed.
19755 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19756 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19757 * sysdeps/x86/bits/byteswap.h: This.
19758 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19759 * sysdeps/x86/bits/byteswap-16.h: This.
19760 * sysdeps/i386/Implies: Add x86.
19761 * sysdeps/x86_64/Implies: Likewise.
19762
ae251b0b
DM
197632012-05-30 David S. Miller <davem@davemloft.net>
19764
19765 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19766 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19767 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19768 (FP_TRAPPING_EXCEPTIONS): Define.
19769 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19770 (FP_TRAPPING_EXCEPTIONS): Define.
19771 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19772 subnormals only when inexact has been signalled or underflow
19773 exceptions are enabled.
19774 (_FP_PACK_CANONICAL): Likewise.
19775
d5c90867
L
197762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19777
19778 [BZ #14183]
19779 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19780 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19781
63f1549e
RH
197822012-05-30 Richard Henderson <rth@twiddle.net>
19783
8d8f2279
RH
19784 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19785 with #ifndef NOT_IN_libc.
19786
63f1549e
RH
19787 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19788 marked to avoid plt entry.
19789
0ab0291b
L
197902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19791
19792 [BZ #14112]
19793 * Makeconfig (default-abi): New macro.
19794 (abi-includes): Likewise.
19795 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19796 $(abi-$(default-abi)-lib-soname) for soname if defined.
19797 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19798 abi-variants.
19799 * Makefile (installed-stubs): Likewise.
19800 * include/stubs-biarch.h: Removed.
19801 * scripts/lib-names.awk: Only handle one library at a time.
19802 * scripts/soversions.awk: Remove WORDSIZE support.
19803 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19804 entries.
19805 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19806 Removed.
19807 (syscall-list-default-condition): Likewise.
19808 (syscall-list-default-condition): Likewise.
19809 (syscall-list-includes): Likewise.
19810 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19811 syscall-list-* with abi-*. Handle undefined abi-variants.
19812 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19813 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19814 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19815 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19816 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19817 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19818 Removed.
19819 (syscall-list-32-options): Likewise.
19820 (syscall-list-32-condition): Likewise.
19821 (syscall-list-64-options): Likewise.
19822 (syscall-list-64-condition): Likewise.
19823 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19824 macro.
19825 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19826 Renamed to ...
19827 (abi-*): This.
19828 (abi-64-ld-soname): New macro.
19829 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19830 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19831 Renamed to ...
19832 (abi-*): This.
19833 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19834 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19835
4da0431d
JM
198362012-05-30 Joseph Myers <joseph@codesourcery.com>
19837
3a85279c
JM
19838 * sysdeps/unix/sysv/linux/kernel-features.h
19839 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19840 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19841 include <kernel-features.h>.
19842 [!__NR_ftruncate64]: Remove conditional code.
19843 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19844 [__NR_ftruncate64]: Make code unconditional.
19845 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19846 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19847 include <kernel-features.h>.
19848 [!__NR_ftruncate64]: Remove conditional code.
19849 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19850 [__NR_ftruncate64]: Make code unconditional.
19851 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19853 include <kernel-features.h>.
19854 [!__NR_ftruncate64]: Remove conditional code.
19855 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19856 [__NR_ftruncate64]: Make code unconditional.
19857 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19859 include <kernel-features.h>.
19860 [!__NR_ftruncate64]: Remove conditional code.
19861 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19862 [__NR_ftruncate64]: Make code unconditional.
19863 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19864
4da0431d
JM
19865 * configure.in (libc_cv_fpie): Weaken to a compile test using
19866 LIBC_TRY_CC_OPTION.
19867 * configure: Regenerated.
19868
11ef492c
AK
198692012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19870
19871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19875 Refreshed.
19876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19882 Refreshed.
19883
d66ef399
DM
198842012-05-27 David S. Miller <davem@davemloft.net>
19885
19886 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19887 (___Q_zero): New.
19888 (__Q_simulate_exceptions): Return void. Change to simulate
19889 exceptions by writing into the %fsr.
19890 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19891 (__Qp_handle_exceptions): Likewise.
19892 (numbers): Delete.
19893 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19894 __Qp_handle_exceptions.
19895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19896 __Qp_handle_exceptions.
19897 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19898 as unused and give dummy FP_RND_NEAREST initializer.
19899 (FP_INHIBIT_RESULTS): Define.
19900 (___Q_simulate_exceptions): Update declaration.
19901 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19902 formatting.
19903 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19904 as unused and give dummy FP_RND_NEAREST initializer.
19905 (__Qp_handle_exceptions): Update declaration.
19906 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19907 formatting.
19908
04fb54b5
TS
199092012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19910
19911 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19912 the temporary FPU control word.
19913 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19914 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19915 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19916 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19917 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19918 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19919 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19920 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19921 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19922 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19923 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19924
3f99608f
KK
199252012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19926
19927 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19928 fields.
19929
65a4de4e
CLT
199302012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19931
19932 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19933 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19934 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19935 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19936 Likewise.
19937 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19938 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19939 Likewise.
19940
15749d40
UD
199412012-05-27 Ulrich Drepper <drepper@gmail.com>
19942
19943 * po/h.po: Update from translation team.
19944
25dbcb27
AS
199452012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19946
3d3f8e55
AS
19947 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19948
25dbcb27
AS
19949 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19950 handling of denormals.
19951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19952 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19953 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19954 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19955 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19958 Likewise.
19959
7ad47a80 199602012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19961
19962 [BZ #14152]
19963 * math/libm-test.inc (fma_test): Don't always expect underflow
19964 exception.
19965
9c6ea9fa
SP
199662012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19967
19968 [BZ #12416]
19969 * elf/tst-execstack.c: Include stackinfo.h.
19970 (do_test): Adjust test case to ensure that pthread_getattr_np
19971 behaviour remains the same after marking stack executable.
19972
a8239222
JM
199732012-05-25 Joseph Myers <joseph@codesourcery.com>
19974
19975 * sysdeps/unix/sysv/linux/kernel-features.h
19976 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19977 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19978 kernel-features.h.
19979 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19980 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19981 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19982 kernel-features.h.
19983 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19984 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19985
918b5606
L
199862012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19987
19988 * configure.in: Define the default includes to being none.
19989 * configure: Regenerated.
19990
3a097cc7
RM
199912012-05-25 Roland McGrath <roland@hack.frob.com>
19992
8422c9a5
RM
19993 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19994 * sysdeps/x86_64/setjmp.S: Likewise.
19995 * sysdeps/i386/bsd-setjmp.S: Likewise.
19996 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19997 * sysdeps/i386/setjmp.S: Likewise.
19998 * sysdeps/i386/__longjmp.S: Likewise.
19999 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20000 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20001
3a097cc7
RM
20002 * include/stap-probe.h: New file.
20003 * configure.in: Handle --enable-systemtap.
20004 * configure: Regenerated.
20005 * config.h.in (USE_STAP_PROBE): New #undef.
20006 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20007 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20008 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20009
21708942
JM
200102012-05-25 Joseph Myers <joseph@codesourcery.com>
20011
20012 [BZ #13717]
20013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20014 to 2.4.0 where earlier.
20015 * sysdeps/unix/sysv/linux/configure: Regenerated.
20016 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20017 <kernel-features.h>.
20018 [__ASSUME_32BITUIDS]: Make code unconditional.
20019 [!__ASSUME_32BITUIDS]: Remove conditional code.
20020 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20021 <kernel-features.h>.
20022 [__ASSUME_32BITUIDS]: Make code unconditional.
20023 [!__ASSUME_32BITUIDS]: Remove conditional code.
20024 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20025 [__ASSUME_32BITUIDS]: Make code unconditional.
20026 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20027 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20028 <kernel-features.h>.
20029 [__ASSUME_32BITUIDS]: Make code unconditional.
20030 [!__ASSUME_32BITUIDS]: Remove conditional code.
20031 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20032 <kernel-features.h>.
20033 [__ASSUME_32BITUIDS]: Make code unconditional.
20034 [!__ASSUME_32BITUIDS]: Remove conditional code.
20035 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20036 <kernel-features.h>.
20037 [__ASSUME_32BITUIDS]: Make code unconditional.
20038 [!__ASSUME_32BITUIDS]: Remove conditional code.
20039 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20040 <kernel-features.h>.
20041 [__ASSUME_32BITUIDS]: Make code unconditional.
20042 [!__ASSUME_32BITUIDS]: Remove conditional code.
20043 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20044 <kernel-features.h>.
20045 [__ASSUME_32BITUIDS]: Make code unconditional.
20046 [!__ASSUME_32BITUIDS]: Remove conditional code.
20047 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20048 <kernel-features.h>.
20049 [__ASSUME_32BITUIDS]: Make code unconditional.
20050 [!__ASSUME_32BITUIDS]: Remove conditional code.
20051 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20052 <kernel-features.h>.
20053 [__ASSUME_32BITUIDS]: Make code unconditional.
20054 [!__ASSUME_32BITUIDS]: Remove conditional code.
20055 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20056 <kernel-features.h>.
20057 [__ASSUME_32BITUIDS]: Make code unconditional.
20058 [!__ASSUME_32BITUIDS]: Remove conditional code.
20059 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20060 <kernel-features.h>.
20061 [__ASSUME_32BITUIDS]: Make code unconditional.
20062 [!__ASSUME_32BITUIDS]: Remove conditional code.
20063 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20064 <kernel-features.h>.
20065 [__ASSUME_32BITUIDS]: Make code unconditional.
20066 [!__ASSUME_32BITUIDS]: Remove conditional code.
20067 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20068 <kernel-features.h>.
20069 [__NR_setresgid] (__setresgid): Do not declare.
20070 [__ASSUME_32BITUIDS]: Make code unconditional.
20071 [!__ASSUME_32BITUIDS]: Remove conditional code.
20072 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20073 <kernel-features.h>.
20074 [__NR_setresuid] (__setresuid): Do not declare.
20075 [__ASSUME_32BITUIDS]: Make code unconditional.
20076 [!__ASSUME_32BITUIDS]: Remove conditional code.
20077 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20078 <kernel-features.h>.
20079 [__ASSUME_32BITUIDS]: Make code unconditional.
20080 [!__ASSUME_32BITUIDS]: Remove conditional code.
20081 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20082 <kernel-features.h>.
20083 [__ASSUME_32BITUIDS]: Make code unconditional.
20084 [!__ASSUME_32BITUIDS]: Remove conditional code.
20085 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20086 <kernel-features.h>.
20087 [__ASSUME_32BITUIDS]: Make code unconditional.
20088 [!__ASSUME_32BITUIDS]: Remove conditional code.
20089 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20090 <kernel-features.h>.
20091 [__ASSUME_32BITUIDS]: Make code unconditional.
20092 [!__ASSUME_32BITUIDS]: Remove conditional code.
20093 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20094 <kernel-features.h>.
20095 [__ASSUME_32BITUIDS]: Make code unconditional.
20096 [!__ASSUME_32BITUIDS]: Remove conditional code.
20097 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20098 <kernel-features.h>.
20099 [__ASSUME_32BITUIDS]: Make code unconditional.
20100 [!__ASSUME_32BITUIDS]: Remove conditional code.
20101 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20102 <kernel-features.h>.
20103 [__ASSUME_32BITUIDS]: Make code unconditional.
20104 [!__ASSUME_32BITUIDS]: Remove conditional code.
20105 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20106 <kernel-features.h>.
20107 [__ASSUME_32BITUIDS]: Make code unconditional.
20108 [!__ASSUME_32BITUIDS]: Remove conditional code.
20109 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20110 <kernel-features.h>.
20111 [__ASSUME_32BITUIDS]: Make code unconditional.
20112 [!__ASSUME_32BITUIDS]: Remove conditional code.
20113 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20114 <kernel-features.h>.
20115 [__ASSUME_32BITUIDS]: Make code unconditional.
20116 [!__ASSUME_32BITUIDS]: Remove conditional code.
20117 * sysdeps/unix/sysv/linux/kernel-features.h
20118 (__ASSUME_SETRESUID_SYSCALL): Remove.
20119 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20120 (__ASSUME_32BITUIDS): Likewise.
20121 (__ASSUME_LDT_WORKS): Likewise.
20122 (__ASSUME_O_DIRECTORY): Likewise.
20123 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20124 architecture but not kernel version.
20125 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20126 (__ASSUME_MMAP2_SYSCALL): Likewise.
20127 (__ASSUME_STAT64_SYSCALL): Likewise.
20128 (__ASSUME_IPC64): Likewise.
20129 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20130 <kernel-features.h>.
20131 [__ASSUME_32BITUIDS]: Make code unconditional.
20132 [!__ASSUME_32BITUIDS]: Remove conditional code.
20133 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20134 <kernel-features.h>.
20135 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20136 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20137 132096]: Remove conditional code.
20138 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20139 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20140 <kernel-features.h>.
20141 [__ASSUME_32BITUIDS]: Make code unconditional.
20142 [!__ASSUME_32BITUIDS]: Remove conditional code.
20143 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20144 <kernel-features.h>.
20145 [__ASSUME_32BITUIDS]: Make code unconditional.
20146 [!__ASSUME_32BITUIDS]: Remove conditional code.
20147 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20148 <kernel-features.h>.
20149 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20150 unconditional.
20151 (__setresgid): Do not declare.
20152 [__ASSUME_32BITUIDS]: Make code unconditional.
20153 [!__ASSUME_32BITUIDS]: Remove conditional code.
20154 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20155 <kernel-features.h>.
20156 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20157 unconditional.
20158 (__setresuid): Do not declare.
20159 [__ASSUME_32BITUIDS]: Make code unconditional.
20160 [!__ASSUME_32BITUIDS]: Remove conditional code.
20161 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20162 <kernel-features.h>.
20163 [__ASSUME_32BITUIDS]: Make code unconditional.
20164 [!__ASSUME_32BITUIDS]: Remove conditional code.
20165 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20166 <kernel-features.h>.
20167 [__ASSUME_32BITUIDS]: Make code unconditional.
20168 [!__ASSUME_32BITUIDS]: Remove conditional code.
20169
a386f1cc
RH
201702012-05-25 Richard Henderson <rth@twiddle.net>
20171
20172 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20173 dl_hwcap to ifunc resolver.
20174 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20175 elf_ifunc_invoke.
20176 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20177 dl_hwcap to ifunc resolver.
20178 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20179
b6550497
JM
201802012-05-24 Joseph Myers <joseph@codesourcery.com>
20181
20182 [BZ #14153]
20183 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20184 for |x| <= 2**-26, not 2**-57.
20185 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20186 exception.
20187
b0bc23a1
JL
201882012-05-24 Jeff Law <law@redhat.com>
20189
20190 * stdio-common/Makefile (tests): Add bug25.
20191 * stdio-common/bug25.c: New test.
20192
347c92e9
L
201932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20194
20195 [BZ #13576]
20196 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20197 multiple of MALLOC_ALIGNMENT in size.
20198 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20199
6bcc8b3f
JM
202002012-05-24 Joseph Myers <joseph@codesourcery.com>
20201
20202 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20203 Require >= 256.
20204 (FILENAME_MAX): Use macro-int-constant.
20205 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20206 (_IOFBF): Use macro-int-constant.
20207 (_IOLBF): Likewise.
20208 (_IONBF): Likewise.
20209 (SEEK_CUR): Likewise.
20210 (SEEK_END): Likewise.
20211 (SEEK_SET): Likewise.
20212 (TMP_MAX): Likewise.
20213 (EOF): Use macro-int-constant. Require < 0.
20214 (NULL): Use macro-constant. Require == 0.
20215 (stdin): Require type to be FILE *.
20216 (stdout): Likewise.
20217 (stderr): Likewise.
20218 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20219 macro-int-constant.
20220 (EXIT_SUCCESS): Likewise.
20221 (NULL): Use macro-constant. Require == 0.
20222 (RAND_MAX): Use macro-int-constant.
20223 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20224 [C99-based standards] (strtof): Require function.
20225 [C99-based standards] (strtold): Likewise.
20226 [C99-based standards] (strtoll): Likewise.
20227 [C99-based standards] (strtoull): Likewise.
20228 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20229 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20230 [ISO || ISO99 || ISO11] (math.h): Likewise.
20231 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20232 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20234
d18ea0c5
AS
202352012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20236
20237 [BZ #14132]
56d25bb8
AS
20238 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20239 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20240 * intl/dgettext.c (DCGETTEXT): Likewise.
20241 * intl/gettext.c (DCGETTEXT): Likewise.
20242 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20243 * posix/regex_internal.h (gettext): Likewise.
20244 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20245 Remove declaration.
20246 * include/argz.h (__argz_count_internal)
20247 (__argz_stringify_internal): Remove declaration.
20248 (__argz_count, __argz_stringify): Declare hidden proto.
20249 * intl/dcgettext.c: Remove use of INTDEF.
20250 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20251 * string/argz-stringify.c: Likewise.
20252 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20253 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20254 Declare hidden proto.
d18ea0c5
AS
20255 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20256 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20257 Declare hidden proto.
20258 * include/stdio.h (__asprintf_internal): Don't declare.
20259 (__asprintf): Don't define as macro. Declare hidden proto.
20260 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20261 (__fsetlocking): Declare hidden proto.
20262 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20263 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20264 hidden proto.
20265 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20266 (_IO_setlinebuf): Remove use of INTUSE.
20267 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20268 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20269 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20270 Remove declaration.
20271 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20272 (_IO_do_flush): Remove use of INTUSE.
20273 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20274 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20275 (_IO_adjust_column, _IO_least_wmarker)
20276 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20277 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20278 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20279 (_IO_default_doallocate, _IO_wdefault_doallocate)
20280 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20281 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20282 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20283 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20284 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20285 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20286 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20287 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20288 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20289 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20290 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20291 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20292 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20293 proto.
20294 (_IO_flush_all_internal, _IO_adjust_column_internal)
20295 (_IO_default_uflow_internal, _IO_default_finish_internal)
20296 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20297 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20298 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20299 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20300 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20301 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20302 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20303 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20304 (_IO_file_close_internal, _IO_file_close_it_internal)
20305 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20306 (_IO_file_init_internal, _IO_file_attach_internal)
20307 (_IO_file_fopen_internal, _IO_file_read_internal)
20308 (_IO_file_sync_internal, _IO_file_seek_internal)
20309 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20310 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20311 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20312 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20313 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20314 (_IO_list_all_internal, _IO_link_in_internal)
20315 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20316 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20317 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20318 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20319 (_IO_do_write_internal, _IO_padn_internal)
20320 (_IO_getline_info_internal, _IO_getline_internal)
20321 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20322 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20323 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20324 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20325 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20326 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20327 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20328 with libc_hidden_ver, remove use of INTUSE.
20329 * libio/genops.c: Likewise.
20330 * libio/freopen.c: Likewise.
20331 * libio/freopen64.c: Likewise.
20332 * libio/iofclose.c: Likewise.
20333 * libio/iofdopen.c: Likewise.
20334 * libio/iofflush.c: Likewise.
20335 * libio/iofflush_u.c: Likewise.
20336 * libio/iofgets.c: Likewise.
20337 * libio/iofgets_u.c: Likewise.
20338 * libio/iofopen.c: Likewise.
20339 * libio/iofopncook.c: Likewise.
20340 * libio/iofread.c: Likewise.
20341 * libio/iofread_u.c: Likewise.
20342 * libio/ioftell.c: Likewise.
20343 * libio/iofwrite.c: Likewise.
20344 * libio/iogetline.c: Likewise.
20345 * libio/iogets.c: Likewise.
20346 * libio/iogetwline.c: Likewise.
20347 * libio/iopadn.c: Likewise.
20348 * libio/iopopen.c: Likewise.
20349 * libio/ioseekoff.c: Likewise.
20350 * libio/ioseekpos.c: Likewise.
20351 * libio/iosetbuffer.c: Likewise.
20352 * libio/iosetvbuf.c: Likewise.
20353 * libio/ioungetc.c: Likewise.
20354 * libio/ioungetwc.c: Likewise.
20355 * libio/iovdprintf.c: Likewise.
20356 * libio/iovsprintf.c: Likewise.
20357 * libio/iovsscanf.c: Likewise.
20358 * libio/memstream.c: Likewise.
20359 * libio/obprintf.c: Likewise.
20360 * libio/oldfileops.c: Likewise.
20361 * libio/oldiofclose.c: Likewise.
20362 * libio/oldiofdopen.c: Likewise.
20363 * libio/oldiofopen.c: Likewise.
20364 * libio/oldiopopen.c: Likewise.
20365 * libio/oldstdfiles.c: Likewise.
20366 * libio/putc.c: Likewise.
20367 * libio/setbuf.c: Likewise.
20368 * libio/setlinebuf.c: Likewise.
20369 * libio/stdfiles.c: Likewise.
20370 * libio/strops.c: Likewise.
20371 * libio/vasprintf.c: Likewise.
20372 * libio/vscanf.c: Likewise.
20373 * libio/vsnprintf.c: Likewise.
20374 * libio/vswprintf.c: Likewise.
20375 * libio/wfiledoalloc.c: Likewise.
20376 * libio/wfileops.c: Likewise.
20377 * libio/wgenops.c: Likewise.
20378 * libio/wmemstream.c: Likewise.
20379 * libio/wstrops.c: Likewise.
20380 * libio/__fpurge.c: Likewise.
20381 * libio/__fsetlocking.c: Likewise.
20382 * assert/assert.c: Likewise.
20383 * debug/fgets_chk.c: Likewise.
20384 * debug/fgets_u_chk.c: Likewise.
20385 * debug/fread_chk.c: Likewise.
20386 * debug/fread_u_chk.c: Likewise.
20387 * debug/gets_chk.c: Likewise.
20388 * debug/obprintf_chk.c: Likewise.
20389 * debug/vasprintf_chk.c: Likewise.
20390 * debug/vdprintf_chk.c: Likewise.
20391 * debug/vsnprintf_chk.c: Likewise.
20392 * debug/vsprintf_chk.c: Likewise.
20393 * malloc/mtrace.c: Likewise.
20394 * misc/error.c: Likewise.
20395 * misc/syslog.c: Likewise.
20396 * stdio-common/asprintf.c: Likewise.
20397 * stdio-common/fxprintf.c: Likewise.
20398 * stdio-common/getw.c: Likewise.
20399 * stdio-common/isoc99_fscanf.c: Likewise.
20400 * stdio-common/isoc99_scanf.c: Likewise.
20401 * stdio-common/isoc99_vfscanf.c: Likewise.
20402 * stdio-common/isoc99_vscanf.c: Likewise.
20403 * stdio-common/isoc99_vsscanf.c: Likewise.
20404 * stdio-common/printf-prs.c: Likewise.
20405 * stdio-common/printf_fp.c: Likewise.
20406 * stdio-common/printf_fphex.c: Likewise.
20407 * stdio-common/printf_size.c: Likewise.
20408 * stdio-common/putw.c: Likewise.
20409 * stdio-common/scanf.c: Likewise.
20410 * stdio-common/sprintf.c: Likewise.
20411 * stdio-common/tmpfile.c: Likewise.
20412 * stdio-common/vfprintf.c: Likewise.
20413 * stdio-common/vfscanf.c: Likewise.
20414 * stdlib/strfmon_l.c: Likewise.
20415 * sunrpc/openchild.c: Likewise.
20416 * sunrpc/xdr_stdio.c: Likewise.
20417 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20418 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20419
d6c33fda
RM
204202012-05-24 Roland McGrath <roland@hack.frob.com>
20421
c1487492
RM
20422 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20423
20424 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20425 in the third column, to generate for the shared library an IFUNC
20426 that uses _dl_vdso_vsym.
20427 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20428 * Makeconfig (object-suffixes-noshared): New variable.
20429
20430 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20431 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20432 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20433 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20434
d6c33fda
RM
20435 [BZ #14132]
20436 * include/sys/time.h (__gettimeofday): Remove macro.
20437 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20438 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20439 Remove INTDEF.
20440 (__gettimeofday): Add libc_hidden_def.
20441 (gettimeofday): Add libc_hidden_weak.
20442 * sysdeps/mach/gettimeofday.c: Likewise.
20443 * sysdeps/posix/gettimeofday.c: Likewise.
20444 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20445 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20447 (__gettimeofday_internal): Remove strong_alias.
20448 (__gettimeofday): Add libc_hidden_def.
20449 (gettimeofday): Add libc_hidden_weak.
20450 * sysdeps/unix/syscalls.list (gettimeofday):
20451 Remove __gettimeofday_internal alias.
20452
b5a2bbe6
L
204532012-05-24 Daniel Jacobowitz <drow@false.org>
20454 H.J. Lu <hongjiu.lu@intel.com>
20455
20456 [BZ #12495]
20457 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20458 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20459 (largebin_index_32_big): New.
20460 (largebin_index): Use it for 16-byte alignment.
20461 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20462 correction with front_misalign.
20463
cfba4fda
L
204642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20465
7f907421
L
20466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20468 Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20470 Likewise.
20471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20472 Likewise.
20473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20474 Likewise.
20475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20476 Likewise.
20477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20478 Likewise.
20479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20480 Likewise.
20481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20482 Likewise.
20483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20484 Likewise.
20485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20486 Likewise.
20487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20488 Likewise.
20489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20490 Likewise.
20491
cfba4fda
L
20492 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20493 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20494
80bad0cc
JM
204952012-05-24 Joseph Myers <joseph@codesourcery.com>
20496
7a25eb06
JM
20497 [BZ #10846]
20498 [BZ #14036]
20499 * math/libm-test.inc (exp_test): Add test from bug 14036.
20500 (pow_test): Add test from bug 10846.
20501
795405f9
JM
20502 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20503 and other flags.
20504 (special_function): Do not include flags in test name.
20505 (parse_args): Likewise.
20506 * sysdeps/i386/fpu/libm-test-ulps: Update.
20507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20508 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20509 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20511
80bad0cc
JM
20512 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20513 exceptions.
20514 * math/libm-test.inc ("Philosophy"): Update comment about
20515 exception testing.
20516 (UNDERFLOW_EXCEPTION): New macro.
20517 (UNDERFLOW_EXCEPTION_OK): Likewise.
20518 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20519 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20520 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20521 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20522 (INVALID_EXCEPTION_OK): Update value.
20523 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20524 (OVERFLOW_EXCEPTION_OK): Likewise.
20525 (IGNORE_ZERO_INF_SIGN): Likewise.
20526 (test_exceptions): Handle underflow exceptions.
20527 (acos_test): Update for underflow exception expectations.
20528 (cexp_test): Likewise.
20529 (clog_test): Likewise.
20530 (clog10_test): Likewise.
20531 (csqrt_test): Likewise.
20532 (ctan_test): Likewise.
20533 (ctanh_test): Likewise.
20534 (exp_test): Likewise.
20535 (exp10_test): Likewise.
20536 (exp2_test): Likewise.
20537 (expm1_test): Likewise.
20538 (fma_test): Likewise.
20539 (j0_test): Likewise.
20540 (jn_test): Likewise.
20541 (nexttoward_test): Likewise.
20542 (pow_test): Likewise.
20543 (scalbn_test): Likewise.
20544 (scalbln_test): Likewise.
20545 (tan_test): Likewise.
20546 (y1_test): Likewise.
20547 * sysdeps/i386/fpu/libm-test-ulps: Update.
20548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20549
9e0e3d0b
DM
205502012-05-23 David S. Miller <davem@davemloft.net>
20551
20552 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20553 (__libc_sigaction): Remove unused local variables.
20554
ccd0a08f
L
205552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20556
20557 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20558
62bdf9a6
PE
205592012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20560
f8591f80
PE
20561 mktime: avoid signed integer overflow
20562 * time/mktime.c (__mktime_internal): Do not mishandle the case
20563 where diff == INT_MIN.
20564
94c7d826
PE
20565 mktime: simplify computation of average
20566 * time/mktime.c (ranged_convert): Use new time_t_avg function
20567 instead of rolling our own (probably-slower) code.
20568
ce73d683
PE
20569 mktime: do not assume signed right shift propagates sign bit
20570 * time/mktime.c (isdst_differ): New static function.
20571 (__mktime_internal): No need to normalize tm_isdst now.
20572 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20573 tm_isdst values.
20574
72a22e59
PE
20575 mktime: merge another wrapv change from gnulib
20576 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20577 from some compilers.
20578
68605433
PE
20579 mktime: remove incorrect attempt at unusual arithmetics
20580 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20581 The code didn't really work on such machines anyway.
20582 (TYPE_MINIMUM): Assume two's complement.
20583 (twos_complement_arithmetic): Verify that long_int and time_t
20584 are two's complement (or unsigned, in the latter case).
20585
03cf7fe3
PE
20586 mktime: check signed shifts on long_int and time_t, too
20587 * time/mktime.c (SHR): Check that shifts work as desired
20588 on the types long_int and time_t too, as SHR is used on
20589 such types.
20590
f04dfbc2
PE
20591 mktime: do not assume 'long' is wide enough
20592 * time/mktime.c (verify): Move decl up.
20593 (long_int): New type.
20594 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20595 to remove assumption in the code that 'long' is wide enough to
20596 store year values. This assumption is not true on x32 and on
20597 some non-glibc platforms.
20598
62bdf9a6
PE
20599 mktime: merge wrapv change from gnulib
20600 * time/mktime.c (WRAPV): New macro.
20601 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20602 (guess_time_tm, __mktime_internal): Do not assume that signed
20603 integer overflow wraps around; modern compilers generate code
20604 where this assumption is no longer valid.
20605
5e292e4f
L
206062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20607
20608 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20609 Replace "jmp L(pseudo_end)" with "ret".
20610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20611 Likewise.
20612
8caf8c87
AJ
206132012-05-23 Andreas Jaeger <aj@suse.de>
20614
20615 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20616 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20617
1a09dc56
AJ
206182012-05-23 Andreas Jaeger <aj@suse.de>
20619 Maximilian Attems <max@stro.at>
20620
20621 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20622 New macros.
20623
1c87aba0
L
206242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20625
20626 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20627 code so that pseudo_end is just ret and the stack pointer is
20628 correct also for static library in error case.
20629
40e45bd5
JM
206302012-05-23 Joseph Myers <joseph@codesourcery.com>
20631
c2670533
JM
20632 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20633 move to syscalls.list.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20638
40e45bd5
JM
20639 * manual/install.texi (Running make install): Do not mention Linux
20640 kernel version for which pt_chown is not needed.
20641 (Linux): Do not mention problems with nscd with 2.0 kernels.
20642 * INSTALL: Regenerated.
20643
be08eda5
AJ
206442012-05-23 Andreas Jaeger <aj@suse.de>
20645
20646 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20647 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20648 macro.
20649 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20650 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20651 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20652 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20653 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20654 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20655 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20656 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20658 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20659 * sysdeps/unix/sysv/linux/bits/in.h
20660 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20661
a6a056bb
RM
206622012-05-22 Roland McGrath <roland@hack.frob.com>
20663
20664 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20665 (PREPARE_VERSION): Just use assert instead, it will be elided
20666 under [NDEBUG] anyway.
20667
c9009328
L
206682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20669
20670 * sysdeps/unix/sysv/linux/Makefile: Include
20671 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20672 (sysdep_routines): Remove sysctl.
c9009328
L
20673 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20674 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20675 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20676 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20677 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20678
73338355
AJ
206792012-05-22 Andreas Jaeger <aj@suse.de>
20680
20681 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20682 that pseudo_end is just ret and the stack pointer is correct also
20683 for static library in error case.
20684
d44638b0
PP
206852012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20686
20687 [BZ #14122]
20688 * nss/nsswitch.c (defconfig_entries): New variable.
20689 (__nss_database_lookup): Don't leak defconfig entries.
20690 (nss_parse_service_list): Don't leak on error paths.
20691 (free_database_entries): New function.
20692 (free_defconfig): New function.
20693 (free_mem): Move common code to free_database_entries.
20694
31a39bd8
L
206952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20696
da0331a8
L
20697 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20698 Add arch_prctl.
20699 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20700
31a39bd8
L
20701 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20702 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20703 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20704 New macro.
20705 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20706 (INTERNAL_SYSCALL_TYPES): Likewise.
20707 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20708 (LOAD_REGS_TYPES_[1-6]): Likewise.
20709 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20710 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20711
45470df3
AZ
207122012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20713
20714 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20715 copysignl for GLIBC_2_0.
20716 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20717 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20718 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20719 logbl for GLIBC_2_0.
20720 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20721 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20722
98a61bcb
L
207232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20724
a4f6e481
L
20725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20726 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20727
f63d5db6
L
20728 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20729 Use "neg %eax".
20730
98a61bcb
L
20731 * time/mktime.c: Update copyright years.
20732
95770f14
PE
207332012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20734
6226efbd
PE
20735 mktime: merge comment-quoting-style change from gnulib
20736 * time/mktime.c: Quote 'like this' in comments.
20737 The GNU coding standards suggest that we no longer quote `like this',
20738 as "`" and "'" are typically rendered asymmetrically nowadays.
20739 The typical gnulib style is to quote 'like this' when quoting
20740 code, and "like this" when quoting English.
20741
b99e4f78
PE
20742 * time/mktime.c (compile-command): Add "-I.".
20743
643e01e6
PE
20744 mktime: merge mktime-internal.h change from gnulib
20745 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20746
2554247d
PE
20747 mktime: merge time_r change from gnulib
20748 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20749
826dd0ab
PE
20750 mktime: merge DEBUG change from gnulib
20751 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20752 case system <time.h> has a #define.
20753
bd83aabe
PE
20754 mktime: merge <sys/types.h> change from gnulib
20755 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20756 since <time.t> is now guaranteed to define time_t.
20757
95770f14
PE
20758 mktime: merge HAVE_CONFIG_H change from gnulib
20759 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20760
5e1a27a9
L
207612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20762
0e44a77e
L
20763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20764 Use "neg %eax".
20765
5e1a27a9
L
20766 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20767 __rlim_t cast.
20768 (struct rusage): Use anonymous union to pad each field to
20769 __syscall_slong_t.
20770
46259bec
DM
207712012-05-21 David S. Miller <davem@davemloft.net>
20772
20773 * Makefules (o-iterator): Remove .s cases.
20774 (compile-command.s): Delete.
20775 (COMPILE.s): Delete.
20776 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20777
59f0c22e
JM
207782012-05-21 Joseph Myers <joseph@codesourcery.com>
20779
20780 * configure.in (libc_cv_predef_stack_protector): Only consider
20781 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20782 * configure: Regenerated.
20783
20c07380
L
207842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20785
bbb3154b
L
20786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20787 New macro. Use R*LP on int and pointer.
20788 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20789 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20791 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20792
20c07380
L
20793 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20794 [__WORDSIZE_TIME64_COMPAT32] instead of
20795 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20796 (struct utmp): Likewise.
20797 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20798 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20799 Renamed to ...
20800 (__WORDSIZE_TIME64_COMPAT32): This.
20801 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20802 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20803 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20804 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20805 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20806 (__WORDSIZE_TIME64_COMPAT32): New macro.
20807
d8d1017e
AJ
208082012-05-21 Andreas Jaeger <aj@suse.de>
20809
20810 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20811 only if [SHARED]. Add prototype for __wcschr_ia32.
20812
6c7fb145
RM
208132012-05-21 Roland McGrath <roland@hack.frob.com>
20814
20815 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20816 of %rbp unmolested in the jmp_buf while mangling the low bits.
20817 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20818 unmolested high bits of %rbp while demangling the low bits.
20819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20820
66274218
AJ
208212012-05-21 Andreas Jaeger <aj@suse.de>
20822
07c58f8f
AJ
20823 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20824 * sunrpc/svc_simple.c: Use it for registerrpc.
20825 * sunrpc/xcrypt.c: Use it for passwd2des.
20826
66274218
AJ
20827 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20828
61f65140
L
208292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20832 Don't define if [__SYSCALL_WORDSIZE != 32].
20833 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20834 New macro.
20835
5fefb436
AJ
208362012-05-21 Bruno Haible <bruno@clisp.org>
20837 Andreas Jaeger <aj@suse.de>
20838
20839 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20840 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20841 inptr and inend for must_buffer_ch.
20842 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20843 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20844 * stdio-common/Makefile (tests): Remove bug15.
20845 (bug15-ENV): Remove macro.
20846 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20847 anymore.
20848
d8e272ab
AJ
208492012-05-19 Andreas Jaeger <aj@suse.de>
20850 Roland McGrath <roland@hack.frob.com>
20851
20852 * manual/contrib.texi: Completely rewritten. It contains now an
20853 alphabetical list of contributors and their contributions.
20854
4a56a162
RH
208552012-05-21 Richard Henderson <rth@twiddle.net>
20856
20857 * misc/getauxval.c (__getauxval): Use unsigned long int.
20858 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20859 (getauxval): Use unsigned long int.
20860
d024d23c
L
208612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20862
20863 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20864
cbc00a03
RM
208652012-05-21 Roland McGrath <roland@hack.frob.com>
20866
20867 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20868 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20869 __alignof__ (long double).
20870
478143fa
AZ
208712012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20872
20873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20874
c7683a6d
RH
208752012-05-20 Richard Henderson <rth@twiddle.net>
20876
20877 * misc/getauxval.c: New file.
20878 * misc/sys/auxv.h: New file.
20879 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20880 (routines): Add getauxval.
20881 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20882 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20883 * elf/dl-sysdep.c (_dl_auxv): Remove.
20884 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20885 * elf/dl-support.c (_dl_auxv): New variable.
20886 (_dl_aux_init): Initialize it.
20887 * manual/startup.texi (Auxiliary Vector): New node.
20888 * sysdeps/generic/bits/hwcap.h: New file.
20889 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20890 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20891 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20892 * sysdeps/sparc/sysdep.h: ... here. Include it.
20893 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20896 Update.
c7683a6d
RH
20897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20900 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20905
a6f1845d
AZ
209062012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20907
20908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20909
cbcbe830
DM
209102012-05-19 David S. Miller <davem@davemloft.net>
20911
20912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20913
e0b16cc2
JM
209142012-05-19 Joseph Myers <joseph@codesourcery.com>
20915
20916 [BZ #14123]
20917 * math/s_ccosh.c: Include <float.h>
20918 (__ccosh): Avoid internal overflow calculating sinh and cosh
20919 values before multiplying by sin and cos values.
20920 * math/s_ccoshf.c: Likewise.
20921 * math/s_ccoshl.c: Likewise.
20922 * math/s_csin.c: Likewise.
20923 * math/s_csinf.c: Likewise.
20924 * math/s_csinl.c: Likewise.
20925 * math/s_csinh.c: Likewise.
20926 * math/s_csinhf.c: Likewise.
20927 * math/s_csinhl.c: Likewise.
20928 * math/libm-test.inc (ccos_test): Add more tests.
20929 (ccosh_test): Likewise.
20930 (csin_test): Likewise.
20931 (csinh_test): Likewise.
20932 * sysdeps/i386/fpu/libm-test-ulps: Update.
20933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20934
6ad13e08
L
209352012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20936
f66f0ce8
L
20937 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20938 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20939
6ad13e08
L
20940 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20941
b1d072a7
JM
209422012-05-19 Joseph Myers <joseph@codesourcery.com>
20943
20944 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20945 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20946 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20947 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20948 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20949 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20950 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20951 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20952 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20953 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20954 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20955 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20956 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20957 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20958 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20959 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20960 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20961 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20962 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20963 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20964 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20965 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20966 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20967 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20968 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20969 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20970 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20971 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20972 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20973 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20974 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20975
9eae47cb
AJ
209762012-05-18 Andreas Jaeger <aj@suse.de>
20977
20978 * csu/.gitignore: Delete.
20979
bb07f69f
L
209802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20981
20982 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20983 (timex): Use __syscall_slong_t.
20984
e6bdb741
AJ
209852012-05-18 Andreas Jaeger <aj@suse.de>
20986 Carlos O'Donell <carlos_odonell@mentor.com>
20987
20988 * manual/install.texi (Configuring and compiling): Update
20989 description about files modified in the source directory.
d6c33fda 20990 * INSTALL: Regenerated.
e6bdb741 20991
1b74487e
L
209922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20993
20994 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20995 value. Use "or" to set return value to -1.
20996 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20997 negate return value.
20998
a88b64b9
TMQMF
209992012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21000
21001 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21002 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21003 failure if the compiler has Graphite support disabled.
21004 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21005 Likewise.
21006 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21007 CFLAGS-memmove.c): Likewise.
21008 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21009 Likewise.
21010
3707636e
L
210112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21012
610b8622
L
21013 * sysdeps/x86_64/x32/_itoa.h: New file.
21014
7cd195df
L
21015 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21016 getdents system call only if kernel and user dirents have the
21017 same d_ino and d_off.
21018
94b07d20
L
21019 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21020 LLONG_MAX != LONG_MAX.
21021 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21022 (_fitoa_word): Likewise.
21023
18298070
L
21024 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21025 years.
21026 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21027 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21028 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21029
553c7ea4
L
21030 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21031 include <bits/wordsize.h>. Check __x86_64__ instead of
21032 __WORDSIZE.
21033 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21034 if __x86_64__ is defined. Use anonymous union on fpstate.
21035
3707636e
L
21036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21037 anonymous union.
21038
b53ef01a
AS
210392012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21040
37fb1dc0
AS
21041 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21042 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21043 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21044 Refer to _rtld_local_ro instead of _rtld_global_ro.
21045 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21046 Likewise.
21047 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21048 Likewise.
21049 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21050 Likewise.
21051 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21052 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21053 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21054
b53ef01a
AS
21055 * sysdeps/powerpc/powerpc32/dl-machine.c
21056 (__elf_machine_runtime_setup) [PROF]: Don't reference
21057 _dl_prof_resolve.
21058
7a185db2
AJ
210592012-05-18 Andreas Jaeger <aj@suse.de>
21060
21061 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21062 function only available for GCCs before 3.4 since GCC 3.4
21063 introduced a builtin.
21064 (lrint): Likewise.
21065 (llrintf): Likewise.
21066 (llrint): Likewise.
21067 (fmaxf): Likewise.
21068 (fmax): Likewise.
21069 (fminf): Likewise.
21070 (fmin): Likewise.
21071 (rint): Likewise.
21072 (rintf): Likewise.
21073 (nearbyint): Likewise.
21074 (nearbyintf): Likewise.
21075 (ceil): Likewise.
21076 (ceilf): Likewise.
21077 (floor): Likewise.
21078 (floorf): Likewise.
21079
3e5aef87
L
210802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21081
428bd707
L
21082 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21083 on both fields and cast pointer to __syscall_ulong_t.
21084
3e5aef87
L
21085 * bits/types.h (__fsword_t): New type.
21086 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21087 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21089 (__FSWORD_T_TYPE): Likewise.
21090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21091 (__FSWORD_T_TYPE): Likewise.
21092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21093 (__FSWORD_T_TYPE): Likewise.
21094 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21095 (__FSWORD_T_TYPE): Likewise.
21096 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21097 __SWORD_TYPE with __fsword_t.
21098 (statfs64): Likewise.
21099
1ba7c3dc
DM
211002012-05-17 David S. Miller <davem@davemloft.net>
21101
21102 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21103
59910343
AJ
211042012-05-17 Andreas Jaeger <aj@suse.de>
21105
21106 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21107 warning.
21108
2e4c1e9e
L
211092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21110
21111 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21112
de7f5ce7
AJ
211132012-05-17 Andreas Jaeger <aj@suse.de>
21114
21115 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21116 when it is used.
21117
286abc3d
CM
211182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21119
21120 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21121
477cc68e
L
211222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21123
21124 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21125 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21126
1a0994f5
CD
211272012-05-17 Andreas Jaeger <aj@suse.de>
21128 Carlos O'Donell <carlos_odonell@mentor.com>
21129
21130 [BZ #14059]
21131 * sysdeps/x86_64/multiarch/init-arch.h
21132 (bit_YMM_Usable): Rename to...
21133 (bit_AVX_Usable): ... this.
21134 (bit_FMA4_Usable): New macro.
21135 (bit_XMM_state): New macro.
21136 (bit_YMM_state): New macro.
21137 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21138 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21139 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21140 (CPUID_OSXSAVE): New macro.
21141 (CPUID_AVX): New macro.
21142 (CPUID_FMA4): New macro.
21143 (index_YMM_Usable): Rename to...
21144 (index_AVX_Usable): ... this.
21145 (HAS_AVX): Use HAS_ARCH_FEATURE.
21146 (HAS_FMA4): Likewise.
21147 (HAS_YMM_USABLE): Remove.
21148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21149 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21150 are present.
21151 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21152 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21153 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21154 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21155 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21156
0af797de
CM
211572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21158
21159 * math/libm-test.c: Support platforms without multiple rounding modes.
21160 * math/bug-nextafter.c: Support platforms without FP exceptions.
21161 * math/bug-nexttoward.c: Likewise.
21162 * math/test-fenv.c: Likewise.
21163 * math/test-misc.c: Likewise.
21164 * stdlib/bug-getcontext.c: Likewise.
21165
e39745ff
AJ
211662012-05-17 Andreas Jaeger <aj@suse.de>
21167
21168 * manual/examples/search.c (critter_cmp): Change signature to
21169 avoid warnings.
21170 * manual/string.texi (Collation Functions): Likewise.
21171
48970aba
L
211722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21173
21174 * bits/types.h: Fold copyright years.
21175 * bits/typesizes.h: Likewise.
21176 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21177 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21178 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21180 * time/time.h: Likewise.
21181
bedee953
PP
211822012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21183
21184 [BZ #208]
21185 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21186 in instead of returning them. Return void.
21187 (__libc_mallinfo): Accumulate over all arenas.
21188 (__malloc_stats): Adjust for change in int_mallinfo interface.
21189
61653dfb
RM
211902012-05-16 Roland McGrath <roland@hack.frob.com>
21191
30b99d79
RM
21192 [BZ #10375]
21193 * configure.in (NM): Add AC_CHECK_TOOL for it.
21194 (libc_extra_cflags): New substituted variable.
21195 Check for -fstack-protector being used implicitly.
21196 * configure: Regenerated.
21197 * config.make.in (config-extra-cflags): New variable,
21198 gets @libc_extra_cflags@.
21199 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21200
61653dfb
RM
21201 [BZ #10375]
21202 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21203 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21204 * configure: Regenerated.
21205 * config.make.in (CPPUNDEFS): New substituted variable.
21206 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21207 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21208 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21209
661768bb
L
212102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21211
21212 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21213 (mq_attr): Use __syscall_slong_t.
21214
d4261567
L
212152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21216
21217 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21218 Check __x86_64__ instead of __WORDSIZE.
21219 (_STAT_VER_LINUX): Likewise.
21220 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21221 __syscall_ulong_t and __syscall_slong_t.
21222 (stat64): Likewise.
21223
cf3ff365
L
212242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21225
21226 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21227
76cf3e4d
L
212282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21229
21230 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21231
a637753a
L
212322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21233
21234 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21235 __syscall_ulong_t.
21236
d5e05119
L
21237 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21238 include <bits/wordsize.h>. Check __x86_64__ instead of
21239 __WORDSIZE.
21240 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21241 defined.
21242 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21243
f62ee380
L
21244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21245 include <bits/wordsize.h>. Check __x86_64__ instead of
21246 __WORDSIZE.
21247 (user_regs_struct): Use "__extension__ unsigned long long"
21248 instead of "unsigned long" if __x86_64__ is defined.
21249 (user): Likewise. Pad after pointer field if __ILP32__ is
21250 defined.
21251
4e124ced
JM
212522012-05-16 Joseph Myers <joseph@codesourcery.com>
21253
6a3951a0
JM
21254 * configure.in (makeinfo): Require version 4.5 or later. Allow
21255 versions 5 to 9.
21256 * configure: Regenerated.
21257 * manual/install.texi (texinfo): Increase version requirement to
21258 4.5 or later.
21259 * INSTALL: Regenerated.
21260
4e124ced
JM
21261 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21262
953ca31a
L
212632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21264
21265 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21266
617aca05
L
21267 * sysdeps/x86_64/x32/ffs.c: New file.
21268
5762f7ae
L
21269 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21270 __syscall_ulong_t.
21271 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21272 defined. Use __syscall_ulong_t.
21273 (shminfo): Use __syscall_ulong_t.
21274 (shm_info): Likewise.
21275
a26b6856
L
21276 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21277 __syscall_ulong_t.
21278
cb2b9ef7
L
21279 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21280 <bits/wordsize.h>.
21281 (msgqnum_t): Use __syscall_ulong_t.
21282 (msglen_t): Likewise.
21283 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21284 __syscall_ulong_t.
21285
34683bb0
L
21286 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21287 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21288
84a68786
L
21289 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21290
48baa5f1
L
21291 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21292 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21293
180be88b
L
21294 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21295 __syscall_slong_t.
21296
5e90c8ad
L
21297 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21298 include <bits/wordsize.h>. Check __x86_64__ instead of
21299 __WORDSIZE.
21300
23dfb58b
L
21301 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21302 "unsigned long long int" if __x86_64__ is defined.
21303 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21304
ce5d54b0
L
21305 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21306 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21307 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21308
13dc9eac
L
21309 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21310 <stdint.h>.
21311 (GET_PC): Cast to uintptr_t first.
21312 (GET_FRAME): Likewise.
21313 (GET_STACK): Likewise.
21314
a7895d15
L
21315 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21316 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21317 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21318 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21319 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21320 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21321 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21323 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21324 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21325 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21326 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21327 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21328 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21329 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21330 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21331 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21332 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21334 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21336 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21337 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21339 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21340 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21341 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21342 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21343 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21344
656416c9
AS
213452012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21346
5bd66283
AS
21347 * Makerules (+depfiles): Also collect depfiles from .oS in
21348 $(extra-objs).
21349 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21350 .oS, $(libnldbl-routines)).
21351
656416c9
AS
21352 * Makerules (native-compile-mkdep-flags): Define.
21353 * sunrpc/Makefile (extra-objs): Add $(addprefix
21354 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21355 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21356 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21357 calling $(make-target-directory).
21358
a46f2169
L
213592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21360
21361 * bits/types.h (__snseconds_t): Removed.
21362 * time/time.h (struct timespec): Replace __snseconds_t with
21363 __syscall_slong_t.
21364 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21365 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21366 Likewise.
21367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21368 (__SNSECONDS_T_TYPE): Likewise.
21369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21370 (__SNSECONDS_T_TYPE): Likewise.
21371 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21372 (__SNSECONDS_T_TYPE): Likewise.
21373
6af6528b
L
213742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 * sysdeps/mach/hurd/bits/typesizes.h
21377 (__SYSCALL_SLONG_TYPE): New macro.
21378 (__SYSCALL_ULONG_TYPE): Likewise.
21379
de986b56
L
213802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21381
21382 * bits/types.h (__syscall_slong_t): New type.
21383 (__syscall_ulong_t): Likewise.
21384
21385 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21386 (__SYSCALL_ULONG_TYPE): Likewise.
21387 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21388 (__SYSCALL_SLONG_TYPE): Likewise.
21389 (__SYSCALL_ULONG_TYPE): Likewise.
21390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21391 (__SYSCALL_SLONG_TYPE): Likewise.
21392 (__SYSCALL_ULONG_TYPE): Likewise.
21393 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21394 (__SYSCALL_SLONG_TYPE): Likewise.
21395 (__SYSCALL_ULONG_TYPE): Likewise.
21396
85736dc7
L
213972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21398
21399 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21400 Add sigaltstack-offsets.sym.
21401 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21402 <sigaltstack-offsets.h>.
21403 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21404 longjmp_msg pointer.
21405 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21406 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21407 signal stack.
21408 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21409
cc03b296
JM
214102012-05-15 Joseph Myers <joseph@codesourcery.com>
21411
a9538892
JM
21412 * elf/stackguard-macros.h: Remove file.
21413 * sysdeps/generic/stackguard-macros.h: New file.
21414 * sysdeps/i386/stackguard-macros.h: Likewise.
21415 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21416 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21417 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21418 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21419 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21420 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21421 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21422 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21423 <elf/stackguard-macros.h>.
21424
cc03b296
JM
21425 [BZ #14109]
21426 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21427 __aligned__ in attribute.
21428 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21429 (gregset_t): Likewise.
21430
93171016
L
214312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21432
21433 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21434 * sysdeps/x86_64/64/Implies-after: Here. New file.
21435 * sysdeps/x86_64/x32/Implies-after: New file.
21436
d86813a0
L
214372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21438
21439 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21440 and access return value for _dl_profile_fixup. Use R10_LP to
21441 load frame size.
21442
2953ec75
L
214432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21444
21445 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21446
3b550e9e
L
214472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21448
21449 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21450 * sysdeps/x86_64/x32/sysdep.h: New file.
21451
eda41706
L
214522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21453
21454 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21455 * sysdeps/x86_64/setjmp.S: Likewise.
21456
9ea01d93
AZ
214572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21458
21459 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21460 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21461 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21462 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21463 remove unused global constant.
21464
02a91938
CM
214652012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21466
21467 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21468 include of <not-cancel.h>.
21469
6540185f
RM
214702012-05-15 Roland McGrath <roland@hack.frob.com>
21471
21472 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21473
509072a0
AJ
214742012-05-15 Jeff Law <law@redhat.com>
21475 Andreas Jaeger <aj@suse.de>
21476
21477 [BZ #13594]
21478 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21479 out from...
21480 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21481 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21482 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21483 code changing __hst_map_handle.map.
21484
ba75122d
RM
214852012-05-15 Roland McGrath <roland@hack.frob.com>
21486
21487 * configure.in (sysnames): Look for Implies-before and Implies-after
21488 files.
21489 * configure: Regenerated.
21490
890d8bd8
L
214912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21494 8-byte data alignment with LP_SIZE alignment.
21495
f6ee6623
L
214962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21497
21498 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21499 into R10_LP.
21500
ea2626f6
L
215012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21502
21503 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21504
085f715e
L
215052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21506
21507 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21508 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21509 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21510 Likewise.
21511 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21512
be8498fc
L
215132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21514
21515 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21516 (stackinfo_sub_sp): Likewise.
21517
70bc83b9
L
215182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21519
21520 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21521 RAX_LP.
21522
9bc0b730
L
215232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21526 into R*_LP.
21527
6d2850e7
L
215282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21529
21530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21531 sizes into R*_LP.
21532
3cb84561
L
215332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21534
21535 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21536
54e2ed81
L
215372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21538
21539 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21540 into R11_LP and load __x86_64_shared_cache_size_half into
21541 R8_LP.
21542
8a17f349
L
215432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21544
21545 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21546 R8_LP.
21547
777b1eea
AZ
215482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21549
21550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21551 logb for POWER7.
21552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21553 logbf for POWER7.
21554 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21555 logbl for POWER7.
21556 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21557 powerpc32/power7/fpu/s_logb.c via #include.
21558 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21559 powerpc32/power7/fpu/s_logbf.c via #include.
21560 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21561 powerpc32/power7/fpu/s_logbl.c via #include.
21562
d20d4ac2
JM
215632012-05-15 Joseph Myers <joseph@codesourcery.com>
21564
21565 * README.libm: Remove file.
21566
6cdef1ab
L
215672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21568
21569 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21570 count for x32. Use R*_LP and omit operand-size suffix.
21571
0b254d8f
L
215722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21573
21574 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21575 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21576 * sysdeps/x86_64/x32/shlib-versions: New file.
21577
ceb809dc
RM
215782012-05-14 Roland McGrath <roland@hack.frob.com>
21579
21580 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21581 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21582 Use _dl_fatal_printf instead.
21583
37f1abd4
JM
215842012-05-14 Joseph Myers <joseph@codesourcery.com>
21585
21586 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21587 set if not set by the user. Do not allow for being unset.
21588 * sysdeps/unix/sysv/linux/configure: Regenerated.
21589
11de3a33
L
215902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21591
21592 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21593 the `q' suffix from lea and replace .quad with ASM_ADDR.
21594
e02f153a
L
215952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21596
21597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21598 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21599 instead of $17.
21600 (PTR_DEMANGLE): Likewise.
21601
520ae0fd
L
216022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21603
21604 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21605 (LP_OP): Likewise.
21606 (ASM_ADDR): Likewise.
21607 (RAX_LP): Likewise.
21608 (RBP_LP): Likewise.
21609 (RBX_LP): Likewise.
21610 (RCX_LP): Likewise.
21611 (RDI_LP): Likewise.
21612 (RSI_LP): Likewise.
21613 (RSP_LP): Likewise.
21614 (R8_LP): Likewise.
21615 (R9_LP): Likewise.
21616 (R10_LP): Likewise.
21617 (R10_LP): Likewise.
21618 (R11_LP): Likewise.
21619 (R12_LP): Likewise.
21620 (R13_LP): Likewise.
21621 (R14_LP): Likewise.
21622 (R15_LP): Likewise.
21623
b985be81
L
216242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21625
21626 * sysdeps/x86_64/x32/dl-machine.h: New file.
21627
6a4888ff
AJ
216282012-05-14 Andreas Jaeger <aj@suse.de>
21629
21630 * manual/Makefile (subdir): Remove export of subdir.
21631 (all): Remove target.
21632 (.PHONY): Remove all from list.
21633 (mkinstalldirs): Remove.
21634 (.PHONY): Remove installdirs from list.
21635 ($(inst_infodir)/libc.info): Use make-target-directory.
21636 (installdirs): Remove.
21637 (subdir_%): Remove.
21638 (glibc-targets): Remove.
21639 (lib): Remove.
21640 (stubs): Remove.
21641 ($(objpfx)stubs ../po/manual.pot): Remove.
21642 ($(objpfx)stamp%): Remove.
21643 (make-target-directory): Remove.
21644 (subdir_install): Remove.
21645 (routines): Remove.
21646 (aux): Remove.
21647 (sources): Remove.
21648 (objects): Remove.
21649 (headers): Remove.
21650
21651 [BZ #13750]
21652 * manual/.gitignore: Remove, it's not needed anymore.
21653 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21654 all files in it.
21655 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21656 directory.
21657 (texis): Renamed to $(objpfx)texis.
21658 (texis-path): New, contains path to generated files.
21659 (chapters.%): Use texis-path for complete path, add extra argument
21660 libc-texinfo.sh.
21661 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21662 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21663 (summary,texi, stamp-summary): Use complete path of
21664 files. Generate files in build dir.
21665 (dir-add.texi): Build in build dir.
21666 (libm-err.texi,stamp-libm-err): Likewise.
21667 (version.texi, stamp-version): Likewise.
21668 (.%c.texi): Likewise.
21669 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21670 (mostlyclean): Remove target.
21671 (realclean): Remove target.
21672 (generated): Add new variable with contents from mostlyclean and
21673 realclean, remove entries duplicated in common-mostlyclean, add
21674 stamp-libm-err and stamp-version.
21675 (generated-dirs): Add libc directory.
21676 ($(inst_infodir)/libc.info): Install files from build dir.
21677
21678 * manual/install.texi (Configuring and compiling): Adjust since
21679 the info files are not part of the tar ball anymore.
21680
7ac77294
AJ
216812012-05-14 Andreas Jaeger <aj@suse.de>
21682
21683 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21684 variable.
21685
ffb7875d
JM
216862012-05-14 Joseph Myers <joseph@codesourcery.com>
21687
21688 [BZ #13717]
21689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21690 to 2.2.0 where earlier.
21691 * sysdeps/unix/sysv/linux/configure: Regenerated.
21692 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21693 Remove conditional code.
21694 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21695 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21696 Remove conditional code.
21697 [!__NR_lchown]: Likewise.
21698 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21699 [__NR_lchown]: Likewise.
21700 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21701 comment referencing __ASSUME_LCHOWN_SYSCALL.
21702 * sysdeps/unix/sysv/linux/i386/sigaction.c
21703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21705 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21706 Remove conditional code.
21707 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21708 (__protocol_available): Remove #if 0 code.
21709 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21710 conditional code.
21711 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21712 * sysdeps/unix/sysv/linux/kernel-features.h
21713 (__ASSUME_GETCWD_SYSCALL): Don't define.
21714 (__ASSUME_REALTIME_SIGNALS): Likewise.
21715 (__ASSUME_PREAD_SYSCALL): Likewise.
21716 (__ASSUME_PWRITE_SYSCALL): Likewise.
21717 (__ASSUME_POLL_SYSCALL): Likewise.
21718 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21719 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21720 non-SPARC.
21721 (__ASSUME_SIOCGIFNAME): Don't define.
21722 (__ASSUME_MSG_NOSIGNAL): Likewise.
21723 (__ASSUME_SENDFILE): Define unconditionally.
21724 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21725 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21726 conditional code.
21727 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21728 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21729 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21730 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21731 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21732 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21733 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21735 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21738 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21741 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21742 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21744 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21745 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21747 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21748 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21750 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21753 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21754 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21758 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21759 Remove conditional code.
21760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21761 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21762 Remove conditional code.
21763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21764 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21765 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21766 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21767 Remove conditional code.
21768 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21769 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21770 Remove conditional code.
21771 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21772 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21773 Remove conditional code.
21774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21775 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21776 Remove conditional code.
21777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21778 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21779 Remove conditional code.
21780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21781 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21784 * sysdeps/unix/sysv/linux/sigaction.c
21785 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21786 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21787 * sysdeps/unix/sysv/linux/sigpending.c
21788 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21789 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21790 * sysdeps/unix/sysv/linux/sigprocmask.c
21791 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21792 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21793 * sysdeps/unix/sysv/linux/sigsuspend.c
21794 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21795 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21796 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21797 (__libc_missing_rt_sigs): Remove.
21798 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21799 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21800 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21801 Remove conditional code.
21802 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21803 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21804 return 1.
21805 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21806 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21807 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21808 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21809
1bfb7291
AJ
218102012-05-14 Andreas Jaeger <aj@suse.de>
21811
caae5a81
AJ
21812 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21813 it's not used in glibc.
21814 (__coshm1): Likewise.
21815 (__acosh1p): Likewise.
21816 (__sgn): Likewise.
21817
1bfb7291
AJ
21818 * manual/string.texi (Copying and Concatenation): Add missing
21819 variable in concat example.
21820 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21821
c044d724
L
218222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21823
144c5467 21824 [BZ #14103]
c044d724
L
21825 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21826 __builtin_clzl with __builtin_clzll.
21827
2523c62b
L
218282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21829
21830 [BZ #14104]
21831 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21832 libc_freeres_ptr.
21833
d7bb4c42
LD
218342012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21835
21836 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21837 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21838 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21839 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21840
9dc4e1fb
MF
218412012-05-14 Mike Frysinger <vapier@gentoo.org>
21842
21843 * NEWS: Update ia64 info.
21844
c7df0112
AS
218452012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21846
21847 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21848 used as bcopy.
21849
dc70356c
TS
218502012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21851
21852 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21853 * sysdeps/unix/syscalls.list (dup3): Likewise.
21854 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21855 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21856
9fb1a21f
L
218572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21858
21859 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21860 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21861
4822a2a5
L
218622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21863
21864 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21865 thread pointer.
21866 (TLS_IE): Use mov/add instead of movq/addq to load thread
21867 pointer.
21868 (TLS_GD_PREFIX): New.
21869 (TLS_GD): Use it.
21870
842b81d6
DM
218712012-05-11 David S. Miller <davem@davemloft.net>
21872
21873 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21874 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21875 (_FPU_SETCW): Likewise.
21876
1cf463cd
L
218772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21878
21879 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21880 is 32-byte aligned.
21881
60cc4a18
AS
218822012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21883
21884 [BZ #11837]
21885 * iconvdata/gb18030.c: Update tables.
21886 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21887 characters specially.
21888 (BODY for TO_LOOP): Add encoding of missing ranges.
21889
febb44a4
TS
218902012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21891
21892 [BZ #13673]
21893 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21894 * sysdeps/mach/hurd/dup3.c: Likewise.
21895 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21896 * sysdeps/powerpc/memmove.c:: Likewise.
21897
0a10fb9e
L
218982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21901 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21902
df8a552f
L
219032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21904
21905 * elf/elf.h (R_X86_64_RELATIVE64): New.
21906 (R_X86_64_NUM): Updated.
21907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21908 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21909 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21910 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21911 tst-quad1pie tst-quad2pie
21912 (modules-names): Add tst-quadmod1 tst-quadmod2.
21913 ($(objpfx)tst-quad1): New dependency.
21914 ($(objpfx)tst-quad2): Likewise.
21915 ($(objpfx)tst-quad1pie): Likewise.
21916 ($(objpfx)tst-quad2pie): Likewise.
21917 * sysdeps/x86_64/tst-quad1.c: New file.
21918 * sysdeps/x86_64/tst-quad1pie.c: New file.
21919 * sysdeps/x86_64/tst-quad2.c: Likewise.
21920 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21921 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21922 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21923 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21924 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21925
f34d6f84
ST
219262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21927
f42d41d1
ST
21928 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21929 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21930 * streams/stropts.h (t_scalar_t): Define type.
21931
3c3571fc
ST
21932 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21933 (_PATH_PRESERVE): Set to "/var/lib".
21934 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21935
61f06bd3
ST
21936 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21937 instead of int.
21938
918d4d71
ST
21939 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21940 if __dir_mkfile succeeded.
21941
f34d6f84
ST
21942 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21943 checking for _hurd_dtablesize. Unlock it right after having
21944 finished _hurd_dtable allocation.
21945
10589b4a
TS
219462012-05-10 Thomas Schwinge <thomas@schwinge.name>
21947
674cdbc7
TS
21948 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21949 * sysdeps/mach/hurd/configure: Regenerated.
21950 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21951 special-casing to...
21952 * sysdeps/gnu/configure.in: ... this new file.
21953 * sysdeps/unix/sysv/linux/configure: Regenerated.
21954 * sysdeps/gnu/configure: New generated file.
21955
8e41b99f
TS
21956 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21957 for Linux: use nsec instead of usec, as well as:
21958 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21959 members of type struct timespec.
21960 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21961 New macros.
21962 (struct stat64): Likewise.
21963 (_STATBUF_ST_NSEC): New macro.
21964 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21965
10589b4a
TS
21966 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21967 __strtoul_internal rather than strtoul.
21968
63643c85
PT
219692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21970
21971 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21972 and reject them.
21973
3faebe6a
ST
219742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21975
21976 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21977 which preserves existing values.
21978 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21979
c6474b07
PT
219802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21981
21982 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21983 TIMEOUT values. Return EINVAL for NFDS values either negative or
21984 greater than FD_SETSIZE.
21985
1043890b
ST
219862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21987
21988 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21989 allocated, call __vm_protect to finish enabling the existing space, and
21990 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21991 allocate the remainder.
21992
37ed8b9b
PT
219932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21994
21995 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21996 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21997
db653660
ST
219982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21999
37ed8b9b
PT
22000 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22001 sysdeps/mach/hurd/readlink.c.
b29d4053 22002
db653660
ST
22003 * posix/tst-sysconf.c (posix_options): Only use
22004 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22005 _POSIX_SYNCHRONIZED_IO when they are defined
22006 * sysdeps/mach/hurd/bits/posix_opt.h:
22007 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22008 (_XOPEN_REALTIME): Undefine macro.
22009 (_XOPEN_REALTIME_THREADS): Undefine macro.
22010 (_XOPEN_SHM): Undefine macro.
22011 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22012 macro to -1.
22013 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22014 macro to -1.
22015 (_POSIX_ASYNC_IO): Undefine macro.
22016 (_POSIX_PRIORITIZED_IO): Undefine macro.
22017 (_POSIX_SPIN_LOCKS): Define macro to -1.
22018
ee16e894
ST
22019 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22020 SA_NODEFER, SA_RESETHAND.
22021 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22022 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22023 F_DUPFD_CLOEXEC.
22024
6103ae3b
TS
220252012-05-10 Thomas Schwinge <thomas@schwinge.name>
22026
22027 * elf/Makefile (pldd-modules): Define unconditionally.
22028
80b4e5f3
TS
220292012-05-10 Thomas Schwinge <thomas@schwinge.name>
22030
22031 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22032
edadcbd6
ST
220332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22034
22035 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22036 Return ENOENT when name is empty.
22037 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22038
80694780
TS
220392012-05-10 Thomas Schwinge <thomas@schwinge.name>
22040
1792c087
TS
22041 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22042
80694780
TS
22043 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22044
6b645f0d
ST
220452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22046
80694780
TS
22047 Fix mlock in all cases except non-readable pages.
22048 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22049 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22050
6b645f0d
ST
22051 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22052 (__mkdir): When path is `/', just fail with EEXIST.
22053 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22054
e468f8a3
TS
220552012-05-10 Thomas Schwinge <thomas@schwinge.name>
22056
22057 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22058 <sys/uio.h> (for writev).
22059 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22060 and <sys/param.h> (for MIN).
22061
a4186cff
PT
220622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22063
22064 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22065 REQUESTED_TIME. Properly set the remaining time and return EINTR
22066 if interrupted.
22067
510bbf14
TS
220682012-05-10 Thomas Schwinge <thomas@schwinge.name>
22069
22070 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22071 Depend on against $(link-rpcuserlibs).
22072
5d5722e8
ST
220732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22074
a4186cff
PT
22075 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22076 (__libc_stack_end): Do not use attribute_relro.
22077 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22078 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22079 to libthread-provided value.
a4186cff
PT
22080 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22081 attribute_relro.
5d5722e8 22082
37233df9
TS
220832012-05-10 Thomas Schwinge <thomas@schwinge.name>
22084
be971a2b
TS
22085 [BZ #3748]
22086 * bits/libc-lock.h (__libc_once_get): New macro.
22087 * sysdeps/mach/bits/libc-lock.h: Likewise.
22088 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22089 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22090 instead of using implementation details.
22091
37233df9
TS
22092 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22093 * libio/freopen.c: Likewise.
22094 * libio/freopen64.c: Likewise.
22095 * misc/syslog.c: Likewise.
22096 * nscd/connections.c: Likewise.
22097 * nscd/netgroupcache.c: Likewise.
22098 * sysdeps/posix/getcwd.c: Likewise.
22099
38de94a5
RM
221002012-05-10 Roland McGrath <roland@hack.frob.com>
22101
22102 * math/w_ilogbf.c: Add #include <limits.h>.
22103
67530489
ST
221042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22105
a4186cff 22106 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22107 path instead of returning without unlocking.
22108
67530489
ST
22109 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22110 immediate-write ioctls.
22111 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22112
5aa3a74a
TS
221132012-05-10 Thomas Schwinge <thomas@schwinge.name>
22114
18bad2ae
TS
22115 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22116 __builtin_frame_address instead of making assumptions about the
22117 location of the return address relative to DATA. Force early load of
22118 the return address.
22119 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22120 __builtin_frame_address.
22121
5aa3a74a
TS
22122 dup3 for GNU Hurd.
22123 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22124 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22125 implement dup3 and do some further code clean-ups.
22126 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22127 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22128
ecd0de9a
ST
221292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22130
cd9fa985
ST
22131 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22132
a4186cff
PT
22133 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22134 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22135 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22136 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22137 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22138 d->port.lock.
802ca5a5 22139
a4186cff
PT
22140 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22141 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22142 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22143
bcf55240
TS
221442012-05-10 Thomas Schwinge <thomas@schwinge.name>
22145
6960eb42
TS
22146 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22147 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22148 definitions.
22149
eb43375f
TS
22150 accept4 for GNU Hurd.
22151 * include/sys/socket.h (__libc_accept4): New prototype.
22152 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22153 to implement __libc_accept4.
22154 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22155 __libc_accept4.
22156 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22157
bcf55240
TS
22158 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22159 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22160 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22161 signal-defines.sym.
22162
6178c55b
ST
221632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22164
a4186cff 22165 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22166
6f080c2f
TS
221672012-05-10 Thomas Schwinge <thomas@schwinge.name>
22168
22169 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22170 assertion on O_CLOEXEC flag.
22171 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22172 * hurd/intern-fd.c: Likewise.
22173 * hurd/port2fd.c: Likewise.
22174
bcfe3a54
ST
221752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22176
22177 [BZ #3906]
22178 * bits/in.h (IPV6_PKTINFO): Define new macro.
22179 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22180
89c9aa49
AZ
221812012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22182
22183 [BZ #13954]
22184 [BZ #13955]
22185 [BZ #13956]
22186 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22188 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22189 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22191 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22192 * math/libm-test.inc (logb_test) : Additional logb tests.
22193
021db4be
AJ
221942012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22195 Andreas Jaeger <aj@suse.de>
22196
22197 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22198 * configure: Regenerated.
22199 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22200 * config.make.in (link-obsolete-rpc): New substituted variable.
22201 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22202 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22203 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22204 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22205 so that libc.a contains the symbols.
22206 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22207 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22208 * sunrpc/auth_none.c: Likewise.
22209 * sunrpc/auth_unix.c: Likewise.
22210 * sunrpc/authdes_prot.c: Likewise.
22211 * sunrpc/authuxprot.c: Likewise.
22212 * sunrpc/clnt_gen.c: Likewise.
22213 * sunrpc/clnt_perr.c: Likewise.
22214 * sunrpc/clnt_raw.c: Likewise.
22215 * sunrpc/clnt_simp.c: Likewise.
22216 * sunrpc/clnt_tcp.c: Likewise.
22217 * sunrpc/clnt_udp.c: Likewise.
22218 * sunrpc/clnt_unix.c: Likewise.
22219 * sunrpc/des_crypt.c: Likewise.
22220 * sunrpc/des_soft.c: Likewise.
22221 * sunrpc/get_myaddr.c: Likewise.
22222 * sunrpc/key_call.c: Likewise.
22223 * sunrpc/key_prot.c: Likewise.
22224 * sunrpc/netname.c: Likewise.
22225 * sunrpc/pm_getmaps.c: Likewise.
22226 * sunrpc/pm_getport.c: Likewise.
22227 * sunrpc/pmap_clnt.c: Likewise.
22228 * sunrpc/pmap_prot.c: Likewise.
22229 * sunrpc/pmap_prot2.c: Likewise.
22230 * sunrpc/pmap_rmt.c: Likewise.
22231 * sunrpc/publickey.c: Likewise.
22232 * sunrpc/rpc_cmsg.c: Likewise.
22233 * sunrpc/rpc_common.c: Likewise.
22234 * sunrpc/rpc_dtable.c: Likewise.
22235 * sunrpc/rpc_prot.c: Likewise.
22236 * sunrpc/rpc_thread.c: Likewise.
22237 * sunrpc/rtime.c: Likewise.
22238 * sunrpc/svc.c: Likewise.
22239 * sunrpc/svc_auth.c: Likewise.
22240 * sunrpc/svc_raw.c: Likewise.
22241 * sunrpc/svc_run.c: Likewise.
22242 * sunrpc/svc_tcp.c: Likewise.
22243 * sunrpc/svc_udp.c: Likewise.
22244 * sunrpc/svc_unix.c: Likewise.
22245 * sunrpc/svcauth_des.c: Likewise.
22246 * sunrpc/xcrypt.c: Likewise.
22247 * sunrpc/xdr.c: Likewise.
22248 * sunrpc/xdr_array.c: Likewise.
22249 * sunrpc/xdr_float.c: Likewise.
22250 * sunrpc/xdr_intXX_t.c: Likewise.
22251 * sunrpc/xdr_mem.c: Likewise.
22252 * sunrpc/xdr_rec.c: Likewise.
22253 * sunrpc/xdr_ref.c: Likewise.
22254 * sunrpc/xdr_sizeof.c: Likewise.
22255 * sunrpc/xdr_stdio.c: Likewise.
22256
b5c086a2
RM
222572012-05-10 Roland McGrath <roland@hack.frob.com>
22258
22259 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22260 change. Update copyright years.
22261
6d74dd09
JM
222622012-05-10 Joseph Myers <joseph@codesourcery.com>
22263
22264 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22265
28e72501
MK
222662012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22267 Joseph Myers <joseph@codesourcery.com>
22268 Paul Pluzhnikov <ppluzhnikov@google.com>
22269
22270 [BZ #14012]
22271 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22272 requiring rpcgen.
22273 [cross-compiling] (extra-libs): Likewise.
22274 [cross-compiling] (extra-libs-others): Likewise.
22275 [cross-compiling] (librpcsvc-routines): Likewise.
22276 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22277 [cross-compiling] (omit-deps): Likewise.
22278 (sunrpc-CPPFLAGS): New variable.
22279 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22280 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22281 (cross-rpcgen-objs): New variable.
22282 (extra-objs): Append $(cross-rpcgen-objs).
22283 ($(cross-rpcgen-objs)): New rule.
22284 ($(objpfx)cross-rpcgen): Likewise.
22285 (rpcgen-cmd): Define to use $(built-program-file). Expand
22286 comment.
22287 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22288 ($(objpfx)x%.stmp): Likewise.
22289 * sunrpc/proto.h [IS_IN_build] (_): Define.
22290 [IS_IN_build] (_libc_intl_domainname): Likewise.
22291
c8c59454
L
222922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22293
22294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22295 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22296 and R_X86_64_TPOFF64.
22297
6f27cd16
JM
222982012-05-10 Joseph Myers <joseph@codesourcery.com>
22299
22300 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22301 sysdeps/unix/sysv/syscalls.list.
22302 (stime): Likewise.
22303 (utime): Likewise.
22304 * sysdeps/unix/sysv/syscalls.list: Remove file.
22305
02467e1c
PE
223062012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22307
22308 [BZ #3440]
22309 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22310 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22311 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22312 (__LC_IDENTIFICATION): Make these macros useful in #if
22313 expressions, as required by C99.
22314
da392631
AS
223152012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22316
22317 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22318 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22319 after this.
22320
8115f29b
L
223212012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22322
22323 * stdlib/longlong.h: Updated from GCC.
22324
bdd74070
AJ
223252012-05-09 Andreas Jaeger <aj@suse.de>
22326
edfe0dbe
AJ
22327 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22328 default is first entry.
22329 (run_mode): Set type.
22330 (main): Remove informal message about syslog.
22331 (options): Fix typo.
22332
bcfe3a54
ST
22333 [BZ #14053]
22334 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22335 to asm.
bcfe3a54
ST
22336 (lrint): Likewise.
22337 (llrintf): Likewise.
22338 (llrint): Likewise.
22339 (rint): Likewise.
22340 (rintf): Likewise.
22341 (nearbyint): Likewise.
22342 (nearbyintf): Likewise.
bdd74070 22343
91d8d69e
AJ
223442012-05-09 Andreas Jaeger <aj@suse.de>
22345 Pedro Alves <palves@redhat.com>
22346
22347 * nscd/nscd.c (run_mode): Use enum.
22348 (main): Cleanup coding style issue.
22349
bb90b80b
AJ
223502012-05-09 Alexandre Oliva <aoliva@redhat.com>
22351 Andreas Jaeger <aj@suse.de>
22352
bcfe3a54
ST
22353 * nscd/nscd.c (go_background): Replaced with...
22354 (run_mode): ... this.
bb90b80b 22355 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22356 (options): Add -F --foreground.
22357 (main): Implement it.
22358 (parse_opt): Parse it.
bb90b80b 22359
1a4b75a1
AJ
223602012-05-09 Andreas Jaeger <aj@suse.de>
22361
22362 [BZ #14083]
22363 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22364 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22365 -Wconversion warning.
22366 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22367 Likewise.
22368
b1cc2472
JM
223692012-05-09 Joseph Myers <joseph@codesourcery.com>
22370
22371 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22372 == 0.
22373 (LC_ALL): Use macro-int-constant.
22374 (LC_COLLATE): Likewise.
22375 (LC_CTYPE): Likewise.
22376 (LC_MESSAGES): Likewise.
22377 (LC_MONETARY): Likewise.
22378 (LC_NUMERIC): Likewise.
22379 (LC_TIME): Likewise.
22380 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22381 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22383 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22384 Specify type.
22385 [C99-based standards] (float_t): Expect type.
22386 [C99-based standards] (double_t): Expect type.
22387 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22388 type.
22389 [C99-based standards] (HUGE_VALL): Likewise.
22390 [C99-based standards] (INFINITY): Likewise.
22391 [C99-based standards] (NAN): Likewise.
22392 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22393 [C99-based standards] (FP_NAN): Likewise.
22394 [C99-based standards] (FP_NORMAL): Likewise.
22395 [C99-based standards] (FP_SUBNORMAL): Likewise.
22396 [C99-based standards] (FP_ZERO): Likewise.
22397 [C99-based standards] (FP_FAST_FMA): Use
22398 optional-macro-int-constant. Specify type. Require == 1.
22399 [C99-based standards] (FP_FAST_FMAF): Likewise.
22400 [C99-based standards] (FP_FAST_FMAL): Likewise.
22401 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22402 [C99-based standards] (FP_ILOGBNAN): Likewise.
22403 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22404 Specify type.
22405 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22406 [C99-based standards] (math_errhandling): Specify type.
22407 [ISO99 || ISO11] (signgam): Do not allow.
22408 [non-C99-based standards] (copysignf): Do not allow.
22409 [non-C99-based standards] (exp2f): Likewise.
22410 [non-C99-based standards] (log2f): Likewise.
22411 [non-C99-based standards] (modff): Allow.
22412 [non-C99-based standards] (erff): Do not allow.
22413 [non-C99-based standards] (erfcf): Likewise.
22414 [non-C99-based standards] (gammaf): Likewise.
22415 [non-C99-based standards] (hypotf): Likewise.
22416 [non-C99-based standards] (j0f): Likewise.
22417 [non-C99-based standards] (j1f): Likewise.
22418 [non-C99-based standards] (jnf): Likewise.
22419 [non-C99-based standards] (lgammaf): Likewise.
22420 [non-C99-based standards] (tgammaf): Likewise.
22421 [non-C99-based standards] (y0f): Likewise.
22422 [non-C99-based standards] (y1f): Likewise.
22423 [non-C99-based standards] (ynf): Likewise.
22424 [non-C99-based standards] (isnanf): Likewise.
22425 [non-C99-based standards] (acoshf): Likewise.
22426 [non-C99-based standards] (asinhf): Likewise.
22427 [non-C99-based standards] (atanhf): Likewise.
22428 [non-C99-based standards] (cbrtf): Likewise.
22429 [non-C99-based standards] (expm1f): Likewise.
22430 [non-C99-based standards] (ilogbf): Likewise.
22431 [non-C99-based standards] (log1pf): Likewise.
22432 [non-C99-based standards] (logbf): Likewise.
22433 [non-C99-based standards] (nextafterf): Likewise.
22434 [non-C99-based standards] (remainderf): Likewise.
22435 [non-C99-based standards] (rintf): Likewise.
22436 [non-C99-based standards] (scalbf): Likewise.
22437 [non-C99-based standards] (copysignl): Likewise.
22438 [non-C99-based standards] (exp2l): Likewise.
22439 [non-C99-based standards] (log2l): Likewise.
22440 [non-C99-based standards] (modfl): Allow.
22441 [non-C99-based standards] (erfl): Do not allow.
22442 [non-C99-based standards] (erfcl): Likewise.
22443 [non-C99-based standards] (gammal): Likewise.
22444 [non-C99-based standards] (hypotl): Likewise.
22445 [non-C99-based standards] (j0l): Likewise.
22446 [non-C99-based standards] (j1l): Likewise.
22447 [non-C99-based standards] (jnl): Likewise.
22448 [non-C99-based standards] (lgammal): Likewise.
22449 [non-C99-based standards] (tgammal): Likewise.
22450 [non-C99-based standards] (y0l): Likewise.
22451 [non-C99-based standards] (y1l): Likewise.
22452 [non-C99-based standards] (ynl): Likewise.
22453 [non-C99-based standards] (isnanl): Likewise.
22454 [non-C99-based standards] (acoshl): Likewise.
22455 [non-C99-based standards] (asinhl): Likewise.
22456 [non-C99-based standards] (atanhl): Likewise.
22457 [non-C99-based standards] (cbrtl): Likewise.
22458 [non-C99-based standards] (expm1l): Likewise.
22459 [non-C99-based standards] (ilogbl): Likewise.
22460 [non-C99-based standards] (log1pl): Likewise.
22461 [non-C99-based standards] (logbl): Likewise.
22462 [non-C99-based standards] (nextafterl): Likewise.
22463 [non-C99-based standards] (remainderl): Likewise.
22464 [non-C99-based standards] (rintl): Likewise.
22465 [non-C99-based standards] (scalbl): Likewise.
22466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22467 [non-C99-based standards] (FP_*): Do not allow.
22468 [C99-based standards] (FP_*): Change to
22469 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22470 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22471 allow.
22472 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22473 (SIG_ERR): Likewise.
22474 [X/Open-based standards] (SIG_HOLD): Likewise.
22475 (SIG_IGN): Likewise.
22476 (SIGABRT): Use macro-int-constant. Specify type. Require
22477 positive value.
22478 (SIGFPE): Likewise.
22479 (SIGILL): Likewise.
22480 (SIGINT): Likewise.
22481 (SIGSEGV): Likewise.
22482 (SIGTER): Likewise.
22483 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22486 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22487 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22488 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22495 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22496 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22497 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22501 [X/Open-based standards] (SIGTRAP): Likewise.
22502 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22503 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22504 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22505 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22506 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22507 allow.
22508
b9f1922d
IW
225092012-05-08 Ian Wienand <ianw@vmware.com>
22510
22511 [BZ #14080]
22512 * time/tzset.c (__tzset_parse_tz): Update default rules for
22513 daylight time changes in the Energy Policy Act of 2005.
22514
1db86e88
AJ
225152012-05-09 Andreas Jaeger <aj@suse.de>
22516
22517 [BZ #13983]
22518 * elf/ldconfig.c (parse_conf): Change string to make clear that
22519 ldconfig only issued a warning if ld.so.conf does not exist.
22520
dee4a4e3
DM
225212012-05-08 David S. Miller <davem@davemloft.net>
22522
ee0db190
DM
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22524 movxtod instead of popping the value on the stack.
22525
dee4a4e3
DM
22526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22527
6a43ec98
CD
225282012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22529
22530 * config.h.in: Add HAVE_ARM_PCS_VFP.
22531
05c2c961
RMG
225322012-05-08 Roland Mc Grath <roland@hack.frob.com>
22533
bcfe3a54
ST
22534 [BZ #13979]
22535 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22536 checking but the checks are disabled for any reason.
05c2c961 22537
4b30f61a
L
225382012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22539
22540 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22541 and ELF64_R_TYPE with ELFW(R_TYPE).
22542
eee2bc67
JM
225432012-05-08 Joseph Myers <joseph@codesourcery.com>
22544
7ea5391a
JM
22545 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22546 (ulimit): Likewise.
22547
eee2bc67
JM
22548 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22549 (settimeofday): Likewise.
22550
abb66a67
MF
225512012-05-08 Mike Frysinger <vapier@gentoo.org>
22552
22553 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22554 a struct th_u2 inside the union, and move tu_block/tu_code into
22555 a new th_u3 union of tu_block/tu_code inside of that. Move
22556 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22557 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22558 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22559 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22560 (th_stuff): Change to th_u1.tu_stuff.
22561 (th_data): Define.
22562 (th_msg): Change to th_u1.th_u2.tu_data.
22563
7f18b530
DM
225642012-05-07 David S. Miller <davem@davemloft.net>
22565
05760585
DM
22566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22567
7f18b530
DM
22568 [BZ #14074]
22569 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22570 (SETUP_PIC_REG): Use it.
22571 (SETUP_PIC_REG_LEAF): Use it.
22572
495fd99f
JM
225732012-05-07 Joseph Myers <joseph@codesourcery.com>
22574
22575 [BZ #13885]
22576 [BZ #13923]
22577 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22578 USE_AS_EXPM1L.
22579 (EXPL_FINITE): Likewise.
22580 (FLDLOG): Likewise.
22581 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22582 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22583 e_expl.S.
22584 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22585 USE_AS_EXPM1L.
22586 (EXPL_FINITE): Likewise.
22587 (FLDLOG): Likewise.
22588 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22589 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22590 e_expl.S.
22591 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22592 test of -max_value argument for long double.
22593 * sysdeps/i386/fpu/libm-test-ulps: Update.
22594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22595
6693d694
DM
225962012-05-06 David S. Miller <davem@davemloft.net>
22597
22598 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22599 quad soft-float symbols whose references which are compiler
22600 generated.
22601 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22602
6c23e11c
JM
226032012-05-06 Joseph Myers <joseph@codesourcery.com>
22604
d8b82cad
JM
22605 [BZ #13884]
22606 [BZ #13914]
22607 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22608 USE_AS_EXP10L.
22609 (EXPL_FINITE): Likewise.
22610 (FLDLOG): Likewise.
22611 (c0): Likewise.
22612 (c1): Likewise.
22613 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22614 Adjust comments for base varying.
22615 (__expl_finite): Change alias to EXPL_FINITE.
22616 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22617 e_expl.S.
22618 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22619 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22621 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22623 USE_AS_EXP10L.
22624 (EXPL_FINITE): Likewise.
22625 (FLDLOG): Likewise.
22626 (c0): Likewise.
22627 (c1): Likewise.
22628 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22629 Adjust comments for base varying.
22630 (__expl_finite): Change alias to EXPL_FINITE.
22631 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22632 tests for bugs.
22633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22634
6c23e11c
JM
22635 [BZ #14064]
22636 * math/libm-test.inc (check_float_internal): Correct ulp
22637 calculation for subnormal expected results.
22638
29ba805c
AJ
226392012-05-06 Andreas Jaeger <aj@suse.de>
22640
22641 * Makeconfig (+math-flags): New, set to -frounding-math.
22642 (+cflags): Add +math-flags so that all of glibc gets compiled with
22643 it.
22644
22645 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22646
7b17aeda
JM
226472012-05-05 Joseph Myers <joseph@codesourcery.com>
22648
5779f134
JM
22649 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22650 Disable one test.
22651
41498f4d
JM
22652 [BZ #13787]
22653 [BZ #13922]
22654 [BZ #14036]
22655 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22656 (__ieee754_expl): Allow for and saturate large arguments.
22657 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22658 (u_threshold): Likewise.
22659 (__exp): Call __ieee754_exp before checking for overflow and
22660 underflow.
22661 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22662 (u_threshold): Likewise.
22663 (__expf): Call __ieee754_expf before checking for overflow and
22664 underflow.
22665 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22666 (u_threshold): Likewise.
22667 (__expl): Call __ieee754_expl before checking for overflow and
22668 underflow.
22669 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22670 (__ieee754_expl): Allow for and saturate large arguments.
22671 * math/libm-test.inc (exp_test): Add another test. Do not allow
22672 missing overflow exception on overflow.
22673 (expm1_test): Do not allow missing overflow exception on overflow.
22674
6698b8bf
JM
22675 * sysdeps/i386/fpu/e_expl.c: Move to ...
22676 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22677 rather than using inline asm.
22678 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22679 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22680 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22681
7b17aeda
JM
22682 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22683 (nice): Likewise.
22684 (poll): Likewise.
22685 (signal): Likewise.
22686 (time): Likewise.
22687 (times): Likewise.
22688
f7c85819
JM
226892012-05-04 Joseph Myers <joseph@codesourcery.com>
22690
22691 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22692 sysdeps/unix/common/syscalls.list.
22693 (fchmod): Likewise.
22694 (fchown): Likewise.
22695 (ftruncate): Likewise.
22696 (getrusage): Likewise.
22697 (gettimeofday): Likewise.
22698 (setpgid): Likewise.
22699 (setregid): Likewise.
22700 (setreuid): Likewise.
22701 (sigaction): Likewise.
22702 (truncate): Likewise.
22703 (vhangup): Likewise.
22704 * sysdeps/unix/common/syscalls.list: Remove file.
22705 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22706 * sysdeps/unix/sysv/linux/Implies: Likewise.
22707
336270d0
L
227082012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22709
22710 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22712 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22713 Moved to ...
22714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22715 Here.
22716 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22717 to ...
22718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22719 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22720 to ...
22721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22722 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22723 to ...
22724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22725 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22726 to ...
22727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22728 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22729 to ...
22730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22731 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22732 to ...
22733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22734 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22735 to ...
22736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22737 Here.
22738 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22739 to ...
22740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22741 Here.
22742 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22743 to ...
22744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22745 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22746 Moved to ...
22747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22748 Here.
22749 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22750 to ...
22751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22752
d128e450
JM
227532012-05-04 Joseph Myers <joseph@codesourcery.com>
22754
fa8ee516
JM
22755 * sysdeps/unix/common/bits/dirent.h: Remove file.
22756 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22757
d128e450
JM
22758 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22759 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22760 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22761 * sysdeps/unix/bsd/isatty.c: Likewise.
22762 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22763 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22764 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22765
ff8faaf0 227662012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22767
62881be4 22768 [BZ #13563]
31dc8730
AZ
22769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22770 long double comparison inaccuracies.
22771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22773
6fef930c
AS
227742012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22775
22776 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22778
8f203e6c
JM
227792012-05-04 Joseph Myers <joseph@codesourcery.com>
22780
22781 [BZ #14049]
22782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22783 nonzero digits before rounding a hex value.
22784 * stdlib/tst-strtod.c (tests): Add another test.
22785
5197d9c2
AK
227862012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22787
22788 * sysdeps/s390/fpu/libm-test-ulps: Update.
22789
f0c1dedf
AJ
227902012-05-03 Andreas Jaeger <aj@suse.de>
22791
22792 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22793 does not get optimized out.
22794 (malloc_opt_barrier): New.
22795
a65ef2ae 227962012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22797 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22798
2b942cb7 22799 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22800 intermediate file deletion.
2b942cb7 22801 (generated): Add .symlist files.
a65ef2ae 22802
54b71e02
JM
228032012-05-03 Joseph Myers <joseph@codesourcery.com>
22804
22805 [BZ #13775]
22806 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22807 Redirect under this condition.
22808 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22809 [__USE_GNU] (__dprintf_chk): Not under this condition.
22810 [__USE_GNU] (__vdprintf_chk): Likewise.
22811 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22812 under this condition.
22813 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22814 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22815 [__USE_XOPEN2K8] (vdprintf): Likewise.
22816 [__USE_GNU] (__dprintf_chk): Not under this condition.
22817 [__USE_GNU] (__vdprintf_chk): Likewise.
22818 [__USE_GNU] (dprintf): Likewise.
22819 [__USE_GNU] (vdprintf): Likewise.
22820
d3dfcc41
RM
228212012-05-03 Roland McGrath <roland@hack.frob.com>
22822
22823 * elf/Makefile (common-generated): Set this instead of generated for
22824 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22825 $(all-built-dso)-derived lists.
22826
7ac30cc5
AJ
228272012-05-03 Andreas Jaeger <aj@suse.de>
22828
0c51e550
AJ
22829 * sysdeps/i386/fpu/libm-test-ulps: Update.
22830
7ac30cc5
AJ
22831 * FAQ: Removed.
22832 * FAQ.in: Likewise.
22833 * scripts/gen-FAQ.pl: Likewise.
22834 * manual/install.texi (Installation): Point to online location of
22835 FAQ.
22836 * Makefile (files-for-dist): Remove FAQ.
22837 (FAQ): Remove.
22838
d4c2917f
AM
228392012-05-02 Allan McRae <allan@archlinux.org>
22840
22841 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22842 (LDFLAGS-reldepmod5.so): Likewise.
22843 (LDFLAGS-reldep6mod1.so): Likewise.
22844 (LDFLAGS-reldep6mod4.so): Likewise.
22845 (LDFLAGS-reldep8mod3.so): Likewise.
22846 (LDFLAGS-unload4mod1.so): Likewise.
22847 (LDFLAGS-unload4mod2.so): Likewise.
22848 (LDFLAGS-tst-initorder): Likewise.
22849 (LDFLAGS-tst-initordera2.so): Likewise.
22850 (LDFLAGS-tst-initordera3.so): Likewise.
22851 (LDFLAGS-tst-initordera4.so): Likewise.
22852 (LDFLAGS-tst-initorderb2.so): Likewise.
22853 (LDFLAGS-noload): Likewise.
22854 (LDFLAGS-next): Likewise.
22855 (LDFLAGS-order2mod1.so): Likewise.
22856 (LDFLAGS-order2mod2.so): Likewise.
22857 (LDFLAGS-tst-initorder2): Likewise.
22858 (LDFLAGS-tst-initorder2a.so): Likewise.
22859 (LDFLAGS-tst-initorder2b.so): Likewise.
22860 (LDFLAGS-tst-initorder2c.so): Likewise.
22861 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22862
d77f993f
DM
228632012-05-02 David S. Miller <davem@davemloft.net>
22864
22865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22866
171a70b4
PP
228672012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22868
22869 [BZ #14055]
22870 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22871
0be196ad
AJ
228722012-05-02 Andreas Jaeger <aj@suse.de>
22873
22874 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22875 since we manipulate rounding mode.
22876 (CPPFLAGS-test-idouble.c): Likewise.
22877 (CPPFLAGS-test-ifloat.c): Likewise.
22878 (CFLAGS-test-ldouble.c): Likewise.
22879 (CFLAGS-test-double.c): Likewise.
22880 (CFLAGS-test-float.c): Likewise.
22881 (CFLAGS-test-misc.c): Likewise.
22882 (CFLAGS-test-test-fenv.c): Likewise.
22883
4f9d04aa
AZ
228842012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22885
2b942cb7
RM
22886 [BZ #2550]
22887 [BZ #2570]
22888 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22889 comparisons to determine direction to adjust input.
4f9d04aa 22890
82a79e7d
RM
228912012-05-01 Roland McGrath <roland@hack.frob.com>
22892
f5a01ca9
RM
22893 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22894 output to the target.
22895
90fe4186
RM
22896 * scripts/localplt.awk: New file.
22897 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22898 (check-localplt-CFLAGS): Variable removed.
22899 ($(all-built-dso:=.jmprel)): New static pattern rule.
22900 (generated): Add those targets.
22901 (localplt-built-dso): New variable.
22902 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22903
22904 * elf/check-localplt.c: File removed.
22905
82397ed6
RM
22906 * scripts/check-execstack.awk: New file.
22907 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22908 (check-execstack-CFLAGS): Variable removed.
22909 ($(objpfx)check-execstack.h): Target removed.
22910 ($(objpfx)execstack-default): New target.
22911 (generated): Add that instead of check-execstack.h.
22912 ($(all-built-dso:=.phdr)): New static pattern rule.
22913 (generated): Add those targets.
22914 * elf/check-execstack.c: File removed.
22915
82a79e7d
RM
22916 * scripts/check-textrel.awk: New file.
22917 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22918 (check-textrel-CFLAGS): Variable removed.
22919 (all-built-dso): Use := to define.o
22920 ($(all-built-dso:=.dyn)): New static pattern rule.
22921 (generated): Add those targets.
22922 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22923 * config.make.in (READELF): New substituted variable.
22924 * elf/check-textrel.c: File removed.
22925
62fde54f 229262012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22927
615605c9
JM
22928 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22929 allow.
22930 * conform/data/ctype.h-data [C99-based standards] (isblank):
22931 Expect function.
22932 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22933 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22935 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22936 Specify type. Require positive value.
22937 (EILSEQ): Likewise.
22938 (ERANGE): Likewise.
22939 [ISO || POSIX] (EILSEQ): Do not expect.
22940 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22941 Specify type. Require positive value.
22942 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22943 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22944 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22960 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22961 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22969 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22974 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22975 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22976 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22977 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22978 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22979 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22980 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22981 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22982 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22983 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22984 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22985 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22986 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22987 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22988 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22989 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22990 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22991 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22992 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22993 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22994 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22995 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22996 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22997 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22998 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22999 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23000 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23001 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23002 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23003 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23004 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23005 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23006 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23007 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23008 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23009 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23010 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23011 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23012 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23013 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23014 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23015 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23016 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23017 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23018 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23019 Require >= 2.
23020 (FLT_ROUNDS): Expect as macro, not constant.
23021 (FLT_MANT_DIG): Use macro-int-constant.
23022 (DBL_MANT_DIG): Likewise.
23023 (LDBL_MANT_DIG): Likewise.
23024 (FLT_DIG): Likewise.
23025 (DBL_DIG): Likewise.
23026 (LDBL_DIG): Likewise.
23027 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23028 (DBL_MIN_EXP): Likewise.
23029 (LDBL_MIN_EXP): Likewise.
23030 (FLT_MAX_EXP): Use macro-int-constant.
23031 (DBL_MAX_EXP): Likewise.
23032 (LDBL_MAX_EXP): Likewise.
23033 (FLT_MAX_10_EXP): Likewise.
23034 (DBL_MAX_10_EXP): Likewise.
23035 (LDBL_MAX_10_EXP): Likewise.
23036 (FLT_MAX): Use macro-constant.
23037 (DBL_MAX): Likewise.
23038 (LDBL_MAX): Likewise.
23039 (FLT_EPSILON): Use macro-constant. Give upper bound.
23040 (DBL_EPSILON): Likewise.
23041 (LDBL_EPSILON): Likewise.
23042 (FLT_MIN): Likewise.
23043 (DBL_MIN): Likewise.
23044 (LDBL_MIN): Likewise.
23045 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23046 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23047 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23048 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23049 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23050 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23051 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23052 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23053 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23054 [ISO11] (FLT_TRUE_MIN): Likewise.
23055 [ISO11] (LDBL_TRUE_MIN): Likewise.
23056 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23057 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23058 (SCHAR_MIN): Use macro-int-constant. Specify type.
23059 (SCHAR_MAX): Likewise.
23060 (UCHAR_MAX): Likewise.
23061 (CHAR_MIN): Likewise.
23062 (CHAR_MAX): Likewise.
23063 (MB_LEN_MAX): Use macro-int-constant.
23064 (SHRT_MIN): Use macro-int-constant. Specify type.
23065 (SHRT_MAX): Likewise.
23066 (USHRT_MAX): Likewise.
23067 (INT_MAX): Likewise.
23068 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23069 bound negative.
23070 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23071 bound with "U".
23072 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23073 bound with "L".
23074 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23075 bound negative. Suffix upper bound with "L".
23076 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23077 bound with "UL".
23078 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23079 Specify type.
23080 [C99-based standards] (LLONG_MAX): Likewise.
23081 [C99-based standards] (ULLONG_MAX): Likewise.
23082 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23083 == 0.
23084 [ISO11] (max_align_t): Require type.
23085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23086
c9140a62
JM
23087 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23088 from $CFLAGS, without defining away __attribute__ calls.
23089 (checknamespace): Use $CFLAGS_namespace.
23090
9af0bf29
JM
23091 * conform/conformtest.pl (@keywords): Only include C99 keywords
23092 for standards based on C99 or C11.
23093
343222a2
JM
23094 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23095 Disable tests.
23096 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23097 UNIX98]: Likewise.
23098
661f8cf0
JM
23099 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23100 usability of symbols in #if.
23101
ee74b9cb
JM
23102 * conform/conformtest.pl: If macro or constant types start
23103 "promoted:", expect the symbol to be of the following type
23104 promoted by the integer promotions.
62fde54f 23105
aafc49b3
JM
23106 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23107 in one place. Also handle "macro-constant".
23108
fefdf574
JM
23109 * conform/conformtest.pl: Only accept expected macro values with
23110 "==". Parse all "macro" lines in one place.
23111 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23112
f2d922fe
JM
23113 * conform/conformtest.pl: Handle braced types on "constant" lines
23114 instead of handling "typed-constant".
23115 * conform/data/signal.h-data: Use "constant" instead of
23116 "typed-constant".
23117
d22956c9
JM
23118 * conform/conformtest.pl: Handle "optional-" at start of lines in
23119 one place rather than duplicating several cases. Handle each
23120 format of "macro" line with initial "optional-".
23121
028e2e38
JM
23122 * conform/conformtest.pl: Only accept expected constant or
23123 optional-constant values with "==". Parse all "constant" lines in
23124 one place. Parse all "optional-constant" lines in one place.
23125 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23126 * conform/data/fmtmsg.h-data: Likewise.
23127 * conform/data/netinet/in.h-data: Likewise.
23128 * conform/data/tar.h-data: Likewise.
23129 * conform/data/limits.h-data: Use "==" form on "constant" and
23130 "optional-constant" lines.
23131
1b8f2850
JM
23132 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23133 Use -std=c99 for XOPEN2K.
23134 (@knownproblems): Remove.
23135 (newtoken): Don't check %isknown.
23136
a05a144b
JM
23137 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23138 Do not expect macro.
23139 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23140 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23141 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23142 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23143 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23144 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23145 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23146 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23147 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23148 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23149 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23150 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23151 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23152 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23153 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23154 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23155 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23156 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23157 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23158 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23159 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23160 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23161 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23162 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23163 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23164 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23165 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23166 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23167 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23168 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23169 [XPG3] (acosh): Likewise.
23170 [XPG3] (asinh): Likewise.
23171 [XPG3] (atanh): Likewise.
23172 [XPG3] (cbrt): Likewise.
23173 [XPG3] (expm1): Likewise.
23174 [XPG3] (ilogb): Likewise.
23175 [XPG3] (log1p): Likewise.
23176 [XPG3] (logb): Likewise.
23177 [XPG3] (nextafter): Likewise.
23178 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23179 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23180 [XPG3] (remainder): Likewise.
23181 [XPG3] (rint): Likewise.
23182 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23183 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23184 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23185 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23186 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23187 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23188 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23189 [UNIX98 || XOPEN2K] (scalb): Expect.
23190 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23191 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23192 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23193 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23194 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23195 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23196 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23197 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23198 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23199 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23200 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23201 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23202 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23203 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23205 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23206 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23207 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23208 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23210 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23211 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23212 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23213 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23214 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23215 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23216 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23217 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23219 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23220 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23221 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23224 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23225 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23233 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23234 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23262 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23263 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23307 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23308 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23322 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23323 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23324 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23325 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23326 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23327
73c5ebe3
JM
23328 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23329 _XOPEN_SOURCE_EXTENDED for XPG4.
23330
39c33b6c
JM
23331 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23332
62fde54f
JM
23333 * Makeconfig (localtime): Remove variable.
23334 (inst_localtime-file): Likewise.
23335
0741d64c
AS
233362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23337
23338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23339 Update.
23340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23341 Update.
23342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23343 Update.
23344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23345 Update.
23346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23347 Update.
23348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23349 Update.
23350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23351 Update.
23352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23353 Update.
23354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23355 Update.
23356
7cb029ee
JM
233572012-05-01 Joseph Myers <joseph@codesourcery.com>
23358
23359 [BZ #2550]
23360 [BZ #2570]
23361 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23362 comparisons to determine direction to adjust input.
23363 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23364 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23366 Likewise.
23367 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23368 Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23370 Likewise.
23371 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23372 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23373 Likewise.
23374 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23375 Likewise.
23376 * math/libm-test.inc (nexttoward_test): Add more tests.
23377
412bd966
AS
233782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23379
23380 [BZ #14040]
23381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23382 in version GLIBC_2.1, not GLIBC_2.0.
23383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23384 Likewise.
23385
9568c0c2
JM
233862012-04-30 Joseph Myers <joseph@codesourcery.com>
23387
adfbc8ac
JM
23388 [BZ #13942]
23389 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23390 (1 - x) * (1 + x).
23391 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23392 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23393 * math/libm-test.inc (acos_test): Add more tests.
23394 (asin_test): Likewise.
23395 * sysdeps/i386/fpu/libm-test-ulps: Update.
23396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23397
5ba3cc69
JM
23398 [BZ #14034]
23399 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23400 of square root.
23401 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23402 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23403 * math/libm-test.inc (acos_test_tonearest): New function.
23404 (acos_test_towardzero): Likewise.
23405 (acos_test_downward): Likewise.
23406 (acos_test_upward): Likewise.
23407 (asin_test_tonearest): Likewise.
23408 (asin_test_towardzero): Likewise.
23409 (asin_test_downward): Likewise.
23410 (asin_test_upward): Likewise.
23411 (main): Call the new functions.
23412 * sysdeps/i386/fpu/libm-test-ulps: Update.
23413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23414
9568c0c2
JM
23415 [BZ #13884]
23416 [BZ #13924]
23417 * math/e_exp10.c: Include <float.h>.
23418 (__ieee754_exp10): Handle underflow here rather than multiplying
23419 large negative argument by M_LN10.
23420 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23421 of __ieee754_expf.
23422 * math/e_exp10l.c: Include <float.h>.
23423 (__ieee754_exp10l): Handle underflow here rather than multiplying
23424 large negative argument by M_LN10l.
23425 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23426 spurious overflow exception on underflow.
23427
5ac3ea17
MP
234282012-04-29 Marek Polacek <polacek@redhat.com>
23429
23430 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23431 (__fortify_function): New macro.
23432 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23433 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23434 __extern_always_inline.
23435 * libio/bits/stdio2.h: Likewise.
23436 * libio/bits/stdio.h: Likewise.
23437 * string/string.h: Likewise.
23438 * string/bits/string3.h: Likewise.
23439 * include/stdio.h: Likewise.
23440 * stdlib/bits/stdlib.h: Likewise.
23441 * stdlib/stdlib.h: Likewise.
23442 * rt/bits/mqueue2.h: Likewise.
23443 * rt/mqueue.h: Likewise.
23444 * posix/bits/unistd.h: Likewise.
23445 * posix/unistd.h: Likewise.
23446 * io/bits/poll2.h: Likewise.
23447 * io/bits/fcntl2.h: Likewise.
23448 * io/fcntl.h: Likewise.
23449 * io/sys/poll.h: Likewise.
23450 * misc/bits/syslog.h: Likewise.
23451 * misc/bits/syslog-ldbl.h: Likewise.
23452 * misc/sys/syslog.h: Likewise.
23453 * socket/bits/socket2.h: Likewise.
23454 * socket/sys/socket.h: Likewise.
23455 * debug/tst-chk1.c: Likewise.
23456 * wcsmbs/bits/wchar2.h: Likewise.
23457 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23458 * wcsmbs/wchar.h: Likewise.
23459
ecf0ebfb
AJ
234602012-04-29 Andreas Jaeger <aj@suse.de>
23461
23462 * Makerules (tests): Remove enable-check-abi protection.
23463 (check-abi-warn): Remove.
23464 (check-abi-%): Remove check-abi-warn usage.
23465
23466 * configure.in: Remove check-abi configure option.
23467 * configure: Regenerated.
23468 * config.make.in (enable-check-abi): Remove.
23469
6d5c57fa
AS
234702012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23471
24c5d07e 23472 [BZ #14033]
ded5180a
AS
23473 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23474 double functions to double *_finite functions.
23475
7e0d315d
AS
23476 [BZ #13941]
23477 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23478 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23479 LDBL_MIN_EXP.
23480 * stdio-common/Makefile (tests): Add tst-sprintf3.
23481 * stdio-common/tst-sprintf3.c: New file.
23482
6d5c57fa
AS
23483 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23484 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23485
0749ff8b
JM
234862012-04-28 Joseph Myers <joseph@codesourcery.com>
23487
23488 * conform/conformtest.pl: Remove duplicate typed-constant
23489 handling.
23490
8dbd5d7b
DM
234912012-04-28 David S. Miller <davem@davemloft.net>
23492
23493 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23494 (check-abi-%): Remove AWK script prerequisite and explicit
23495 abilist directory.
23496 (check-abi): Rewrite to just diff the symlist with the abilist.
23497 (config-tls, config-abi-config): Delete, no longer used.
23498 (update-abi-%): Remove AWK script and explicit abilist directory.
23499 (update-abi): Rewrite to simply compare and conditionally copy the
23500 symlist and the sysdep abilist file. Remove update-abi-config
23501 checks.
23502 * abilist/ld.abilist: Remove.
23503 * abilist/libBrokenLocale.abilist: Remove.
23504 * abilist/libanl.abilist: Remove.
23505 * abilist/libcrypt.abilist: Remove.
23506 * abilist/libdl.abilist: Remove.
23507 * abilist/librt.abilist: Remove.
23508 * abilist/libthread_db.abilist: Remove.
23509 * abilist/libutil.abilist: Remove.
23510 * scripts/extract-abilist.awk: Remove.
23511 * scripts/merge-abilist.awk: Remove.
23512 * sysdeps/generic/libcidn.abilist: New file.
23513 * sysdeps/generic/libnss_compat.abilist: New file.
23514 * sysdeps/generic/libnss_db.abilist: New file.
23515 * sysdeps/generic/libnss_dns.abilist: New file.
23516 * sysdeps/generic/libnss_files.abilist: New file.
23517 * sysdeps/generic/libnss_hesiod.abilist: New file.
23518 * sysdeps/generic/libnss_nis.abilist: New file.
23519 * sysdeps/generic/libnss_nisplus.abilist: New file.
23520 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23521 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23522 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23523 file.
23524 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23525 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23526 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23527 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23528 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23529 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23530 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23531 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23532 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23533 file.
23534 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23535 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23536 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23537 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23538 file.
23539 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23540 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23541 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23542 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23543 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23544 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23545 file.
23546 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23547 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23548 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23549 file.
23550 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23552 New file.
23553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23554 New file.
23555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23556 New file.
23557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23558 New file.
23559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23560 New file.
23561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23562 New file.
23563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23564 New file.
23565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23566 New file.
23567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23568 New file.
23569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23570 New file.
23571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23572 New file.
23573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23574 New file.
23575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23576 New file.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23578 file.
23579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23580 New file.
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23582 New file.
23583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23584 file.
23585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23586 New file.
23587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23588 New file.
23589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23590 file.
23591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23592 New file.
23593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23594 New file.
23595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23596 New file.
23597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23598 New file.
23599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23600 New file.
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23602 New file.
23603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23605 file.
23606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23607 New file.
23608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23609 file.
23610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23611 file.
23612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23613 file.
23614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23615 file.
23616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23617 file.
23618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23619 New file.
23620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23621 file.
23622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23623 file.
23624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23625 New file.
23626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23627 file.
23628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23630 file.
23631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23632 New file.
23633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23634 file.
23635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23636 file.
23637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23638 file.
23639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23640 file.
23641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23642 file.
23643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23644 New file.
23645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23646 file.
23647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23648 file.
23649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23650 New file.
23651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23652 file.
23653 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23654 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23655 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23656 file.
23657 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23658 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23659 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23660 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23661 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23662 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23663 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23664 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23665 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23666 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23669 file.
23670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23671 New file.
23672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23673 file.
23674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23675 file.
23676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23677 file.
23678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23679 file.
23680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23681 file.
23682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23683 New file.
23684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23685 New file.
23686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23687 file.
23688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23689 New file.
23690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23691 file.
23692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23694 file.
23695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23696 New file.
23697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23698 file.
23699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23700 file.
23701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23702 file.
23703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23704 file.
23705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23706 file.
23707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23708 New file.
23709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23710 New file.
23711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23712 file.
23713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23714 New file.
23715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23716 file.
23717
41d73a1b
JM
237182012-04-28 Joseph Myers <joseph@codesourcery.com>
23719
23720 * conform/conformtest.pl: Fix typo in handling typed-constant from
23721 allow-header.
23722
28aeeda4
JM
237232012-04-27 Joseph Myers <joseph@codesourcery.com>
23724
adae8f5e
JM
23725 * README: Cut down references to pre-2.6 Linux kernels and
23726 Linuxthreads. Update lists of configurations in libc and ports
23727 and sort alphabetically. Say "or newer" with Linux kernel version
23728 requirements.
23729
28aeeda4
JM
23730 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23731
a462cb63
RA
237322012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23733
23734 [BZ #887]
23735 * math/libm-test.inc (logb_test_downward): New test to expose
23736 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23737 rounding mode.
23738
6ad3493e
JM
237392012-04-27 Joseph Myers <joseph@codesourcery.com>
23740
23741 [BZ #14027]
23742 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23743 to be done.
23744 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23745 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23746
2ce4f015
JM
237472012-04-26 Joseph Myers <joseph@codesourcery.com>
23748
5aeb141a
JM
23749 * sysdeps/unix/i386/brk.S: Remove file.
23750 * sysdeps/unix/i386/dl-brk.S: Likewise.
23751 * sysdeps/unix/i386/pipe.S: Likewise.
23752 * sysdeps/unix/i386/sigreturn.S: Likewise.
23753 * sysdeps/unix/i386/syscall.S: Likewise.
23754 * sysdeps/unix/i386/vfork.S: Likewise.
23755 * sysdeps/unix/i386/wait.S: Likewise.
23756
7143acae
JM
23757 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23758 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23759
2ce4f015
JM
23760 * configure.in (arm*-none*): Do not allow without
23761 --enable-hacker-mode.
23762 (netbsd*): Remove case setting base_os.
23763 (386bsd*): Likewise.
23764 (freebsd*): Likewise.
23765 (bsdi*): Likewise.
23766 (osf*): Likewise.
23767 (sunos*): Likewise.
23768 (ultrix*): Likewise.
23769 (newsos*): Likewise.
23770 (dynix*): Likewise.
23771 (*bsd*): Likewise.
23772 (sysv*): Likewise.
23773 (isc*): Likewise.
23774 (esix*): Likewise.
23775 (sco*): Likewise.
23776 (minix*): Likewise.
23777 (irix4*): Likewise.
23778 (irix6*): Likewise.
23779 (solaris[2-9]*): Likewise.
23780 (none): Likewise.
23781 * configure: Regenerated.
23782
0ac229c8
AZ
237832012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23784
23785 [BZ #11521]
23786 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23787 overflow or cancellation in calculating denominator.
23788 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23790 down expression to avoid unexpected rounding in newer GCCs.
23791 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23792
33f244f4
DM
237932012-04-26 David S. Miller <davem@davemloft.net>
23794
23795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23796 long-double compat symbols.
23797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23810
cfa1f3e8
DM
238112012-04-25 David S. Miller <davem@davemloft.net>
23812
23813 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23814 HWCAP_* values only after the memory barriers have been defined.
23815 (atomic_full_barrier): Define.
23816 (atomic_read_barrier): Define.
23817 (atomic_write_barrier): Define.
23818
6e236b92
SP
238192012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23820
23821 * shlib-versions: Add libgcc_s version information.
23822 * sysdeps/generic/libgcc_s.h: Remove.
23823 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23824 libgcc_s.h.
23825 * sysdeps/gnu/unwind-resume.c: Likewise.
23826 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23827
aab39a09
DM
238282012-04-25 David S. Miller <davem@davemloft.net>
23829
23830 * sysdeps/unix/sparc/brk.S: Delete.
23831 * sysdeps/unix/sparc/dl-brk.S: Delete.
23832 * sysdeps/unix/sparc/pipe.S: Delete.
23833 * sysdeps/unix/sparc/sysdep.S: Delete.
23834 * sysdeps/unix/sparc/sysdep.h: Delete.
23835 * sysdeps/unix/sparc/vfork.S: Delete.
23836 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23837 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23838 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23839 ret_ERRVAL, r0, r1, MOVE): Define.
23840 (JUMPTARGET): Remove.
23841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23842 sysdeps/unix/sparc/sysdep.h
23843 (ENTRY, END): Remove.
23844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23845
a3cc4f48
JM
238462012-04-25 Joseph Myers <joseph@codesourcery.com>
23847
2ed8cda2
JM
23848 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23849 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23850 -DIS_IN_build.
23851
35d76d59
JM
23852 * timezone/README: Update upstream location and email address for
23853 tzcode and tzdata.
23854 * timezone/zdump.c: Update from tzcode 2012b.
23855 * timezone/zic.c: Likewise.
23856
a3cc4f48
JM
23857 * configure.in (libc_cv_as_needed): Remove test.
23858 * configure: Regenerated.
23859 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23860 conditional definition.
23861 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23862 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23863 * config.make.in (have-as-needed): Remove variable.
23864
ceab42c3
SP
238652012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23866 Paul Pluzhnikov <ppluzhnikov@google.com>
23867
23868 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23869 strings correctly.
23870
3ce2865f
CLT
238712012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23872
23873 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23874 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23875 * sysdeps/sh/strlen.S: Likewise.
23876
f37e0d68
JM
238772012-04-24 Joseph Myers <joseph@codesourcery.com>
23878
ae186e9a
JM
23879 * sysdeps/unix/fork.S: Remove file.
23880 * sysdeps/unix/i386/fork.S: Likewise.
23881 * sysdeps/unix/sparc/fork.S: Likewise.
23882
b96914af
JM
23883 * sysdeps/unix/system.c: Remove file.
23884 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23885
f37e0d68
JM
23886 * sysdeps/unix/getegid.S: Remove file.
23887 * sysdeps/unix/geteuid.S: Likewise.
23888
87ef29ca
RM
238892012-04-24 Roland McGrath <roland@hack.frob.com>
23890
83bcd236
RM
23891 * scripts/check-localplt.awk: New file.
23892 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23893 of diff.
23894 * scripts/data/localplt-generic.data: Add a comment.
23895
87ef29ca
RM
23896 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23897 NODE when __dir_mkfile failed.
23898 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23899 Reported by Ludovic Courtès <ludo@gnu.org>.
23900
e5a6e567
AJ
239012012-04-24 Andreas Jaeger <aj@suse.de>
23902
23903 * Makerules (common-clean): Also remove gen-as-const-headers
23904 files.
23905
c1820385
JM
239062012-04-24 Joseph Myers <joseph@codesourcery.com>
23907
23908 * Makerules (native-compile): Do not change working directory for
23909 build. Use $(OUTPUT_OPTION) in command.
23910 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23911
94e02fc4
AZ
239122012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23913
23914 [BZ #13886]
23915 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23916 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23917 * math/libm-test.inc (floor_test): Add more tests.
23918 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23919
3a533ca3
JM
239202012-04-24 Joseph Myers <joseph@codesourcery.com>
23921
940ab4b3
JM
23922 * sysdeps/unix/getdents.c: Remove file.
23923 * sysdeps/unix/sysv/getdents.c: Likewise.
23924 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23925
90e037bd
JM
23926 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23927 sysdeps/unix/mman/syscalls.list.
23928 (mmap): Likewise.
23929 (mprotect): Likewise.
23930 (msync): Likewise.
23931 (munmap): Likewise.
23932 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23933 * sysdeps/unix/mman/syscalls.list: Remove.
23934 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23935
3a533ca3
JM
23936 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23937 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23938 * configure: Regenerated.
23939 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23940 $(libgcc_s_suffix).
23941 * config.make.in (libgcc_s_suffix): Remove variable.
23942
1ad743de
JM
239432012-04-23 Joseph Myers <joseph@codesourcery.com>
23944
4ad451e2
JM
23945 * sysdeps/unix/sysv/gethostname.c: Move to ...
23946 * sysdeps/posix/gethostname.c: ... here.
23947
5e37ce39
JM
23948 * sysdeps/unix/execve.S: Remove file.
23949
1ad743de
JM
23950 * sysdeps/unix/_exit.S: Remove file.
23951
4e681b5b
AJ
239522012-04-23 Andreas Jaeger <aj@suse.de>
23953
23954 [BZ #13739]
23955 * manual/Makefile: Remove make dist support, there's no
23956 need for a stand-alone documentation tar ball.
23957 (TEXI2DVI): Define always, it's not in Makeconfig.
23958 (dist): Removed.
23959 (tar-it): Removed.
23960 (edition): Removed.
23961 (glibc-doc-$(edition).tar): Removed
23962 (%.Z): Removed.
23963 (%.gz): Removed.
23964 (%.uu): Removed.
23965 (ETAGS): Remove, it's in Makeconfig.
23966 (move-if-change): Remove, it's in Makeconfig.
23967
38686a03 239682012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23969
23970 [BZ #13970]
23971 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23972 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23973 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23974 (strtod_l, strtof_l, strtold_l): Remove __wur.
23975 It is not necessarily an error to ignore strtol's return value.
23976 One can reliably look at the stored endptr to decide whether
23977 the number had valid syntax.
23978
7c0616fa
AJ
239792012-04-21 Andreas Jaeger <aj@suse.de>
23980
803cb6b7 23981 [BZ #13739]
7c0616fa
AJ
23982 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23983
b0fe253f
JM
239842012-04-21 Joseph Myers <joseph@codesourcery.com>
23985
23986 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23987 * sysdeps/unix/sysv/Versions: Remove file.
23988
8280f22d
MT
239892012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23990
23991 [BZ #13927]
23992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23993
75ce411f 239942012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23995
23996 [BZ #7064]
23997 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23998 version from __vm86.
23999
097d59fa
JM
240002012-04-20 Joseph Myers <joseph@codesourcery.com>
24001
a90f3bcb
JM
24002 * sysdeps/unix/common/lxstat.c: Remove file.
24003 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24004
edc7ea78
JM
24005 * sysdeps/unix/sysv/Makefile: Remove file.
24006
cb78c221
JM
24007 * sysdeps/unix/sysv/direct.h: Remove file.
24008
efa6a45f
JM
24009 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24010 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24011 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24012 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24013 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24014 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24015 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24016
9c9f2d0c
JM
24017 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24018
4541c83b
JM
24019 * sysdeps/unix/xmknod.c: Remove file.
24020 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24021
f5d153a0
JM
24022 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24023
aa746595
JM
24024 * sysdeps/unix/sysv/i386/time.S: Remove file.
24025
cce5905e
JM
24026 * sysdeps/unix/fxstat.c: Remove file.
24027 * sysdeps/unix/xstat.c: Likewise.
24028 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24029
37fa3841
JM
24030 * sysdeps/unix/sysv/sigaction.c: Remove file.
24031
ff1962a3
JM
24032 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24033 (sysdep_headers): Remove variable.
24034 [termio.h not in sysdep_headers] (generated): Likewise.
24035 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24036 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24037 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24038 * sysdeps/unix/sysv/tcflow.c: Likewise.
24039 * sysdeps/unix/sysv/tcflush.c: Likewise.
24040 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24041 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24042 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24043 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24044 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24045
e7740d31
JM
24046 * sysdeps/unix/siglist.c: Remove file.
24047
ee06f18b
JM
24048 * sysdeps/unix/getppid.S: Remove file.
24049
097d59fa
JM
24050 * sysdeps/unix/mkdir.c: Remove file.
24051 * sysdeps/unix/rmdir.c: Likewise.
24052
ff3d51ec
AS
240532012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24054
24055 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24056 ERR_MAX value.
24057 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24058 errlist-compat value.
24059
50f81fd7
DM
240602012-04-18 David S. Miller <davem@davemloft.net>
24061
24062 * sysdeps/generic/memcopy.h (reg_char): Delete.
24063 * debug/strcat_chk.c: Use char, not reg_char.
24064 * debug/strcpy_chk.c: Likewise.
24065 * debug/strncat_chk.c: Likewise.
24066 * debug/strncpy_chk.c: Likewise.
24067 * string/memchr.c: Likewise.
24068 * string/memrchr.c: Likewise.
24069 * string/rawmemchr.c: Likewise.
24070 * string/strcat.c: Likewise.
24071 * string/strchr.c: Likewise.
24072 * string/strchrnul.c: Likewise.
24073 * string/strcmp.c: Likewise.
24074 * string/strcpy.c: Likewise.
24075 * string/strncat.c: Likewise.
24076 * string/strncmp.c: Likewise.
24077 * string/strncpy.c: Likewise.
24078
8ff41c46
WS
240792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24080
24081 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24082 __builtin_memcopy is called when src and dest ranges are known to not
24083 overlap.
24084
6b652f46
WS
240852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24086
24087 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24088 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24089 fwd_align_merge macro call.
24090 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24091 bwd_align_merge macro call.
24092 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24093
b282631e
WS
240942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24095
24096 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24097 bwd_align_merge macros.
24098 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24099 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24100 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24101
95aa737c
DM
241022012-04-18 David S. Miller <davem@davemloft.net>
24103
24104 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24105
7a99a614
AJ
241062012-04-18 Andreas Jaeger <aj@suse.de>
24107
24108 [BZ# 6794]
24109 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24110 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24111 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24112
24113 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24114 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24115 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24116
24117 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24118 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24119 Adjust for changed ldbl-128 files.
24120
24121 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24122 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24123 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24124
e5270c23
DM
241252012-04-17 David S. Miller <davem@davemloft.net>
24126
24127 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24128
fb5e92c9
AS
241292012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24130
24131 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24132 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24133 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24134 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24135 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24136 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24137
76da7265
AZ
241382012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24139
24140 [BZ #6794]
24141 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24142 * math/libm-test.inc: Add ilogb errno and exception tests.
24143 * math/w_ilogb.c: New file: ilogb wrapper.
24144 * math/w_ilogbf.c: New file: ilogbf wrapper.
24145 * math/w_ilogbl.c: New file: ilogbl wrapper.
24146 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24147 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24148 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24149 exception being thrown with 0.0 as argument.
24150 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24151 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24152 exception being thrown with 0.0 as argument.
24153 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24154 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24155 exception being thrown with 0.0 as argument.
24156 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24157 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24158 exception being thrown with 0.0 as argument.
24159 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24160 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24161 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24162 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24163 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24164 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24165 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24166 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24167 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24168
0396e69d
PB
241692012-04-17 Petr Baudis <pasky@ucw.cz>
24170
24171 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24172 with altivec.
24173
750b5926
MP
241742012-04-16 Marek Polacek <polacek@redhat.com>
24175
24176 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24177
751728a1
MP
241782012-04-16 Marek Polacek <polacek@redhat.com>
24179
24180 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24181 operands of fdivp instruction.
24182
34a27407
L
241832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24184
24185 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24186 * elf/tst-auditmod3b.c: Likewise.
24187 * elf/tst-auditmod4b.c: Likewise.
24188 * elf/tst-auditmod5b.c: Likewise.
24189 * elf/tst-auditmod6b.c: Likewise.
24190 * elf/tst-auditmod6c.c: Likewise.
24191 * elf/tst-auditmod7b.c: Likewise.
24192 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24193 * sysdeps/x86_64/preconfigure.in: Likewise.
24194 * sysdeps/x86_64/preconfigure: Regenerated.
24195
7e73e17d
L
241962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24197
24198 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24199 __ILP32__.
24200
c7a6ab72
AB
242012012-04-13 Antoine Balestrat <merkil33@gmail.com>
24202
24203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24204 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24205
a9e8e0e0
CL
242062012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24207
24208 [BZ #13973]
24209 * locale/iso-639.def: Fix gl language name. Spotted by
24210 Yaron Shahrabani.
24211
ec98af7d
RM
242122012-04-12 Roland McGrath <roland@hack.frob.com>
24213
24214 [BZ #2074]
24215 * libio/libio.h (__io_write_fn): Update comment.
24216
247c3ede
PB
242172012-04-12 Petr Baudis <pasky@ucw.cz>
24218
24219 [BZ #2074]
24220 * stdio.texi (Hook Functions): The user provided writer function
24221 is not allowed to return -1.
24222
55939d6d
DM
242232012-04-11 David S. Miller <davem@davemloft.net>
24224
24225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24226
90020f5a
MF
242272012-04-11 Mike Frysinger <vapier@gentoo.org>
24228
24229 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24230 Add a leading slash to rtkaio.
24231
288f9098
JM
242322012-04-11 Jim Meyering <meyering@redhat.com>
24233
90020f5a
MF
24234 [BZ #11959]
24235 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24236 It is not necessarily an error to ignore fwrite's return
24237 value. One can reliably use ferror to test for errors after
24238 the fact.
288f9098 24239
4be2b570
L
242402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24241
24242 * bits/types.h (__snseconds_t): New type.
24243 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24244
24245 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24246 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24247 (__SNSECONDS_T_TYPE): Likewise.
24248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24249 (__SNSECONDS_T_TYPE): Likewise.
24250 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24251 (__SNSECONDS_T_TYPE): Likewise.
24252
288f9098 242532012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24254
24255 [BZ #2636]
24256 * manual/time.texi (Processor Time): Return type of times is
24257 elapsed real time since an arbitrary point in the past.
24258 (CPU Time): Move CLK_TCK from here...
24259 (Processor Time): ...to here. Correct description.
24260 * manual/conf.texi (Constants for Sysconf): Correct description of
24261 _SC_CLK_TCK.
24262
d7dd4413
DM
242632012-04-10 David S. Miller <davem@davemloft.net>
24264
24265 [BZ #13967]
24266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24267 where the is a gap between DT_REL(A) and DT_JMPREL.
24268
b46068fc
L
242692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24270
24271 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24272 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24273 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24274
73d65cc3
SP
242752012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24276
24277 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24278 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24279 (dl_main): Handle --inhibit-cache.
24280 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24281 _dl_inhibit_cache.
24282 * elf/dl-load.c (_dl_map_object): Use it.
24283 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24284
bcc8d661
JM
242852012-04-09 Joseph Myers <joseph@codesourcery.com>
24286
8f9a2fae
JM
24287 [BZ #13872]
24288 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24289 (__ieee754_powl): Saturate large exponents rather than testing for
24290 overflow of y*log2(x).
24291 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24292 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24293 exceptions.
24294
bcc8d661
JM
24295 [BZ #11521]
24296 * math/s_ctan.c: Include <float.h>.
24297 (__ctan): Avoid internal overflow or cancellation in calculating
24298 denominator.
24299 * math/s_ctanf.c: Likewise.
24300 * math/s_ctanl.c: Likewise.
24301 * math/s_ctanh.c: Likewise.
24302 * math/s_ctanhf.c: Likewise.
24303 * math/s_ctanhl.c: Likewise.
24304 * math/libm-test.inc (ctan_test): Add more tests.
24305 (ctanh_test): Likewise.
24306 * sysdeps/i386/fpu/libm-test-ulps: Update.
24307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24308
823fbbb4
AJ
243092012-04-09 Andreas Jaeger <aj@suse.de>
24310
03879793
AJ
24311 [BZ #6894]
24312 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24313 is an optional BSD extension.
24314
823fbbb4
AJ
24315 [BZ #10254]
24316 * manual/stdio.texi (Opening Streams): Document additional fopen
24317 parameters.
24318
8de131cb
RM
243192012-04-09 Roland McGrath <roland@hack.frob.com>
24320
24321 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24322 %eax without telling the compiler.
24323
c0ed9d7d
CD
243242012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24325
24326 [BZ # 13963]
24327 * manual/install.texi: Use sourceware.org.
24328
c483f6b4
JM
243292012-04-09 Joseph Myers <joseph@codesourcery.com>
24330
d7dd9453
JM
24331 [BZ #13873]
24332 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24333 (__ieee754_pow): Generate overflow and underflow using huge*huge
24334 and tiny*tiny rather than just returning constant infinity or zero
24335 for large exponents.
24336 * math/libm-test.inc (pow_test): Require overflow exceptions for
24337 applicable cases of large exponents.
24338
c483f6b4
JM
24339 [BZ #706]
24340 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24341 (__ieee754_pow): Use iterative multiplication algorithm only for
24342 integer exponents with absolute value below 1024. Check for odd
24343 integer exponents when using algorithm for real exponents.
24344 * math/libm-test.inc (pow_test): Add more tests.
24345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24346
d2de7579
JM
243472012-04-08 Joseph Myers <joseph@codesourcery.com>
24348
24349 [BZ #13705]
24350 * math/libm-test.inc (exp_test): Do not allow overflow exception
24351 on underflow test.
24352
f77f1232
AJ
243532012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24354
24355 [BZ #13705]
24356 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24357 instead of __kernel_standard_f.
24358
3884932b
MF
243592012-04-08 Mike Frysinger <vapier@gentoo.org>
24360
24361 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24362 * sysdeps/x86_64/memset_chk.S: Likewise.
24363
54472e9c
AJ
243642012-04-08 Andreas Jaeger <aj@suse.de>
24365
6ab0fbfc
AJ
24366 [BZ #10153]
24367 * manual/startup.texi (Environment Access): Describe return value
24368 for putenv and setenv.
24369
61efba8c
AJ
24370 [BZ #6895]
24371 * manual/filesys.texi (Directory Entries): Add description for
24372 DT_LNK.
24373
95c3f29a
AJ
24374 [BZ #6890]
24375 * manual/filesys.texi (Directory Entries): Clarify that it's file
24376 system not operating system in the description of DT_UNKNOWN.
24377
54472e9c
AJ
24378 [BZ #6578]
24379 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24380
624254b1
SC
243812012-04-08 Stephen Compall <s11@member.fsf.org>
24382
24383 [BZ #6649]
24384 * manual/llio.texi (Opening and Closing Files): Add cross
24385 reference to explain mode argument.
24386
1e4920e0
MF
243872012-04-07 Mike Frysinger <vapier@gentoo.org>
24388
24389 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24390 * sysdeps/x86_64/memset_chk.S: Likewise.
24391
5ed848f3
DM
243922012-04-07 David S. Miller <davem@davemloft.net>
24393
24394 * elf/elf.h (R_SPARC_WDISP10): Define.
24395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24396 R_SPARC_SIZE32.
24397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24398 R_SPARC_SIZE64 and R_SPARC_H34.
24399
96154cd8
CD
244002012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24401
24402 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24403 conditions and remove no longer applicable assertion.
24404
9904dc47
L
244052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24406
24407 * bits/byteswap.h: Include <features.h>.
24408 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24409 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24410
f8887d0a
L
244112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24412
24413 * bits/byteswap.h (__bswap_16): Removed.
24414 Include <bits/byteswap-16.h> to get __bswap_16.
24415 * sysdeps/i386/bits/byteswap.h: Likewise.
24416 * sysdeps/s390/bits/byteswap.h: Likewise.
24417 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24418 * bits/byteswap-16.h: New file.
24419 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24420 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24421 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24422 * string/Makefile (headers): Add bits/byteswap-16.h.
24423
62470f60
PP
244242012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24425
24426 [BZ #13895]
24427 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24428 extra indirection.
24429 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24430 * nss/tst-nss-static.c: New.
24431
4dad7bab
RM
244322012-04-06 Robert Millan <rmh@gnu.org>
24433
24434 [BZ #6486]
24435 * manual/llio.texi (File Position Primitive): lseek
24436 refers to WHENCE when it really means OFFSET.
24437
e9142a17
AJ
244382012-04-06 Andreas Jaeger <aj@suse.de>
24439
2c040eff
AJ
24440 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24441 strncmp declarations.
24442
e9142a17
AJ
24443 * abilist/libc.abilist: Add __poll and __ppoll.
24444
ff9f1c5f
DM
244452012-04-05 David S. Miller <davem@davemloft.net>
24446
dcd2ae90
DM
24447 * scripts/check-local-headers.sh: Accept a host triplet in the
24448 path matched by the exclude regexp.
24449
993eb054
DM
24450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24451 definition.
24452 * sysdeps/powerpc/powerpc32/dl-machine.h
24453 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24454 * sysdeps/s390/s390-32/dl-machine.h
24455 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24456 * sysdeps/sparc/sparc32/dl-machine.h
24457 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24458 * sysdeps/sparc/sparc64/dl-machine.h
24459 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24460
ff9f1c5f
DM
24461 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24462 lazy binding.
48e2e132 24463 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24464 undefined symbol errors.
24465
48e2e132 24466 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24467 DT_NEEDED entries.
24468
e80d6f94
MM
244692012-04-05 Michael Matz <matz@suse.de>
24470
24471 [BZ #13592]
24472 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24473
349fa79f
AJ
244742012-04-05 Andreas Jaeger <aj@suse.de>
24475
24476 [BZ #13908]
24477 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24478 comment.
24479
f402708f
KK
244802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24481
24482 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24483 which ROUND is no valid rounding mode.
24484
2ecccfc9
KK
244852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24486
24487 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24488 read again.
24489 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24490
8a53f50f
KK
244912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24492
24493 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24494 an exception using FPU order intentionally.
24495
244962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24497
24498 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24499 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24500 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24501 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24502
d653abb7
SJ
245032012-04-05 Simon Josefsson <simon@josefsson.org>
24504
24505 [BZ #12340]
24506 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24507 EINVAL when BUFLEN is too smal.
24508
c3b1bf7d
TS
245092012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24510
24511 [BZ #13553]
24512 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24513 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24514
b1aa60f3
AJ
245152012-04-03 Andreas Jaeger <aj@suse.de>
24516
c3b1bf7d 24517 [BZ #13938]
67f60a26
AJ
24518 * manual/setjmp.texi (System V contexts): Fix sentence.
24519
b1aa60f3
AJ
24520 [BZ #13926]
24521 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24522 New macro for this case.
24523 [!__GNUC__] (__bswap_64): New inline function for this case.
24524 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24525 * bits/byteswap.h: Likewise.
24526 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24527 ull, guard with __GLIBC_HAVE_LONG_LONG.
24528
24529 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24530 __GLIBC_HAVE_LONG_LONG.
24531
24532 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24533 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24534
39c59c35
TMQMF
245352012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24536
24537 [BZ #13691]
24538 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24539 inptr and inend, rather than using last_ch.
24540
135ffda8
DM
245412012-04-02 David S. Miller <davem@davemloft.net>
24542
24543 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24544 * stdio-common/printf-parse.h (read_int): Change return type to
24545 'int', return -1 on INT_MAX overflow.
24546 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24547 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24548 overflows INT_MAX. Check for overflow of in-format-string precision
24549 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24550 SIZE_MAX not INT_MAX for integer overflow test.
24551 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24552 skip the construct in the format string but do not record anything.
24553 * stdio-common/bug22.c: Adjust to test both width/prevision
24554 INT_MAX overflow as well as total length INT_MAX overflow. Check
24555 explicitly for proper errno values.
24556
228c019e
TS
245572012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24558
302cadd3
TS
24559 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24560 CHAR_MAX.
24561 * string/test-strcmp.c [! WIDE]: Likewise.
24562 * time/tst-mktime2.c: Likewise for INT_MAX.
24563 * string/test-string.h: #include <sys/param.h> for MIN.
24564
228c019e
TS
24565 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24566 * sysdeps/i386/init-first.c (init): Likewise.
24567 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24568 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24569 * sysdeps/sh/init-first.c (init): Likewise.
24570
cfa633f5
UD
245712012-04-01 Ulrich Drepper <drepper@gmail.com>
24572
24573 * po/ru.po: Update from translation team.
d1635ef8 24574 * po/vi.po: Likewise.
cfa633f5 24575
6cd0a5ea
SP
245762012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24577
24578 * resolv/nss_dns/dns-host.c: Merge copyright years.
24579
4b43400f
LD
245802012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24581
24582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24583 Optimize memcpy with prefetch if
24584 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24585 src, dst pointers have unequal 16 byte alignments.
24586
48c41d04
SP
245872012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24588
24589 [BZ #13928]
24590 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24591 from a CNAME entry and return the minimum ttl for the query.
24592 (gaih_getanswer_slice): Likewise.
24593
b8dc394d
JL
245942012-03-30 Jeff Law <law@redhat.com>
24595
24596 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24597 due to long keys.
24598 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24599 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24600
2f5a5ed0
JL
24601 * resolv/nss_dns/dns-host.c: Update copyright year.
24602
1d39e359
UD
246032012-03-30 Ulrich Drepper <drepper@gmail.com>
24604
c030f70c 24605 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24606 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24607
1d39e359
UD
24608 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24609 comments for sendmmsg.
24610
246112012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24612
24613 [BZ #13691]
24614 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24615 with only 1 character between 0x0041 and 0x01b0.
24616 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24617 * wcsmbs/tst-mbsnrtowcs.c: New file.
24618
20fde227
DM
246192012-03-29 David S. Miller <davem@davemloft.net>
24620
24621 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24622 small copies by hand.
24623
984a4237
JL
246242012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24625
24626 [BZ #13761]
24627 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24628 _nss_compat_initgroups_dyn): Fall back to malloc/free
24629 for large group memberships.
24630
18c9d62b
DM
246312012-03-28 David S. Miller <davem@davemloft.net>
24632
88d85d4f
DM
24633 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24634 that branches into memcpy.
24635 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24636 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24637 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24638 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24639 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24640 bits.
24641 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24642 implementation too.
24643 * sysdeps/sparc/mempcpy.S: New file.
24644
e5aa83e1
DM
24645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24646 the IFUNC routine in the libc case.
24647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24648
88570753
DM
24649 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24650 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24651 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24652 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24653 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24654 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24655 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24656 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24657
249d7567
DM
24658 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24659 loop to 256 bytes instead of 64 bytes and fix test signedness.
24660
18c9d62b
DM
24661 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24662 * sysdeps/sparc/sparc32/Makefile: rather than here...
24663 * sysdeps/sparc/sparc64/Makefile: and here.
24664
05f3d1f6
UD
246652012-03-28 Ulrich Drepper <drepper@gmail.com>
24666
24667 * malloc/mallocbug.c: Avoid warnings about unused variables.
24668
86ae07a8
JL
246692012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24670
24671 [BZ #13760]
24672 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24673 in the right place. Discard and retry query if response is
24674 larger than input buffer size.
24675
41bf21a1
JM
246762012-03-28 Joseph Myers <joseph@codesourcery.com>
24677
d6270972
JM
24678 [BZ #369]
24679 [BZ #2678]
24680 [BZ #3866]
24681 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24682 x for large integer exponent.
24683 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24684 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24685 sign of result as needed afterwards.
24686 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24687 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24688 result for underflowing pow the same as for overflow.
24689 (__kernel_standard_l): Handle powl overflow and underflow here
24690 rather than calling __kernel_standard.
24691 * math/libm-test.inc (pow_test): Add more tests.
24692
414fca03 24693 [BZ #3868]
41bf21a1
JM
24694 [BZ #13879]
24695 [BZ #13910]
24696 [BZ #13911]
24697 [BZ #13912]
24698 [BZ #13913]
24699 [BZ #13915]
24700 [BZ #13916]
24701 [BZ #13917]
24702 [BZ #13918]
24703 [BZ #13919]
24704 [BZ #13920]
24705 [BZ #13921]
24706 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24707 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24708 (__kernel_standard_l): New function.
24709 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24710 __kernel_standard.
24711 * math/w_acosl.c (__acosl): Likewise.
24712 * math/w_asinl.c (__asinl): Likewise.
24713 * math/w_atan2l.c (__atan2l): Likewise.
24714 * math/w_atanhl.c (__atanhl): Likewise.
24715 * math/w_coshl.c (__coshl): Likewise.
24716 * math/w_exp10l.c (__exp10l): Likewise.
24717 * math/w_exp2l.c (__exp2l): Likewise.
24718 * math/w_fmodl.c (__fmodl): Likewise.
24719 * math/w_hypotl.c (__hypotl): Likewise.
24720 * math/w_j0l.c (__j0l, __y0l): Likewise.
24721 * math/w_j1l.c (__j1l, __y1l): Likewise.
24722 * math/w_jnl.c (__jnl, __ynl): Likewise.
24723 * math/w_lgammal.c (__lgammal): Likewise.
24724 * math/w_log10l.c (__log10l): Likewise.
24725 * math/w_log2l.c (__log2l): Likewise.
24726 * math/w_logl.c (__logl): Likewise.
24727 * math/w_powl.c (__powl): Likewise.
24728 * math/w_remainderl.c (__remainderl): Likewise.
24729 * math/w_scalbl.c (sysv_scalbl): Likewise.
24730 * math/w_sinhl.c (__sinhl): Likewise.
24731 * math/w_sqrtl.c (__sqrtl): Likewise.
24732 * math/w_tgammal.c (__tgammal): Likewise.
24733 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24734 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24735 * math/libm-test.inc (acos_test): Add more tests.
24736 (acosh_test): Likewise.
24737 (asin_test): Likewise.
24738 (atanh_test): Likewise.
24739 (exp_test): Likewise.
24740 (exp10_test): Likewise.
24741 (exp2_test): Likewise.
24742 (expm1_test): Likewise.
24743 (lgamma_test): Likewise.
24744 (log_test): Likewise.
24745 (log10_test): Likewise.
24746 (log1p_test): Likewise.
24747 (log2_test): Likewise.
24748 (pow_test): Do not allow some spurious overflow exceptions.
24749 (sqrt_test): Add more tests.
24750 (tgamma_test): Likewise.
24751 (y0_test): Likewise.
24752 (y1_test): Likewise.
24753 (yn_test): Likewise.
24754
dd62fda6
AB
247552012-03-27 Anton Blanchard <anton@samba.org>
24756
24757 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24758 MAP_HUGETLB.
24759 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24760 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24761 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24762
1e3cdfda
AJ
247632012-03-27 David S. Miller <davem@davemloft.net>
24764
b855ab85
DM
24765 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24766
1e3cdfda
AJ
24767 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24768 have-as-vis3 check.
24769
247702012-03-27 Andreas Jaeger <aj@suse.de>
24771
24772 * sysdeps/x86_64/elf/configure.in: Moved to ...
24773 * sysdeps/x86_64/configure.in: ... here.
24774 * sysdeps/x86_64/elf/start.S: Moved to ...
24775 * sysdeps/x86_64/start.S: ... here.
24776 * sysdeps/x86_64/elf/configure: Delete.
24777
24778 * sysdeps/x86_64/configure.in: Merge contents from
24779 sysdeps/i386/configure.in (without i686 check).
24780
24781 * sysdeps/i386/elf/Versions: Merge into ...
24782 * sysdeps/i386/Versions: ... this.
24783 * sysdeps/i386/elf/Versions: Delete file.
24784 * sysdeps/i386/elf/start.S: Moved to ...
24785 * sysdeps/i386/start.S: ...here.
24786 * sysdeps/i386/elf/configure.in: Merge into...
24787 * sysdeps/i386/configure.in: ...here.
24788 * sysdeps/i386/elf/configure.in: Delete file.
24789 * sysdeps/i386/elf/configure: Delete file.
24790
24791 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24792 * debug/backtracesyms.c: ... here.
24793 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24794 * debug/backtracesymsfd.c: ... here.
24795 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24796 * sysdeps/generic/ifunc-sel.h: ... here.
24797
24798 * sysdeps/unix/i386/start.c: Delete file.
24799 * sysdeps/unix/sparc/start.c: Delete file.
24800 * sysdeps/unix/start.c: Delete file.
24801
24802 * sysdeps/sh/elf/configure.in: Moved to ...
24803 * sysdeps/sh/configure.in: ... here.
24804 * sysdeps/sh/elf/start.S: Moved to ...
24805 * sysdeps/sh/start.S: ... here.
24806 * sysdeps/sh/elf/configure: Delete file.
24807
24808 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24809 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24810 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24811 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24812 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24813 * sysdeps/powerpc/powerpc64/start.S: here.
24814 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24815 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24816 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24817 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24818 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24819
24820 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24821 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24822 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24823 * sysdeps/powerpc/powerpc32/start.S: ... here.
24824 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24825 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24826 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24827
24828 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24829 * sysdeps/powerpc/ifunc-sel.h: ... here.
24830 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24831 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24832
24833 * sysdeps/sparc/elf/configure.in: Moved to ...
24834 * sysdeps/sparc/configure.in: ... here.
24835 * sysdeps/sparc/elf/configure: Delete file.
24836 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24837 * sysdeps/sparc/sparc32/start.S: ... here.
24838 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24839 * sysdeps/sparc/sparc64/start.S: ... here.
24840 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24841 * sysdeps/sparc/sparc32/Makefile: ... this.
24842 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24843 * sysdeps/sparc/sparc64/Makefile: ... this.
24844
24845 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24846 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24847 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24848 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24849 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24850 * sysdeps/s390/s390-32/setjmp.S: ... here.
24851 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24852 * sysdeps/s390/s390-32/configure.in: ... here.
24853 * sysdeps/s390/s390-32/elf/configure: Delete file.
24854 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24855 * sysdeps/s390/s390-32/start.S: ... here.
24856
24857 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24858 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24859 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24860 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24861 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24862 * sysdeps/s390/s390-64/setjmp.S: ... here.
24863 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24864 * sysdeps/s390/s390-64/configure.in: ... here
24865 * sysdeps/s390/s390-64/elf/configure: Delete file.
24866 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24867 * sysdeps/s390/s390-64/start.S: ... here.
24868 * sysdeps/s390/s390-64/elf/configure: Delete.
24869
24870 * configure.in: Remove support for elf directories in sysdeps.
24871
24872 * configure: Regenerated.
24873 * sysdeps/i386/configure: Regenerated.
24874 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24875 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24876 * sysdeps/s390/s390-32/configure: Regenerated.
24877 * sysdeps/s390/s390-64/configure: Regenerated.
24878 * sysdeps/sh/configure: Regenerated.
24879 * sysdeps/sparc/configure: Regenerated.
24880 * sysdeps/x86_64/configure: Regenerated.
24881
a3f61311
AS
248822012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24883
c876e002
AS
24884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24885
a3f61311
AS
24886 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24887 denormal result into account.
24888
ac4c54f0
RM
248892012-03-25 Roland McGrath <roland@hack.frob.com>
24890
24891 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24892 Reported by Allan McRae <allan@archlinux.org>.
24893
6a9b9c02
JL
248942012-03-23 Jeff Law <law@redhat.com>
24895
24896 * nss/getnssent.c (__nss_getent): Fix typo.
24897
4c42a0c1
DM
248982012-03-23 David S. Miller <davem@davemloft.net>
24899
24900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24901
1532c7ac
L
249022012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24903
24904 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24905 to pad to uint64_t for each field.
24906 (dl_tls_index): Replace unsigned long with uint64_t.
24907
3ff42526
PP
249082012-03-23 Daniel Jacobowitz <dmj@google.com>
24909 Paul Pluzhnikov <ppluzhnikov@google.com>
24910
24911 [BZ #6528]
24912 * grp/Makefile (otherlibs): Don't set it.
24913 * inet/Makefile (otherlibs): Likewise.
24914 * login/Makefile (otherlibs): Likewise.
24915 * nscd/Makefile (otherlibs): Likewise.
24916 * posix/Makefile (otherlibs): Likewise.
24917 * pwd/Makefile (otherlibs): Likewise.
24918 * rt/Makefile (otherlibs): Likewise.
24919 * sunrpc/Makefile (otherlibs): Likewise.
24920 * nss/Makefile (otherlibs): Likewise.
24921 Add libnss_files to routines and static-only-routines.
24922 ($(objpfx)getent): Remove rule.
24923 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24924 static-only-routines.
24925
7c69cd14
JM
249262012-03-22 Joseph Myers <joseph@codesourcery.com>
24927
24928 [BZ #13892]
24929 * math/s_cexp.c: Include <float.h>.
24930 (__cexp): Handle exp result overflowing not necessarily
24931 overflowing both real and imaginary parts of result.
24932 * math/s_cexpf.c: Likewise.
24933 * math/s_cexpl.c: Likewise.
24934 * math/libm-test.inc (cexp_test): Add more tests.
24935 * sysdeps/i386/fpu/libm-test-ulps: Update.
24936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24937
81b035fe
L
249382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24939
24940 * include/link.h (ELFW): New macro.
24941 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24942 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24943
1da7940c
L
249442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24945
24946 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24947 with uint64_t.
24948
b749dbb9
L
249492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24950
24951 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24952 declaration.
24953 (struct La_x32_retval): Likewise.
24954
2ff87f3f
L
249552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24956
24957 * sysdeps/x86_64/preconfigure.in: New file.
24958 * sysdeps/x86_64/preconfigure: New generated file.
24959
c0df8e69
JM
249602012-03-22 Joseph Myers <joseph@codesourcery.com>
24961
48e44791
JM
24962 [BZ #13824]
24963 * math/e_exp2l.c: Include <float.h>.
24964 (__ieee754_exp2l): Handle overflow and underflow cases
24965 separately. Only pass fractional part of argument to
24966 __ieee754_expl.
24967 * math/libm-test.inc (exp2_test): Add more tests.
24968
c0df8e69
JM
24969 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24970 negating x to take absolute value.
24971 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24972 Likewise.
24973 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24974 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24975 Likewise.
24976 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24977 computing low part if x was negated.
24978 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24979
c8e43ba7
L
249802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24981
24982 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24983 la_x32_gnu_pltexit.
24984 (pltexit): Cast int_retval to ptrdiff_t.
24985 * elf/tst-auditmod3b.c: Likewise.
24986 * elf/tst-auditmod4b.c: Likewise.
24987 * elf/tst-auditmod5b.c: Likewise.
24988 * elf/tst-auditmod6b.c: Likewise.
24989 * elf/tst-auditmod6c.c: Likewise.
24990 * elf/tst-auditmod7b.c: Likewise.
24991
24992 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24993 and x32_gnu_pltexit.
24994
24995 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24996 __ELF_NATIVE_CLASS.
24997 (La_x32_regs): New macro.
24998 (La_x32_retval): Likewise.
24999 (la_x32_gnu_pltenter): New function prototype.
25000 (la_x32_gnu_pltexit): Likewise.
25001
7998fa78
AS
250022012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25003
dcb33988
AS
25004 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25005 exponent.
25006
233fc563
AS
25007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25008
7998fa78
AS
25009 * configure.in (libc_cv_cc_nofma): Check for option to disable
25010 generation of FMA instructions.
25011 * configure: Regenerate.
25012 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25013 * sysdeps/ieee754/dbl-64/Makefile: New file.
25014 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25015 Remove brandred-fma4.
25016 (CFLAGS-brandred-fma4.c): Remove.
25017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25018 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25019 define.
25020 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25021 define.
25022
8e95c99a
L
250232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25024
25025 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25026 LLONG_MAX != LONG_MAX.
25027 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25028 (_fitoa_word): Likewise.
25029 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25030 LLONG_MAX != LONG_MAX.
25031 * stdio-common/_itowa.h: Include <_itoa.h>.
25032 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25033 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25034 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25035 only if not defined.
25036 (_ITOA_WORD_TYPE): Likewise.
25037 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25038 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25039
6f4db457
DM
250402012-03-21 David S. Miller <davem@davemloft.net>
25041
25042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25043
7785fe5a
L
250442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25045
25046 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25047 of x86_64 when setting libc_cv_slibdir, libdir and
25048 libc_cv_localedir.
25049 * sysdeps/unix/sysv/linux/configure: Regenerated.
25050
4535cd55
JM
250512012-03-21 Joseph Myers <joseph@codesourcery.com>
25052
25053 * manual/lang.texi (Old Varargs): Remove section.
25054 (How Variadic): Update menu.
25055 (va_start): Do not mention varargs.h.
25056
17228132
TS
250572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25058 Joseph Myers <joseph@codesourcery.com>
25059
25060 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25061 link test.
25062 * configure: Regenerated.
25063
8149f976
TS
250642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25065
05f3d1f6
UD
25066 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25067 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25068 conformtest.pl
8149f976 25069
1a4ac776
JM
250702012-03-21 Joseph Myers <joseph@codesourcery.com>
25071
be22ce65
JM
25072 * NOTES: Remove.
25073 * Makefile (files-for-dist): Remove NOTES.
25074 (NOTES): Remove rule.
25075 * README: Don't refer to NOTES.
25076 * manual/creature.texi: Don't include macros.texi.
25077 * manual/intro.texi (creature.texi): Remove comment referring to
25078 NOTES.
25079
40b601fb
JM
25080 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25081 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25082 * configure: Regenerated.
25083 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25084 LIBC_TRY_CC_OPTION.
25085 (libc_cv_as_i686): Likewise.
25086 (libc_cv_cc_avx): Likewise.
25087 (libc_cv_cc_sse2avx): Likewise.
25088 (libc_cv_cc_fma4): Likewise.
25089 (libc_cv_cc_novzeroupper): Likewise.
25090 * sysdeps/i386/configure: Regenerated.
25091
1a4ac776
JM
25092 [BZ #13883]
25093 * sysdeps/i386/fpu/s_cexp.S: Remove.
25094 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25095 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25096 * math/libm-test.inc (cexp_test): Add more tests.
25097 * sysdeps/i386/fpu/libm-test-ulps: Update.
25098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25099
a458e7fe
AM
251002012-03-21 Allan McRae <allan@archlinux.org>
25101
25102 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25103
0cb7efc5
JM
251042012-03-21 Joseph Myers <joseph@codesourcery.com>
25105
25106 [BZ #13871]
25107 * math/w_exp2.c: Do not include <float.h>.
25108 (o_threshold, u_threshold): Remove.
25109 (__exp2): Calculate result before checking finiteness and calling
25110 __kernel_standard.
25111 * math/w_exp2f.c: Likewise.
25112 * math/w_exp2l.c: Likewise.
25113 * math/libm-test.inc (exp2_test): Require overflow exception for
25114 1e6 input.
2460d3aa
JM
25115
25116 [BZ #3866]
25117 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25118 range of signed 64-bit integers before using fistpll. Remove
25119 checks for whether integers fit in mantissa bits.
25120 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25121 the range of signed 32-bit integers before using fistpl. Remove
25122 checks for whether integers fit in mantissa bits.
25123 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25124 (__ieee754_powl): Test for y outside the range of signed 64-bit
25125 integers before using fistpll. Reduce 64-bit values to 63-bit
25126 ones as needed.
25127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25128 divide-by-zero is raised for zero to large negative powers.
25129 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25130 (__ieee754_powl): Test for y outside the range of signed 64-bit
25131 integers before using fistpll. Reduce 64-bit values to 63-bit
25132 ones as needed.
25133 * math/libm-test.inc (pow_test): Add more tests.
25134
eb96ffb0
L
251352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25136
25137 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25138 <stdio-common/_itoa.h>.
25139 * debug/segfault.c: Likewise.
25140 * elf/dl-cache.c: Likewise.
25141 * elf/dl-minimal.c: Likewise.
25142 * elf/dl-misc.c: Likewise.
25143 * elf/dl-sysdep.c: Likewise.
25144 * elf/dl-version.c: Likewise.
25145 * elf/rtld.c: Likewise.
25146 * hurd/hurdsock.c: Likewise.
25147 * hurd/lookup-retry.c: Likewise.
25148 * malloc/malloc.c: Likewise.
25149 * malloc/mtrace.c: Likewise.
25150 * nscd/nscd_getgr_r.c: Likewise.
25151 * nscd/nscd_getpw_r.c: Likewise.
25152 * nscd/nscd_getserv_r.c: Likewise.
25153 * posix/getopt_init.c: Likewise.
25154 * posix/wordexp.c: Likewise.
25155 * stdio-common/_itoa.c: Likewise.
25156 * stdio-common/printf_fphex.c: Likewise.
25157 * stdio-common/vfprintf.c: Likewise.
25158 * string/_strerror.c: Likewise.
25159 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25160 * sysdeps/i386/i686/hp-timing.h: Likewise.
25161 * sysdeps/mach/_strerror.c: Likewise.
25162 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25163 * sysdeps/mach/hurd/sethostid.c: Likewise.
25164 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25165 * sysdeps/mach/xpg-strerror.c: Likewise.
25166 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25167 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25168 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25169 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25170 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25171 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25172 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25173 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25174 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25175 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25176 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25177 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25178 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25179 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25180 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25181 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25182 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25183 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25184 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25185 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25186 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25187
25188 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25189
25190 * stdio-common/_itoa.h: Moved to ...
25191 * sysdeps/generic/_itoa.h: Here.
25192
25193 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25194
25195 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25196 instead of "_itoa.h" and "_itowa.h".
25197 * stdio-common/vfprintf.: Likewise.
25198
d1af992d
L
251992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25200
25201 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25202 <bits/wordsize.h>.
25203 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25204 (__signbit): Likwise.
25205 (llrintf): Likwise.
25206 (llrint): Likwise.
25207
114883e0
L
252082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25209
25210 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25211 __WORDSIZE != 64.
25212
c135cc1b
JM
252132012-03-20 Joseph Myers <joseph@codesourcery.com>
25214
25215 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25216 OVERFLOW_EXCEPTION_OK.
25217 * math/libm-test.inc ("Philosophy"): Update comment about
25218 exception testing.
25219 (OVERFLOW_EXCEPTION): Define.
25220 (OVERFLOW_EXCEPTION_OK): Likewise.
25221 (INVALID_EXCEPTION_OK): Renumber.
25222 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25223 (IGNORE_ZERO_INF_SIGN): Likewise.
25224 (test_exceptions): Handle FE_OVERFLOW.
25225 (exp10_test): Expect overflow exceptions.
25226 (exp2_test): Likewise.
25227 (expm1_test): Likewise.
25228 (nextafter_test): Likewise.
25229 (pow_test): Likewise.
25230 (scalbn_test): Likewise.
25231 (scalbln_test): Likewise.
25232
95443d88
L
252332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25234
25235 * sysdeps/x86_64/bits/atomic.h
25236 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25237 64bit integer.
25238 (atomic_exchange_acq): Likewise.
25239 (__arch_exchange_and_add_body): Likewise.
25240 (__arch_add_body): Likewise.
25241 (atomic_add_negative): Likewise.
25242 (atomic_add_zero): Likewise.
25243
490df6c4
L
252442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25245
c2722551 25246 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25247 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25248
5e52b189
L
252492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25250
25251 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25252 Check __x86_64__ instead of __WORDSIZE.
25253
a9879d4c
L
252542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25255
25256 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25257
5df98260
DM
252582012-03-19 David S. Miller <davem@davemloft.net>
25259
e1497744
DM
25260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25261
5df98260
DM
25262 * sysdeps/sparc/fpu/fenv_private.h: New file.
25263 * sysdeps/sparc/fpu/math_private.h: Use it.
25264 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25265 Remove.
25266 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25267 (libc_feholdexcept_setroundl): Remove.
25268 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25269 Remove.
25270 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25271 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25272
b4c35121
L
252732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25274
25275 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25276 int64_t instead of long int.
25277 (INSERT_WORDS64): Likwise.
25278
56965fd7
L
252792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25280
25281 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25282 _Unwind_GetCFA return to _Unwind_Ptr first.
25283
83d1aec8
JM
252842012-03-19 Joseph Myers <joseph@codesourcery.com>
25285
1897ad44
JM
25286 [BZ #13629]
25287 * math/s_clog.c: Include <float.h>.
25288 (__clog): Scale large or subnormal inputs.
25289 * math/s_clogf.c: Likewise.
25290 * math/s_clogl.c: Likewise.
25291 * math/s_clog10.c: Include <float.h>.
25292 (M_LOG10_2): Define.
25293 (__clog10): Scale large or subnormal inputs.
25294 * math/s_clog10f.c: Likewise.
25295 * math/s_clog10l.c: Likewise.
25296 * math/libm-test.inc (clog_test): Add more tests.
25297 (clog10_test): Likewise.
25298 * sysdeps/i386/fpu/libm-test-ulps: Update.
25299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25300
7726d6a9
JM
25301 [BZ #11451]
25302 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25303 x and y.
25304 * math/libm-test.inc (atan2_test): Add another test.
25305
83d1aec8
JM
25306 * Makerules (common-objdir-compile): Remove.
25307 * sysdeps/unix/Makefile (config-generated): Do not add
25308 $(unix-generated) to variable.
25309 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25310 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25311 Remove rule.
25312 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25313 Likewise.
25314 [generic bits/local_lim.h] (before-compile): Do not append to
25315 variable.
25316 [generic bits/local_lim.h] (common-generated): Likewise.
25317 [generic sys/param.h] (before-compile): Do not append to variable.
25318 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25319 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25320 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25321 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25322 include.
25323 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25324 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25325 [generic sys/param.h] ($(addprefix
25326 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25327 [generic sys/param.h] (common-generated): Do not append to
25328 variable.
25329 [generic sys/param.h] (sysdep_headers): Likewise.
25330 [generic bits/errno.h] (before-compile): Do not append to
25331 variable.
25332 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25333 rule.
25334 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25335 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25336 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25337 [generic bits/errno.h] (common-generated): Do not append to
25338 variable.
25339 [generic bits/ioctls.h] (before-compile): Do not append to
25340 variable.
25341 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25342 rule.
25343 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25344 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25345 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25346 rule.
25347 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25348 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25349 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25350 [generic bits/ioctls.h] (common-generated): Do not append to
25351 variable.
25352 [generic sys/syscall.h] (syscall.h): Remove variable.
25353 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25354 rule.
25355 [generic sys/syscall.h] (before-compile): Do not append to
25356 variable.
25357 [generic sys/syscall.h] (common-generated): Likewise.
25358 * sysdeps/unix/errnos-tmpl.c: Remove file.
25359 * sysdeps/unix/errnos.awk: Likewise.
25360 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25361 * sysdeps/unix/ioctls.awk: Likewise.
25362 * sysdeps/unix/mk-local_lim.c: Likewise.
25363 * sysdeps/unix/snarf-ioctls: Likewise.
25364
4851a949
RH
253652012-03-19 Richard Henderson <rth@twiddle.net>
25366
bd37f2ee
RH
25367 * sysdeps/i386/fpu/fenv_private.h: New file.
25368 * sysdeps/i386/fpu/math_private.h: Use it.
25369 (math_opt_barrier, math_force_eval): Remove.
25370 (libc_feholdexcept_setround_53bit): Remove.
25371 (libc_feupdateenv_53bit): Remove.
25372 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25373 (math_opt_barrier, math_force_eval): Remove.
25374 (libc_feholdexcept): Remove.
25375 (libc_feholdexcept_setround): Remove.
25376 (libc_fetestexcept, libc_fesetenv): Remove.
25377 (libc_feupdateenv_test): Remove.
25378 (libc_feupdateenv, libc_feholdsetround): Remove.
25379 (libc_feresetround): Remove.
25380
d0adc922
RH
25381 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25382 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25383
0fe0f1f8
RH
25384 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25385 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25386 (libc_feupdateenv_testl): New.
25387 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25388 (libc_feupdateenv_testf): New.
25389 (libc_feupdateenv): Use libc_feupdateenv_test.
25390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25391 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25392
eb92c487
RH
25393 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25394 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25395 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25396 (libc_feresetround_noex): New.
25397 (libc_feresetround_noexf): New.
25398 (libc_feresetround_noexl): New.
25399 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25400 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25401 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25402 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25403 SET_RESTORE_ROUND.
25404 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25406 (__cos): Likewise.
25407 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25408 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25409 SET_RESTORE_ROUND_NOEX.
25410 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25411 SET_RESTORE_ROUND_NOEXF.
25412 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25413 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25414 (libc_feholdsetroundf): New.
25415 (libc_feresetround, libc_feresetroundf): New.
25416
7d2e8012
RH
25417 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25418 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25419 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25420
b4dabbb4
RH
25421 * sysdeps/generic/math_private.h: Include <fenv.h>.
25422 (default_libc_feholdexcept): New.
25423 (default_libc_feholdexcept_setround): New.
25424 (default_libc_fesetenv, default_libc_feupdateenv): New.
25425 (libc_feholdexcept): Only define if undefined.
25426 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25427 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25428 (libc_feholdexcept_setroundl): Likewise.
25429 (libc_feholdexcept_setround_53bit): Likewise.
25430 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25431 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25432 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25433 (libc_feupdateenv_53bit): Likewise.
25434 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25435 (libc_feholdexcept): Convert from macro to inline function.
25436 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25437 (libc_fesetenv, libc_feupdateenv): Likewise.
25438
4851a949
RH
25439 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25440 not previously defined.
25441 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25442 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25443 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25444 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25445 * sysdeps/ieee754/flt-32/math_private.h: New file.
25446 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25447 math_private.h below SET_FLOAT_WORD.
25448 (__isnan, __isinf_ns, __finite): Remove.
25449 (__isnanf, __isinf_nsf, __finitef): Remove.
25450
e79d442e
AS
254512012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25452
25453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25454
90b80344
DM
254552012-03-17 David S. Miller <davem@davemloft.net>
25456
25457 [BZ #6471]
25458 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25459 for 2.16.
25460
edc21804
DM
254612012-03-16 David S. Miller <davem@davemloft.net>
25462
77e927af
DM
25463 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25464 warnings.
25465
374976dd
DM
25466 [BZ #6471]
25467 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25468 properly.
25469 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25470 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25471 sysdep_routines when subdir is sysvipc.
25472 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25473 __getshmlba helper.
25474
edc21804
DM
25475 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25476
473c3ef3
L
254772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25478
25479 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25480 [__LP64__].
25481
eb0f39b6
L
254822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25483
25484 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25485 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25486 (__lround): Renamed to ...
25487 (__llround): This. Replace long int with long long int.
25488 Define lround functions as aliases of llround functions.
25489 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25490
6b6cd74b
L
254912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25492
25493 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25494 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25495 adresses to uintptr_t. Replace "long int" and "unsigned long
25496 int" with "greg_t" on va_arg.
25497
f1a77b01
L
254982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25499
25500 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25501 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25502
25503 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25504 Move e_machine check before EI_CLASS check. Handle x32
25505 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25506 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25507 SKIP_EM_IA_64 and include
25508 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25509
25510 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25511 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25512 (add_system_dir): New macro.
25513
25514 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25515 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25516
11b90b9f
JM
255172012-03-16 Joseph Myers <joseph@codesourcery.com>
25518
c36e1d23
JM
25519 [BZ #2551]
25520 [BZ #2552]
25521 [BZ #2553]
25522 [BZ #2554]
25523 [BZ #2562]
25524 [BZ #2563]
25525 [BZ #2565]
25526 [BZ #2566]
25527 [BZ #2576]
25528 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25529 (y0): Likewise.
25530 * math/w_j0f.c (j0f): Likewise.
25531 (y0f): Likewise.
25532 * math/w_j0l.c (__j0l): Likewise.
25533 (__y0l): Likewise.
25534 * math/w_j1.c (j1): Likewise.
25535 (y1): Likewise.
25536 * math/w_j1f.c (j1f): Likewise.
25537 (y1f): Likewise.
25538 * math/w_j1l.c (__j1l): Likewise.
25539 (__y1l): Likewise.
25540 * math/w_jn.c (jn): Likewise.
25541 (yn): Likewise.
25542 * math/w_jnf.c (jnf): Likewise.
25543 (ynf): Likewise.
25544 * math/w_jnl.c (__jnl): Likewise.
25545 (__ynl): Likewise.
25546 * math/libm-test.inc (j0_test): Add more tests.
25547 (j1_test): Likewise.
25548 (jn_test): Likewise. Add trailing semicolon to existing test.
25549 (y0_test): Likewise.
25550 (y1_test): Likewise.
25551 * sysdeps/i386/fpu/libm-test-ulps: Update.
25552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25553
11b90b9f
JM
25554 [BZ #13851]
25555 [BZ #13854]
25556 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25557 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25558 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25559 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25560 (__tanl): Set errno for infinite argument.
25561 * sysdeps/i386/fpu/mptan.c: Remove.
25562 * sysdeps/i386/fpu/s_tan.S: Likewise.
25563 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25564 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25565 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25566 * math/libm-test.inc (tan_test): Add more tests and enable more
25567 tests for double and long double.
25568 * sysdeps/i386/fpu/libm-test-ulps: Update.
25569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25570
6a1bd2a1
JK
255712012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25572
25573 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25574 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25575
10a803e0
RM
255762012-03-16 Roland McGrath <roland@hack.frob.com>
25577
25578 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25579 * configure.in: Use it for both main tree and add-ons.
25580 * configure: Regenerated.
25581
f196c7f7
L
255822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25585
8848d99d
JM
255862012-03-16 Joseph Myers <joseph@codesourcery.com>
25587
96cbe7f4
JM
25588 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25589 in comment.
25590
8848d99d
JM
25591 [BZ #13851]
25592 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25593 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25597 infinite argument.
25598 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25599 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25600 != 0 for prec == 2.
25601 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25602 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25603 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25604 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25605 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25606 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25607 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25608 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25609 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25610 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25611 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25612 * math/libm-test.inc (cos_test): Add more tests and enable more
25613 tests for long double.
25614 (sin_test): Likewise.
25615 (sincos_test): Likewise.
25616 * sysdeps/i386/fpu/libm-test-ulps: Update.
25617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25618
dd7f4703
DM
256192012-03-16 David S. Miller <davem@davemloft.net>
25620
25621 * sysdeps/sparc/fpu/math_private.h: New file.
25622
006f1daa
DM
256232012-03-15 David S. Miller <davem@davemloft.net>
25624
c0c83bc8
DM
25625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25626 file.
e6a62e18 25627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25629 file.
e6a62e18
DM
25630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25635 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25636 sysdep routines.
25637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25638
88cb87d9
DM
25639 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25640 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25641
006f1daa 25642 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25644 sparc-ifunc.h
006f1daa 25645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25647 Likewise.
25648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25649 Likewise.
006f1daa
DM
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25654 Likewise.
006f1daa
DM
25655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25660 Likewise.
25661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25662 Likewise.
006f1daa
DM
25663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25669 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25670 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25685 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25687
11e0098e
AS
256882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25689
25690 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25691 scaling.
25692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25693
e85b09d0
AJ
256942012-03-15 Andreas Jaeger <aj@suse.de>
25695
25696 [BZ #13852]
25697 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25698 ieee754/flt-32 implementation for sin, cos and sincos.
25699 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25700 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25701 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25702 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25703 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25704 ieee754/flt-32 implementation for tan.
25705
25706 * math/libm-test.inc (cos_test): Enable some large input tests for
25707 float as well
25708 (sin_test): Likewise.
25709 (sincos_test): Likewise.
25710 (tan_test): Add tests for large input.
25711
25712 * sysdeps/i386/fpu/libm-test-ulps: Update.
25713
81c64153
AJ
257142012-03-15 Andreas Jaeger <aj@suse.de>
25715
25716 [BZ #13658]
25717 * math/libm-test.inc (cos_test): Add more test cases.
25718 (sin_test): Likewise.
25719 (sincos_test): Likewise.
25720
7bbfa5c6
AJ
257212012-03-15 Andreas Jaeger <aj@suse.de>
25722
25723 [BZ #13837]
25724 * math/libm-test.inc (cos_test): Add a test case for large input
25725 value.
25726 (sin_test): Likewise.
25727 (sincos_test): Likewise.
25728
257292012-03-15 Andreas Jaeger <aj@suse.de>,
25730 Joseph Myers <joseph@codesourcery.com>
25731
25732 [BZ #13658]
0671f479 25733 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25734 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25735 * sysdeps/i386/fpu/branred.c: Likewise.
25736 * sysdeps/i386/fpu/dosincos.c: Likewise.
25737 * sysdeps/i386/fpu/mpa.c: Likewise.
25738 * sysdeps/i386/fpu/s_cos.S: Likewise.
25739 * sysdeps/i386/fpu/s_sin.S: Likewise.
25740 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25741 * sysdeps/i386/fpu/sincos32.c: Likewise.
25742
25743 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25744 Define.
25745 (libc_feupdateenv_53bit): Define.
25746 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25747 Define.
25748 (libc_feupdateenv_53bit): Define.
25749
25750 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25751 53 bit (without extend i386 double precision).
25752
25753 * math/libm-test.inc (sincos_test): Add tests for large input.
25754 (sin): Likewise.
25755 (cos): Likewise.
25756
25757 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25758
9cad04ea
AS
257592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25760
25761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25762
f7062b9a
DM
257632012-03-15 David S. Miller <davem@davemloft.net>
25764
25765 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25766 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25767 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25768 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25781 file.
f7062b9a 25782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25784 file.
f7062b9a 25785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25787 file.
f7062b9a 25788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25790 file.
f7062b9a
DM
25791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25793 fmin/fmax sysdep routines.
25794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25795
7bd951ff
DM
257962012-03-14 David S. Miller <davem@davemloft.net>
25797
559398ab
DM
25798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25805 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25824 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25826 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25827 routines.
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25829 file.
559398ab 25830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25832 file.
559398ab 25833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25835 file.
559398ab 25836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25838 file.
559398ab 25839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25841 file.
559398ab 25842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25844 file.
25845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25846 file.
25847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25848 file.
25849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25850 file.
25851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25852 New file.
25853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25854 file.
25855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25856 file.
559398ab 25857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25859 file.
559398ab 25860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25862 file.
559398ab 25863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25865 file.
559398ab 25866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25868 VIS3 routines.
559398ab
DM
25869
25870 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25871 New file.
25872
5a1c1e32
DM
25873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25874
eae47a36
DM
25875 * sysdeps/sparc/configure.in: New file.
25876 * sysdeps/sparc/configure: Generate.
25877 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25878 * configure: Regenerate.
25879 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25880 * config.make.in (have-as-vis3): New.
25881 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25882 available use -Av9d instead of -Av9a.
25883 * sysdeps/sparc/sparc64/Makefile: Likewise.
25884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25886 New file.
25887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25888 file.
25889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25890 New file.
25891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25892 file.
eae47a36
DM
25893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25894 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25898
c0c83bc8
DM
25899 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25900 fzeros/fnegs to load 0x80000000 into a float register instead of
25901 using the stack.
7bd951ff
DM
25902 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25903
bd951ccb
JM
259042012-03-14 Joseph Myers <joseph@codesourcery.com>
25905
25906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25907 bits/syscall.h.
25908 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25909 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25910 ($(inst_includedir)/bits/syscall.h): Remove rule.
25911 ($(objpfx)bits/syscall.d): Include instead of
25912 $(objpfx)syscall-list.d.
25913 (generated): Change syscall-list.h and syscall-list.d to
25914 bits/syscall.h and bits/syscall.d.
25915
bb4e6db2
RM
259162012-03-14 Roland McGrath <roland@hack.frob.com>
25917
25918 [BZ #13846]
25919 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25920
aa4a2ae1
JM
259212012-03-14 Joseph Myers <joseph@codesourcery.com>
25922
e456826d
JM
25923 [BZ #13841]
25924 * math/s_csqrt.c: Include <float.h>.
25925 (__csqrt): Scale large or subnormal inputs.
25926 * math/s_csqrtf.c: Likewise.
25927 * math/s_csqrtl.c: Likewise.
25928 * math/libm-test.inc (csqrt_test): Add more tests.
25929 * sysdeps/i386/fpu/libm-test-ulps: Update.
25930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25931
aa4a2ae1
JM
25932 [BZ #13840]
25933 * math/libm-test.inc (hypot_test): Add more tests.
25934
7c10fd35
DM
259352012-03-13 David S. Miller <davem@davemloft.net>
25936
25937 [BZ #13840]
25938 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25939 double-precision for the calculation instead of scaling.
25940
f453b98b
JM
259412012-03-13 Joseph Myers <joseph@codesourcery.com>
25942
25943 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25944 manipulate bits before adding and subtracting TWO52[sx].
25945 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25946 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25947 Likewise.
25948 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25949
09a3453f
DM
259502012-03-13 David S. Miller <davem@davemloft.net>
25951
8e59da90
DM
25952 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25953 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25955 rtld-global-offsets.h
25956 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25957
2a8ab7f2
DM
25958 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25959 large parameters.
25960
10f62770
DM
25961 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25962
5f0bdb18
DM
25963 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25964 'err' in the ifdef scope in which it is actually used.
25965
09a3453f
DM
25966 * nss/nss_db/db-init.c: Include string.h
25967
b4b2eb5e
DM
259682012-03-12 David S. Miller <davem@davemloft.net>
25969
98bb2f1c
DM
25970 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25971 masking out of the most significant byte of random value used.
25972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25973 Fix coding style in previous change.
25974
b4b2eb5e
DM
25975 * sysdeps/unix/sysv/linux/kernel-features.h
25976 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25977 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25978 expression.
25979 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25980 later.
25981
6e226b09
DM
259822012-03-11 David S. Miller <davem@davemloft.net>
25983
a1bcbd40
DM
25984 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25985 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25986 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25987 for 'resultvar' otherwise things get truncated on 64-bit.
25988
cb9d6174
DM
25989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25990 Fix masking out of the most significant byte of random value used.
25991
6e226b09
DM
25992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25993
058c132d
AS
259942012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25995
25996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25997
2d2cd515
DM
259982012-03-09 David S. Miller <davem@davemloft.net>
25999
26000 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26001 variables with appropriate CPP guards.
26002 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26003 frame pointer, not the stack pointer. Correct layout comments. Fix test
26004 on resulting framesize and the management of the outregs buffer for pltexit.
26005 Preserve floating point return values across _dl_call_pltexit call.
26006 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26007 framesize and the management of the outregs buffer for pltexit.
26008 Preserve floating point return values across _dl_call_pltexit
26009 call.
26010 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26011 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26012 (print_exit): Fix format string for return register value.
26013
9a07f9d0
JM
260142012-03-10 Joseph Myers <joseph@codesourcery.com>
26015
26016 * sunrpc/Makefile (others): Add rpcgen.
26017 ($(objpfx)rpcgen): Remove special build rule and dependency on
26018 libc.
26019 * sunrpc/rpcgen.c: New file.
26020
547b5e30
PE
260212012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26022
c524201a
PE
26023 [BZ #13673]
26024 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26025 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26026 * sysdeps/i386/crti.S: Likewise.
26027 * sysdeps/i386/crtn.S: Likewise.
26028 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26029 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26030 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26031 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26032 * sysdeps/sh/crti.S: Likewise.
26033 * sysdeps/sh/crtn.S: Likewise.
26034 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26035
7b6235f2
PE
26036 [BZ #13673]
26037 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26038 with URL.
26039 * locale/programs/locfile-kw.gperf: Likewise.
26040 * locale/programs/charmap-kw.h: Regenerated.
26041 * locale/programs/locfile-kw.h: Likewise.
26042
547b5e30
PE
26043 [BZ #13673]
26044 * intl/plural.y: Replace FSF snail mail address with URL.
26045 * intl/plural.c: Regenerated.
26046
5f0a5dae
RH
260472012-03-09 Richard Henderson <rth@twiddle.net>
26048
26049 * include/math_private.h: Remove file.
26050 * math/math_private.h: Move file ...
26051 * sysdeps/generic/math_private.h: ... here.
26052
b8c03620
RH
26053 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26054 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26055 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26056
4e234f5d 26057 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26058 and <math_private.h>.
26059 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26060 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26061 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26062 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26063 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26133 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26147 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26148 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26149 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26150 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26151 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26152 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26153 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26154 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26155 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26159 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26160 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26162 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26164 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26166 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26169 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26170 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26171 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26173 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26174 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26177 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26178 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26180 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26181 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26182 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26183 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26184 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26185 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26186 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26187 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26188 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26189 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26190 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26191 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26192 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26193 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26194 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26196 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26197 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26198 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26199 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26200 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26201 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26202 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26203 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26204 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26205 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26206 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26207 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26208 * sysdeps/ieee754/k_standard.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26235 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26236 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26237 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26240 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26242 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26243 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26328 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26329 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26331 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26353 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26357 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26358 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26359 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26369 * sysdeps/ieee754/s_lib_version.c: Likewise.
26370 * sysdeps/ieee754/s_matherr.c: Likewise.
26371 * sysdeps/ieee754/s_signgam.c: Likewise.
26372 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26373 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26374 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26375 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26376 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26377 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26378 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26379 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26380 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26381 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26382 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26383 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26384 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26385 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26386 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26387 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26388 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26389 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26390 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26391 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26392 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26393
1991fa03
JM
263942012-03-09 Joseph Myers <joseph@codesourcery.com>
26395
26396 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26397 * sunrpc/rpc_main.c: Likewise.
26398 * sunrpc/rpc_svcout.c: Likewise.
26399
60d6f5a6
DM
264002012-03-09 David S. Miller <davem@davemloft.net>
26401
26402 * include/math_private.h: New file.
26403
4962050e
JM
264042012-03-09 Joseph Myers <joseph@codesourcery.com>
26405
02a6f887
JM
26406 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26407 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26408 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26409 from <bits/socket_type.h>.
26410 (enum __socket_type): Don't define here.
26411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26413 bits/socket_type.h.
26414
c6e013c1
JM
26415 [BZ #13566]
26416 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26417 checking __USE_GNU.
26418
4962050e
JM
26419 * Makerules ($(inst_includedir)/%.h): New rule.
26420 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26421 (install-others): Remove variable setting.
26422 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26423
38842f45
RH
264242012-03-08 Richard Henderson <rth@twiddle.net>
26425
67bb6da6
RH
26426 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26427 from macro to inline function; merge with the
26428 !__LIBC_INTERNAL_MATH_INLINES version.
26429 (__ieee754_sqrtf): Likewise.
26430
15194b4b
RH
26431 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26432 to inline function.
26433 (__rintf, __floor, __floorf): Likewise.
26434
64e21ede
RH
26435 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26436 macro to inline function.
26437 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26438
38842f45
RH
26439 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26440 not <math/math_private.h>.
26441
c64bf5fe
DM
264422012-03-08 David S. Miller <davem@davemloft.net>
26443
26444 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26445 copyright year.
26446 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26447
82d86f28
TS
264482012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26449
26450 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26451 normalization.
26452 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26453 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26454
aea5d727
UD
264552012-03-08 Ulrich Drepper <drepper@gmail.com>
26456
26457 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26458 be defined individually, they must be defined as a block. Define
26459 S for printing a string instead of hidint the different by using a
26460 macro for adding the 'l'.
26461 * stdio-common/tst-fphex-wide.c: Adjust.
26462
70bca0a3
MP
264632012-03-07 Marek Polacek <polacek@redhat.com>
26464
26465 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26466
65b81130
MP
264672012-03-08 Marek Polacek <polacek@redhat.com>
26468
26469 [BZ #13806]
26470 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26471 * stdio-common/tst-fphex.c: Define a few macros to make the
26472 test reusable. Use them.
26473 * stdio-common/tst-fphex-wide.c: New file.
26474
07037eeb
JM
264752012-03-08 Joseph Myers <joseph@codesourcery.com>
26476
a7a93d50
JM
26477 [BZ #6911]
26478 * manual/macros.texi (gnusystems): New macro.
26479 (nongnusystems): Likewise.
26480 (gnulinuxhurdsystems): Likewise.
26481 (gnuhurdsystems): Likewise..
26482 (gnulinuxsystems): Likewise.
26483 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26484 variants of the GNU system, not "GNU system".
26485 * manual/conf.texi: Likewise.
26486 * manual/errno.texi: Likewise. Update example of errno macro
26487 expansion.
26488 * manual/filesys.texi: Likewise.
26489 (getumask): Document as specific to GNU/Hurd.
26490 * manual/install.texi: Likewise. Reword some references to
26491 GNU/Linux.
26492 * manual/intro.texi: Likewise.
26493 * manual/io.texi: Likewise.
26494 (File Name Portability): Detail which constraints are inapplicable
26495 to all GNU systems and which are only inapplicable to GNU/Hurd.
26496 * manual/job.texi: Likewise.
26497 * manual/llio.texi: Likewise.
26498 (O_NOCTTY): Document as present on GNU/Linux.
26499 * manual/maint.texi: Likewise.
26500 * manual/memory.texi: Likewise.
26501 * manual/pattern.texi: Likewise.
26502 * manual/pipe.texi: Likewise.
26503 * manual/process.texi: Likewise.
26504 * manual/resource.texi: Likewise.
26505 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26506 child on GNU/Hurd.
26507 * manual/setjmp.texi: Likewise.
26508 * manual/signal.texi: Likewise.
26509 * manual/startup.texi: Likewise.
26510 * manual/stdio.texi: Likewise.
26511 * manual/terminal.texi: Likewise.
26512 (ONLCR): Document as POSIX.
26513 (OXTABS): Document availability on GNU/Linux as XTABS.
26514 (ONOEOT): Document availability separately from other bits.
26515 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26516 * manual/time.texi: Likewise.
26517 * manual/users.texi: Likewise.
26518 * INSTALL: Regenerated.
26519 * sysdeps/gnu/errlist.c: Regenerated.
26520
07037eeb
JM
26521 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26522 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26523 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26524 puts.
26525 * configure: Regenerated.
26526
d1d3431a
JM
265272012-03-07 Joseph Myers <joseph@codesourcery.com>
26528
af6a1e37
JM
26529 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26530 default includes instead of AC_HEADER_CHECK.
26531 * sysdeps/i386/configure: Regenerated.
26532
d1d3431a
JM
26533 [BZ #10716]
26534 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26535 * math/s_cacoshf.c (__cacoshf): Likewise.
26536 * math/s_cacoshl.c (__cacoshl): Likewise.
26537 * math/s_casinh.c (__casinh): Set signs of result from argument.
26538 * math/s_casinhf.c (__casinhf): Likewise.
26539 * math/s_casinhl.c (__casinhl): Likewise.
26540 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26541 (casinh_test): Add more tests.
26542 * sysdeps/i386/fpu/libm-test-ulps: Update.
26543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26544
482ff4da
UD
265452012-03-07 Ulrich Drepper <drepper@gmail.com>
26546
872fda05
UD
26547 * po/zh_TW.po: Update from translation team.
26548
a4300c7a
UD
26549 * login/Makefile (distribute): Remove variable.
26550 * catgets/Makefile: Likewise.
26551 * mach/Makefile: Likewise.
26552 * malloc/Makefile: Likewise.
26553 * misc/Makefile: Likewise.
26554 * iconv/Makefile: Likewise.
26555 * nscd/Makefile: Likewise.
26556 * hurd/Makefile: Likewise.
26557 * manual/Makefile: Likewise.
26558 * locale/Makefile: Likewise.
26559 * intl/Makefile: Likewise.
26560 * conform/Makefile: Likewise.
26561 * nss/Makefile: Likewise.
26562 * time/Makefile: Likewise.
26563 * soft-fp/Makefile: Likewise.
26564 * dirent/Makefile: Likewise.
26565 * gmon/Makefile: Likewise.
26566 * po/Makefile: Likewise.
26567 * rt/Makefile: Likewise.
26568 * socket/Makefile: Likewise.
26569 * math/Makefile: Likewise.
26570 * signal/Makefile: Likewise.
26571 * debug/Makefile: Likewise.
26572 * elf/Makefile: Likewise.
26573 * timezone/Makefile: Likewise.
26574 * stdlib/Makefile: Likewise.
26575 * iconvdata/Makefile: Likewise.
26576 * sunrpc/Makefile: Likewise.
26577 * io/Makefile: Likewise.
26578 * argp/Makefile: Likewise.
26579 * inet/Makefile: Likewise.
26580 * hesiod/Makefile: Likewise.
26581 * grp/Makefile: Likewise.
26582 * csu/Makefile: Likewise.
26583 * wctype/Makefile: Likewise.
26584 * crypt/Makefile: Likewise.
26585 * libio/Makefile: Likewise.
26586 * string/Makefile: Likewise.
26587 * nis/Makefile: Likewise.
26588 * resolv/Makefile: Likewise.
26589 * stdio-common/Makefile: Likewise.
26590 * wcsmbs/Makefile: Likewise.
26591 * dlfcn/Makefile: Likewise.
26592 * posix/Makefile: Likewise.
26593
3b7c4e74 26594 [BZ #6959]
482ff4da
UD
26595 * timezone/Makefile: Don't install timezone files, just the programs
26596 and scripts.
26597
f72ed77d
UD
265982012-03-06 Ulrich Drepper <drepper@gmail.com>
26599
a000466f
UD
26600 * nss/databases.def: Add missing gshadow entry.
26601
f72ed77d
UD
26602 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26603
a53b7a4e
MP
266042012-03-06 Marek Polacek <polacek@redhat.com>
26605
26606 [BZ #13726]
26607 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26608 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26609 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26610 * stdio-common/tst-long-dbl-fphex.c: New file.
26611
e9258400
DM
266122012-03-06 David S. Miller <davem@davemloft.net>
26613
26614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26615 (set_obp_int): New function.
26616 (get_obp_int): New function.
26617 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26619 Avoid unused variable warnings on 'val' and use builtin_expect.
26620 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26621 __builtin_expect.
e9258400
DM
26622 (INLINE_CLONE_SYSCALL): Likewise.
26623
3bd2c723
DM
266242012-03-05 David S. Miller <davem@davemloft.net>
26625
26626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26627
bbb78d03
AS
266282012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26629
884c5db4
AS
26630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26631
bbb78d03
AS
26632 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26633 only for |x| >= 40.
26634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26635
1c9f702a 266362012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26637
26638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26639 Replace gettimeofday with __vdso_gettimeofday.
26640
7be16f82
RM
26641 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26642 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26643 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26644
26645 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26646 time with __vdso_time.
26647
ed58a00f
JM
266482012-03-05 Joseph Myers <joseph@codesourcery.com>
26649
26650 * manual/lang.texi (size_t): Note types to which size_t may be
26651 equivalent with the GNU C Library, but do not describe when
26652 differences between them are significant.
26653
30ee4ced
AJ
266542012-03-05 Andreas Jaeger <aj@suse.de>
26655
26656 * sysdeps/i386/fpu/libm-test-ulps: Update.
26657
b7cd39e8
JM
266582012-03-05 Joseph Myers <joseph@codesourcery.com>
26659
26660 [BZ #3976]
26661 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26662 (__ieee754_pow): Save and restore rounding mode and use
26663 round-to-nearest for main computations.
26664 * math/libm-test.inc (pow_test_tonearest): New function.
26665 (pow_test_towardzero): Likewise.
26666 (pow_test_downward): Likewise.
26667 (pow_test_upward): Likewise.
26668 (main): Call the new functions.
26669 * sysdeps/i386/fpu/libm-test-ulps: Update.
26670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26671
26672 [BZ #3976]
26673 * math/libm-test.inc (cosh_test_tonearest): New function.
26674 (cosh_test_towardzero): Likewise.
26675 (cosh_test_downward): Likewise.
26676 (cosh_test_upward): Likewise.
26677 (sinh_test_tonearest): Likewise.
26678 (sinh_test_towardzero): Likewise.
26679 (sinh_test_downward): Likewise.
26680 (sinh_test_upward): Likewise.
26681 (main): Call the new functions.
26682 * sysdeps/i386/fpu/libm-test-ulps: Update.
26683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26684
6c6a98c9
TV
266852012-03-05 Tom de Vries <tom@codesourcery.com>
26686
26687 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26688 default stack guard is set in last bytes.
26689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26690
21bb2d2e 266912012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26692
21bb2d2e 26693 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26694
21bb2d2e
AJ
26695 [BZ #13656]
26696 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26697 possibly allocate from heap instead of stack.
26698 * stdio-common/bug-vfprintf-nargs.c: New file.
26699 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26700
c6922934
AS
267012012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26702
26703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26704
bc957d53
MP
267052012-03-03 Marek Polacek <polacek@redhat.com>
26706
26707 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26708 * math/math_private.h: Likewise.
26709 * stdlib/tst-strtod.c: Likewise.
26710 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26711 * sysdeps/x86_64/bits/atomic.h: Likewise.
26712
6358490d
DM
267132012-03-02 David S. Miller <davem@davemloft.net>
26714
26715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26719 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26720 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26721 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26722 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26723
01ae168d
RM
267242012-03-02 Roland McGrath <roland@hack.frob.com>
26725
d9a17c07
RM
26726 [BZ #13792]
26727 * manual/examples/README: New file, says the example source files
26728 can be used under GPL>=2.
26729 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26730 line containing just "*/".
26731 * manual/examples/add.c: Add copyright header (GPL>=2).
26732 * manual/examples/argp-ex1.c: Likewise.
26733 * manual/examples/argp-ex2.c: Likewise.
26734 * manual/examples/argp-ex3.c: Likewise.
26735 * manual/examples/argp-ex4.c: Likewise.
26736 * manual/examples/atexit.c: Likewise.
26737 * manual/examples/db.c: Likewise.
26738 * manual/examples/dir.c: Likewise.
26739 * manual/examples/dir2.c: Likewise.
26740 * manual/examples/execinfo.c: Likewise.
26741 * manual/examples/filecli.c: Likewise.
26742 * manual/examples/filesrv.c: Likewise.
26743 * manual/examples/fmtmsgexpl.c: Likewise.
26744 * manual/examples/genpass.c: Likewise.
26745 * manual/examples/inetcli.c: Likewise.
26746 * manual/examples/inetsrv.c: Likewise.
26747 * manual/examples/isockad.c: Likewise.
26748 * manual/examples/longopt.c: Likewise.
26749 * manual/examples/memopen.c: Likewise.
26750 * manual/examples/memstrm.c: Likewise.
26751 * manual/examples/mkfsock.c: Likewise.
26752 * manual/examples/mkisock.c: Likewise.
26753 * manual/examples/mygetpass.c: Likewise.
26754 * manual/examples/pipe.c: Likewise.
26755 * manual/examples/popen.c: Likewise.
26756 * manual/examples/rprintf.c: Likewise.
26757 * manual/examples/search.c: Likewise.
26758 * manual/examples/select.c: Likewise.
26759 * manual/examples/setjmp.c: Likewise.
26760 * manual/examples/sigh1.c: Likewise.
26761 * manual/examples/sigusr.c: Likewise.
26762 * manual/examples/stpcpy.c: Likewise.
26763 * manual/examples/strdupa.c: Likewise.
26764 * manual/examples/strftim.c: Likewise.
26765 * manual/examples/strncat.c: Likewise.
26766 * manual/examples/subopt.c: Likewise.
26767 * manual/examples/swapcontext.c: Likewise.
26768 * manual/examples/termios.c: Likewise.
26769 * manual/examples/testopt.c: Likewise.
26770 * manual/examples/testpass.c: Likewise.
26771 * manual/examples/timeval_subtract.c: Likewise.
26772
01ae168d
RM
26773 [BZ #13792]
26774 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26775 function to ...
26776 * manual/timeval_subtract.c.texi: ... here, new file.
26777
49efa33d
DM
267782012-03-02 David S. Miller <davem@davemloft.net>
26779
26780 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26781
28afd92d
JM
267822012-03-02 Joseph Myers <joseph@codesourcery.com>
26783
804360ed
JM
26784 [BZ #3976]
26785 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26786 (__sin): Save and restore rounding mode and use round-to-nearest
26787 for all computations.
26788 (__cos): Save and restore rounding mode and use round-to-nearest
26789 for all computations.
26790 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26791 <fenv.h>.
26792 (tan): Save and restore rounding mode and use round-to-nearest for
26793 all computations.
26794 * math/libm-test.inc (cos_test_tonearest): New function.
26795 (cos_test_towardzero): Likewise.
26796 (cos_test_downward): Likewise.
26797 (cos_test_upward): Likewise.
26798 (sin_test_tonearest): Likewise.
26799 (sin_test_towardzero): Likewise.
26800 (sin_test_downward): Likewise.
26801 (sin_test_upward): Likewise.
26802 (tan_test_tonearest): Likewise.
26803 (tan_test_towardzero): Likewise.
26804 (tan_test_downward): Likewise.
26805 (tan_test_upward): Likewise.
26806 (main): Call the new functions.
26807 * sysdeps/i386/fpu/libm-test-ulps: Update.
26808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809
a6d06d7b
JM
26810 [BZ #10135]
26811 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26812 small n, then large n, before computing and testing k+n.
26813 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26814 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26815 Likewise.
26816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26817 Likewise.
26818 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26819 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26820 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26821 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26825 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26826 * math/libm-test.inc (scalbn_test): Add more tests.
26827 (scalbln_test): Likewise.
26828
07e12bb3
JM
26829 * manual/filesys.texi (mode_t): Describe constraints on size and
26830 signedness, not exact equivalence to a particular type.
26831 (ino_t): Likewise.
26832 (ino64_t): Likewise.
26833 (dev_t): Likewise.
26834 (nlink_t): Likewise.
26835 (blkcnt_t): Likewise.
26836 (blkcnt64_t): Likewise.
26837 * manual/llio.texi (off_t): Likewise.
26838
28afd92d
JM
26839 [BZ #3976]
26840 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26841 (__ieee754_exp): Save and restore rounding mode and use
26842 round-to-nearest for all computations.
26843 * math/libm-test.inc (exp_test_tonearest): New function.
26844 (exp_test_towardzero): Likewise.
26845 (exp_test_downward): Likewise.
26846 (exp_test_upward): Likewise.
26847 (main): Call the new functions.
26848 * sysdeps/i386/fpu/libm-test-ulps: Update.
26849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26850
b1eeb65d
CD
268512012-03-01 Chris Demetriou <cgd@google.com>
26852
26853 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26854 have predictable order.
26855
53362a4b
DM
268562012-03-01 David S. Miller <davem@davemloft.net>
26857
3c969083
DM
26858 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26859
759707de
DM
26860 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26861 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26862 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26863 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26864
dfdb8ff2
DM
26865 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26866 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26867 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26869 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26870 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26871 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26872 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26873 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26874
ead89f96
DM
26875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26876
7f66bd07
DM
26877 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26878 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26879 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26880
53362a4b
DM
26881 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26882 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26883 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26884 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26885 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26886 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26887 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26888 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26889 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26890 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26891 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26894 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26895 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26897 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26898 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26899 * sysdeps/sparc/elf/configure: Regenerated.
26900
7b1902cb
JM
269012012-03-01 Joseph Myers <joseph@codesourcery.com>
26902
bec039bc
JM
26903 * configure.in (AS, LD): Require binutils 2.20 or later.
26904 * configure: Regenerated.
26905 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26906 as required minimum version.
26907 * INSTALL: Regenerated.
26908
7b1902cb
JM
26909 [BZ #2541]
26910 [BZ #4108]
26911 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26912 before squaring exponent.
26913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26914 bottom long double and 27 bits of top long double before squaring
26915 exponent.
26916 * math/libm-test.inc (erfc_test): Add more tests.
26917 * sysdeps/i386/fpu/libm-test-ulps: Update.
26918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26920
f775c276
KT
269212012-03-01 Kai Tietz <ktietz@redhat.com>
26922
26923 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26924 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26925 containing bit-fields.
26926 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26927 * soft-fp/single.h (_FP_UNION_S): Likewise.
26928 * soft-fp/double.h (_FP_UNION_D): Likewise.
26929
5b8a4d4a
JM
269302012-02-29 Joseph Myers <joseph@codesourcery.com>
26931
0bab47b6
JM
26932 [BZ #13786]
26933 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26934 not include ../strcmp.S.
26935 [USE_AS_STRNCASECMP_L]: Likewise.
26936 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26937 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26938 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26939 (__strncasecmp_l_ia32): Define as alias to
26940 __strncasecmp_l_nonascii.
26941
0fcad3e2
JM
26942 [BZ #5794]
26943 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26944 * sysdeps/i386/fpu/libm-test-ulps: Update.
26945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26946
5b8a4d4a
JM
26947 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26949
8fdceb2e
JL
269502012-02-29 Jeff Law <law@redhat.com>
26951
26952 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26953 out of bounds read.
26954
1f393a11
MP
269552012-02-29 Marek Polacek <polacek@redhat.com>
26956
26957 [BZ #13706]
26958 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26959 * elf/Makefile: Add rules to run tst-unused-dep.out.
26960
8847f037
DM
269612012-02-28 David S. Miller <davem@davemloft.net>
26962
26963 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26964 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26965 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26966 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26967 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26968 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26969
169d7f11
JM
269702012-02-29 Joseph Myers <joseph@codesourcery.com>
26971
26972 * math/libm-test.inc (llround_test): Move one test from
26973 lround_test. Use TEST_f_L in moved test.
26974 (lround_test): Move misplaced test to llround_test. Add testcase
26975 from bug 2561.
26976
39adf059
UD
269772012-02-28 Ulrich Drepper <drepper@gmail.com>
26978
26979 * sysdeps/x86_64/fpu/e_expf.S: New file.
26980 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26981
71b5d1c5
SB
269822012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26983
26984 [BZ #13637]
26985 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26986 of remain_len that may cause incomplete multi-byte character and
26987 false match.
26988 * posix/bug-regex33.c: New file.
26989 * posix/Makefile (tests): Add bug-regex33.
26990
1f77f049
JM
269912012-02-28 Joseph Myers <joseph@codesourcery.com>
26992
26993 * manual/macros.texi: New file.
26994 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26995 * manual/libc.texinfo: Include macros.texi.
26996 * manual/creatute.texi: Likewise.
26997 * manual/install.texi: Likewise.
26998 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26999 @glibcadj{} in references to the GNU C Library.
27000 * manual/charset.texi: Likewise.
27001 * manual/conf.texi: Likewise.
27002 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27003 when not using those macros.
27004 * manual/creature.texi: Likewise.
27005 * manual/crypt.texi: Likewise.
27006 * manual/errno.texi: Likewise.
27007 * manual/filesys.texi: Likewise.
27008 * manual/header.texi: Likewise.
27009 * manual/install.texi: Likewise.
27010 * manual/intro.texi: Likewise.
27011 * manual/io.texi: Likewise.
27012 * manual/job.texi: Likewise.
27013 * manual/lang.texi: Likewise.
27014 * manual/libc.texiinfo: Likewise.
27015 * manual/llio.texi: Likewise.
27016 * manual/locale.texi: Likewise.
27017 * manual/maint.texi: Likewise.
27018 * manual/math.texi: Likewise.
27019 * manual/memory.texi: Likewise.
27020 * manual/message.texi: Likewise.
27021 * manual/nss.texi: Likewise.
27022 * manual/pattern.texi: Likewise.
27023 * manual/process.texi: Likewise.
27024 * manual/resource.texi: Likewise.
27025 * manual/search.texi: Likewise.
27026 * manual/setjmp.texi: Likewise.
27027 * manual/signal.texi: Likewise.
27028 * manual/socket.texi: Likewise.
27029 * manual/startup.texi: Likewise.
27030 * manual/stdio.texi: Likewise.
27031 * manual/string.texi: Likewise.
27032 * manual/sysinfo.texi: Likewise.
27033 * manual/syslog.texi: Likewise.
27034 * manual/terminal.texi: Likewise.
27035 * manual/time.texi: Likewise.
27036 * manual/users.texi: Likewise.
27037 * INSTALL: Regenerated.
27038 * NOTES: Regenerated.
d40c5d54 27039 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27040
450bf206
AS
270412012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27042
27043 * include/dirent.h: Include <dirstream.h> before
27044 <dirent/dirent.h>.
27045
741a235b
DM
270462012-02-28 David S. Miller <davem@davemloft.net>
27047
27048 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27049 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27050 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27051 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27052
d6b5aa58
DM
270532012-02-27 David S. Miller <davem@davemloft.net>
27054
1aff59a3
DM
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27057 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27058 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27059
d6b5aa58
DM
27060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27061 frame pointer instead of stack pointer relative arg slot.
27062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27063 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27064 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27065
433f48bf
CD
270662012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27067
27068 [BZ #3992]
27069 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27070
d674b76d
DM
270712012-02-27 David S. Miller <davem@davemloft.net>
27072
27073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27077 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27078 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27079 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27080 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27081
0e7727f7
JM
270822012-02-27 Joseph Myers <joseph@codesourcery.com>
27083
27084 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27085 later. Allow versions 5-9.
43be4ca2 27086 * configure: Regenerated.
0e7727f7
JM
27087 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27088 required minimum version and 4.6 as recommended version. Do not
27089 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27090 * INSTALL: Regenerated.
0e7727f7 27091
a78bc654
DM
270922012-02-27 David S. Miller <davem@davemloft.net>
27093
428d5830
DM
27094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27100 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27101 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27102
a78bc654
DM
27103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27104 manipulate bits before adding and subtracting TWO112[sx].
27105 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27106
4579f81c
RM
271072012-02-27 Roland McGrath <roland@hack.frob.com>
27108
36c8acb4
RM
27109 [BZ #13775]
27110 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27111 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27112 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27113 being in POSIX, because they are in 1003.1-2008.
27114
84ad622b
RM
27115 * rt/tst-aio.c: Include <fcntl.h>.
27116 * rt/tst-aio7.c: Likewise.
27117 * rt/tst-aio64.c: Likewise.
27118
4579f81c
RM
27119 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27120
abd923db
JM
271212012-02-27 Joseph Myers <joseph@codesourcery.com>
27122
27123 * manual/install.texi (--with-headers): Describe headers as
27124 interface headers, not private headers.
27125 (Specific advice for GNU/Linux systems): Describe use of headers
27126 from "make headers_install", not private headers from older
27127 kernels.
43be4ca2 27128 * INSTALL: Regenerated.
abd923db
JM
27129 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27130 Change to 2.6.19.
27131 * sysdeps/unix/sysv/linux/configure: Regenerated.
27132
6664049b
JM
27133 * manual/llio.texi (fclean): Remove documentation.
27134
bb8b6697
JM
27135 * manual/Makefile (libc-texi-generated): New variable. Include
27136 version.texi.
27137 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27138 $(libc-texi-generated), not duplicated list of files.
27139 (version.texi, stamp-version): New rules.
27140 (realclean): Remove $(libc-texi-generated), not individual files
27141 from that list. Do not remove dir-add.texinfo.
27142 * manual/libc.texinfo: Comment out uses of edition numbers and
27143 references to printed manual. Remove last-updated dates.
27144 (EDITION): Comment out.
27145 (ISBN): Likewise.
27146 (VERSION, UPDATED): Remove.
27147 (version.texi): Include.
27148
12e5c3b9
AS
271492012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27150
27151 * sysdeps/posix/spawni.c: Include <signal.h>.
27152 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27153 * sysdeps/pthread/aio_fsync.c: Likewise.
27154
4efeffc1 271552012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27156
ba63ba08
UD
27157 * conform/Makefile (tests): Run only when not cross-compiling and
27158 when fast-check is not defined.
27159
d94a4670
UD
27160 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27161 * conform/data/limits.h-data: Fixes for POSIX2008.
27162 * conform/run-conformtest.sh: Run all tests.
27163 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27164 headers.
27165 * include/bits/dlfcn.h: Likewise.
27166 * include/langinfo.h: Likewise.
27167 * include/monetary.h: Likewise.
27168 * include/sys/poll.h: Likewise.
27169
27170 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27171 for __USE_GNU.
27172 * posix/spawn.h: Define __need_sigset_t.
27173 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27174 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27175 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27176 to get sigevent_t only.
27177 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27178 only for __USE_GNU.
27179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27180 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27181 process_vm_writev only for __USE_GNU.
27182 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27183
27184 * conform/Makefile: For now ignore errors from run-conformtest.
27185 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27186 POSIX to avoid namespace pollution. Don't prepend headers.
27187 * conform/data/aio.h-data: Fixes for POSIX testing.
27188 * conform/data/fcntl.h-data: Likewise.
27189 * conform/data/glob.h-data: Likewise.
27190 * conform/data/grp.h-data: Likewise.
27191 * conform/data/pthread.h-data: Likewise.
27192 * conform/data/pwd.h-data: Likewise.
27193 * conform/data/signal.h-data: Likewise.
27194 * conform/data/spawn.h-data: Likewise.
27195 * conform/data/stdio.h-data: Likewise.
27196 * conform/data/stdlib.h-data: Likewise.
27197 * conform/data/stropts.h-data: Likewise.
27198 * conform/data/sys/mman.h-data: Likewise.
27199 * conform/data/sys/stat.h-data: Likewise.
27200 * conform/data/sys/types.h-data: Likewise.
27201 * conform/data/sys/wait.h-data: Likewise.
27202 * conform/data/time.h-data: Likewise.
27203 * conform/data/unistd.h-data: Likewise.
27204 * conform/data/utime.h-data: Likewise.
27205
27206 * io/sys/stat.h: fchmod was always in POSIX.
27207 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27208 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27209 * rt/aio.h: Define __need_timespec before including <time.h>.
27210 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27211 struct. Add forward declaration of pthread_attr_t and use it in
27212 sigevent.
27213 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27215 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27216 always remove CLK_TCK definition.
27217
c20105c3
AS
272182012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27219
27220 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27221
7a270350
UD
272222012-02-25 Ulrich Drepper <drepper@gmail.com>
27223
31341567
UD
27224 * conform/run-conformtest.sh: New file.
27225 * conform/Makefile: Run run-conformtest for tests.
27226 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27227 support.
27228
27229 * conform/data/uchar.h-data: New file.
27230 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27231 * conform/data/arpa/inet.h-data: Likewise.
27232 * conform/data/assert.h-data: Likewise.
27233 * conform/data/complex.h-data: Likewise.
27234 * conform/data/cpio.h-data: Likewise.
27235 * conform/data/ctype.h-data: Likewise.
27236 * conform/data/dirent.h-data: Likewise.
27237 * conform/data/dlfcn.h-data: Likewise.
27238 * conform/data/errno.h-data: Likewise.
27239 * conform/data/fcntl.h-data: Likewise.
27240 * conform/data/float.h-data: Likewise.
27241 * conform/data/fmtmsg.h-data: Likewise.
27242 * conform/data/fnmatch.h-data: Likewise.
27243 * conform/data/ftw.h-data: Likewise.
27244 * conform/data/glob.h-data: Likewise.
27245 * conform/data/grp.h-data: Likewise.
27246 * conform/data/iconv.h-data: Likewise.
27247 * conform/data/inttypes.h-data: Likewise.
27248 * conform/data/langinfo.h-data: Likewise.
27249 * conform/data/libgen.h-data: Likewise.
27250 * conform/data/limits.h-data: Likewise.
27251 * conform/data/locale.h-data: Likewise.
27252 * conform/data/math.h-data: Likewise.
27253 * conform/data/monetary.h-data: Likewise.
27254 * conform/data/mqueue.h-data: Likewise.
27255 * conform/data/ndbm.h-data: Likewise.
27256 * conform/data/net/if.h-data: Likewise.
27257 * conform/data/netdb.h-data: Likewise.
27258 * conform/data/netinet/in.h-data: Likewise.
27259 * conform/data/nl_types.h-data: Likewise.
27260 * conform/data/poll.h-data: Likewise.
27261 * conform/data/pthread.h-data: Likewise.
27262 * conform/data/pwd.h-data: Likewise.
27263 * conform/data/regex.h-data: Likewise.
27264 * conform/data/sched.h-data: Likewise.
27265 * conform/data/search.h-data: Likewise.
27266 * conform/data/semaphore.h-data: Likewise.
27267 * conform/data/setjmp.h-data: Likewise.
27268 * conform/data/signal.h-data: Likewise.
27269 * conform/data/spawn.h-data: Likewise.
27270 * conform/data/stdarg.h-data: Likewise.
27271 * conform/data/stdio.h-data: Likewise.
27272 * conform/data/stdlib.h-data: Likewise.
27273 * conform/data/string.h-data: Likewise.
27274 * conform/data/strings.h-data: Likewise.
27275 * conform/data/stropts.h-data: Likewise.
27276 * conform/data/sys/ipc.h-data: Likewise.
27277 * conform/data/sys/mman.h-data: Likewise.
27278 * conform/data/sys/msg.h-data: Likewise.
27279 * conform/data/sys/resource.h-data: Likewise.
27280 * conform/data/sys/select.h-data: Likewise.
27281 * conform/data/sys/sem.h-data: Likewise.
27282 * conform/data/sys/shm.h-data: Likewise.
27283 * conform/data/sys/socket.h-data: Likewise.
27284 * conform/data/sys/stat.h-data: Likewise.
27285 * conform/data/sys/statvfs.h-data: Likewise.
27286 * conform/data/sys/time.h-data: Likewise.
27287 * conform/data/sys/timeb.h-data: Likewise.
27288 * conform/data/sys/times.h-data: Likewise.
27289 * conform/data/sys/types.h-data: Likewise.
27290 * conform/data/sys/uio.h-data: Likewise.
27291 * conform/data/sys/un.h-data: Likewise.
27292 * conform/data/sys/utsname.h-data: Likewise.
27293 * conform/data/sys/wait.h-data: Likewise.
27294 * conform/data/syslog.h-data: Likewise.
27295 * conform/data/tar.h-data: Likewise.
27296 * conform/data/termios.h-data: Likewise.
27297 * conform/data/utime.h-data: Likewise.
27298 * conform/data/utmpx.h-data: Likewise.
27299 * conform/data/varargs.h-data: Likewise.
27300 * conform/data/wchar.h-data: Likewise.
27301 * conform/data/wctype.h-data: Likewise.
27302 * conform/data/wordexp.h-data: Likewise.
27303
27304 * include/stropts.h: New file.
27305 * include/uchar.h: New file.
27306 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27307 * include/assert.h: Likewise.
27308 * include/ctype.h: Likewise.
27309 * include/dirent.h: Likewise.
27310 * include/dlfcn.h: Likewise.
27311 * include/fcntl.h: Likewise.
27312 * include/fnmatch.h: Likewise.
27313 * include/glob.h: Likewise.
27314 * include/grp.h: Likewise.
27315 * include/libio.h: Likewise.
27316 * include/locale.h: Likewise.
27317 * include/math.h: Likewise.
27318 * include/net/if.h: Likewise.
27319 * include/netdb.h: Likewise.
27320 * include/netinet/in.h: Likewise.
27321 * include/pthread.h: Likewise.
27322 * include/pwd.h: Likewise.
27323 * include/regex.h: Likewise.
27324 * include/sched.h: Likewise.
27325 * include/search.h: Likewise.
27326 * include/setjmp.h: Likewise.
27327 * include/signal.h: Likewise.
27328 * include/stdio.h: Likewise.
27329 * include/stdlib.h: Likewise.
27330 * include/string.h: Likewise.
27331 * include/sys/cdefs.h: Likewise.
27332 * include/sys/mman.h: Likewise.
27333 * include/sys/msg.h: Likewise.
27334 * include/sys/resource.h: Likewise.
27335 * include/sys/select.h: Likewise.
27336 * include/sys/socket.h: Likewise.
27337 * include/sys/stat.h: Likewise.
27338 * include/sys/statvfs.h: Likewise.
27339 * include/sys/time.h: Likewise.
27340 * include/sys/times.h: Likewise.
27341 * include/sys/uio.h: Likewise.
27342 * include/sys/utsname.h: Likewise.
27343 * include/sys/wait.h: Likewise.
27344 * include/termios.h: Likewise.
27345 * include/time.h: Likewise.
27346 * include/ulimit.h: Likewise.
27347 * include/unistd.h: Likewise.
27348 * include/utime.h: Likewise.
27349 * include/wchar.h: Likewise.
27350 * include/wctype.h: Likewise.
27351 * include/wordexp.h: Likewise.
27352
27353 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27354
7a270350
UD
27355 * time/time.h: TIME_UTC must be a macro.
27356 Make timespec_get available for ISO C11 only as well.
27357
7724defc
UD
273582012-02-24 Ulrich Drepper <drepper@gmail.com>
27359
27360 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27361 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27362
6b1d1d46
JM
273632012-02-24 Joseph Myers <joseph@codesourcery.com>
27364
27365 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27366
0f8bbd69
JM
273672012-02-24 Joseph Myers <joseph@codesourcery.com>
27368
27369 * manual/texinfo.tex: Update to version 2012-01-19.16.
27370
66ab80bc
JM
273712012-02-24 Joseph Myers <joseph@codesourcery.com>
27372
27373 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27374
74981cc5
RM
273752012-02-24 Roland McGrath <roland@hack.frob.com>
27376
ee968201
RM
27377 [BZ #13738]
27378 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27379 * manual/fdl-1.3.texi: New file.
27380 * manual/fdl-1.1.texi: File removed.
27381
74981cc5
RM
27382 [BZ #13738]
27383 * manual/libc.texinfo (FDL_VERSION): New @set.
27384 Use it for mention of FDL in cover text.
27385 (Documentation License): Use it in @include file name.
27386
7bb764bc
JM
273872012-02-22 Joseph Myers <joseph@codesourcery.com>
27388 Roland McGrath <roland@hack.frob.com>
27389
27390 [BZ #5461]
27391 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27392 not LONG_LONG_MAX and LONG_LONG_MIN.
27393 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27394 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27395 name.
27396 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27397
6cbeae47
JM
273982012-02-22 Joseph Myers <joseph@codesourcery.com>
27399
27400 [BZ #2547]
27401 [BZ #11365]
27402 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27403 manipulate bits before adding and subtracting TWO23[sx].
27404 * math/libm-test.inc (nearbyint_test): Add more tests.
27405
fe45ce09
JM
274062012-02-22 Joseph Myers <joseph@codesourcery.com>
27407
27408 [BZ #2548]
27409 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27410 bits before adding and subtracting TWO23[sx].
27411 * math/libm-test.inc (rint_test): Add more tests.
27412 (rint_test_tonearest): Likewise.
27413 (rint_test_towardzero): Likewise.
27414 (rint_test_downward): Likewise.
27415 (rint_test_upward: Likewise.
27416
ff3b3d82
JM
274172012-02-22 Joseph Myers <joseph@codesourcery.com>
27418
27419 [BZ #10110]
27420 * include/stdc-predef.h: New file. Extracted from features.h.
27421 * include/features.h: Include stdc-predef.h.
27422 * Makefile (headers): Add stdc-predef.h.
27423 * CONFORMANCE (Compiler limitations): Update.
27424
ef0aab35
JM
274252012-02-22 Joseph Myers <joseph@codesourcery.com>
27426
27427 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27428
58639409
DM
274292012-02-21 David S. Miller <davem@davemloft.net>
27430
27431 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27432 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27433
c0e70b25
DM
274342012-02-20 David S. Miller <davem@davemloft.net>
27435
27436 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27437 using a normal save/restore sequence, rather than allocating a
27438 dummy stack frame just to store a frame pointer and restore.
27439 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27440
fb06851d
JM
274412012-02-21 Joseph Myers <joseph@codesourcery.com>
27442
27443 * manual/install.texi: Fix stray word in line-wrapped comment.
27444
7a8b71c3
DM
274452012-02-20 David S. Miller <davem@davemloft.net>
27446
d510c123
DM
27447 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27448 both binutils and gcc support GOTDATA.
27449
0722d7c2
DM
27450 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27451 "rd %pc" in the PIC register setup sequences.
27452
3d2b3019
DM
27453 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27454 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27455 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27456 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27457 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27459 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27462 (SYSCALL_ERROR_HANDLER): Likewise.
27463 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27464 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27465 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27466 (SYSCALL_ERROR_HANDLER): Likewise.
27467
c80098a9
DM
27468 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27469 (HAVE_GCC_GOTDATA): New.
27470 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27471 relocation support in both binutils and gcc.
27472 * sysdeps/sparc/elf/configure: Regenerate.
27473
3a2545a0
DM
27474 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27475 * sysdeps/sparc/sparc32/elf/configure: Delete.
27476 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27477 * sysdeps/sparc/sparc64/elf/configure: Delete.
27478 * sysdeps/sparc/elf/configure.in: New file.
27479 * sysdeps/sparc/elf/configure: Generate.
27480
7a8b71c3
DM
27481 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27482 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27483 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27484 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27485 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27486
f1e86fca
JM
274872012-02-21 Joseph Myers <joseph@codesourcery.com>
27488
27489 * manual/install.texi: Do not mention specific glibc version
27490 numbers.
27491 * manual/libc.texinfo (VERSION, UPDATED): Update.
27492 (@copying): Use @copyright{} and range of years.
27493
0e7dfaef
JM
274942012-02-21 Joseph Myers <joseph@codesourcery.com>
27495
27496 [BZ #13695]
27497 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27498 [crti.S not in sysdirs] (generated): Do not append.
27499 [crti.S not in sysdirs] (omit-deps): Likewise.
27500 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27501 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27502 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27503 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27504 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27505 Likewise.
27506 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27507 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27508 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27509 * csu/defs.awk: Remove file.
27510 * sysdeps/generic/initfini.c: Likewise.
27511 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27512 variable.
27513 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27514 Likewise.
27515
599af3ca
JM
275162012-02-20 Joseph Myers <joseph@codesourcery.com>
27517
27518 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27519 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27520 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27521 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27522 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27523 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27524 <bits/epoll.h>.
27525 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27526 (__EPOLL_PACKED): Define to empty if not defined by
27527 <bits/epoll.h>.
27528 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27530 bits/epoll.h.
27531
0e499750
JM
275322012-02-20 Joseph Myers <joseph@codesourcery.com>
27533
27534 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27535 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27536 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27537 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27538 <bits/timerfd.h>.
27539 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27541 bits/timerfd.h.
27542
5ad91f6e
JM
275432012-02-20 Joseph Myers <joseph@codesourcery.com>
27544
27545 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27546 in C locale.
27547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27548 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27551
06b99b02
AJ
275522012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27553
27554 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27555 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27556
7638c0fd
AS
275572012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27558
27559 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27560 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27561 defined.
27562 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27563 Likewise.
27564 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27565 entry for 2.16.
27566
92221550
AJ
275672012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27568
27569 * math/w_acos.c: Use non-signaling floating-point comparisons.
27570 * math/w_acosf.c: Likewise.
27571 * math/w_acosh.c: Likewise.
27572 * math/w_acoshf.c: Likewise.
27573 * math/w_acoshl.c: Likewise.
27574 * math/w_acosl.c: Likewise.
27575 * math/w_asin.c: Likewise.
27576 * math/w_asinf.c: Likewise.
27577 * math/w_asinl.c: Likewise.
27578 * math/w_atanh.c: Likewise.
27579 * math/w_atanhf.c: Likewise.
27580 * math/w_atanhl.c: Likewise.
27581 * math/w_exp2.c: Likewise.
27582 * math/w_exp2f.c: Likewise.
27583 * math/w_exp2l.c: Likewise.
27584 * math/w_j0.c: Likewise.
27585 * math/w_j0f.c: Likewise.
27586 * math/w_j0l.c: Likewise.
27587 * math/w_j1.c: Likewise.
27588 * math/w_j1f.c: Likewise.
27589 * math/w_j1l.c: Likewise.
27590 * math/w_jn.c: Likewise.
27591 * math/w_jnf.c: Likewise.
27592 * math/w_log.c: Likewise.
27593 * math/w_log10.c: Likewise.
27594 * math/w_log10f.c: Likewise.
27595 * math/w_log10l.c: Likewise.
27596 * math/w_log2.c: Likewise.
27597 * math/w_log2f.c: Likewise.
27598 * math/w_log2l.c: Likewise.
27599 * math/w_logf.c: Likewise.
27600 * math/w_logl.c: Likewise.
27601 * math/w_sqrt.c: Likewise.
27602 * math/w_sqrtf.c: Likewise.
27603 * math/w_sqrtl.c: Likewise.
27604 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27607 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27608 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27609
ebaf36eb
JM
276102012-02-19 Joseph Myers <joseph@codesourcery.com>
27611
27612 [BZ #9739]
27613 * manual/string.texi (strnlen): Use correct parameter name in
27614 equivalent expression.
27615
71c254a6
JM
276162012-02-19 Joseph Myers <joseph@codesourcery.com>
27617
27618 [BZ #11174]
27619 * manual/users.texi (seteuid): Consistently use neweuid for
27620 argument name.
27621
16d2c631
JM
276222012-02-19 Joseph Myers <joseph@codesourcery.com>
27623
27624 [BZ #13704]
27625 * manual/nss.texi (Services in the NSS configuration): Correct
27626 list of services in example configuration file.
27627
cd837b09
NB
276282012-02-19 Nick Bowler <nbowler@draconx.ca>
27629
27630 [BZ #11322]
27631 * manual/arith.texi: Remove statements about negative zero
27632 behaving identically to zero.
27633
02c4bbad
JM
276342012-02-18 Joseph Myers <joseph@codesourcery.com>
27635
27636 [BZ #5993]
27637 * manual/install.texi: Do not document upgrading from libc5.
27638
366842e7
JM
276392012-02-18 Joseph Myers <joseph@codesourcery.com>
27640
27641 [BZ #4596]
27642 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27643
dd54084d
DM
276442012-02-18 David S. Miller <davem@davemloft.net>
27645
27646 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27647 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27648 %o7 across the call.
27649 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27650 instead.
27651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27652 SETUP_PIC_REG_LEAF.
27653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27654 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27655 * sysdeps/sparc/crtn.S: Likewise.
27656
2bcc53a3
UD
276572012-02-17 Ulrich Drepper <drepper@gmail.com>
27658
27659 * aout/Makefile: Remove.
27660
09c093b5
RK
276612012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27662
27663 [BZ #13058]
27664 * manual/examples/argp-ex1.c (main): Format definition in GNU
27665 style.
27666 * manual/examples/argp-ex2.c (main): Likewise.
27667 * manual/examples/argp-ex3.c (main): Likewise.
27668 * manual/examples/argp-ex4.c (main): Likewise.
27669 * manual/examples/longopt.c (main): Use new-style prototype
27670 definition.
27671 * manual/examples/strncat.c (main): Specify return type and use
27672 (void) for arguments.
27673 * manual/examples/subopt.c (main): Use char **argv argument.
27674
2ee633a2
JM
276752012-02-17 Joseph Myers <joseph@codesourcery.com>
27676
27677 [BZ #5077]
27678 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27679 rounding modes.
27680
0520adde
FB
276812012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27682
27683 [BZ #6907]
27684 * manual/string.texi (strchr): Change when strchrnul is
27685 recommended.
27686
3f4081cd
DGM
276872012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27688
27689 [BZ #174]
27690 * manual/locale.texi (setlocale): Document LOCPATH.
27691
d1b10e78
JM
276922012-02-17 Joseph Myers <joseph@codesourcery.com>
27693
27694 [BZ #10210]
27695 * manual/process.texi (execle): Move @dots{} before last argument.
27696
79c6869c
PB
276972012-02-17 Paul Bolle <pebolle@tiscali.nl>
27698
27699 [BZ #12047]
27700 * manual/charset.texi (Generic Charset Conversion): Fix typo
27701 (LC_TYPE -> LC_CTYPE).
27702
cc6e48bc
NB
277032012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27704
27705 [BZ #5805]
27706 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27707 (scalbnf): Likewise.
27708 (scalbnl): Likewise.
27709 (scalbln): Likewise.
27710 (scalblnf): Likewise.
27711 (scalblnl): Likewise.
27712 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27713 (vwarnx): Likewise.
27714 (verr): Likewise.
27715 (verrx): Likewise.
27716 * manual/filesys.texi (telldir): Use braces around return type.
27717 * manual/llio.texi (mmap): Add space after comma.
27718 (mmap64): Likewise.
27719 * manual/math.texi (jn): Use @var{} on parameter names.
27720 (jnf): Likewise.
27721 (jnl): Likewise.
27722 (yn): Likewise.
27723 (ynf): Likewise.
27724 (ynl): Likewise.
27725 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27726 line.
27727 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27728 "...".
27729 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27730 (sched_get_priority_max): Likewise.
27731 * manual/signal.texi (sigvec): Add space after comma.
27732 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27733 names.
27734 (if_indextoname): Likewise.
27735 (if_freenameindex): Likewise.
27736 (sendto): Use ',' instead of '.' in prototype.
27737 * manual/startup.texi (syscall): Use @dots{} instead of literal
27738 "...".
27739 * manual/stdio.texi (__fpending): Separate initial words of
27740 paragraph from @deftypefun line.
27741 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27742 "...".
27743 (vsyslog): Use @var{} on parameter names.
27744 * manual/terminal.texi (stty): Use @var{} on parameter names.
27745 * manual/users.texi (getutmp): Use @var{} on parameter names.
27746 (getutmpx): Likewise.
27747
5b23062f
JM
277482012-02-17 Joseph Myers <joseph@codesourcery.com>
27749
27750 [BZ #6884]
27751 * manual/stdio.texi (fopen): Fix typos in description of
27752 ",ccs=STRING".
27753
8dee4833
AJ
277542012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27755
27756 [BZ #4026]
27757 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27758 get clock_id definition.
27759
9078ce93
TS
277602012-02-17 Thomas Schwinge <thomas@schwinge.name>
27761
27762 [BZ #4822]
27763 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27764 (madvise): Cast every argument to void on its own.
27765
3835c55f
JM
277662012-02-17 Joseph Myers <joseph@codesourcery.com>
27767
27768 [BZ #9902]
27769 * manual/startup.texi (Exit Status): Fix typo.
27770
35c47e37
JM
277712012-02-17 Joseph Myers <joseph@codesourcery.com>
27772
27773 [BZ #10140]
27774 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27775 * manual/examples/argp-ex2.c: Likewise.
27776 * manual/examples/argp-ex3.c: Likewise.
27777
e3b69ca7
RH
277782012-02-16 Richard Henderson <rth@redhat.com>
27779
27780 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27781 * sysdeps/s390/s390-32/initfini.c: Remove.
27782 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27783 * sysdeps/s390/s390-64/initfini.c: Remove.
27784
df83af67
KK
277852012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27786
27787 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27788 compiler output for sysdeps/generic/initfini.c.
27789 * sysdeps/sh/elf/initfini.c: Remove file.
27790
f63f3380
DM
277912012-02-16 David S. Miller <davem@davemloft.net>
27792
fb59b3a4
DM
27793 [BZ #11494]
27794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27795
f63f3380
DM
27796 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27797 * sysdeps/sparc/crti.S: New file.
27798 * sysdeps/sparc/crtn.S: New file.
27799 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27800 * sysdeps/sparc/sparc64/Makefile: Likewise.
27801
df6a4a4a
MF
278022012-02-15 Mike Frysinger <vapier@gentoo.org>
27803
6dd8f3dc 27804 [BZ #3335]
df6a4a4a
MF
27805 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27806
1cac7236
RM
278072012-02-15 Roland McGrath <roland@hack.frob.com>
27808
d2c736f8
RM
27809 [BZ #4822]
27810 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27811
1cac7236
RM
27812 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27813 (write, read, close): Likewise.
27814 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27815
8e475601
JM
278162012-02-15 Joseph Myers <joseph@codesourcery.com>
27817
27818 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27819 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27820 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27821 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27822 <bits/signalfd.h>.
27823 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27825 bits/signalfd.h.
27826
ed656b40
MP
278272012-02-14 Marek Polacek <polacek@redhat.com>
27828
27829 * sysdeps/x86_64/crti.S: New file.
27830 * sysdeps/x86_64/crtn.S: New file.
27831 * sysdeps/x86_64/elf/initfini.c: Remove file.
27832
2a979d3a
JM
278332012-02-13 Joseph Myers <joseph@codesourcery.com>
27834
27835 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27836 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27837 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27838 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27839 <bits/inotify.h>.
27840 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27842 bits/inotify.h.
27843
2a418ac3
JM
278442012-02-13 Joseph Myers <joseph@codesourcery.com>
27845
27846 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27847 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27848 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27849 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27850 <bits/eventfd.h>.
27851 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27853 bits/eventfd.h.
27854
fb779be7
TS
278552012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27856
e19e83c5
RM
27857 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27858 __feraiseexcept instead of feraiseexcept.
7c35ffed 27859
fb779be7
TS
27860 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27861 nanosleep invocations.
27862 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27863 strings, and add error checking for a nanosleep invocations.
27864
59ba27a6
PE
278652012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27866
27867 Replace FSF snail mail address with URLs, as per GNU coding standards.
27868 Most of the snail mail addresses were wrong anyway, and omitting
27869 them makes the source code easier to maintain. Almost all of the
27870 changes are to license notices and to locale LC_IDENTIFICATION
27871 addresses, except for this one:
27872 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27873 not its snail mail address.
27874
57b957eb
RH
278752012-02-09 Richard Henderson <rth@twiddle.net>
27876
af850b1c
RH
27877 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27878 of kernel-features.h.
27879
57b957eb
RH
27880 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27881
6b73181a
MP
278822012-02-08 Marek Polacek <polacek@redhat.com>
27883
27884 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27885 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27886 * sysdeps/gnu/_G_config.h: Likewise.
27887 * sysdeps/generic/_G_config.h: Likewise.
27888
26ecc33a
AS
278892012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27890
6c6dbc63
AS
27891 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27892 tests.
27893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27894
e216c012
AS
27895 * sysdeps/powerpc/powerpc32/crti.S: New file.
27896 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27897 * sysdeps/powerpc/powerpc64/crti.S: New file.
27898 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27899
26ecc33a
AS
27900 * Makeconfig (have-initfini): Don't set.
27901 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27902 * configure.in (nopic_initfini): Don't substitute.
27903 * config.h.in (HAVE_INITFINI): Don't #undef.
27904 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27905 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27906
3add8e13
JM
279072012-02-08 Joseph Myers <joseph@codesourcery.com>
27908
27909 Support crti.S and crtn.S provided directly by architectures.
27910 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27911 [crti.S in sysdirs] (omit-deps): Likewise.
27912 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27913 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27914 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27915 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27916 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27917 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27918 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27919 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27920 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27921 compiler output for sysdeps/generic/initfini.c.
27922 * sysdeps/i386/elf/Makefile: Remove file.
27923 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27924
a22f12b4
MP
279252012-02-07 Marek Polacek <polacek@redhat.com>
27926
27927 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27928 * sysdeps/gnu/_G_config.h: Likewise.
27929 * sysdeps/mach/hurd/_G_config.h: Likewise.
27930
148cf100
MP
279312012-02-07 Marek Polacek <polacek@redhat.com>
27932
27933 * math/Makefile (tests): Add tst-CMPLX2.
27934 * math/tst-CMPLX2.c: New file.
27935
cfdc0dd7
AS
279362012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27937
84ba42c4
AS
27938 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27939
cfdc0dd7
AS
27940 * math/libm-test.inc (jn_test): Add missing L suffix.
27941
622c86f4
MP
279422012-02-06 Marek Polacek <polacek@redhat.com>
27943
27944 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27945 * sysdeps/i386/fpu/e_powf.S: Likewise.
27946 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27947 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27948 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27949 * sysdeps/i386/fpu/e_pow.S: Likewise.
27950 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27951 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27952 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27953 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27954 * sysdeps/i386/fpu/e_log2.S: Likewise.
27955 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27956 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27957 * sysdeps/i386/fpu/e_powl.S: Likewise.
27958 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27959 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27960 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27961 * sysdeps/i386/fpu/e_logl.S: Likewise.
27962 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27963 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27964 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27965 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27966 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27967 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27968 * sysdeps/i386/fpu/e_log.S: Likewise.
27969 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27970 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27971 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27972 * sysdeps/i386/fpu/e_logf.S: Likewise.
27973 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27974 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27975 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27976 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27977 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27978 * sysdeps/i386/fpu/e_log10.S: Likewise.
27979 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27980 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27981 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27982 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27983 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27984 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27985 * sysdeps/i386/asm-syntax.h: Likewise.
27986 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27987 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27988 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27989 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27990 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27991 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27992 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27993 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27994 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27995 * sysdeps/powerpc/sysdep.h: Likewise.
27996 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27997 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27998
d4a54ac6
JM
279992012-02-06 Joseph Myers <joseph@codesourcery.com>
28000
28001 [BZ #411]
28002 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28003
314054ea
JM
280042012-02-06 Joseph Myers <joseph@codesourcery.com>
28005
28006 * sysdeps/i386/sysdep.h: Include <features.h>.
28007 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28008 version.
28009
d8e0ca50
JM
280102012-02-05 Joseph Myers <joseph@codesourcery.com>
28011
28012 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28013 Define.
28014 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28015 LOAD_PIC_REG_STR.
28016
b1da7dd9
JM
280172012-02-03 Joseph Myers <joseph@codesourcery.com>
28018
28019 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28020 (SETUP_PIC_REG): Use GET_PC_THUNK.
28021 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28022 macro.
28023
9a1d9254
JM
280242012-02-03 Joseph Myers <joseph@codesourcery.com>
28025
28026 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28027 for non-PIC compilation.
28028 (SETUP_PIC_REG): Add .p2align directive.
28029 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28030 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28031 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28032 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28033 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28034 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28037 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28038 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28039 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28040 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28041 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28042 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28043 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28044 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28045 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28046 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28048 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28051 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28052 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28053 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28055 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28056 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28057 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28058 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28059 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28060 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28061 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28062 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28063 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28064 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28065 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28066 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28067 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28068 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28069 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28070
65dc3b75
JM
280712012-02-03 Joseph Myers <joseph@codesourcery.com>
28072
28073 * math/tst-CMPLX.c: Include <stdio.h>.
28074
d55bf177
JM
280752012-01-31 Joseph Myers <joseph@codesourcery.com>
28076
28077 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28078 float.
28079 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28080 * sysdeps/sparc/bits/mathdef.h: Likewise.
28081
69db4f8f
MP
280822012-01-31 Marek Polacek <polacek@redhat.com>
28083
28084 * libio/libio.h: Don't define _PARAMS.
28085 * locale/programs/config.h: Don't define PARAMS.
28086 * stdlib/strtol_l.c: Likewise.
28087 (__strtol_l): Remove PARAMS from the prototype.
28088
41b81892
UD
280892012-01-31 Ulrich Drepper <drepper@gmail.com>
28090
3b49edc0
UD
28091 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28092 names. Just use the correct names. Remove unnecessary wrapper
28093 functions.
28094 * malloc/arena.c: Likewise.
28095 * malloc/hooks.c: Likewise.
28096
41b81892
UD
28097 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28098 ARENA_TEST says not to. Simplify test for creation of a new arena.
28099 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28100
27a25b6e
UD
281012012-01-30 Ulrich Drepper <drepper@gmail.com>
28102
28103 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28104 into tail calls.
28105 (update_get_addr): New function.
28106 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28107 GET_ADDR_MODULE parameter.
28108
c8a89e7d
JM
281092012-01-30 Joseph Myers <joseph@codesourcery.com>
28110
28111 * crypt/cert.c: Remove __STDC__ conditionals.
28112 * crypt/crypt-entry.c: Likewise.
28113 * crypt/crypt_util.c: Likewise.
28114 * libio/filedoalloc.c: Likewise.
28115 * libio/fileops.c: Likewise.
28116 * libio/genops.c: Likewise.
28117 * libio/iofclose.c: Likewise.
28118 * libio/iofdopen.c: Likewise.
28119 * libio/iofopen.c: Likewise.
28120 * libio/iofopen64.c: Likewise.
28121 * libio/iogetdelim.c: Likewise.
28122 * libio/iopopen.c: Likewise.
28123 * libio/obprintf.c: Likewise.
28124 * libio/oldfileops.c: Likewise.
28125 * libio/oldiofclose.c: Likewise.
28126 * libio/oldiofdopen.c: Likewise.
28127 * libio/oldiofopen.c: Likewise.
28128 * libio/oldiopopen.c: Likewise.
28129 * libio/wfiledoalloc.c: Likewise.
28130 * libio/wgenops.c: Likewise.
28131 * locale/programs/xmalloc.c: Likewise.
28132 * misc/syslog.c: Likewise.
28133 * stdio-common/xbug.c: Likewise.
28134 * string/memchr.c: Likewise.
28135 * string/memcmp.c: Likewise.
28136 * string/memrchr.c: Likewise.
28137 * string/rawmemchr.c: Likewise.
28138 * sysdeps/posix/getcwd.c: Likewise.
28139 * time/strftime_l.c: Likewise.
28140
3b100462
JM
281412012-01-30 Joseph Myers <joseph@codesourcery.com>
28142
28143 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28144 * config.make.in (config-cflags-sse2avx): Define.
28145 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28146 Fix typo.
28147
607998af
CM
281482012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28149
28150 * scripts/config.guess: Update from upstream config git repository.
28151 * scripts/config.sub: Likewise.
28152
3601428f
CM
281532012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28154
3ac8b282
CM
28155 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28156 (EM_NUM): Update.
28157 (R_TILEPRO_*, R_TILEGX_*): New macros.
28158
e034841e
CM
28159 * scripts/firstversions.awk: Fix bug in version range handling.
28160
540d7568
CM
28161 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28162
3601428f
CM
28163 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28164
463de862
CM
28165 * include/sys/epoll.h: New file.
28166 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28167 libc_hidden_def.
28168
73139a76
UD
281692012-01-28 Ulrich Drepper <drepper@gmail.com>
28170
96bc5b45
UD
28171 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28172 Avoid unnecessary __WORDSIZE == 64 test.
28173 (fmaxf): Use VEX format if possible.
28174 (fmax): Likewise.
28175 (fminf): Likewise.
28176 (fmin): Likewise.
28177
56f6f6a2
UD
28178 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28179 * math/math_private.h: Remove libc_fegetround* and
28180 libc_fesetround*.
28181 * sysdeps/i386/configure.in: Check for -msse2avx.
28182 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28183 also if SSE2AVX is defined.
28184 Remove libc_fegetround* and libc_fesetround*.
28185 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28186 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28187 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28188 of HAS_YMM_USABLE.
28189 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28190 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28191 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28194
73139a76
UD
28195 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28196
d73f93a4
AZ
281972012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28198
28199 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28200 size is not set.
28201 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28202
6ee65ed6
UD
282032012-01-27 Ulrich Drepper <drepper@gmail.com>
28204
28205 [BZ #13618]
28206 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28207 relocation.
28208 * Makeconfig (libm): Define.
28209 * elf/Makefile: Add rules to build and run tst-relsort1.
28210 * elf/tst-relsort1.c: New file.
28211 * elf/tst-relsort1mod1.c: New file.
28212 * elf/tst-relsort1mod2.c: New file.
28213
8db21882
JM
282142012-01-27 Joseph Myers <joseph@codesourcery.com>
28215
28216 * math/s_ldexp.c: Remove __STDC__ conditionals.
28217 * math/s_ldexpf.c: Likewise.
28218 * math/s_ldexpl.c: Likewise.
28219 * math/s_nextafter.c: Likewise.
28220 * math/s_nexttowardf.c: Likewise.
28221 * math/s_significand.c: Likewise.
28222 * math/s_significandf.c: Likewise.
28223 * math/s_significandl.c: Likewise.
28224 * math/w_jnl.c: Likewise.
28225 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28226 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28227 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28228 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28229 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28239 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28242 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28244 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28245 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28246 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28247 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28248 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28249 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28250 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28251 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28252 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28253 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28254 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28255 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28256 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28257 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28258 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28259 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28260 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28261 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28262 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28263 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28264 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28265 * sysdeps/ieee754/k_standard.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28327 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28332 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28340 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28341 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28345 * sysdeps/ieee754/s_matherr.c: Likewise.
28346 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28347 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28350
965a54a4
JM
283512012-01-26 Joseph Myers <joseph@codesourcery.com>
28352
28353 * crypt/md5.h: Remove __STDC__ conditionals.
28354 * libio/libioP.h: Likewise.
28355 * locale/programs/config.h: Likewise.
28356 * sysdeps/generic/sysdep.h: Likewise.
28357 * sysdeps/i386/asm-syntax.h: Likewise.
28358 * sysdeps/s390/asm-syntax.h: Likewise.
28359 * sysdeps/unix/sysdep.h: Likewise.
28360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28362
7071ad79
JM
283632012-01-26 Joseph Myers <joseph@codesourcery.com>
28364
28365 * libio/libio.h: Remove __STDC__ conditionals.
28366 * malloc/obstack.h: Likewise.
28367 * math/complex.h: Likewise.
28368 * math/math.h: Likewise.
28369 * sysdeps/generic/_G_config.h: Likewise.
28370 * sysdeps/gnu/_G_config.h: Likewise.
28371 * sysdeps/mach/hurd/_G_config.h: Likewise.
28372 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28373 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28374 * sysdeps/sparc/bits/mathdef.h: Likewise.
28375
afc5ed09
UD
283762012-01-26 Ulrich Drepper <drepper@gmail.com>
28377
28378 [BZ #13583]
28379 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28380 Clean up HAS_* macros.
afc5ed09 28381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28382 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28383 possible.
28384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28385 HAS_AVX.
28386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28387 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28388 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28389 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28390 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28391
bdb6de1d
JM
283922012-01-25 Joseph Myers <joseph@codesourcery.com>
28393
28394 * elf/tst-unique3.cc (gets): Remove declaration.
28395 * elf/tst-unique3lib.cc (gets): Likewise.
28396 * elf/tst-unique3lib2.cc (gets): Likewise.
28397 * elf/tst-unique4.cc (gets): Likewise.
28398
b15549e6
UD
283992012-01-24 Ulrich Drepper <drepper@gmail.com>
28400
28401 * include/stdio.h: Add C++ protection. Add gets declarations and
28402 definitions.
28403 * debug/tst-chk1.c: Don't declare gets here.
28404 * stdio-common/tst-gets.c: Likewise.
28405
a037381f
JM
284062012-01-24 Joseph Myers <joseph@codesourcery.com>
28407
28408 * posix/glob: Remove directory.
28409
f1d4aa75
JM
284102012-01-24 Joseph Myers <joseph@codesourcery.com>
28411
28412 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28413
81c0c964
PT
284142012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28415
28416 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28417 of the non-standard EPFNOSUPPORT.
28418
0ea698ae
ST
284192011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28420
28421 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28422 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28423 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28424
d220b117
UD
284252012-01-21 Ulrich Drepper <drepper@gmail.com>
28426
28427 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28428
3e1aa84e
UD
284292012-01-20 Ulrich Drepper <drepper@gmail.com>
28430
28431 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28432 transient errors.
28433 * nscd/grpcache.c (cache_addgr): Likewise.
28434 * nscd/hstcache.c (cache_addhst): Likewise.
28435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28436 * nscd/pwdcache.c (cache_addpw): Likewise.
28437 * nscd/servicescache.c (cache_addserv): Likewise.
28438
400aa020
UD
284392012-01-16 Ulrich Drepper <drepper@gmail.com>
28440
d77e7869
UD
28441 * malloc/malloc.c: Various cleanups.
28442 * malloc/hooks.c: Likewise.
28443
400aa020
UD
28444 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28445 * stdlib/bug-fmtmsg1.c: New file.
28446
28447 * stdlib/fmtmsg.c (init): Add missing unlock.
28448 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28449
e0a309cf
MP
284502012-01-12 Marek Polacek <polacek@redhat.com>
28451
28452 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28453 and _GNU_SOURCE.
28454
929d11c7
WS
284552012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28456
28457 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28458 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28459 macro to ensure uniqueness of label name.
28460 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28461 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28462
41d0e869
UD
284632012-01-11 Ulrich Drepper <drepper@gmail.com>
28464
0cc5ed3b
UD
28465 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28466
41d0e869
UD
28467 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28468 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28469 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28471
a47a831a
UD
284722012-01-10 Ulrich Drepper <drepper@gmail.com>
28473
daa891c0
UD
28474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28475
28476 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28477 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28478 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28479
e58ef0f2
UD
28480 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28481
a47a831a 28482 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28483 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28484 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28485 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28486
28487 * math/bits/math-finite.h: Add ldexp support.
28488
a0bfc9c7
MP
284892012-01-10 Marek Polacek <polacek@redhat.com>
28490
28491 * locale/programs/localedef.h (show_archive_content): Add noreturn
28492 attribute.
28493
d6e97a1d
UD
284942012-01-09 Ulrich Drepper <drepper@gmail.com>
28495
28496 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28497
d5835c26
UD
284982012-01-08 Ulrich Drepper <drepper@gmail.com>
28499
e5f484c6
UD
28500 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28501
d5835c26
UD
28502 * io/Makefile (headers): Add bits/poll2.h.
28503
d1f741e9
WS
285042011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28505
28506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28507 typo #include statement.
28508
ec09c1c4
UD
285092012-01-08 Ulrich Drepper <drepper@gmail.com>
28510
28511 * include/sys/cdefs.h: Define __attribute_alloc_size.
28512 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28513 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28514 * elf/pldd.c: Likewise.
28515 * iconv/iconv_charmap.c: Likewise.
28516 * iconv/iconvconfig.c: Likewise.
28517 * iconv/strtab.c: Likewise.
28518 * locale/programs/locale.c: Likewise.
28519 * locale/programs/localedef.h: Likewise.
28520 * locale/programs/simple-hash.c: Likewise.
28521 * nscd/nscd.h: Likewise.
28522 * nss/makedb.c: Likewise.
28523 * sysdeps/generic/ldconfig.h: Likewise.
28524 * locale/programs/localedef.c: Remove xmalloc prototype.
28525 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28526
20b38e03
PP
285272012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28528
28529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28530 appropriate.
28531
a0da5fe1
UD
285322012-01-08 Ulrich Drepper <drepper@gmail.com>
28533
1d5a644a 28534 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28535 * math/tst-CMPLX.c: New file.
1d5a644a 28536
8784a6db
UD
28537 * math/complex.h (CMPLXL): Fix typo.
28538
d9a216c0
UD
28539 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28540 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28541 GLIBC_2.16.
28542 * debug/tst-chk1.c: Add poll and ppoll tests.
28543 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28544 * include/sys/poll.h: Add hidden proto for ppoll.
28545 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28546 * sysdeps/mach/hurd/ppoll.c: Likewise.
28547 * io/ppoll.c: Likewise.
28548 * debug/poll_chk.c: New file.
28549 * debug/ppoll_chk.c: New file.
28550 * include/bits/poll2.h: New file.
28551 * io/bits/poll2.h: New file.
28552
ac097f5c
UD
28553 [BZ #1350]
28554 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28555
2119dcfa
UD
28556 * configure.in: static is always set to yes. Remove.
28557 * config.make.in: Don't set build-static.
28558 * Makeconfig: Remove use of build-static.
28559 * dlfcn/Makefile: Likewise.
28560 * elf/Makefile: Likewise.
28561 * math/Makefile: Likewise.
28562 * misc/Makefile: Likewise.
28563 * nptl/Makefile: Likewise.
28564 * sysdeps/mach/hurd/Makefile: Likewise.
28565
121766a9
UD
28566 * configure.in: PWD_P is not used anymore.
28567 * config.make.in: Remove PWD_P entry.
28568
51a1d39c 28569 * configure.in: Remove last remnants of RANLIB.
8720d066 28570 No need to check for signed size_t anymore.
215f4bdc
UD
28571 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28572 and IA-64.
3857022a 28573 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28574 * aclocal.m4: Likewise.
28575
d3ed7225
UD
28576 * wcsmbs/mbrtoc16.c: Implement using towc function.
28577 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28578 * wcsmbs/wcsmbsload.c: Likewise.
28579 * iconv/gconv_simple.c: Likewise.
28580 * iconv/gconv_int.h: Likewise.
28581 * iconv/gconv_builtin.h: Likewise.
28582 * iconv/iconv_prog.c: Remove CHAR16 handling.
28583
28584 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28585
28586 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28587
a0da5fe1
UD
28588 * configure.in: Remove --with-elf and --enable-bounded options.
28589 Dont set base_machine for ia64. More non-ELF conditions removed.
28590 Remove testing and setting of leading underscore information.
28591 * config.make.in (build-bounded): Set to no.
28592 * config.h.in: Remove NO_UNDERSCORES entry.
28593 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28594 them.
28595 * csu/start.c: Remove !NO_UNDERSCORE code.
28596 * locale/localeinfo.h: Likewise.
28597 * sysdeps/generic/machine-gmon.h: Likewise.
28598 * sysdeps/generic/sysdep.h: Likewise.
28599 * sysdeps/i386/sysdep.h: Likewise.
28600 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28601 * sysdeps/mach/sysdep.h: Likewise.
28602 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28603 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28604 * sysdeps/sh/sysdep.h: Likewise.
28605 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28606 * sysdeps/unix/i386/sysdep.S: Likewise.
28607 * sysdeps/unix/sparc/start.c: Likewise.
28608 * sysdeps/unix/sparc/sysdep.S: Likewise.
28609 * sysdeps/unix/sparc/sysdep.h: Likewise.
28610 * sysdeps/unix/start.c: Likewise.
28611 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28612 * sysdeps/x86_64/sysdep.h: Likewise.
28613
df78418a
UD
286142012-01-07 Ulrich Drepper <drepper@gmail.com>
28615
a784e502
UD
28616 [BZ #13553]
28617 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28618 for non-gcc.
28619 * argp/argp-fmtstream.h: Use const instead __const.
28620 * argp/argp.h: Likewise.
28621 * assert/assert.h: Likewise.
28622 * bits/fenv.h: Likewise.
28623 * bits/sched.h: Likewise.
28624 * bits/sigset.h: Likewise.
28625 * bits/sigthread.h: Likewise.
28626 * catgets/nl_types.h: Likewise.
28627 * conform/data/pthread.h-data: Likewise.
28628 * crypt/crypt-private.h: Likewise.
28629 * crypt/crypt.h: Likewise.
28630 * crypt/crypt_util.c: Likewise.
28631 * ctype/ctype.h: Likewise.
28632 * debug/execinfo.h: Likewise.
28633 * debug/mbsnrtowcs_chk.c: Likewise.
28634 * debug/mbsrtowcs_chk.c: Likewise.
28635 * debug/wcsnrtombs_chk.c: Likewise.
28636 * debug/wcsrtombs_chk.c: Likewise.
28637 * debug/wcstombs_chk.c: Likewise.
28638 * dirent/dirent.h: Likewise.
28639 * dlfcn/dlfcn.h: Likewise.
28640 * elf/neededtest4.c: Likewise.
28641 * grp/grp.h: Likewise.
28642 * gshadow/gshadow.h: Likewise.
28643 * iconv/gconv.h: Likewise.
28644 * iconv/gconv_int.h: Likewise.
28645 * iconv/gconv_simple.c: Likewise.
28646 * iconv/iconv.h: Likewise.
28647 * iconv/loop.c: Likewise.
28648 * iconv/skeleton.c: Likewise.
28649 * include/aio.h: Likewise.
28650 * include/aliases.h: Likewise.
28651 * include/argz.h: Likewise.
28652 * include/arpa/inet.h: Likewise.
28653 * include/assert.h: Likewise.
28654 * include/dirent.h: Likewise.
28655 * include/dlfcn.h: Likewise.
28656 * include/execinfo.h: Likewise.
28657 * include/fcntl.h: Likewise.
28658 * include/fenv.h: Likewise.
28659 * include/glob.h: Likewise.
28660 * include/grp.h: Likewise.
28661 * include/libintl.h: Likewise.
28662 * include/mntent.h: Likewise.
28663 * include/netdb.h: Likewise.
28664 * include/pwd.h: Likewise.
28665 * include/rpc/netdb.h: Likewise.
28666 * include/sched.h: Likewise.
28667 * include/search.h: Likewise.
28668 * include/shadow.h: Likewise.
28669 * include/signal.h: Likewise.
28670 * include/stdio.h: Likewise.
28671 * include/stdlib.h: Likewise.
28672 * include/string.h: Likewise.
28673 * include/sys/socket.h: Likewise.
28674 * include/sys/stat.h: Likewise.
28675 * include/sys/statfs.h: Likewise.
28676 * include/sys/statvfs.h: Likewise.
28677 * include/sys/syslog.h: Likewise.
28678 * include/sys/time.h: Likewise.
28679 * include/sys/uio.h: Likewise.
28680 * include/time.h: Likewise.
28681 * include/unistd.h: Likewise.
28682 * include/utmp.h: Likewise.
28683 * include/wchar.h: Likewise.
28684 * include/wctype.h: Likewise.
28685 * inet/aliases.h: Likewise.
28686 * inet/arpa/inet.h: Likewise.
28687 * inet/netinet/ether.h: Likewise.
28688 * inet/netinet/in.h: Likewise.
28689 * intl/libintl.h: Likewise.
28690 * io/bits/fcntl2.h: Likewise.
28691 * io/fcntl.h: Likewise.
28692 * io/ftw.h: Likewise.
28693 * io/sys/poll.h: Likewise.
28694 * io/sys/stat.h: Likewise.
28695 * io/sys/statfs.h: Likewise.
28696 * io/sys/statvfs.h: Likewise.
28697 * io/utime.h: Likewise.
28698 * libio/bits/stdio.h: Likewise.
28699 * libio/bits/stdio2.h: Likewise.
28700 * libio/libio.h: Likewise.
28701 * libio/libioP.h: Likewise.
28702 * libio/stdio.h: Likewise.
28703 * locale/lc-ctype.c: Likewise.
28704 * locale/locale.h: Likewise.
28705 * login/utmp.h: Likewise.
28706 * malloc/arena.c: Likewise.
28707 * malloc/malloc.c: Likewise.
28708 * malloc/malloc.h: Likewise.
28709 * malloc/mcheck.c: Likewise.
28710 * malloc/mtrace.c: Likewise.
28711 * math/bits/mathcalls.h: Likewise.
28712 * math/fenv.h: Likewise.
28713 * math/math_private.h: Likewise.
28714 * misc/bits/error.h: Likewise.
28715 * misc/bits/syslog.h: Likewise.
28716 * misc/err.h: Likewise.
28717 * misc/error.h: Likewise.
28718 * misc/fstab.h: Likewise.
28719 * misc/mntent.h: Likewise.
28720 * misc/regexp.h: Likewise.
28721 * misc/search.h: Likewise.
28722 * misc/sgtty.h: Likewise.
28723 * misc/sys/mman.h: Likewise.
28724 * misc/sys/syslog.h: Likewise.
28725 * misc/sys/uio.h: Likewise.
28726 * misc/sys/xattr.h: Likewise.
28727 * misc/ttyent.h: Likewise.
28728 * nis/rpcsvc/ypclnt.h: Likewise.
28729 * nss/nss.h: Likewise.
28730 * posix/bits/unistd.h: Likewise.
28731 * posix/fnmatch.h: Likewise.
28732 * posix/glob.h: Likewise.
28733 * posix/sched.h: Likewise.
28734 * posix/spawn.h: Likewise.
28735 * posix/sys/wait.h: Likewise.
28736 * posix/unistd.h: Likewise.
28737 * posix/wordexp.h: Likewise.
28738 * pwd/pwd.h: Likewise.
28739 * resolv/netdb.h: Likewise.
28740 * resource/sys/resource.h: Likewise.
28741 * rt/aio.h: Likewise.
28742 * rt/bits/mqueue2.h: Likewise.
28743 * rt/mqueue.h: Likewise.
28744 * shadow/shadow.h: Likewise.
28745 * signal/signal.h: Likewise.
28746 * socket/send.c: Likewise.
28747 * socket/sendto.c: Likewise.
28748 * socket/sys/socket.h: Likewise.
28749 * stdio-common/printf.h: Likewise.
28750 * stdlib/bits/stdlib.h: Likewise.
28751 * stdlib/fmtmsg.h: Likewise.
28752 * stdlib/monetary.h: Likewise.
28753 * stdlib/stdlib.h: Likewise.
28754 * stdlib/ucontext.h: Likewise.
28755 * streams/stropts.h: Likewise.
28756 * string/argz.h: Likewise.
28757 * string/bits/string2.h: Likewise.
28758 * string/string.h: Likewise.
28759 * string/strings.h: Likewise.
28760 * sunrpc/rpc/auth.h: Likewise.
28761 * sunrpc/rpc/auth_des.h: Likewise.
28762 * sunrpc/rpc/clnt.h: Likewise.
28763 * sunrpc/rpc/netdb.h: Likewise.
28764 * sunrpc/rpc/pmap_clnt.h: Likewise.
28765 * sunrpc/rpc/xdr.h: Likewise.
28766 * sysdeps/generic/inttypes.h: Likewise.
28767 * sysdeps/generic/net/if.h: Likewise.
28768 * sysdeps/generic/sys/swap.h: Likewise.
28769 * sysdeps/gnu/net/if.h: Likewise.
28770 * sysdeps/gnu/utmpx.h: Likewise.
28771 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28772 * sysdeps/i386/i486/bits/string.h: Likewise.
28773 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28774 * sysdeps/s390/bits/string.h: Likewise.
28775 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28776 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28777 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28778 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28779 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28780 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28781 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28782 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28783 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28784 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28785 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28786 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28787 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28788 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28789 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28790 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28791 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28793 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28794 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28795 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28796 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28797 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28798 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28799 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28800 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28801 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28802 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28803 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28804 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28805 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28806 * sysvipc/sys/ipc.h: Likewise.
28807 * sysvipc/sys/msg.h: Likewise.
28808 * sysvipc/sys/sem.h: Likewise.
28809 * sysvipc/sys/shm.h: Likewise.
28810 * termios/termios.h: Likewise.
28811 * time/sys/time.h: Likewise.
28812 * time/time.h: Likewise.
28813 * wcsmbs/bits/wchar2.h: Likewise.
28814 * wcsmbs/uchar.h: Likewise.
28815 * wcsmbs/wchar.h: Likewise.
28816 * wctype/wctype.h: Likewise.
28817
0269750c
UD
28818 [BZ #13551]
28819 * Makeconfig: Remove all but ELF support including AIX support.
28820 * Makerules: Likewise.
28821 * config.h.in: Likewise.
28822 * config.make.in: Likewise.
28823 * configure: Likewise.
28824 * configure.in: Likewise.
28825 * csu/Makefile: Likewise.
28826 * csu/version.c: Likewise.
28827 * debug/Makefile: Likewise.
28828 * dlfcn/Makefile: Likewise.
28829 * elf/Makefile: Likewise.
28830 * extra-lib.mk: Likewise.
28831 * iconv/Makefile: Likewise.
28832 * include/libc-symbols.h: Likewise.
28833 * include/shlib-compat.h: Likewise.
28834 * resolv/Makefile: Likewise.
28835 * resolv/res_libc.c: Likewise.
28836 * rt/Makefile: Likewise.
28837 * sysdeps/i386/asm-syntax.h: Likewise.
28838 * sysdeps/i386/sysdep.h: Likewise.
28839 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28840 * sysdeps/mach/sysdep.h: Likewise.
28841 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28842 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28843 * sysdeps/s390/asm-syntax.h: Likewise.
28844 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28846 * sysdeps/sh/sysdep.h: Likewise.
28847 * sysdeps/unix/sparc/sysdep.h: Likewise.
28848 * sysdeps/wordsize-32/divdi3.c: Likewise.
28849 * sysdeps/x86_64/sysdep.h: Likewise.
28850
00bbd29b
UD
28851 * argp/Versions: Remove _argp_unlock_xxx.
28852
28853 [BZ #13559]
28854 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28855 * abilist/libBrokenLocale.abilist: Likewise.
28856 * abilist/libanl.abilist: Likewise.
28857 * abilist/libc.abilist: Likewise.
28858 * abilist/libcrypt.abilist: Likewise.
28859 * abilist/libdl.abilist: Likewise.
28860 * abilist/libm.abilist: Likewise.
28861 * abilist/libnsl.abilist: Likewise.
28862 * abilist/libpthread.abilist: Likewise.
28863 * abilist/libresolv.abilist: Likewise.
28864 * abilist/librt.abilist: Likewise.
28865 * abilist/libthread_db.abilist: Likewise.
28866 * abilist/libutil.abilist: Likewise.
28867 * abilist/libnss_db.abilist: New file.
28868
28869 * scripts/abilist.awk: Add support for indirect functions.
28870
a2693a0e
UD
28871 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28872
3f05895f
UD
28873 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28874
ecb6fb48
UD
28875 * shlib-versions: Remove entries for ports architectures.
28876
664f8cb9
UD
28877 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28878 files in ports.
28879 * elf/stackguard-macros.h: Remove support for IA-64.
28880 * elf/tst-auditmod1.c: Likewise.
28881 * sysdeps/generic/ldsodefs.h: Likewise.
28882
7ae81d88
UD
28883 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28884 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28885 configure files.
28886
bdeba135
UD
28887 [BZ #13552]
28888 * configure.in: Remove --enable-omitfp support.
28889 * FAQ.in: Adjust.
28890 * config.make.in: Likewise.
28891 * Makeconfig: Likewise.
28892 * manual/install.texi: Likewise.
28893
d75a0a62
UD
28894 In case anyone cares, the IA-64 architecture could move to ports.
28895 * sysdeps/ia64/*: Removed.
28896 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28897 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28898
dcc9756b
UD
28899 [BZ #13555]
28900 * configure.in: Remove entries for unsupported architectures.
28901
d3761ebc 28902 [BZ #13533]
9954432e
UD
28903 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28904 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28905 routines.
28906 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28907 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28908 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28909 fall back to using wcrtomb.
28910 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28911 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28912 renaming.
28913 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28914 * wcsmbs/tst-c16c32-1.c: New file.
28915
28916 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28917 local variable.
28918
c3a87236
UD
28919 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28920
28926a1b
UD
28921 * elf/tst-unique3.cc: Add explicit declaration of gets.
28922 * elf/tst-unique3lib.cc: Likewise.
28923 * elf/tst-unique3lib2.cc: Likewise.
28924 * elf/tst-unique4.cc: Likewise.
28925
df78418a
UD
28926 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28927
8ecd6b2a
JM
289282012-01-06 Joseph Myers <joseph@codesourcery.com>
28929
28930 [BZ #13566]
28931 * assert/assert.h (static_assert): Don't define for C++.
28932 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28933 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28934
9f115170
UD
289352012-01-03 Ulrich Drepper <drepper@gmail.com>
28936
5e0d0300
UD
28937 * iconv/loop.c (single loop): Fix assertion in storing of
28938 remaining bytes.
28939
9f115170
UD
28940 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28941
81fb02b0
UD
289422012-01-01 Ulrich Drepper <drepper@gmail.com>
28943
28944 * posix/getconf.c: Update copyright year.
28945 * nss/getent.c: Likewise.
a316c1f6 28946 * nss/makedb.c: Likewise.
81fb02b0
UD
28947 * iconv/iconvconfig.c: Likewise.
28948 * iconv/iconv_prog.c: Likewise.
28949 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28950 * elf/pldd.c: Likewise.
28951 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28952 * catgets/gencat.c: Likewise.
28953 * csu/version.c: Likewise.
28954 * elf/ldd.bash.in: Likewise.
28955 * elf/sprof.c (print_version): Likewise.
28956 * locale/programs/locale.c: Likewise.
28957 * locale/programs/localedef.c: Likewise.
a316c1f6 28958 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28959 * nscd/nscd.c (print_version): Likewise.
28960 * debug/xtrace.sh: Likewise.
28961 * malloc/memusage.sh: Likewise.
28962 * malloc/mtrace.pl: Likewise.
28963 * debug/catchsegv.sh: Likewise.
28964
2ba92745
JJ
289652011-12-30 Jakub Jelinek <jakub@redhat.com>
28966
28967 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28968 pure attribute.
28969
dadebdae
UD
289702011-12-24 Ulrich Drepper <drepper@gmail.com>
28971
d3761ebc 28972 [BZ #13533]
db6af3eb
UD
28973 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28974 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28975 transformations.
28976 * iconv/gconv_int.h: Likewise.
28977 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28978 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28979 from libc for GLIBC_2.16.
28980 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28981 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28982 * wcsmbs/uchar.h: Really define mbstate_t.
28983 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28984 * wcsmbs/c16rtomb.c: New file.
28985 * wcsmbs/mbrtoc16.c: New file.
28986 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28987 for C/POSIX locale.
28988 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28989 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28990
dadebdae
UD
28991 * wcsmbs/wchar.h: Add missing __restrict.
28992
67371b56
UD
289932011-12-23 Ulrich Drepper <drepper@gmail.com>
28994
74033a25
UD
28995 [BZ #13532]
28996 * time/Makefile (routines): Add timespec_get.
28997 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28998 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28999 timespec for ISO C11.
29000 * time/timespec_get.c: New file.
29001 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29002 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29003
380d7e87
UD
29004 [BZ #13531]
29005 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29006 * stdlib/stdlib.h: Declare aligned_alloc.
29007 * Versions.def: Add GLIBC_2.16 for libc.
29008 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29009
4e9e7a35
UD
29010 [BZ 13527]
29011 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29012 ISO C11.
29013
380d7e87 29014 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29015 code.
29016
03a71829
UD
29017 [BZ #13528]
29018 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29019
839e283e
UD
29020 [BZ #13529]
29021 * assert/assert.h (static_assert): Define.
29022
ce5294e2 29023 * version.h: Update for 2.16 development version.
90fa7312 29024
8d44e150 29025 [BZ #13526]
d7809905
UD
29026 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29027 _ISOC11_SOURCE.
29028
c0da14cd
UD
29029 * version.h (RELEASE): Bump for 2.15 release.
29030 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29031
530a3249
MP
29032 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29033 Patch by Marek Polacek <mpolacek@redhat.com>.
29034
67371b56
UD
29035 * bits/byteswap.h: Protect long long constants with __extension__.
29036 * sysdeps/i386/bits/byteswap.h: Likewise.
29037 * sysdeps/ia64/bits/byteswap.h: Likewise.
29038 * sysdeps/s390/bits/byteswap.h: Likewise.
29039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29040
15db4de1
LD
290412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29042
29043 [BZ #13540]
bbe315ea
LD
29044 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29045 destination buffer.
15db4de1
LD
29046 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29047
2b2596b1
MP
290482011-12-23 Marek Polacek <polacek@redhat.com>
29049
29050 * elf/dl-addr.c (determine_info): Add inline keyword.
29051 * elf/tst-auditmod4b.c (check_avx): Likewise.
29052 * elf/tst-auditmod6b.c (check_avx): Likewise.
29053 * elf/tst-auditmod6c.c (check_avx): Likewise.
29054 * elf/tst-auditmod7b.c (check_avx): Likewise.
29055
70c6c246
UD
290562011-12-23 Ulrich Drepper <drepper@gmail.com>
29057
29058 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29059 !__SSE_MATH__.
29060
c044cf14
LD
290612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29062
15db4de1 29063 [BZ #13540]
c044cf14
LD
29064 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29065 processing for last bytes.
29066
6b13d9d9
BH
290672011-08-06 Bruno Haible <bruno@clisp.org>
29068
d455f537
BH
29069 [BZ #13061]
29070 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29071 U+0385, not to U+1FEE.
29072
6b13d9d9
BH
29073 [BZ #13062]
29074 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29075 entry for U+00A5 U+0301.
29076
db910efd
UD
290772011-12-22 Ulrich Drepper <drepper@gmail.com>
29078
27deeafc
UD
29079 [BZ #13166]
29080 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29081 buffer for the output is too small.
29082
aed9d171
UD
29083 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29084 optimization.
29085
db910efd
UD
29086 [BZ #13185]
29087 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29088 SSE flags if possible.
29089
2bd779ae
LD
290902011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29091
e7f9dac3 29092 [BZ #13540]
2bd779ae
LD
29093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29094 processing for last bytes.
29095
154bfc16
JM
290962011-12-22 Joseph Myers <joseph@codesourcery.com>
29097
29098 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29099 (syscall-list-default-options, syscall-list-default-condition)
29100 (syscall-list-includes): Define.
29101 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29102 list of ABIs and options and #if conditions for each ABI. Do not
29103 handle common syscalls between ABIs specially.
29104 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29105 Remove.
29106 (syscall-list-variants, syscall-list-32bit-options)
29107 (syscall-list-32bit-condition, syscall-list-64bit-options)
29108 (syscall-list-64bit-condition): Define.
29109 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29110 (syscall-list-variants, syscall-list-32bit-options)
29111 (syscall-list-32bit-condition, syscall-list-64bit-options)
29112 (syscall-list-64bit-condition): Define.
29113 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29114 Remove.
29115 (syscall-list-variants, syscall-list-32bit-options)
29116 (syscall-list-32bit-condition, syscall-list-64bit-options)
29117 (syscall-list-64bit-condition): Define.
29118 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29119 Remove.
29120 (syscall-list-variants, syscall-list-32bit-options)
29121 (syscall-list-32bit-condition, syscall-list-64bit-options)
29122 (syscall-list-64bit-condition): Define.
29123
21eaf3a5
UD
291242011-12-22 Ulrich Drepper <drepper@gmail.com>
29125
16c6f992
UD
29126 * locale/iso-639.def: Add brx entry.
29127
41043168
UD
29128 [BZ #13328]
29129 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29130 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29131
21eaf3a5
UD
29132 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29133 __feraiseexcept_renamed.
29134
e3a851a2
UD
291352011-12-21 Ulrich Drepper <drepper@gmail.com>
29136
4920765e
UD
29137 [BZ #13538]
29138 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29139 EPOLLET with unsigned values.
29140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29141 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29142
e3a851a2
UD
29143 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29144 to large cancellation.
29145 * math/s_cacoshf.c: Likewise.
29146 * math/s_cacoshl.c: Likewise.
29147
b27e24b8
RK
291482011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29149
29150 [BZ #13305]
aebefeee 29151 [BZ #12786]
b27e24b8
RK
29152 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29153 * math/s_cacoshf.c: Likewise.
29154 * math/s_cacoshl.c: Likewise.
29155
ee190f67
UD
291562011-12-21 Ulrich Drepper <drepper@gmail.com>
29157
29158 [BZ #13439]
29159 * iconv/gconv.h: Define __GCONV_SWAP.
29160 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29161 * iconvdata/utf-16.c: Likewise.
29162 * iconvdata/utf-32.c: Likewise.
29163
707f25df
AS
291642011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29165
29166 [BZ #13524]
29167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29168 numerator after shifting it by one limb.
29169
d2daaa1e
RÁE
291702011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29171
29172 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29173 under [__USE_EXTERN_INLINES].
29174
a4647e72
UD
291752011-12-17 Ulrich Drepper <drepper@gmail.com>
29176
29177 [BZ #13446]
29178 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29179
f0b264f1
AZ
291802011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29181
29182 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29183 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29184 optimized code.
29185 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29186 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29187 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29188 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29189 for strncasecmp/strncasecmp_l compilation.
29190 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29191 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29192
8ef4f244
MP
291932011-12-08 Marek Polacek <mpolacek@redhat.com>
29194
29195 [BZ #13484]
29196 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29197 of __asm__.
29198
97ac2654
UD
291992011-12-17 Ulrich Drepper <drepper@gmail.com>
29200
29201 [BZ #13506]
29202 * time/tzfile.c (__tzfile_read): Check values from file header.
29203
91d2a845
WS
292042011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29205
29206 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29207 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29208 * powerpc/powerpc32/dl-start.S: Likewise.
29209 * powerpc/powerpc32/elf/start.S: Likewise.
29210 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29211 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29212 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29213 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29214 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29215 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29216 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29217 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29218 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29219 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29220 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29221 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29222 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29223 * powerpc/powerpc32/memset.S: Likewise.
29224 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29225 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29226 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29227 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29228 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29229 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29230 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29231 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29232 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29233 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29234 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29235 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29236 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29237
a1267ba1
AZ
292382011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29239
29240 * math/libm-test.inc: Added more nearbyint tests.
29241 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29242 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29244 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29245
ad8ac1bd
RL
292462011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29247
29248 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29249 FD_CLOEXEC.
29250
1d3e4b61
UD
292512011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29252
29253 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29254 Add wcscpy-ssse3 wcscpy-c.
29255 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29256 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29257 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29258 * sysdeps/x86_64/wcschr.S: New file.
29259 * sysdeps/x86_64/wcsrchr.S: New file.
29260 * string/test-strcmp.c: Remove checking of wcscmp function for
29261 wrong alignments.
29262 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29263 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29264 wcsrchr-sse2 wcsrchr-c.
29265 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29266 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29267 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29268 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29269 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29270 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29271 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29272 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29273 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29274 * wcsmbc/wcschr.c (WCSCHR): New macro.
29275
5b330a2d
UD
292762011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29277
29278 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29279 * wcsmbs/test-wcsrchr.c: New file.
29280 * string/test-strrchr.c: Add wcsrchr support.
29281 (WIDE): New macro.
29282 * wcsmbs/test-wcscpy.c: New file.
29283 * string/test-strcpy.c: Add wcscpy support.
29284 (WIDE): New macro.
26428b7c 29285
f039c043
UD
292862011-12-10 Ulrich Drepper <drepper@gmail.com>
29287
29288 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29289 the inner loop.
29290
850fb039
AS
292912011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29292
29293 [BZ #13472]
29294 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29295
4efbd5cb
UD
292962011-12-04 Ulrich Drepper <drepper@gmail.com>
29297
52ff5dd0 29298 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29299 Minor optimizations.
52ff5dd0 29300
4efbd5cb
UD
29301 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29302 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29303 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29304
8a426e12
UD
293052011-12-03 Ulrich Drepper <drepper@gmail.com>
29306
aff2453d
UD
29307 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29308 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29309 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29310 for gcc to avoid warnings.
29311 * inet/Makefile (tests): Add tst-checks.
29312 * inet/tst-checks.c: New file.
29313
29314 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29315 warning.
29316
29317 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29318 __wmemcmp_sse2.
29319
29320 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29321 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29322
8a426e12
UD
29323 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29324
9bea3473
UD
293252011-12-02 Ulrich Drepper <drepper@gmail.com>
29326
3a965496
UD
29327 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29328 problem.
29329
9bea3473
UD
29330 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29331
f101631b
UD
293322011-11-29 Joseph Myers <joseph@codesourcery.com>
29333
29334 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29335 conditional on GCC version.
29336 (__arch_compare_and_exchange_val_8_acq)
29337 (__arch_compare_and_exchange_val_16_acq)
29338 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29339 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29340 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29341
a98275aa
UD
293422011-12-02 Joseph Myers <joseph@codesourcery.com>
29343
29344 * sysdeps/sh/backtrace.c: New file.
29345
d4cc29a2
AS
293462011-12-02 Andreas Schwab <schwab@redhat.com>
29347
29348 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29349 parenthesis.
29350
6257af2d
AS
293512011-12-01 Andreas Schwab <schwab@redhat.com>
29352
29353 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29354 falling back to utime.
29355
b5f44c1a
AS
293562011-11-30 Andreas Schwab <schwab@redhat.com>
29357
29358 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29359 expectations for float.
29360
f3a6cc0a
AS
293612011-11-29 Andreas Schwab <schwab@redhat.com>
29362
29363 * locale/weight.h (findidx): Add parameter len.
29364 * locale/weightwc.h (findidx): Likewise.
29365 * posix/fnmatch_loop.c (FCT): Adjust caller.
29366 * posix/regcomp.c (build_equiv_class): Likewise.
29367 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29368 * posix/regexec.c (check_node_accept_bytes): Likewise.
29369 * string/strcoll_l.c (STRCOLL): Likewise.
29370 * string/strxfrm_l.c (STRXFRM): Likewise.
29371
9d65ea3a
UD
293722011-11-17 Ulrich Drepper <drepper@gmail.com>
29373
29374 * Makefile.in: Remove CVSOPT handling.
29375 * configure.in: Remove use of AC_REVISION.
29376 * iconvdata/Makefile (distribute): No need to filter out CVS.
29377 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29378 handling.
29379
5583a086
AS
293802011-11-16 Andreas Schwab <schwab@redhat.com>
29381
29382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29383 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29384 [USE_AS_STRNCASECMP_L]: Likewise.
29385 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29386 NO_TLS_DIRECT_SEG_REFS.
29387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29388 Fix argument offsets for non-PIC.
29389 [USE_AS_STRNCASECMP_L]: Likewise.
29390 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29391 NO_TLS_DIRECT_SEG_REFS.
29392
d62a8200
UD
293932011-11-15 Ulrich Drepper <drepper@gmail.com>
29394
9d65ea3a 29395 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29396 O_CLOEXEC.
29397 * locale/loadlocale.c (_nl_load_locale): Likewise.
29398
09f93bd3
AS
293992011-11-15 Andreas Schwab <schwab@redhat.com>
29400
446514f9
AS
29401 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29402 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29403 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29404 (SYSCALL_GETTIME): Set errno on error.
29405
09f93bd3
AS
29406 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29407 count references to noai6ai_cached.
29408
312be3f9
UD
294092011-11-15 Ulrich Drepper <drepper@gmail.com>
29410
29411 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29412
29413 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29414 FD_CLOEXEC for /proc/self/maps.
29415
29416 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29417 FD_CLOEXEC for /proc/meminfo.
29418
29419 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29420 gai.conf.
29421
29422 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29423 FD_CLOEXEC for given file.
29424
29425 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29426
29427 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29428 FD_CLOEXEC for /etc/hosts.
29429 (_gethtent): Likewise.
29430
29431 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29432
29433 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29434 cancellation and set FD_CLOEXEC for /etc/netgroup.
29435
29436 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29437 reading /etc/publickey.
29438
29439 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29440 allow cancellation when reading /etc/group.
29441
29442 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29443 cancellation.
29444 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29445
29446 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29447 when using data file.
29448
29449 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29450
29451 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29452 (write_nis_obj): Use "c" and "e" in fopen.
29453
29454 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29455
29456 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29457
29458 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29459
29460 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29461
29462 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29463 locale.alias.
29464
29465 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29466
29467 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29468
29469 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29470
29471 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29472 file parsing and set FD_CLOEXEC.
29473
82af0fa8
UD
294742011-11-14 Ulrich Drepper <drepper@gmail.com>
29475
29476 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29477
a5fb313c
AS
294782011-11-14 Andreas Schwab <schwab@redhat.com>
29479
29480 * malloc/arena.c (arena_get2): Don't call reused_arena when
29481 _int_new_arena failed.
29482
6abf3465
UD
294832011-11-14 Ulrich Drepper <drepper@gmail.com>
29484
29485 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29486 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29487 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29488 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29489 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29491 to compile strcasecmp and strncasecmp.
29492 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29493 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29494
29495 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29496
76e3966e
UD
294972011-11-13 Ulrich Drepper <drepper@gmail.com>
29498
29499 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29500 locale-defines.sym to gen-as-const-headers.
29501 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29502 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29504 to compile strcasecmp and strncasecmp.
29505 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29506 strcasecmp_l and strncasecmp_l.
29507 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29508 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29509 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29510 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29511 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29512 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29513 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29514 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29515 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29516 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29517 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29518
ab26144e
UD
295192011-11-12 Ulrich Drepper <drepper@gmail.com>
29520
7edb22ef
UD
29521 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29522 result of SYSDEP_GETTIME_CPU to retval.
29523 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29524 parameter list to macro. Remove trailing semicolon. Adjust users.
29525
9694fc44
UD
29526 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29527 variable.
29528
8ad89ef8
UD
29529 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29530 mantissa words.
29531 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29532
0c822ef9
UD
29533 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29534 from unused variable.
29535
874e0564
UD
29536 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29537 DWARF definitions.
29538 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29539 for assembling.
29540
3a2edc79
UD
29541 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29542 over namespaces.
29543
f3c2577f
UD
29544 * sunrpc/rpc_prot.c (rejected): Fix case value.
29545
294ce126
UD
29546 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29547 unsigned long long int to avoid warnings in shift.
29548
5e2b63c6
UD
29549 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29550 of use of trans.
29551 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29552 variable tmp.
29553
e7f4b08e
UD
29554 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29555 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29556 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29557
ab26144e
UD
29558 * nis/nis_table.c (nis_list): Use variable of correct type for
29559 result of __follow_path call.
29560
8a6d5255
AZ
295612011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29562
29563 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29564 of math functions ceil, trunc, floor, round, and sqrt, when
29565 avaliable on the platform.
29566 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29567 name clash.
29568 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29569 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29570 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29571
aaddc98c
MP
295722011-10-30 Marek Polacek <mpolacek@redhat.com>
29573
29574 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29576
95b7042b
RM
295772011-11-11 Roland McGrath <roland@hack.frob.com>
29578
29579 * include/unistd.h: Fix __readlink return type.
29580 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29581
57769839
UD
295822011-11-11 Ulrich Drepper <drepper@gmail.com>
29583
29584 * stdlib/ucontext.h: Undo last change for makecontext.
29585
edc5984d
AS
295862011-11-11 Andreas Schwab <schwab@redhat.com>
29587
98591e58
AS
29588 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29589
edc5984d
AS
29590 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29591 * setjmp/setjmp.h: Mark functions as non-leaf.
29592 * setjmp/bits/setjmp2.h: Likewise.
29593 * stdlib/ucontext.h: Likewise.
29594
77cdc054
AS
295952011-11-10 Andreas Schwab <schwab@redhat.com>
29596
29597 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29598 (reused_arena): Don't check arena limit.
29599 (arena_get2): Atomically check arena limit.
29600
fe72eebd
UD
296012011-11-08 Ulrich Drepper <drepper@gmail.com>
29602
5f078c32
UD
29603 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29604 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29605
fe72eebd
UD
29606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29607 instructions.
29608
ae1bc2fa
AS
296092011-11-07 Andreas Schwab <schwab@redhat.com>
29610
7583a88d
AS
29611 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29612 handler when locking.
29613
ae1bc2fa
AS
29614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29615 Fix size of allocated buffer.
29616
10fb0bfa
AS
296172011-11-04 Andreas Schwab <schwab@redhat.com>
29618
998832a4
AS
29619 [BZ #10103]
29620 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29621 declarations for long double functions.
29622 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29623
10fb0bfa
AS
29624 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29625
3d7ba52b
AS
296262011-11-03 Andreas Schwab <schwab@redhat.com>
29627
a9ae54a1
AS
29628 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29629 installed.
29630
3d7ba52b
AS
29631 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29632 is disabled.
29633
bc8db248
ST
296342011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29635
29636 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29637
45b96dd6
AS
296382011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29639
647776f6
AS
29640 * include/alloca.h (stackinfo_alloca_round): Define.
29641 (extend_alloca): Use it.
29642 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29643 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29644 here.
29645
d91a8b93
AS
29646 * scripts/check-local-headers.sh: Ignore libaudit.h.
29647
45b96dd6
AS
29648 * nscd/Makefile (extra-objs): Make recursively expanded.
29649
432d41ce
UD
296502011-11-01 Ulrich Drepper <drepper@gmail.com>
29651
34372fc6
UD
29652 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29653 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29654
fadb59f8
UD
29655 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29656 * posix/tst-rfc3484-2.c: Likewise.
29657 * posix/tst-rfc3484-3.c: Likewise.
29658
78239589
UD
29659 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29660 process_vm_writev.
29661 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29662 process_vm_writev.
29663 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29664 process_vm_writev from libc using GLIBC_2.15 version.
29665
432d41ce
UD
29666 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29667
02f9c6cf
PP
296682011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29669
29670 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29671 stack usage.
29672
3a2c0242
UD
296732011-10-31 Ulrich Drepper <drepper@gmail.com>
29674
f4ec4833
UD
29675 [BZ #13367]
29676 * nss/getent.c (initgroups_keys): Show error message in case no group
29677 names are given.
29678
3a2c0242
UD
29679 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29680 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29681 __bump_nl_timestamp.
29682 * nscd/connections (nscd_init): When host database is served open
29683 netlink socket and request notification about configuration changes.
29684 (main_loop_poll): Track netlink file descriptor and bump timestamp
29685 in case data becomes available.
29686 (main_loop_epoll): Likewise.
29687 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29688 (database_pers_head): Add extra_data fileds.
29689 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29690 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29691 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29692 Adjust caller.
29693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29694 in6ai data, call __free_in6ai.
29695 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29696 Add -DHAVE_NETLINK.
29697 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29698 interface information. Reuse previous data if netlink timestamp
29699 is not changed.
29700 (__bump_nl_timestamp): New function.
29701 (__free_in6ai): New function.
29702
636064eb
UD
297032011-10-30 Ulrich Drepper <drepper@gmail.com>
29704
29705 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29706 close_not_cancel_no_status here.
29707 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29708
9beb2334
UD
297092011-10-29 Ulrich Drepper <drepper@gmail.com>
29710
6ef76f3b
UD
29711 [BZ #13276]
29712 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29713 return value.
29714
0ffc4f3e 29715 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29716 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29717 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29718
cb95113e
UD
297192011-07-03 Andreas Jaeger <aj@suse.de>
29720
29721 [BZ #10709]
29722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29723 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29724 * math/libm-test.inc (sin_test): Add test case.
29725
a1b560ff
UD
297262011-10-29 Ulrich Drepper <drepper@gmail.com>
29727
c9aaface
UD
29728 [BZ #13337]
29729 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29730 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29731
d272e7f1
UD
29732 * elf/chroot_canon.c (chroot_canon): Cleanups.
29733
1bc33071
UD
29734 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29735
1760874d
TJ
29736 [BZ #13335]
29737 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29738 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29739
51d91b18
UD
29740 * string/test-strchr.c: Make usable for strchrnul testing.
29741 * string/test-strchrnul.c: New file.
29742 * string/Makefile (strop-tests): Add strchrnul.
29743
a1b560ff 29744 * po/it.po: Update from translation team.
b611fb81 29745 * po/es.po: Likewise.
a1b560ff 29746
a5b81e1f
UD
297472011-10-28 Ulrich Drepper <drepper@gmail.com>
29748
fd52bc6d
UD
29749 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29750 the three constants needed as parameters. Drop the others.
29751 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29752 __m128i_strloadu_tolower.
52e4b9eb
UD
29753 Create and initialize variable zero and use it in all the places
29754 where _mm_setzero_si128 was used.
fd52bc6d 29755
a5b81e1f
UD
29756 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29757 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29758 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29759 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29760 anymore.
29761 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29762 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29763 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29764 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29765 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29766 __mpranred, __mptan.
29767 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29768 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29769 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29770 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29771 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29772 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29773 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29774 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29775 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29776
b4343346
AS
297772011-10-28 Andreas Schwab <schwab@redhat.com>
29778
0c92d8a8
AS
29779 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29780 redefine if SHARED.
29781 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29782
b4343346
AS
29783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29784 wide char related routines to wcsmbs subdir.
29785
3871f58f
AS
297862011-10-27 Andreas Schwab <schwab@redhat.com>
29787
29788 [BZ #13344]
29789 * misc/sys/cdefs.h (__THROWNL): Define.
29790 * posix/unistd.h: Use __THREADNL instead of __THREAD
29791 for memory synchronization functions.
29792
94d44d9f
RM
297932011-10-26 Roland McGrath <roland@hack.frob.com>
29794
21b64b15 29795 [BZ #13349]
94d44d9f
RM
29796 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29797 doesn't exist.
29798 * manual/stdio.texi (Obstack Streams): Node removed.
29799
f6ce9294
AS
298002011-10-26 Andreas Schwab <schwab@redhat.com>
29801
80479147
AS
29802 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29803 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29804 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29805
f6ce9294
AS
29806 * math/math_private.h (math_force_eval): Allow non-addressable
29807 arguments.
29808 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29809
618280a1
UD
298102011-10-25 Ulrich Drepper <drepper@gmail.com>
29811
e0016b11
UD
29812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29813 file is not needed.
29814
29815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29816 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29817 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29818 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29819 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29820 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29821 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29822 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29823 Add AVX variants.
29824 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29825 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29826 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29827 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29828 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29829 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29830 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29831 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29832 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29833 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29834 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29835 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29837 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29838 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29839 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29840 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29841 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29842 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29843
29844 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29845 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29846
618280a1
UD
29847 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29848 place. Use VEX encoding when compiling for AVX.
29849
37822576
AS
298502011-10-25 Andreas Schwab <schwab@redhat.com>
29851
1f1e1947
AS
29852 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29853 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29854
37822576
AS
29855 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29856
31ea014d
UD
298572011-10-25 Ulrich Drepper <drepper@gmail.com>
29858
d7826aa1 29859 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29860 useless if() expression.
d7826aa1
UD
29861 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29866 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29870 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29871 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29872 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29873 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29874 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29875 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29876 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29877 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29878 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29879 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29880
31ea014d
UD
29881 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29882
16437fec
AS
298832011-10-25 Andreas Schwab <schwab@redhat.com>
29884
29885 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29886 condition.
29887 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29888
31d3cc00
UD
298892011-10-25 Ulrich Drepper <drepper@gmail.com>
29890
29891 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29892 .text section. Avoid duplicate constants.
29893 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29900 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29903 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29905 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29908 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29910 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29915 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29917 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29918 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29919 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29920 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29921 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29922 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29924 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29925 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29926 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29927 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29928 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29929 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29930 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29931 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29932 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29934 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29935 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29936 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29937 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29938
58985aa9
UD
299392011-10-24 Ulrich Drepper <drepper@gmail.com>
29940
202c9deb
UD
29941 * sysdeps/x86_64/dla.h: Move to ...
29942 * sysdeps/x86_64/fpu/dla.h: ...here.
29943 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29944 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29945
af968f62
UD
29946 * config.make.in: Add have-mfma4 entry.
29947 * configure.in: Substitute libc_cv_cc_fma4.
29948 * math/Makefile (dbl-only-routines): Add sincostab.
29949 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29950 Use __sincostab not sincos.
29951 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29952 name is a macro.
29953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29957 using __copysign.
29958 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29959 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29960 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29961 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29962 and __inv.
29963 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29964 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29965 __copysign.
29966 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29967 define aliases when function name is a macro.
29968 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29969 sysdeps/ieee754/dbl-64/sincos.tbl.
29970 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29971 fma4-enabled routines.
29972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29977 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29978 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29979 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29980 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29981 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29982 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29983 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29984 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29985 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29987 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29988 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29989 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29990 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29991 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29992 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29993 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29994 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29995 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29996 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29997 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29998 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29999 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30000 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30001 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30002
58985aa9
UD
30003 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30004 rename.
30005 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30012 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30013
a201fbcf
AS
300142011-10-24 Andreas Schwab <schwab@redhat.com>
30015
30016 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30017
fc2ee42a
LD
300182011-10-23 Ulrich Drepper <drepper@gmail.com>
30019
bb3129bd
UD
30020 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30021
0275fff8
UD
30022 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30023 prediction.
30024 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30025
2fa2ae85
UD
30026 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30027 Remove unused variable magic_bits.
30028 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30029
fc2ee42a
LD
30030 * string/strnlen.c: Define and use STRNLEN macro.
30031 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30032 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30034 * wcsmbs/wcslen.c: Define and use WCSLEN.
30035 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30036 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30037 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30038 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30039 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30040 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30041 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30042
ce7dd29f
LD
300432011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30044
30045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30046 strnlen-sse2-no-bsf.
30047 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30049 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30050 Add strnlen support.
30051 (USE_AS_STRNLEN): New macro.
30052 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30053 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30054 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30055 * sysdeps/x86_64/wcslen.S: New file.
30056
979c70a3
MZ
300572011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30058
30059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30060 XMM-moves are used for copying on small sizes.
30061
2d09f82f
LD
300622011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30063
30064 * wcsmbs/Makefile (strop-tests): Add wcschr.
30065 * wcsmbs/test-wcschr.c: New file.
30066 * string/test-strchr.c: Update.
30067 Add wcschr support.
30068 (WIDE): New macro.
30069
619fccca
LD
300702011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30071
2d09f82f 30072 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30073 * wcsmbs/test-wcslen.c: New file.
30074 * string/test-strlen.c: Update.
30075 Add wcslen support.
30076 (WIDE): New macro.
30077
09f699ea
UD
300782011-10-23 Ulrich Drepper <drepper@gmail.com>
30079
30080 * po/it.po: Update from translation team.
30081
95584d3b
LD
300822011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30083
30084 * sysdeps/x86_64/wcscmp.S: Update.
30085 Fix wrong comparison semantics.
30086 wcscmp shall use signed comparison not unsigned.
30087 Don't use substraction to avoid overflow bug.
30088 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30089 * wcsmbc/wcscmp.c: Likewise.
30090 * string/test-strcmp.c: Likewise.
30091 Add new tests to check cases with negative values.
30092
c8b3296b
UD
300932011-10-23 Ulrich Drepper <drepper@gmail.com>
30094
30095 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30096 * sysdeps/x86_64/dla.h: ...here. New file.
30097 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30106
246ad57a
AS
301072011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30108
30109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30110 __ynl_finite aliases.
30111
a1a87169
UD
301122011-10-22 Ulrich Drepper <drepper@gmail.com>
30113
0d355eb7
UD
30114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30115
a1a87169
UD
30116 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30117 define DLA_FMA.
30118 [DLA_FMA] (EMULV): Use DLA_FMA.
30119 [DLA_FMA] (MUL12): Use EMULV.
30120 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30121 that are not needed.
30122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30129
ee2aafe0
AS
301302011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30131
30132 * math/s_nan.c: Undef __nan.
30133 * math/s_nanf.c: Undef __nanf.
30134 * math/s_nanl.c: Undef __nanl.
30135 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30136 "math_private.h".
30137
bc62c2fb
UD
301382011-10-22 Ulrich Drepper <drepper@gmail.com>
30139
77425c63
UD
30140 * math/s_catan.c: Add branch predictions.
30141 * math/s_catanf.c: Likewise.
30142 * math/s_catanh.c: Likewise.
30143 * math/s_catanhf.c: Likewise.
30144 * math/s_catanhl.c: Likewise.
30145 * math/s_catanl.c: Likewise.
30146 * math/s_cexp.c: Likewise.
30147 * math/s_cexpf.c: Likewise.
30148 * math/s_cexpl.c: Likewise.
30149 * math/s_clog.c: Likewise.
30150 * math/s_clog10.c: Likewise.
30151 * math/s_clog10f.c: Likewise.
30152 * math/s_clog10l.c: Likewise.
30153 * math/s_clogf.c: Likewise.
30154 * math/s_clogl.c: Likewise.
30155 * math/s_csqrt.c: Likewise.
30156 * math/s_csqrtf.c: Likewise.
30157 * math/s_csqrtl.c: Likewise.
30158 * math/s_ctanf.c: Likewise.
30159 * math/s_ctanh.c: Likewise.
30160 * math/s_ctanhf.c: Likewise.
30161 * math/s_ctanhl.c: Likewise.
30162 * math/s_ctanl.c: Likewise.
30163
bc62c2fb
UD
30164 * math/math_private.h: Define __nan, __nanf, __nanl.
30165 * math/s_cacosh.c: Include <math_private.h>.
30166 * math/s_cacoshl.c: Likewise.
30167 * math/s_casinh.c: Likewise.
30168 * math/s_casinhf.c: Likewise.
30169 * math/s_casinhl.c: Likewise.
30170 * math/s_ccos.c: Rely entire on ccosh.
30171 * math/s_ccosf.c: Rely entire on ccoshf.
30172 * math/s_ccosl.c: Rely entirely on ccoshl.
30173 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30174 Remove tests for FE_INVALID.
30175 * math/s_ccoshf.c: Likewise.
30176 * math/s_ccoshl.c: Likewise.
30177 * math/s_csin.c: Likewise.
30178 * math/s_csinf.c: Likewise.
30179 * math/s_csinh.c Likewise.
30180 * math/s_csinhf.c: Likewise.
30181 * math/s_csinhl.c: Likewise.
30182 * math/s_csinl.c: Likewise.
30183 * math/s_ctan.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30185 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30186 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30187
8ec250a4
UD
301882011-10-21 Ulrich Drepper <drepper@gmail.com>
30189
c196fed8
UD
30190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30191 compilation problems.
30192
8ec250a4
UD
30193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30194 __builtin_expect.
30195
8d4f46c6
UD
301962011-10-20 Ulrich Drepper <drepper@gmail.com>
30197
ed72b654
UD
30198 * sysdeps/i386/configure.in: Test for -mfma4 option.
30199 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30200 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30201 COMMON_CPUID_INDEX_80000001.
30202 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30203 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30204 use it if FMA3 is not supported.
30205 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30206
8d4f46c6
UD
30207 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30208 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30209
d45c60c2
AS
302102011-10-20 Andreas Schwab <schwab@redhat.com>
30211
30212 [BZ #12892]
30213 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30214 it would create a cycle with a link time dependency.
30215
d9a4d2ab
UD
302162011-10-19 Ulrich Drepper <drepper@gmail.com>
30217
855d1560
UD
30218 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30219 instruction.
30220 * string/Makefile (strop-tests): Add rawmemchr.
30221 * string/test-rawmemchr.c: New file.
30222
d9a4d2ab
UD
30223 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30224 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30225 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30226 when compiling str{,n}casecmp and when AVX is available. Hook up
30227 new optimized code in initializers.
30228
8f3b1ffe
AS
302292011-10-19 Andreas Schwab <schwab@redhat.com>
30230
30231 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30232 __feraiseexcept instead of feraiseexcept.
30233
d38f1dba
UD
302342011-10-18 Ulrich Drepper <drepper@gmail.com>
30235
d9a8d0ab
UD
30236 * math/math_private.h: Define defaults for libc_fetestexcept and
30237 libc_feupdateenv.
30238 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30239 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30240 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30241 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30242 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30243 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30244 libc_fetestexcept and libc_feupdateenv.
30245
4855e3dd
UD
30246 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30247 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30248 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30249 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30250 libc_feholdexcept_setround.
30251
581d30e3
UD
30252 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30253 Add s_nearbyint-c and s_nearbyintf-c.
30254 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30255 nearbyintf inlines.
30256 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30257 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30258 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30259 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30260
d38f1dba
UD
30261 * math/math_private.h: Define defaults for libc_fegetround,
30262 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30263 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30264 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30265 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30266 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30267 standard functions.
30268 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30269 Remove comments and hacks for old compiler versions.
30270 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30271 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30272 libc_feholdexceptl.
30273
caa6c9d8
AS
302742011-10-18 Andreas Schwab <schwab@redhat.com>
30275
30276 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30277 (__feraiseexcept_renamed): Add __NTH.
30278 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30279 namespace violations.
30280
97c066e6
UD
302812011-10-17 Ulrich Drepper <drepper@gmail.com>
30282
99ce7b04
UD
30283 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30284
1004d182
UD
30285 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30286
228a984d
UD
30287 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30288 recently added interfaces.
30289 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30290
c8553a6a
UD
30291 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30292 about macro parameter expansion.
30293
ed22dcf6
UD
30294 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30295 __NO_MATH_INLINES is defined. Cleanups.
30296
30297 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30298 and __floorf is target has SSE4.1.
30299 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30300 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30301 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30302 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30303
b171c137
UD
30304 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30305 name.
30306 (floorf): Likewise.
30307
97c066e6
UD
30308 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30309
629f62ef
AS
303102011-10-17 Andreas Schwab <schwab@redhat.com>
30311
49a43d80
AS
30312 * misc/sys/cdefs.h: Fix last change.
30313
629f62ef
AS
30314 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30315 database lookup.
30316
e453f6cd
UD
303172011-10-16 Ulrich Drepper <drepper@gmail.com>
30318
aa78043a
UD
30319 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30320
ad0f5cad
UD
30321 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30322 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30323 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30324 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30327 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30328 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30329 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30330 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30331 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30332 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30333 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30334 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30335 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30336 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30337 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30338 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30339 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30340 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30341 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30342 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30343
30344 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30345 ceil, ceilf, floor, floorf.
30346
30347 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30348 Perform IRELATIVE relocations last.
30349
e453f6cd
UD
30350 * elf/do-rel.h: Add another parameter nrelative, replacing the
30351 local variable with the same name. Change name of the function
30352 to end in Rel or Rela (uppercase).
30353 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30354 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30355 elf_dynamic_do_##reloc function.
30356
fd5bdc09
UD
303572011-10-15 Ulrich Drepper <drepper@gmail.com>
30358
79b195b5
UD
30359 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30360 is sufficient, at least on modern CPUs.
30361
d4a28569
UD
30362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30363
b61099b5
UD
30364 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30365 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30366
bcf01e6d
UD
30367 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30368 __expl_finite.
30369 * math/bits/math-finite.h: Add entries for exp.
30370 * math/e_expl.c: Add __*_finite alias.
30371 * sysdeps/i386/fpu/e_exp.S: Likewise.
30372 * sysdeps/i386/fpu/e_expf.S: Likewise.
30373 * sysdeps/i386/fpu/e_expl.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30375 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30376 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30379 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30380 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30381
ba1a0d59
UD
30382 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30383 is sufficient, at least on modern CPUs.
30384
fd5bdc09
UD
30385 * ctype/ctype-info.c (__ctype_init): Define.
30386 * include/ctype.h (__ctype_init): Declare.
30387 (__ctype_b_loc): The variable is always initialized.
30388 (__ctype_toupper_loc): Likewise.
30389 (__ctype_tolower_loc): Likewise.
30390 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30391 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30392
7872cfb0
AS
303932011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30394
b468825a
AS
30395 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30396
7872cfb0
AS
30397 * configure.in: Also look in $cxxmachine/include for C++ system
30398 headers.
30399
be13f7bf
LD
304002011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30401
30402 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30403 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30404 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30405 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30406 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30407 (USE_AS_WMEMCMP): New macro.
30408 Fixing indents.
30409 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30410 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30411 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30412 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30414 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30415 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30416 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30417 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30418 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30419 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30420 (USE_AS_WMEMCMP): New macro.
30421 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30422 * sysdeps/string/test-memcmp.c: Update.
30423 Fix simple_wmemcmp.
30424 Add new tests.
30425 * wcsmbs/wmemcmp.c: Update.
30426 (WMEMCMP): New macro.
30427 Fix overflow bug.
30428
556a2007
AJ
304292011-10-12 Andreas Jaeger <aj@suse.de>
30430
30431 [BZ #13268]
30432 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30433
538faaa7
UD
304342011-10-15 Ulrich Drepper <drepper@gmail.com>
30435
ab6737ff
UD
30436 * libio/iofwide.c (do_length): Avoid warning.
30437
538faaa7
UD
30438 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30439
396a21b1
UD
304402011-10-14 Ulrich Drepper <drepper@gmail.com>
30441
cdf2901f
UD
30442 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30443
38ad40ce
UD
30444 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30445 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30446 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30447 * sysdeps/i386/i686/fpu/e_log.S: New file.
30448 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30449 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30450
396a21b1
UD
30451 * ctype/ctype.h: Add support for inlined isXXX functions when
30452 compiling C++ code.
30453
6b1f68c9
AS
304542011-10-14 Andreas Schwab <schwab@redhat.com>
30455
349290c0
AS
30456 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30457
6b1f68c9
AS
30458 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30459
f2282d42
RM
304602011-10-13 Roland McGrath <roland@hack.frob.com>
30461
30462 [BZ #13291]
30463 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30464
5298ffa8
AS
304652011-10-13 Andreas Schwab <schwab@redhat.com>
30466
714fad23
AS
30467 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30468 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30469 feraiseexcept.
30470
81dcc7fb
AS
30471 * sysdeps/x86_64/memrchr.S: Check for zero size.
30472
5298ffa8
AS
30473 * string/stratcliff.c: Add memrchr tests.
30474
951fbcec
LD
304752011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30476
30477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30478 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30479 rawmemchr-sse2 rawmemchr-sse2-bsf.
30480 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30481 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30482 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30483 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30484 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30485 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30486 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30487 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30488 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30489 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30490 * string/memrchr.c (MEMRCHR): New macro.
30491
0ac5ae23
UD
304922011-10-12 Ulrich Drepper <drepper@gmail.com>
30493
30494 Add integration with gcc's -ffinite-math-only and optimize wrapper
30495 functions in libm.
30496 * Versions.def: Define GLIBC_2.15 version for libm.
30497 * math/Makefile (headers): Add bits/math-finite.h.
30498 * math/bits/math-finite.h: New file.
30499 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30500 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30501 * math/e_acoshl.c: Add __*_finite alias.
30502 * math/e_acosl.c: Likewise.
30503 * math/e_asinl.c: Likewise.
30504 * math/e_atan2l.c: Likewise.
30505 * math/e_atanhl.c: Likewise.
30506 * math/e_coshl.c: Likewise.
30507 * math/e_exp10.c: Likewise.
30508 * math/e_exp10f.c: Likewise.
30509 * math/e_exp10l.c: Likewise.
30510 * math/e_exp2l.c: Likewise.
30511 * math/e_fmodl.c: Likewise.
30512 * math/e_gammal_r.c: Likewise.
30513 * math/e_hypotl.c: Likewise.
30514 * math/e_j0l.c: Likewise.
30515 * math/e_j1l.c: Likewise.
30516 * math/e_jnl.c: Likewise.
30517 * math/e_lgammal_r.c: Likewise.
30518 * math/e_log10l.c: Likewise.
30519 * math/e_log2l.c: Likewise.
30520 * math/e_logl.c: Likewise.
30521 * math/e_powl.c: Likewise.
30522 * math/e_sinhl.c: Likewise.
30523 * math/e_sqrtl.c: Likewise.
30524 * math/e_scalb.c: Completely rewritten and optimized.
30525 * math/e_scalbf.c: Likewise.
30526 * math/e_scalbl.c: Likewise.
30527 * math/w_acos.c: Likewise.
30528 * math/w_acosf.c: Likewise.
30529 * math/w_acosl.c: Likewise.
30530 * math/w_acosh.c: Likewise.
30531 * math/w_acoshf.c: Likewise.
30532 * math/w_acoshl.c: Likewise.
30533 * math/w_asin.c: Likewise.
30534 * math/w_asinf.c: Likewise.
30535 * math/w_asinl.c: Likewise.
30536 * math/w_atan2.c: Likewise.
30537 * math/w_atan2f.c: Likewise.
30538 * math/w_atan2l.c: Likewise.
30539 * math/w_atanh.c: Likewise.
30540 * math/w_atanhf.c: Likewise.
30541 * math/w_atanhl.c: Likewise.
30542 * math/w_exp10.c: Likewise.
30543 * math/w_exp10f.c: Likewise.
30544 * math/w_exp10l.c: Likewise.
30545 * math/w_fmod.c: Likewise.
30546 * math/w_fmodf.c: Likewise.
30547 * math/w_fmodl.c: Likewise.
30548 * math/w_j0.c: Likewise.
30549 * math/w_j0f.c: Likewise.
30550 * math/w_j0l.c: Likewise.
30551 * math/w_j1.c: Likewise.
30552 * math/w_j1f.c: Likewise.
30553 * math/w_j1l.c: Likewise.
30554 * math/w_jn.c: Likewise.
30555 * math/w_jnf.c: Likewise.
30556 * math/w_log.c: Likewise.
30557 * math/w_logf.c: Likewise.
30558 * math/w_logl.c: Likewise.
30559 * math/w_log10.c: Likewise.
30560 * math/w_log10f.c: Likewise.
30561 * math/w_log10l.c: Likewise.
30562 * math/w_log2.c: Likewise.
30563 * math/w_log2f.c: Likewise.
30564 * math/w_log2l.c: Likewise.
30565 * math/w_pow.c: Likewise.
30566 * math/w_powf.c: Likewise.
30567 * math/w_powl.c: Likewise.
30568 * math/w_remainder.c: Likewise.
30569 * math/w_remainderf.c: Likewise.
30570 * math/w_remainderl.c: Likewise.
30571 * math/w_scalb.c: Likewise.
30572 * math/w_scalbf.c: Likewise.
30573 * math/w_scalbl.c: Likewise.
30574 * math/w_sqrt.c: Likewise.
30575 * math/w_sqrtf.c: Likewise.
30576 * math/w_sqrtl.c: Likewise.
30577 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30578 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30579 used.
30580 * math/math_private.h: Declare __kernel_standard_f.
30581 * math/w_cosh.c: Remove cruft and optimize a bit.
30582 * math/w_coshf.c: Likewise.
30583 * math/w_coshl.c: Likewise.
30584 * math/w_exp2.c: Likewise.
30585 * math/w_exp2f.c: Likewise.
30586 * math/w_exp2l.c: Likewise.
30587 * math/w_hypot.c: Likewise.
30588 * math/w_hypotf.c: Likewise.
30589 * math/w_hypotl.c: Likewise.
30590 * math/w_lgamma.c: Likewise.
30591 * math/w_lgamma_r.c: Likewise.
30592 * math/w_lgammaf.c: Likewise.
30593 * math/w_lgammaf_r.c: Likewise.
30594 * math/w_lgammal.c: Likewise.
30595 * math/w_lgammal_r.c: Likewise.
30596 * math/w_sinh.c: Likewise.
30597 * math/w_sinhf.c: Likewise.
30598 * math/w_sinhl.c: Likewise.
30599 * math/w_tgamma.c: Likewise.
30600 * math/w_tgammaf.c: Likewise.
30601 * math/w_tgammal.c: Likewise.
30602 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30603 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30604 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30605 Minor optimizations. Pretty printing. Remove cruft.
30606 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30607 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30608 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30609 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30610 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30611 * sysdeps/i386/fpu/e_asin.S: Likewise.
30612 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30613 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30614 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30615 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30616 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30617 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30618 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30619 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30620 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30621 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30622 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30623 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30624 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30625 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30626 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30627 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30628 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30629 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30630 * sysdeps/i386/fpu/e_log.S: Likewise.
30631 * sysdeps/i386/fpu/e_log10.S: Likewise.
30632 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30633 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30634 * sysdeps/i386/fpu/e_log2.S: Likewise.
30635 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30636 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30637 * sysdeps/i386/fpu/e_logf.S: Likewise.
30638 * sysdeps/i386/fpu/e_logl.S: Likewise.
30639 * sysdeps/i386/fpu/e_pow.S: Likewise.
30640 * sysdeps/i386/fpu/e_powf.S: Likewise.
30641 * sysdeps/i386/fpu/e_powl.S: Likewise.
30642 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30643 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30644 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30645 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30646 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30647 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30648 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30649 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30650 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30658 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30659 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30660 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30661 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30664 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30667 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30672 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30673 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30674 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30675 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30676 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30677 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30678 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30679 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30680 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30681 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30682 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30683 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30684 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30685 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30686 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30687 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30688 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30689 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30690 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30691 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30692 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30723 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30731 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30734 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30736 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30737 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30739 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30740 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30742 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30743 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30744 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30745 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30746 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30747 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30748 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30749 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30750 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30751 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30752 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30753 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30754 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30755 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30756 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30757 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30758 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30759 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30761 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30762 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30763 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30764 (__isnanf): Likewise.
30765 (__isinf_ns): Likewise.
30766 (__isinf_nsf): Likewise.
30767 (__finite): Likewise.
30768 (__finitef): Likewise.
30769 (__ieee754_sqrt): Define as macro.
30770 (__ieee754_sqrtf): Define as macro.
30771 (__ieee754_sqrtl): Define as macro.
30772 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30773 inlined copy.
30774 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30775 __FINITE_MATH_ONLY__ consistent.
30776 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30777
12cc2fcd
AS
307782011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30779
a843a204
AS
30780 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30781 of rawmemchr.
30782
12cc2fcd
AS
30783 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30784
c853acd5
UD
307852011-10-09 Ulrich Drepper <drepper@gmail.com>
30786
30787 * po/ja.po: Update from translation team.
30788
c658d255
RM
307892011-10-08 Roland McGrath <roland@hack.frob.com>
30790
110946e4
RM
30791 * locale/programs/locarchive.c (prepare_address_space): New function.
30792 (create_archive, enlarge_archive, open_archive): Use it.
30793
50604220
RM
30794 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30795 inside [SHARED], where it is used.
30796
c658d255
RM
30797 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30798
30799 * nss/getent.c (netgroup_keys): Remove unused variable.
30800 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30801
6a621eb7
UD
308022011-10-08 Ulrich Drepper <drepper@gmail.com>
30803
7edb55ce
UD
30804 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30805 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30808 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30809 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30810 * math/Makefile (libm-calls): Add s_isinf_ns.
30811 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30812 * math/multc3.c: Likewise.
30813 * math/s_casin.c: Likewise.
30814 * math/s_casinf.c: Likewise.
30815 * math/s_casinl.c: Likewise.
30816 * math/s_ccos.c: Likewise.
30817 * math/s_ccosf.c: Likewise.
30818 * math/s_ccosl.c: Likewise.
30819 * math/s_ctan.c: Likewise.
30820 * math/s_ctanf.c: Likewise.
30821 * math/s_ctanh.c: Likewise.
30822 * math/s_ctanhf.c: Likewise.
30823 * math/s_ctanhl.c: Likewise.
30824 * math/s_ctanl.c: Likewise.
30825 * math/w_fmod.c: Likewise.
30826 * math/w_fmodf.c: Likewise.
30827 * math/w_fmodl.c: Likewise.
30828 * math/w_remainder.c: Likewise.
30829 * math/w_remainderf.c: Likewise.
30830 * math/w_remainderl.c: Likewise.
30831 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30832 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30833 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30835 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30836 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30837 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30838 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30839
187da0ae
UD
30840 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30841 of the number.
30842 * stdio-common/printf_fphex.c: Likewise.
30843 * stdio-common/printf_size.c: Likewise.
30844
9277c064
UD
30845 * math/e_exp10.c: Include math_private.h using <...> not "...".
30846 * math/e_exp10f.c: Likewise.
30847 * math/e_exp10l.c: Likewise.
30848 * math/e_exp2l.c: Likewise.
30849 * math/e_j0l.c: Likewise.
30850 * math/e_j1l.c: Likewise.
30851 * math/e_jnl.c: Likewise.
30852 * math/e_lgammal_r.c: Likewise.
30853 * math/e_rem_pio2l.c: Likewise.
30854 * math/e_scalb.c: Likewise.
30855 * math/e_scalbf.c: Likewise.
30856 * math/e_scalbl.c: Likewise.
30857 * math/k_cosl.c: Likewise.
30858 * math/k_sinl.c: Likewise.
30859 * math/k_tanl.c: Likewise.
30860 * math/s_cacoshf.c: Likewise.
30861 * math/s_catan.c: Likewise.
30862 * math/s_catanf.c: Likewise.
30863 * math/s_catanh.c: Likewise.
30864 * math/s_catanhf.c: Likewise.
30865 * math/s_catanhl.c: Likewise.
30866 * math/s_catanl.c: Likewise.
30867 * math/s_ccosh.c: Likewise.
30868 * math/s_ccoshf.c: Likewise.
30869 * math/s_ccoshl.c: Likewise.
30870 * math/s_cexp.c: Likewise.
30871 * math/s_cexpf.c: Likewise.
30872 * math/s_cexpl.c: Likewise.
30873 * math/s_clog.c: Likewise.
30874 * math/s_clog10.c: Likewise.
30875 * math/s_clog10f.c: Likewise.
30876 * math/s_clog10l.c: Likewise.
30877 * math/s_clogf.c: Likewise.
30878 * math/s_clogl.c: Likewise.
30879 * math/s_csin.c: Likewise.
30880 * math/s_csinf.c: Likewise.
30881 * math/s_csinh.c: Likewise.
30882 * math/s_csinhf.c: Likewise.
30883 * math/s_csinhl.c: Likewise.
30884 * math/s_csinl.c: Likewise.
30885 * math/s_csqrt.c: Likewise.
30886 * math/s_csqrtf.c: Likewise.
30887 * math/s_csqrtl.c: Likewise.
30888 * math/s_ctan.c: Likewise.
30889 * math/s_ctanf.c: Likewise.
30890 * math/s_ctanh.c: Likewise.
30891 * math/s_ctanhf.c: Likewise.
30892 * math/s_ctanhl.c: Likewise.
30893 * math/s_ctanl.c: Likewise.
30894 * math/s_ldexp.c: Likewise.
30895 * math/s_ldexpf.c: Likewise.
30896 * math/s_ldexpl.c: Likewise.
30897 * math/s_significand.c: Likewise.
30898 * math/s_significandf.c: Likewise.
30899 * math/s_significandl.c: Likewise.
30900 * math/w_acos.c: Likewise.
30901 * math/w_acosf.c: Likewise.
30902 * math/w_acosh.c: Likewise.
30903 * math/w_acoshf.c: Likewise.
30904 * math/w_acoshl.c: Likewise.
30905 * math/w_acosl.c: Likewise.
30906 * math/w_asin.c: Likewise.
30907 * math/w_asinf.c: Likewise.
30908 * math/w_asinl.c: Likewise.
30909 * math/w_atan2.c: Likewise.
30910 * math/w_atan2f.c: Likewise.
30911 * math/w_atan2l.c: Likewise.
30912 * math/w_atanh.c: Likewise.
30913 * math/w_atanhf.c: Likewise.
30914 * math/w_atanhl.c: Likewise.
30915 * math/w_cosh.c: Likewise.
30916 * math/w_coshf.c: Likewise.
30917 * math/w_coshl.c: Likewise.
30918 * math/w_dremf.c: Likewise.
30919 * math/w_exp10.c: Likewise.
30920 * math/w_exp10f.c: Likewise.
30921 * math/w_exp10l.c: Likewise.
30922 * math/w_exp2.c: Likewise.
30923 * math/w_exp2f.c: Likewise.
30924 * math/w_fmod.c: Likewise.
30925 * math/w_fmodf.c: Likewise.
30926 * math/w_fmodl.c: Likewise.
30927 * math/w_hypot.c: Likewise.
30928 * math/w_hypotf.c: Likewise.
30929 * math/w_hypotl.c: Likewise.
30930 * math/w_j0.c: Likewise.
30931 * math/w_j0f.c: Likewise.
30932 * math/w_j0l.c: Likewise.
30933 * math/w_j1.c: Likewise.
30934 * math/w_j1f.c: Likewise.
30935 * math/w_j1l.c: Likewise.
30936 * math/w_jn.c: Likewise.
30937 * math/w_jnf.c: Likewise.
30938 * math/w_jnl.c: Likewise.
30939 * math/w_lgamma.c: Likewise.
30940 * math/w_lgamma_r.c: Likewise.
30941 * math/w_lgammaf.c: Likewise.
30942 * math/w_lgammaf_r.c: Likewise.
30943 * math/w_lgammal.c: Likewise.
30944 * math/w_lgammal_r.c: Likewise.
30945 * math/w_log.c: Likewise.
30946 * math/w_log10.c: Likewise.
30947 * math/w_log10f.c: Likewise.
30948 * math/w_log10l.c: Likewise.
30949 * math/w_log2.c: Likewise.
30950 * math/w_log2f.c: Likewise.
30951 * math/w_log2l.c: Likewise.
30952 * math/w_logf.c: Likewise.
30953 * math/w_logl.c: Likewise.
30954 * math/w_pow.c: Likewise.
30955 * math/w_powf.c: Likewise.
30956 * math/w_powl.c: Likewise.
30957 * math/w_remainder.c: Likewise.
30958 * math/w_remainderf.c: Likewise.
30959 * math/w_remainderl.c: Likewise.
30960 * math/w_scalb.c: Likewise.
30961 * math/w_scalbf.c: Likewise.
30962 * math/w_scalbl.c: Likewise.
30963 * math/w_sinh.c: Likewise.
30964 * math/w_sinhf.c: Likewise.
30965 * math/w_sinhl.c: Likewise.
30966 * math/w_sqrt.c: Likewise.
30967 * math/w_sqrtf.c: Likewise.
30968 * math/w_sqrtl.c: Likewise.
30969 * math/w_tgamma.c: Likewise.
30970 * math/w_tgammaf.c: Likewise.
30971 * math/w_tgammal.c: Likewise.
30972
6a621eb7
UD
30973 * po/ja.po: Update from translation team.
30974
bf582445
AJ
309752011-09-29 Andreas Jaeger <aj@suse.de>
30976
f9efbf3a
AJ
30977 [BZ #13179]
30978 * sunrpc/netname.c (netname2host): Fix logic.
30979
bf582445
AJ
30980 [BZ #6779]
30981 [BZ #6783]
30982 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30983 correctly.
30984 * math/w_remainder.c (__remainder): Likewise.
30985 * math/w_remainderf.c (__remainderf): Likewise.
30986 * math/libm-test.inc (remainder_test): Add test cases.
30987
48693bea
AK
309882011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30989
30990 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30991 sdiv_qrnnd.
30992
42622229
LD
309932011-10-07 Ulrich Drepper <drepper@gmail.com>
30994
30995 * string/test-memcmp.c: Avoid unncessary #defines.
30996 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30997
093ecf92
LD
309982011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30999
31000 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31001 Use new sse2 version for core i3 - i7 as it's faster
31002 than sse42 version.
31003 (bit_Prefer_PMINUB_for_stringop): New.
31004 * sysdeps/x86_64/rawmemchr.S: Update.
31005 Replace with faster SSE2 version.
31006 * sysdeps/x86_64/memrchr.S: New file.
31007 * sysdeps/x86_64/memchr.S: Update.
31008 Replace with faster SSE2 version.
31009
fde56e5c
MP
310102011-09-12 Marek Polacek <mpolacek@redhat.com>
31011
31012 * elf/dl-load.c (lose): Add cast to avoid warning.
31013
21fd49a9
UD
310142011-10-07 Ulrich Drepper <drepper@gmail.com>
31015
5a06e643
UD
31016 * po/ca.po: Update from translation team.
31017
684ae515
UD
31018 * inet/getnetgrent_r.c: Hook up nscd.
31019 * nscd/Makefile (routines): Add nscd_netgroup.
31020 (nscd-modules): Add netgroupcache.
31021 (CFLAGS-netgroupcache.c): Define.
31022 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31023 (cache_search): Add const to second parameter.
31024 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31025 INNETGR.
31026 (dbs): Add netgrdb entry.
31027 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31028 (verify_persistent_db): Handle netgrdb.
31029 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31030 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31031 GETFDNETGR.
31032 (netgroup_response_header): Define.
31033 (innetgroup_response_header): Define.
31034 (datahead): Add netgroup_response_header and innetgroup_response_header
31035 elements.
31036 * nscd/nscd.conf: Add entries for netgroup cache.
31037 * nscd/nscd.h (dbtype): Add netgrdb.
31038 (_PATH_NSCD_NETGROUP_DB): Define.
31039 (netgroup_iov_disabled): Declare.
31040 (xmalloc, xcalloc, xrealloc): Move declarations here.
31041 (cache_search): Adjust prototype.
31042 Add netgroup-related prototypes.
31043 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31044 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31045 (__nscd_innetgr): Declare.
31046 * nscd/selinux.c (perms): Use access_vector_t as element type and
31047 add netgroup-related initializers.
31048 * nscd/netgroupcache.c: New file.
31049 * nscd/nscd_netgroup.c: New file.
31050 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31051 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31052 For four parameters use innetgr.
31053 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31054 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31055 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31056 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31057
21fd49a9
UD
31058 * nscd/connections.c (register_traced_file): Don't register file
31059 for disabled databases.
31060
054c0457
UD
310612011-10-06 Ulrich Drepper <drepper@gmail.com>
31062
32b63198
UD
31063 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31064
054c0457
UD
31065 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31066 from tree and freeing node.
31067
64031225
JO
310682011-09-25 Jiri Olsa <jolsa@redhat.com>
31069
31070 * nss/nsswitch.c (__nss_database_lookup): Handle
31071 nss_parse_service_list out of memory case.
31072
0490345c
JO
310732011-09-15 Jiri Olsa <jolsa@redhat.com>
31074
31075 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31076 out of memory case.
31077
3a62d00d
AS
310782011-10-04 Andreas Schwab <schwab@redhat.com>
31079
31080 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31081 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31082 pass it down.
31083 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31084 elf_machine_rela, elf_machine_lazy_rel.
31085 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31086 (ELF_DYNAMIC_DO_REL): Likewise.
31087 (ELF_DYNAMIC_DO_RELA): Likewise.
31088 (ELF_DYNAMIC_RELOCATE): Likewise.
31089 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31090 to ELF_DYNAMIC_DO_REL.
31091 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31092 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31093 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31094 elf_machine_rela.
31095 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31096 skip_ifunc, don't call ifunc function if non-zero.
31097 (elf_machine_rela): Likewise.
31098 (elf_machine_lazy_rel): Likewise.
31099 (elf_machine_lazy_rela): Likewise.
31100 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31101 (elf_machine_lazy_rel): Likewise.
31102 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31103 Likewise.
31104 (elf_machine_lazy_rel): Likewise.
31105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31106 Likewise.
31107 (elf_machine_lazy_rel): Likewise.
31108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31109 (elf_machine_lazy_rel): Likewise.
31110 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31111 (elf_machine_lazy_rel): Likewise.
31112 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31113 (elf_machine_lazy_rel): Likewise.
31114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31115 (elf_machine_lazy_rel): Likewise.
31116 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31117 (elf_machine_lazy_rel): Likewise.
31118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31119 (elf_machine_lazy_rel): Likewise.
31120
68577918
UD
311212011-09-28 Ulrich Drepper <drepper@gmail.com>
31122
31123 * nss/nss_files/files-init.c (_nss_files_init): Use static
31124 initialization for all the *_traced_file variables.
31125
68822d74
AS
311262011-09-28 Andreas Schwab <schwab@redhat.com>
31127
31128 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31129
2056100b
RM
311302011-09-27 Roland McGrath <roland@hack.frob.com>
31131
31132 [BZ #13226]
31133 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31134
32c76b63
AS
311352011-09-27 Andreas Schwab <schwab@redhat.com>
31136
31137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31138 Reread the line before reparsing it.
31139
bf972c9d
AS
311402011-09-26 Andreas Schwab <schwab@redhat.com>
31141
31142 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31143
e057a1b5
JM
311442011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31145 Maxim Kuvyrkov <maxim@codesourcery.com>
31146 Joseph Myers <joseph@codesourcery.com>
31147
31148 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31149 if needed for __stack_chk_guard.
31150
bc7e1c36
RM
311512011-09-19 Roland McGrath <roland@hack.frob.com>
31152
ecb1482f
RM
31153 * sysdeps/posix/spawni.c (script_execute): Always define it.
31154 It will be optimized away if unused.
31155 (maybe_script_execute): New function.
31156 (__spawni): Call it.
31157
bc7e1c36
RM
31158 * Makerules: Don't include tls.make.
31159 (config-tls): Always set to thread.
31160 * tls.make.c: File removed.
31161
1c3b002b
MF
311622011-09-19 Mike Frysinger <vapier@gentoo.org>
31163
31164 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31165 * config.make.in (CPPFLAGS-config): New substituted variable.
31166
2840865d
UD
311672011-09-15 Ulrich Drepper <drepper@gmail.com>
31168
88738eb6
UD
31169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31170
cbf645a6 31171 [BZ #13192]
2840865d
UD
31172 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31173 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31174
b402e91a
RM
311752011-09-15 Roland McGrath <roland@hack.frob.com>
31176
31177 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31178 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31180 (CALL_FAIL): Likewise.
31181 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31182 (CALL_FAIL): Macro removed.
31183 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31184
4c1a1f71
UD
311852011-09-15 Ulrich Drepper <drepper@gmail.com>
31186
31187 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31188 for __FINITE_MATH_ONLY__ == 1.
31189
edc121be
AS
311902011-09-15 Andreas Schwab <schwab@redhat.com>
31191
31192 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31193 __ieee754_sqrt instead of sqrt.
31194 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31195 __ieee754_sqrtf instead of sqrtf.
31196 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31197 __floorf instead of floorf.
31198 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31199 __floorf, __truncf instead of floorf, truncf.
31200
cd205654
UD
312012011-09-14 Ulrich Drepper <drepper@gmail.com>
31202
ee4d0315
UD
31203 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31204
cd205654
UD
31205 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31206 __extern_always_inline.
31207 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31208 32-bit.
31209
48b67d71
AS
312102011-09-14 Andreas Schwab <schwab@redhat.com>
31211
31212 * elf/rtld.c (dl_main): Also relocate in dependency order when
31213 doing symbol dependency testing.
31214
1ae12c75
AS
312152011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31216
31217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31218 Always define `refsym'.
31219
995a80df
AS
312202011-09-13 Andreas Schwab <schwab@redhat.com>
31221
e529793b
AS
31222 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31223 (__FD_ELT): Renamed from __FDELT.
31224 * misc/bits/select2.h (__FD_ELT): Likewise.
31225 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31226 __FD_MASK instead of __FDELT, __FDMASK.
31227 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31228 Likewise.
31229 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31230 Likewise.
31231
52d4fef8
AS
31232 * elf/Makefile (gen-ldd): Fix pattern.
31233
995a80df
AS
31234 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31235 (init_tls): Likewise.
31236
8682f8b0
UD
312372011-09-12 Ulrich Drepper <drepper@gmail.com>
31238
31239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31240
de82006d
AS
312412011-09-12 Andreas Schwab <schwab@redhat.com>
31242
a7c8e6a1
AS
31243 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31244 `struct cmsghdr *' instead of `void *'.
31245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31246 Likewise.
31247
0f31fe77
AS
312482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31249
31250 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31251 if non-absolute.
31252 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31253 ldd_rewrite_script.
0f31fe77 31254
32b4c839
UD
312552011-09-11 Ulrich Drepper <drepper@gmail.com>
31256
83cd1420
UD
31257 * configure.in: Remove --with-tls option.
31258 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31259 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31260 out in case it is missing.
31261 * sysdeps/ia64/elf/configure.in: Likewise.
31262 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31263 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31264 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31265 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31266 * sysdeps/sh/elf/configure.in: Likewise.
31267 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31268 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31269 * sysdeps/x86_64/elf/configure.in: Likewise.
31270 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31271 * sysdeps/mach/hurd/tls.h: Likewise.
31272
633f745d
UD
31273 [BZ #13067]
31274 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31275
f318beb8
UD
31276 [BZ #13090]
31277 * configure.in: Fix use of AC_INIT.
31278
32b4c839
UD
31279 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31280
3ce1f295
UD
312812011-09-10 Ulrich Drepper <drepper@gmail.com>
31282
bb016596
UD
31283 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31284 __set_errno.
8e58439c
UD
31285 * malloc/hooks.c: Likewise.
31286
aebae053 31287 [BZ #11929]
02d46fc4
UD
31288 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31289 variables statically.
31290 (narenas): Initialize.
31291 (list_lock): Initialize.
bb016596
UD
31292 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31293 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31294 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31295 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31296 Add initializers to main_arena and mp_.
31297 (malloc_state): Remove pagesize member. Change all users to use
31298 GLRO(dl_pagesize).
31299
31300 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31301 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31302 is always initialized.
31303
22a89187
UD
31304 * malloc/malloc.c: Removed unused configurations and dead code.
31305 * malloc/arena.c: Likewise.
31306 * malloc/hooks.c: Likewise.
02d46fc4 31307 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31308
d063d164
UD
31309 * include/tls.h: Removed. USE___THREAD must always be defined.
31310 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31311 * elf/dl-libc.c: Likewise.
31312 * elf/dl-tsd.c: Likewise.
31313 * include/errno.h: Likewise.
31314 * include/netdb.h: Likewise.
31315 * include/resolv.h: Likewise.
31316 * inet/herrno-loc.c: Likewise.
31317 * inet/herrno.c: Likewise.
31318 * malloc/arena.c: Likewise.
31319 * malloc/hooks.c: Likewise.
31320 * malloc/malloc.c: Likewise.
31321 * resolv/res-state.c: Likewise.
31322 * resolv/res_libc.c: Likewise.
31323 * sysdeps/i386/dl-machine.h: Likewise.
31324 * sysdeps/ia64/dl-machine.h: Likewise.
31325 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31326 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31327 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31328 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31329 * sysdeps/sh/dl-machine.h: Likewise.
31330 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31331 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31332 * sysdeps/unix/i386/sysdep.S: Likewise.
31333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31334 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31336 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31337 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31339 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31343 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31344 * sysdeps/x86_64/dl-machine.h: Likewise.
31345 * tls.make.c: Likewise.
31346
3ce1f295
UD
31347 * configure.in: Remove --with-__thread option. Make tests for
31348 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31349 tls_model attribute fail if no support is available. Remove
31350 USE_IN_LIBIO.
31351 * Makeconfig: Adjust for dropped configure option. All features are
31352 now mandatory.
31353 * Makerules: Likewise.
31354 * Versions.def: Likewise.
31355 * argp/argp-fmtstream.c: Likewise.
31356 * argp/argp-fmtstream.h: Likewise.
31357 * argp/argp-help.c: Likewise.
31358 * assert/assert.c: Likewise.
31359 * config.h.in: Likewise.
31360 * config.make.in: Likewise.
31361 * configure: Likewise.
31362 * configure.in: Likewise.
31363 * csu/Versions: Likewise.
31364 * csu/init.c: Likewise.
31365 * elf/tst-audit2.c: Likewise.
31366 * elf/tst-tls10.c: Likewise.
31367 * elf/tst-tls10.h: Likewise.
31368 * elf/tst-tls11.c: Likewise.
31369 * elf/tst-tls12.c: Likewise.
31370 * elf/tst-tls14.c: Likewise.
31371 * elf/tst-tlsmod11.c: Likewise.
31372 * elf/tst-tlsmod12.c: Likewise.
31373 * elf/tst-tlsmod13.c: Likewise.
31374 * elf/tst-tlsmod13a.c: Likewise.
31375 * elf/tst-tlsmod14a.c: Likewise.
31376 * elf/tst-tlsmod15b.c: Likewise.
31377 * elf/tst-tlsmod16a.c: Likewise.
31378 * elf/tst-tlsmod16b.c: Likewise.
31379 * elf/tst-tlsmod7.c: Likewise.
31380 * elf/tst-tlsmod8.c: Likewise.
31381 * elf/tst-tlsmod9.c: Likewise.
31382 * gmon/gmon.c: Likewise.
31383 * grp/fgetgrent_r.c: Likewise.
31384 * grp/putgrent.c: Likewise.
31385 * hurd/fopenport.c: Likewise.
31386 * include/libc-symbols.h: Likewise.
31387 * include/tls.h: Likewise.
31388 * intl/gettextP.h: Likewise.
31389 * intl/loadinfo.h: Likewise.
31390 * locale/global-locale.c: Likewise.
31391 * locale/localeinfo.h: Likewise.
31392 * mach/devstream.c: Likewise.
31393 * malloc/arena.c: Likewise.
31394 * malloc/set-freeres.c: Likewise.
31395 * misc/err.c: Likewise.
31396 * misc/getttyent.c: Likewise.
31397 * misc/mntent_r.c: Likewise.
31398 * posix/getopt.c: Likewise.
31399 * posix/wordexp.c: Likewise.
31400 * pwd/fgetpwent_r.c: Likewise.
31401 * resolv/Versions: Likewise.
31402 * resolv/res_hconf.c: Likewise.
31403 * shadow/fgetspent_r.c: Likewise.
31404 * shadow/putspent.c: Likewise.
31405 * stdio-common/printf_fphex.c: Likewise.
31406 * stdio-common/tmpfile.c: Likewise.
31407 * stdlib/abort.c: Likewise.
31408 * stdlib/fmtmsg.c: Likewise.
31409 * sunrpc/auth_unix.c: Likewise.
31410 * sunrpc/clnt_perr.c: Likewise.
31411 * sunrpc/clnt_tcp.c: Likewise.
31412 * sunrpc/clnt_udp.c: Likewise.
31413 * sunrpc/clnt_unix.c: Likewise.
31414 * sunrpc/openchild.c: Likewise.
31415 * sunrpc/svc_simple.c: Likewise.
31416 * sunrpc/svc_tcp.c: Likewise.
31417 * sunrpc/svc_udp.c: Likewise.
31418 * sunrpc/svc_unix.c: Likewise.
31419 * sunrpc/xdr.c: Likewise.
31420 * sunrpc/xdr_array.c: Likewise.
31421 * sunrpc/xdr_rec.c: Likewise.
31422 * sunrpc/xdr_ref.c: Likewise.
31423 * sunrpc/xdr_stdio.c: Likewise.
31424
1248c1c4
PB
314252011-09-09 Ulrich Drepper <drepper@gmail.com>
31426
31427 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31428
314292011-07-03 Andreas Jaeger <aj@suse.de>
31430
31431 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31432 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31433 regenerate with gen-libm-tests.pl.
31434
314352010-05-12 Petr Baudis <pasky@suse.cz>
31436
31437 [BZ #11589]
31438 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31439 around j0() zero points by switching to j1().
31440 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31441 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31442 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31444
f22e1074
UD
314452011-09-09 Ulrich Drepper <drepper@gmail.com>
31446
f19009c1
UD
31447 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31448 instead of 0.
31449 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31450 instead of 0.
f19009c1
UD
31451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31452 Patch in part by Pavel Roskin <proski@gnu.org>.
31453
3f8cc204
UD
31454 [BZ #13138]
31455 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31456 realloc.
31457 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31458 Free memory block if necessary.
31459
f22e1074
UD
31460 [BZ #12847]
31461 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31462 be NULL. Don't lock in this case.
31463
0a2349f9
RM
314642011-09-09 Roland McGrath <roland@hack.frob.com>
31465
31466 * elf/elf.h (ELFOSABI_GNU): New macro.
31467 (ELFOSABI_LINUX): Define to that.
31468
f3cdd467
DZ
314692011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31470
31471 * string/strncat.c (strncat): Undef the symbol in case it has been
31472 defined in bits/string.h.
31473
74718d13
UD
314742011-09-09 Ulrich Drepper <drepper@gmail.com>
31475
633e9e0f
UD
31476 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31477
0a2349f9 31478 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31479 link map.
31480
f9924780
AJ
314812011-08-17 Andreas Jaeger <aj@suse.de>
31482
31483 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31484
7f5517aa
PP
314852011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31486 Ian Lance Taylor <iant@google.com>
31487
31488 * math/libm-test.inc (lround_test): New testcase.
31489 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31490
762011fe
UD
314912011-09-08 Ulrich Drepper <drepper@gmail.com>
31492
92963737
UD
31493 * Makefile: Remove support for automatic cvs check-ins.
31494 * Makerules: Likewise.
31495 * config.make.in: Likewise.
31496 * configure.in: Likewise.
31497 * intl/Makefile: Likewise.
31498 * locale/Makefile: Likewise.
31499 * po/Makefile: Likewise.
31500 * posix/Makefile: Likewise.
31501 * sysdeps/gnu/Makefile: Likewise.
31502 * sysdeps/mach/hurd/Makefile: Likewise.
31503 * sysdeps/sparc/sparc32/Makefile: Likewise.
31504
b0727fd8
JS
31505 [BZ #13118]
31506 * posix/Makefile (bug-regex32-ENV): Define.
31507 Patch by John Stanley <jpsinthemix@verizon.net>.
31508
a0f33f99
UD
31509 * misc/Makefile (headers): Add bits/select2.h.
31510 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31511 * misc/bits/select2.h: New file.
31512 * include/bits/select2.h: New file.
31513 * debug/Makefile (routines): Add fdelt_chk.
31514 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31515 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31516 FD_ISSET.
31517 * debug/fdelt_chk.c: New file.
31518
762011fe
UD
31519 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31520 * wcsmbs/test-wmemcmp.c: Likewise.
31521 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31522 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31523
315242011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31525
31526 * string/Makefile (strop-tests): Add memcmp.
31527 * string/test-wmemcmp.c: New file.
31528 * string/test-memcmp.c: Add wmemcmp support.
31529
7f513ec8
RM
315302011-09-08 Roland McGrath <roland@hack.frob.com>
31531
0442afb4
RM
31532 [BZ #13153]
31533 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31534 2011-07-19 change.
31535
7f513ec8
RM
31536 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31537 garbage value in a __mach_port_mod_refs call in the cases of the
31538 task-self and thread-self ports.
31539
a12b2239
ST
315402011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31541
31542 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31543
610f9ab4
AS
315442011-09-08 Andreas Schwab <schwab@redhat.com>
31545
7f513ec8 31546 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31547
48882a1a
LD
315482011-09-07 Ulrich Drepper <drepper@gmail.com>
31549
b49865be
UD
31550 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31551
fdc86bc9
UD
31552 * elf/dl-libc.c (dlerror_run): Pass back error code from
31553 dl_catch_error.
31554
c966526a
UD
31555 [BZ #13123]
31556 * elf/dl-load.c (lose): Free l_origin if it is valid.
31557
48882a1a
LD
31558 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31559 names.
31560 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31561 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31563 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31564 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31565 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31566
77a2a8b4
AZ
315672011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31568
31569 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31570 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31571 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31572 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31573 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31574 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31575 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31576 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31577 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31578 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31579
24f579d8
AM
315802011-08-15 Alan Modra <amodra@gmail.com>
31581
31582 [BZ #13092]
31583 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31584 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31585 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31586 ppc_mcount to static-only-routines.
31587 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31588 __mcount_internal.
31589 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31590 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31591
3d4837df
UD
315922011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31593
31594 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31595 for finite and infinity parameters.
31596
22700377
WS
315972011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31598
31599 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31600 and add nop instructions for throughput optimization.
31601 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31602
5025581e
WS
316032011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31604
31605 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31606 aligned copy for power7 with vector-scalar instructions.
31607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31608
08a300c9
L
316092011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31612 AVX check.
31613
59178ef9
AS
316142011-09-07 Andreas Schwab <schwab@redhat.com>
31615
31616 [BZ #13144]
31617 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31618 last change.
31619
e38ba7ab
UD
316202011-09-07 Ulrich Drepper <drepper@gmail.com>
31621
31622 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31623 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31624 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31625 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31626 clock_gettime.
31627
d53a73ac
UD
316282011-09-06 Ulrich Drepper <drepper@gmail.com>
31629
fc8bffcc
UD
31630 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31631 Forgot to demangle the pointer.
31632
ceaa0c5d
UD
31633 * sysdeps/i386/sysdep.h: Define atom_text_section.
31634 * sysdeps/x86_64/sysdep.h: Likewise.
31635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31636 section with atom_text_section.
31637 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31639 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31641 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31642
a77d3c17
UD
31643 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31644 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31645 already be defined. Change to take two parameters and don't assign
31646 result to variable. Adjust all users.
31647 Define INTERNAL_GETTIME if not already defined.
31648 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31649 call.
31650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31651 HAVE_CLOCK_GETTIME_VSYSCALL.
31652 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31653
d53a73ac
UD
31654 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31655 gettimeofday vsyscall, just use time.
31656
a8f84144
AS
316572011-09-06 Andreas Schwab <schwab@redhat.com>
31658
31659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31660 <errno.h>.
31661
ef606249
UD
316622011-09-06 Ulrich Drepper <drepper@gmail.com>
31663
31664 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31665 syscall on x86-64.
31666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31667 syscall.
31668 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31669 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31670 syscall if possible.
31671
6585cb60
UD
316722011-09-05 Ulrich Drepper <drepper@gmail.com>
31673
31674 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31675 e_ident. Don't pass to find_mapsXX.
31676 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31677
a5f524e4
LD
316782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31679
31680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31681 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31682 * sysdeps/x86_64/multiarch/strchr.S: Update.
31683 Check bit_slow_BSF bit.
31684 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31685 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31687
554881ef
UD
316882011-09-05 Ulrich Drepper <drepper@gmail.com>
31689
d96de963
UD
31690 [BZ #13134]
31691 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31692 before glibc 2.15.
31693 (tryshell): Define.
31694 (__spawni): Change last parameter to be flag. Test
31695 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31696 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31697 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31698 * posix/spawni.c: Likewise.
31699 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31700 * posix/spawnp.c: Likewise. Change normal version to use
31701 SPAWN_XFLAGS_USE_PATH.
31702 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31703 SPAWN_XFLAGS_TRY_SHELL.
31704
d48e5868
UD
31705 [BZ #13150]
31706 * posix/glob.h: Remove gcc 1.x support.
31707
554881ef
UD
31708 [BZ #13068]
31709 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31710
693fb948
LD
317112011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31712
31713 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31714 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31715 strrchr-sse2-bsf
31716 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31717 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31718 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31719 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31721 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31722
1b48c537
UD
317232011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31724
49d42c37
UD
31725 * sysdeps/x86_64/wcscmp.S: New file.
31726
1b48c537
UD
31727 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31728 wcscmp-c wcscmp-sse2
31729 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31730 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31731 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31732 * wcsmbs/wcscmp.c: Allow renaming.
31733
15c95c5d
DM
317342011-09-05 David S. Miller <davem@davemloft.net>
31735
31736 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31737 stack slot, rather than the struct return pointer slot.
31738 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31739 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31741 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31742
2f0ad8f3
UD
317432011-09-05 Ulrich Drepper <drepper@gmail.com>
31744
d88ae418
UD
31745 * po/ja.po: Update from translation team.
31746
2f0ad8f3
UD
31747 [BZ #13144]
31748 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31749 kernel in 64-bit binaries.
31750
5f4318d1
DM
317512011-09-01 David S. Miller <davem@davemloft.net>
31752
31753 * elf/elf.h (HWCAP_SPARC_*): Move to..
31754 * sysdeps/sparc/sysdep.h: this new file and add new values.
31755 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31756 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31757 _DL_HWCAP_COUNT to 24.
31758 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31759 entries.
31760 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31761 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31762 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31763 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31764 instead of magic constants.
31765 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31766
3ba57516
DM
317672011-08-31 David S. Miller <davem@davemloft.net>
31768
31769 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31771 Reimplement to do errno handling inline.
31772 (SYSCALL_ERROR_HANDLER): New macro.
31773 (__SYSCALL_STRING): Do not do errno handling in asm.
31774 (__CLONE_SYSCALL_STRING): Delete.
31775 (__INTERNAL_SYSCALL_STRING): Delete.
31776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31777 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31778 (PSEUDO): Reimplement to do errno handling inline.
31779 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31780 (SYSCALL_ERROR_HANDLER): New macro.
31781 (__SYSCALL_STRING): Do not do errno handling in asm.
31782 (__CLONE_SYSCALL_STRING): Delete.
31783 (__INTERNAL_SYSCALL_STRING): Delete.
31784 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31785 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31786 i386.
31787 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31788 (inline_syscall*): Add 'err' argument.
31789 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31790 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31791 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31792 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31793
31794 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31795 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31796
2bc17433
AS
317972011-08-30 Andreas Schwab <schwab@redhat.com>
31798
31799 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31800
fbeb5f4d
JO
318012011-08-29 Jiri Olsa <jolsa@redhat.com>
31802
31803 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31804 directive.
31805
ad69cc26
DM
318062011-08-24 David S. Miller <davem@davemloft.net>
31807
31808 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31809
39dd69df
AS
318102011-08-24 Andreas Schwab <schwab@redhat.com>
31811
31812 * elf/Makefile: Add rules to build and run unload8 test.
31813 * elf/unload8.c: New file.
31814 * elf/unload8mod1.c: New file.
31815 * elf/unload8mod1x.c: New file.
31816 * elf/unload8mod2.c: New file.
31817 * elf/unload8mod3.c: New file.
31818
31819 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31820 it wasn't used.
31821
2c0b250a
DM
318222011-08-23 David S. Miller <davem@davemloft.net>
31823
31824 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31825 subtract stack bias.
31826 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31827 %sp not %fp in calculations.
31828 (_JMPBUF_UNWINDS_ADJ): Likewise.
31829
22044b48
DM
31830 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31831 (aio_suspend): Call it to force an exception region around the
31832 AIO_MISC_WAIT() invocation.
31833
2cae4995
AS
318342011-08-23 Andreas Schwab <schwab@redhat.com>
31835
31836 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31837 backslash.
31838
873a772e
AJ
318392011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31840
31841 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31842 protection macro.
31843 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31844 and <dl-machine.h>.
31845 (Elf64_FuncDesc): Remove.
31846
25ad0df1
DM
318472011-08-22 David S. Miller <davem@davemloft.net>
31848
31849 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31850 sigaltstack check, add missing cfi directives.
31851 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31852 missing cfi directives, and sigaltstack handling.
31853
e888bcbe
AS
318542011-08-16 Andreas Schwab <schwab@redhat.com>
31855
31856 [BZ #11724]
31857 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31858 object is seen twice.
31859 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31860
31861 * elf/Makefile (distribute): Add tst-initorder2.c.
31862 (tests): Add tst-initorder2.
31863 (modules-names): Add tst-initorder2a tst-initorder2b
31864 tst-initorder2c tst-initorder2d. Add rules to build them.
31865 ($(objpfx)tst-initorder2.out): New rule.
31866 * elf/tst-initorder2.c: New file.
31867 * elf/tst-initorder2.exp: New file.
31868
87162f46
AS
318692011-08-22 Andreas Schwab <schwab@redhat.com>
31870
70538b7f
AS
31871 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31872
f55ffe58
AS
31873 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31874 dependencies back to end of function.
31875
87162f46
AS
31876 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31877 $(elfobjdir)/ld.so.
31878
91b392a4
UD
318792011-08-21 Ulrich Drepper <drepper@gmail.com>
31880
31881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31882 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31884 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31885 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31886 of __vdso_gettimeofday.
31887 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31888 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31889 attribute_hidden.
31890 (_libc_vdso_platform_setup): Remove initialization of
31891 __vdso_gettimeofday and __vdso_time.
31892
5c43483f
UD
318932011-08-20 Ulrich Drepper <drepper@gmail.com>
31894
775a77e7
UD
31895 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31896 and fgetc_unlocked.
31897 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31898 getc_unlocked.
89f447ed 31899
49c74ba9
UD
31900 * elf/dl-open.c (add_to_global): Report additions to the global scope
31901 for LD_DEBUG=scopes.
31902 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31903 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31904
5c43483f
UD
31905 [BZ #13114]
31906 * stdio-common/Makefile (tests): Add bug24.
31907 * stdio-common/bug24.c: New file.
31908
a101b025
AJ
319092011-08-19 Andreas Jaeger <aj@suse.de>
31910
31911 [BZ #13114]
31912 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31913 non-existant file when using close-on-exec mode.
31914
c88f1766
UD
319152011-08-20 Ulrich Drepper <drepper@gmail.com>
31916
0276a718
UD
31917 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31918 the very first instruction.
31919
c88f1766
UD
31920 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31921 the CFI state in the end.
31922 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31923 inclusion of dl-trampoline.h.
31924 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31925
51ccffa0
AS
319262011-08-19 Andreas Schwab <schwab@redhat.com>
31927
94d7165f
AS
31928 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31929 expectations for long double.
31930
51ccffa0
AS
31931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31932 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31933
fd708658 319342011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31935
31936 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31937 artificual limit depends upon the system page size.
31938
44f0a71e
UD
319392011-08-17 Ulrich Drepper <drepper@gmail.com>
31940
31941 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31942 * resolv/Makefile: Define CFLAGS-libresolv.
31943
8de79a24
AS
319442011-08-17 Andreas Schwab <schwab@redhat.com>
31945
31946 * nss/makedb.c (compute_tables): Make variables used in nested
31947 function static.
31948
27724598
UD
319492011-08-17 Ulrich Drepper <drepper@gmail.com>
31950
c5305d88
UD
31951 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31952 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31953 if buffer was too small.
31954
27724598
UD
31955 * elf/pldd.c (main): Attach to all threads in the process.
31956 Rewrite /proc handling to use *at functions.
31957
076fe015
UD
319582011-08-16 Ulrich Drepper <drepper@gmail.com>
31959
174baab3
UD
31960 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31961 specifies first scope to show.
31962 (dl_open_worker): Update callers. Move printing scope of new
31963 object to before the relocation.
44f0a71e 31964 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31965 * sysdeps/generic/ldsodefs.h: Update declaration.
31966
076fe015
UD
31967 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31968 string for the scope number.
31969
a60df2c3
UD
319702011-08-14 Ulrich Drepper <drepper@gmail.com>
31971
31972 * nscd/servicescache.c (cache_addserv): Make sure written is always
31973 initialized.
31974
5e4287d1
RM
319752011-08-14 Roland McGrath <roland@hack.frob.com>
31976
85ae0589
RM
31977 * sysdeps/i386/i486/bits/atomic.h
31978 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31979 statement expression, so as to suppress "set but not used" warning.
31980 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31981
69f63097
RM
31982 * string/strncat.c (STRNCAT): Use prototype definition.
31983
675456ef
RM
31984 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31985 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31986 -Iprograms here.
31987 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31988 (localedef-modules): Add localedef.
31989 (locale-modules): Add locale.
31990
5e4287d1
RM
31991 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31992 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31993 to avoid a warning.
31994
9c96ff23
DM
319952011-08-14 David S. Miller <davem@davemloft.net>
31996
31997 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31998 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31999
f9ddf089
UD
320002011-08-13 Ulrich Drepper <drepper@gmail.com>
32001
44f0a71e 32002 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32003 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32004 * elf/rtld.c (dl_main): Set l_name of vDSO.
32005 Call _dl_show_scope when DL_DEBUG_SCOPES.
32006 (process_dl_debug): Recognize scopes flag and also set it for all.
32007 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32008 Declare _dl_show_scope.
32009
1dc27704
UD
32010 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32011 (do_dlopen): Pass caller_dlopen to dl_open.
32012 (__libc_dlopen_mode): Initialize caller_dlopen.
32013
f9ddf089
UD
32014 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32015 of libc. Make tolower call locale-independent. Optimize a bit by
32016 using isdigit instead of isalnum.
32017 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32018
9ac533d3
UD
320192011-08-12 Ulrich Drepper <drepper@gmail.com>
32020
32021 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32022 was a dependency or dynamically loaded.
32023
89edf2e9
UD
320242011-08-11 Ulrich Drepper <drepper@gmail.com>
32025
8e999d29
UD
32026 * intl/l10nflist.c: Allow architecture-specific pop function.
32027 * sysdeps/x86_64/l10nflist.c: New file.
32028
89edf2e9
UD
32029 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32030 classification.
32031
14d96785
AS
320322011-08-10 Andreas Schwab <schwab@redhat.com>
32033
32034 * include/dirent.h: Add libc_hidden_proto for scandirat and
32035 scandirat64. Don't declare __scandirat64.
32036 * dirent/scandirat.c: Add libc_hidden_def.
32037 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32038 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32039
6761ac04
DM
320402011-08-10 David S. Miller <davem@davemloft.net>
32041
32042 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32043 enum.
32044 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32046 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32047
c55fbd1e
UD
320482011-08-09 Ulrich Drepper <drepper@gmail.com>
32049
32050 * Versions.def [libc]: Add GLIBC_2.15.
32051 * dirent/Makefile (routines): Add scandirat and scandirat64.
32052 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32053 GLIBC_2.15.
32054 * dirent/dirent.h: Declare scandirat and scandirat64.
32055 * dirent/scandirat.c: New file.
32056 * dirent/scandirat64.c: New file.
32057 * sysdeps/wordsize-64/scandirat.c: New file.
32058 * sysdeps/wordsize-64/scandirat64.c: New file.
32059 * dirent/opendir.c: Define opendirat.
32060 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32061 using scandirat.
32062 * dirent/scandir64.c: Adjust for scandir.c change.
32063 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32064 __scandirat64, and __scandir_cancel_handler.
32065 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32066 additional parameter and use openat instead of open (outside of ld.so).
32067 Add new __opendir as wrapper around __opendirat.
32068 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32069 here without requiring old scandirat implementation.
32070
879165f2
UD
320712011-08-08 Ulrich Drepper <drepper@gmail.com>
32072
32073 * dirent/scandir.c (cancel_handler): Renamed to
32074 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32075 defined. Adjust users.
32076 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32077 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32078
cb7e923b
UD
320792011-08-04 Ulrich Drepper <drepper@gmail.com>
32080
16292edd
UD
32081 * string/test-string.h (IMPL): Use __STRING to expand name and then
32082 stringify it.
32083
cb7e923b
UD
32084 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32085 of cleanups.
32086
cff82933
LD
320872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32088
32089 * string/Makefile: Update.
32090 (strop-tests): Append strncat.
32091 * string/test-wcscmp.c: New file.
32092 New comprehensive test for wcscmp.
32093 * string/test-strcmp.c: Update.
32094 (WIDE): New define.
32095
9be9bfcc
AS
320962011-07-22 Andreas Schwab <schwab@redhat.com>
32097
32098 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32099 line.
32100
2e96f1c7
AS
321012011-07-26 Andreas Schwab <schwab@redhat.com>
32102
32103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32104 encoding to ACE if AI_IDN.
32105
85188888
JJ
321062011-08-01 Jakub Jelinek <jakub@redhat.com>
32107
32108 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32109 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32110
5fa16e9b
LD
321112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32112
32113 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32114 Fix overflow bug in strncat.
32115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32116
32117 * string/test-strncat.c: Update.
32118 Add new tests for checking overflow bugs.
32119
321202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32121
32122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32123 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32124 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32125 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32126 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32127 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32128 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32129 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32130 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32131
32132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32133 (USE_AS_STRCAT): Define.
32134 Add strcat and strncat support.
32135 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32136
8c1a459f
AS
321372011-07-25 Andreas Schwab <schwab@redhat.com>
32138
32139 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32140 __n bigger than INT_MAX+1.
32141 (__strncmp_g): Likewise.
32142
bba33c28
UD
321432011-07-23 Ulrich Drepper <drepper@gmail.com>
32144
798be72d
UD
32145 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32146 * libio/stido.h: Likewise.
32147
8accd4dc
UD
32148 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32149 (AF_NFC): Define.
32150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32151 (AF_NFC): Define.
32152
cbff0d96
UD
32153 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32154 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32156 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32158
9191c04a
UD
32159 [BZ #13021]
32160 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32161 installed.
32162
bba33c28
UD
32163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32164 typo.
32165 (_dl_x86_64_save_sse): Likewise.
32166
90f139dd
UD
321672011-07-22 Ulrich Drepper <drepper@gmail.com>
32168
1aae088a
UD
32169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32170 OSXSAVE.
32171 (_dl_x86_64_save_sse): Likewise.
32172
8e2045f5
UD
32173 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32174
90f139dd
UD
32175 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32176
1d002f25
AS
321772011-07-21 Andreas Schwab <schwab@redhat.com>
32178
32179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32180 change.
32181 (_dl_x86_64_save_sse): Use correct AVX check.
32182
21137f89
UD
321832011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32184
32185 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32186 bug in strncpy/strncat.
32187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32188
a65c0b7a
UD
321892011-07-21 Ulrich Drepper <drepper@gmail.com>
32190
32191 * string/tester.c (test_strcat): Add tests for different alignments
32192 of source and destination.
32193 (test_strncat): Likewise.
32194
6986b98a
UD
321952011-07-20 Ulrich Drepper <drepper@gmail.com>
32196
90bb2039
UD
32197 [BZ #12852]
32198 * posix/glob.c (glob): Check passed in values before using them in
32199 expressions to avoid some overflows.
32200 (glob_in_dir): Likewise.
32201
5644ef54
UD
32202 [BZ #13007]
32203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32204 check for AVX enablement so that we don't crash with old kernels and
32205 new hardware.
32206 * elf/tst-audit4.c: Add same checks here.
32207 * elf/tst-audit6.c: Likewise.
32208
32209 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32210
bfc9dc9b
AS
322112011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32212
32213 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32214
702e64bb
UD
322152011-07-20 Ulrich Drepper <drepper@gmail.com>
32216
32217 * po/cs.po: Update from translation team.
32218 * po/bg.po: Likewise.
32219
295e904f
MP
322202011-07-12 Marek Polacek <mpolacek@redhat.com>
32221
32222 * misc/sys/cdefs.h: Add support for const attribute.
32223 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32224 to gnu_dev_{major,minor,makedev} functions.
32225
3ff94596
MP
322262011-07-20 Marek Polacek <mpolacek@redhat.com>
32227
32228 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32229
28b59fca
AS
322302011-07-20 Andreas Schwab <schwab@redhat.com>
32231
32232 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32233 strlen results.
32234
19df733e
AK
322352011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32236
32237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32238 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32239 register in order to avoid conflicts with the soft frame pointer
32240 being held in r11 when necessary.
32241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32242 (INTERNAL_VSYSCALL_NCS): Likewise.
32243
c8835729
MP
322442011-07-14 Marek Polacek <mpolacek@redhat.com>
32245
32246 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32247 * elf/dl-fini.c (_dl_fini): Adjust caller.
32248 * elf/dl-close.c (_dl_close_worker): Likewise.
32249 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32250
b902330c
MP
322512011-07-15 Marek Polacek <mpolacek@redhat.com>
32252
8991e135
MP
32253 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32254 "aux_cache->nlibs < 0".
32255
b902330c
MP
32256 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32257 in the reload-count case.
32258
99710781
LD
322592011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32260
32261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32262 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32263 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32264 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32265 * sysdeps/x86_64/multiarch/strcat.S: New file.
32266 * sysdeps/x86_64/multiarch/strncat.S: New file.
32267 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32268 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32269 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32270 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32271 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32272 (USE_AS_STRCAT): Define.
32273 Add strcat and strncat support.
32274 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32275 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32276 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32277 * string/strncat.c: Update.
32278 (USE_AS_STRNCAT): Define.
32279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32280 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32281 and i7.
32282 * sysdeps/x86_64/multiarch/init-arch.h
32283 (bit_Prefer_PMINUB_for_stringop): New.
32284 (index_Prefer_PMINUB_for_stringop): Likewise.
32285 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32286 bit_Prefer_PMINUB_for_stringop.
32287
7dc6bd90
UD
322882011-07-19 Ulrich Drepper <drepper@gmail.com>
32289
32290 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32291 buffer64.
32292 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32293 of casting of buffer.
32294 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32295 buffer32 and buffer64.
32296 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32297 writes instead of casting of buffer.
32298 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32299 buffer32.
32300 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32301 casting of buffer.
32302
e0e72284
AS
323032011-07-19 Andreas Schwab <schwab@redhat.com>
32304
32305 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32306
feb1eb0b
UD
323072011-07-19 Ulrich Drepper <drepper@gmail.com>
32308
32309 * nscd/nscd.c (termination_handler): Don't do anything for a database
32310 if it has not yet been initialized.
32311
298711ff
UD
323122011-07-18 Ulrich Drepper <drepper@gmail.com>
32313
32314 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32315
323162011-07-15 Marek Polacek <mpolacek@redhat.com>
32317
32318 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32319
f9d68389
UD
323202011-07-18 Ulrich Drepper <drepper@gmail.com>
32321
32322 * po/nl.po: Update from translation team.
32323 * po/sv.po: Likewise.
32324
db290cf5
RM
323252011-07-16 Roland McGrath <roland@hack.frob.com>
32326
32327 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32328 now disallowed by GCC.
5c550700 32329
fd5e21c7
RM
32330 * configure.in (use-default-link): Default to yes if a test -shared
32331 link meets our qualifications.
32332 * configure: Regenerated.
32333
5c550700
RM
32334 * config.make.in (output-format): New variable.
32335 * configure.in: Check for ld --print-output-format support.
32336 * configure: Regenerated.
32337 * Makerules ($(common-objpfx)format.lds)
32338 [$(output-format) != unknown]: Just use $(output-format),
32339 instead of the linker-script munging.
32340
9fa2c032
RM
323412011-07-14 Roland McGrath <roland@hack.frob.com>
32342
a6928d51
RM
32343 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32344 of $(common-objpfx)shlib.lds.
32345 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32346
661607b3
RM
32347 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32348 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32349
9fa2c032
RM
32350 * configure.in (-z relro check): Adjust test code to add a large
32351 writable data section after it.
32352 * configure: Regenerated.
32353
defe9061
RM
323542011-07-11 Roland McGrath <roland@hack.frob.com>
32355
32356 * configure.in (-z relro check): Fix test code to make the variable
32357 truly const.
32358 * configure: Regenerated.
32359
319b9ad4
UD
323602011-07-11 Ulrich Drepper <drepper@gmail.com>
32361
32362 * nscd/nscd.h (struct traced_file): Define.
32363 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32364 elements. Add traced_files.
32365 (inotify_fd): Declare.
32366 (register_traced_file): Declare.
32367 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32368 (inotify_fd): Export.
32369 (resolv_conf_descr): Remove.
32370 (nscd_init): Move inotify descriptor creation to main.
32371 Don't register files for notification here.
32372 (register_traced_file): New function.
32373 (invalidate_cache): Don't use reset_res to determine whether to call
32374 res_init, go through the list of registered files.
32375 (main_loop_poll): The inotify descriptors are now stored in the
32376 structures for the traced files.
32377 (main_loop_epoll): Likewise
32378 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32379 to __nss_disable_nscd.
32380 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32381 for a database anymore. Check the records for all the registered
32382 files instead.
32383 * nss/Makefile (libnss_files-routines): Add files-init.
32384 (libnss_db-routines): Add db-init.
32385 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32386 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32387 * nss/nss_db/db-init.c: New file.
32388 * nss/nss_files/files-init.c: New file.
32389 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32390 __nss_lookup_function.
32391 (__nss_lookup_function): Call nss_load_library.
32392 (nss_load_all_libraries): New function.
32393 (__nss_disable_nscd): Take parameter with callback function for files
32394 to register. Set is_nscd. Load all the DSOs for the NSS modules
32395 used for the cached services.
32396 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32397 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32398 options for features to all the files in nscd.
32399
32400 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32401
23bee3e8
RM
324022011-07-10 Roland McGrath <roland@hack.frob.com>
32403
32404 * csu/elf-init.c (__libc_csu_init): Comment typo.
32405
46a5b7f0
UD
324062011-07-09 Ulrich Drepper <drepper@gmail.com>
32407
32408 * po/pl.po: Update from translation team.
32409 * po/ja.po: Likewise.
32410 * po/ru.po: Likewise.
32411 * po/ko.po: Likewise.
32412 * po/fr.po: Likewise.
32413
d30cf5bb
RM
324142011-07-09 Roland McGrath <roland@hack.frob.com>
32415
113ddea4
RM
32416 * configure.in (.ctors/.dtors header and trailer check):
32417 Use an empirical test on a built program.
32418 * configure: Regenerated.
32419
574920b4
RM
32420 * configure.in (-z relro check): Use an empirical test on a built DSO.
32421 Detect, but do not require, on ia64.
32422 * configure: Regenerated.
32423
d30cf5bb
RM
32424 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32425 Update tests that use readelf to use $READELF instead.
32426 * configure: Regenerated.
32427
8538fdb3
UD
324282011-07-08 Ulrich Drepper <drepper@gmail.com>
32429
32430 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32431 if the result is not used.
32432
04d08991
AJ
324332011-07-05 Andreas Jaeger <aj@suse.de>
32434
32435 [BZ#9696]
32436 * stdlib/tst-strtod.c: Add testcase.
32437
de283087
AD
324382011-07-07 Ulrich Drepper <drepper@gmail.com>
32439
4e5f31c8 32440 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32441 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32442 The latter has a higher limit. Take additional parameter to pass to
32443 the new function.
32444 (__pathconf): Pass file to __statfs_link_max.
32445 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32446 __statfs_link_max.
32447 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32448 __statfs_link_max.
32449
de283087
AD
32450 [BZ #12868]
32451 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32453 Handle Lustre.
32454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32455 (__statfs_filesize_max): Likewise.
32456 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32457
c75fa153
AJ
324582011-07-05 Andreas Jaeger <aj@suse.de>
32459
32460 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32461
1a544854
UD
324622011-07-06 Marek Polacek <mpolacek@redhat.com>
32463
32464 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32465 `status' variable.
32466 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32467 Likewise.
32468
6f0eec67
UD
324692011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32470
32471 * Makefile (strop-tests): Add strncat.
32472 * string/test-strncat.c: New file.
32473
aae30307
UD
324742011-06-30 Marek Polacek <mpolacek@redhat.com>
32475
32476 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32477
c0cfb5eb
UD
324782011-06-21 Andreas Jaeger <aj@suse.de>
32479
32480 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32481 Copy rule from iconvdata/Makefile.
32482
01636b21
UD
324832011-07-06 Ulrich Drepper <drepper@gmail.com>
32484
32485 [BZ #12922]
32486 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32487 but no long options are defined, just return 'W'.
32488
9895c8bc
UD
324892011-06-22 Marek Polacek <mpolacek@redhat.com>
32490
32491 [BZ #9696]
32492 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32493
5d4cf042
UD
324942011-07-06 Ulrich Drepper <drepper@gmail.com>
32495
32496 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32497 netgroups to read.
960e5535 32498 (innetgr): Likewise.
5d4cf042 32499
751eb97e
RM
325002011-07-05 Roland McGrath <roland@hack.frob.com>
32501
32502 * config.make.in (install_root): Default to $(DESTDIR).
32503
f15f1e45
UD
325042011-07-05 Ulrich Drepper <drepper@gmail.com>
32505
32506 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32507
4e34ac6a
RM
325082011-07-02 Roland McGrath <roland@hack.frob.com>
32509
5e9b6af4
RM
32510 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32511
84f9ea0f
RM
32512 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32513 containing directory rather than embedding absolute directory names.
32514
ea5ee9f7
RM
32515 * scripts/check-local-headers.sh: Rewritten using awk.
32516 Match by word, not by line. Print error messages for matches.
32517 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32518
1b74661a
RM
32519 * Makerules [shlib-lds-flags empty]:
32520 ($(common-objpfx)libc_pic.opts): New target.
32521 ($(common-objpfx)libc_pic.os.clean): New target.
32522 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32523
32524 * config.make.in (OBJCOPY): New variable.
32525 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32526 * configure: Regenerated.
32527
f781ef40
RM
32528 * config.make.in (use-default-link): New variable.
32529 * configure.in (use_default_link): Grok --with-default-link to set it.
32530 * configure: Regenerated.
32531 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32532 (shlib-lds, shlib-lds-flags): Define to empty.
32533
2d4fa81e
RM
32534 * Makerules (shlib-lds): New variable.
32535 (shlib-lds-flags): New variable.
32536 (build-shlib, build-moduile, build-module-asneeded): Use it.
32537 ($(common-objpfx)libc.so): Use $(shlib-lds).
32538 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32539 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32540
31fffa6b
RM
32541 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32542 DT_FLAGS/DT_FLAGS_1 with zero flags.
32543
4e34ac6a
RM
32544 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32545 linker script munging.
32546
fcfc776b
UD
325472011-07-02 Ulrich Drepper <drepper@gmail.com>
32548
32549 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32550 as 128-bit value.
32551 * crypt/sha512.c (sha512_process_block): Perform total addition using
32552 128-bit if possible.
32553 (__sha512_finish_ctx): Likewise.
32554 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32555 as 64-bit value.
32556 * crypt/sha256.c (SWAP64): Define.
32557 (sha256_process_block): Perform total addition using 64-bit if
32558 possible.
32559 (__sha256_finish_ctx): Likewise.
32560
99231d9a
UD
325612011-07-01 Ulrich Drepper <drepper@gmail.com>
32562
32563 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32565 * nscd/hstcache.c (cache_addhst): Likewise.
32566 * nscd/grpcache.c (cache_addgr): Likewise.
32567 * nscd/aicache.c (addhstaiX): Likewise
32568 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32569
445b4a53
TK
325702011-07-01 Thorsten Kukuk <kukuk@suse.de>
32571
32572 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32573 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32574 * nscd/hstcache.c (cache_addhst): Likewise.
32575 * nscd/grpcache.c (cache_addgr): Likewise.
32576 * nscd/aicache.c (addhstaiX): Likewise
32577
6d4d8e8e
AS
325782011-07-01 Andreas Schwab <schwab@redhat.com>
32579
32580 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32581 domain only when needed.
32582
89f654c5
AS
325832011-06-30 Andreas Schwab <schwab@redhat.com>
32584
32585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32586 is always restored.
32587
cf3b23ff
UD
325882011-06-29 Ulrich Drepper <drepper@gmail.com>
32589
32590 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32591 are re-adding the entry.
32592 * nscd/servicescache.c (cache_addserv): Likewise.
32593
751626f9
AJ
325942011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32595
32596 * sysdeps/generic/dl-irel.h: fix protection against multiple
32597 inclusions.
32598 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32599
9113ea1f
UD
326002011-06-28 Ulrich Drepper <drepper@gmail.com>
32601
5c0b8d90
UD
32602 [BZ #12935]
32603 * malloc/memusage.sh: Fix quoting in message.
32604 * debug/xtrace.sh: Likewise.
32605
9113ea1f
UD
32606 * configure.in: Remove support for --experimental-malloc option, make
32607 it the default.
32608 * config.make.in: Likewise.
32609 * malloc/Makefile: Likewise.
32610
a4172181
AS
326112011-06-27 Andreas Schwab <schwab@redhat.com>
32612
32613 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32614 two-byte characters.
32615
78a7eee7
RM
326162011-06-27 Roland McGrath <roland@hack.frob.com>
32617
62bede13
RM
32618 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32619 AC_CACHE_CHECK invocation.
32620 * configure: Regenerated.
32621
78a7eee7
RM
32622 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32623
5ce33a62
UD
326242011-06-27 Ulrich Drepper <drepper@gmail.com>
32625
034807a9
UD
32626 [BZ #12350]
32627 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32628 bit from old_res_options.
32629
4902da17
UD
32630 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32631
5ce33a62
UD
32632 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32633 value type for setfct.
32634
c2344f56
L
326352011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32636
32637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32638 __gettimeofday instead of gettimeofday.
32639
68468076
UD
326402011-06-26 Ulrich Drepper <drepper@gmail.com>
32641
32642 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32643
acb0d739
L
326442011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32645
32646 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32647
32648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32649 info.
32650
8912479f
L
326512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32652
32653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32654 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32655 strcpy-sse2-unaligned strncpy-sse2-unaligned
32656 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32657 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32658 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32659 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32660 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32661 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32662 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32663 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32664 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32665 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32666 (STRCPY): Support SSE2 and SSSE3 versions.
32667
d5495a11
UD
326682011-06-24 Ulrich Drepper <drepper@gmail.com>
32669
32670 [BZ #12874]
32671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32672 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32673 kernels which artificially limit size of requests.
32674
0b1cbaae
L
326752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32676
32677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32678 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32679 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32680 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32681 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32682 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32683 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32684 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32685 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32687 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32688 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32689 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32690 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32691 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32693 Enable unaligned load optimization for Intel Core i3, i5 and i7
32694 processors.
32695 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32696 Define.
32697 (index_Fast_Unaligned_Load): Define.
32698 (HAS_FAST_UNALIGNED_LOAD): Define.
32699
07f494a0
MP
327002011-06-23 Marek Polacek <mpolacek@redhat.com>
32701
32702 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32703
fa3fc0fe
UD
327042011-06-22 Ulrich Drepper <drepper@gmail.com>
32705
32706 [BZ #12907]
32707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32708 until it is clear that the information is realy needed.
32709 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32710
e12df166
AS
327112011-06-22 Andreas Schwab <schwab@redhat.com>
32712
32713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32714
852eb34d
UD
327152011-06-22 Ulrich Drepper <drepper@gmail.com>
32716
84e2a551
UD
32717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32718 /sys/devices/system/cpu/online if it is usable.
32719
852eb34d
UD
32720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32721 reading the information from the /proc filesystem to once a second.
32722
6e502e19
UD
327232011-06-21 Andreas Jaeger <aj@suse.de>
32724
32725 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32726 NULL after inclusion of kernel headers.
32727
75d39ff2
UD
327282011-06-21 Ulrich Drepper <drepper@gmail.com>
32729
51f9aa6a
UD
32730 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32731 calls to internal_setent.
32732
c0244a9d
UD
32733 [BZ #12885]
32734 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32735 addresses using gethostbyname4_r ignore IPv4 addresses.
32736
c5e3c2ae
UD
32737 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32738 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32739
75d39ff2
UD
32740 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32741
42675c6f
DM
327422011-06-20 David S. Miller <davem@davemloft.net>
32743
32744 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32745 inclusions.
32746 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32747
32748 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32749 (elf_irel): Use it.
32750 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32751 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32752 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32753 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32754 * sysdeps/x86_64/dl-irel.h: Likewise.
32755
32756 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32757 * elf/dl-sym.c: Likewise.
32758
57912a71
UD
327592011-06-15 Ulrich Drepper <drepper@gmail.com>
32760
32761 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32762 need to dereference resplen2.
32763
ee22793d
AS
327642011-06-14 Andreas Schwab <schwab@redhat.com>
32765
32766 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32767
a9e836b0
UD
327682011-06-15 Ulrich Drepper <drepper@gmail.com>
32769
77fb9117
UD
32770 * Makeconfig: Define vardbdir and inst_vardbdir.
32771 * nss/Makefile: Add rules to install db-Makefile.
32772
40c1b22c
UD
32773 * nss/nss_db/db-XXX.c: Cleanup.
32774
9f2da732
UD
32775 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32776 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32777 GLIBC_PRIVATE.
32778 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32779 * nss/makedb.c: Implement -g option to specify that value strings
32780 are generated and should not be added to table iterated over for
32781 get*ent calls.
32782 * nss/nss_db/db-initgroups.c: New file.
32783
82e9a1f7
UD
32784 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32785 interface.
32786
c41af17e
UD
32787 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32788 (internal_getgrouplist): Adjust to name change.
32789 Update use_initgroups_entry if this is not the first call.
32790 * nss/databases.def: Add initgroups entry.
32791
a9e836b0
UD
32792 * nss/makedb.c (compute_tables): Check result of multiple hash table
32793 sizes to minimize maximum chain length.
32794
2666d441
UD
327952011-06-14 Ulrich Drepper <drepper@gmail.com>
32796
32797 * Versions.def: Add entry for libnss_db.
32798 * shlib-versions: Likewise.
32799 * nss/Makefile: Add rules to build libnss_db.
32800 * nss/Versions: Add libnss_db information. Organize libnss_files
32801 entries better.
32802 * nss/db-Makefile: Add gshadow support. Change rules for the new
32803 makedb progra. Some minor improvements to generate smaller files.
32804 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32805 here from...
32806 * nss/makedb.c: ...here.
32807 Improve database format to be smaller and require less memory at
32808 runtime.
32809 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32810 db anymore.
32811 * nss/nss_db/db-netgrp.c: Likewise.
32812 * nss/nss_db/db-open.c: Likewise.
32813 * nss/nss_files/flies-XXX.x: Adjust comments.
32814 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32815 * nss/nss_files/files-grp.c: Likewise.
32816 * nss/nss_files/files-hosts.c: Likewise.
32817 * nss/nss_files/files-network.c: Likewise.
32818 * nss/nss_files/files-proto.c: Likewise.
32819 * nss/nss_files/files-pwd.c: Likewise.
32820 * nss/nss_files/files-rpc.c: Likewise.
32821 * nss/nss_files/files-service.c: Likewise.
32822 * nss/nss_files/files-sgrp.c: Likewise.
32823 * nss/nss_files/files-spwd.c: Likewise.
32824 * nss/nss_db/db-alias.c: Removed.
32825 * nss/nss_db/dummy-db.h: Removed.
32826
9ee76b5a
UD
328272011-06-02 Ulrich Drepper <drepper@gmail.com>
32828
32829 * nss/makedb.c: Rewritten to not use database library.
32830 * nss/Makefile: Update to build new makedb program.
32831
c71ca1f8
AJ
328322011-06-14 Andreas Jaeger <aj@suse.de>
32833
32834 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32835 memset declaration.
32836
3154bfb8
UD
328372011-06-10 Andreas Schwab <schwab@redhat.com>
32838
32839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32840 tmpbuf.
32841
b350afab
RM
328422011-06-10 Roland McGrath <roland@hack.frob.com>
32843
decd4e50
RM
32844 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32845 * elf/Makefile ($(objpfx)ld.so): Likewise.
32846
5615eaf2
RM
32847 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32848 Don't list ld.so twice in dependencies.
32849
32850 * posix/bug-regex31.c: Include <stdlib.h>.
32851
32852 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32853
32854 * nis/nss_compat/compat-spwd.c
32855 (getspent_next_nss_netgr): Remove unused variable.
32856 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32857
32858 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32859 nonmembers" output to use the right array.
32860
32861 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32862
32863 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32864
32865 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32866 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32867 * catgets/gencat.c (read_input_file): Likewise.
32868 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32869
32870 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32871 variable definition inside #if's controlling its use.
32872
32873 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32874
32875 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32876
32877 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32878
32879 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32880 unreachable code.
32881
32882 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32883
b68e08db
RM
32884 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32885 * configure: Regenerated.
32886
b350afab
RM
32887 * Makerules: Revert last change.
32888 * elf/Makefile: Likewise.
32889
28368601
RM
328902011-06-09 Roland McGrath <roland@hack.frob.com>
32891
32892 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32893 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32894 (reloc-link): Likewise.
32895
11988f8f
UD
328962011-06-09 Ulrich Drepper <drepper@gmail.com>
32897
32898 * elf/Makefile: Add rules to build pldd.
32899 * elf/pldd.c: New file.
32900 * elf/pldd-xx.c: New file.
32901
e80fab37
UD
329022011-06-07 Ulrich Drepper <drepper@gmail.com>
32903
32904 * version.h: Update for 2.15 development version.
32905
9b849836
DM
329062011-06-07 David S. Miller <davem@davemloft.net>
32907
32908 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32909 ifuncs.
32910 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32911 elf_machine_lazy_rel): Likewise.
32912 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32914 elf_machine_lazy_rel): Likewise.
32915 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32916 dl_hwcap via passed in argument.
32917 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32918 Likewise.
32919
5a31b283
AK
329202011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32921
32922 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32923
069e52f8
RM
329242011-06-06 Roland McGrath <roland@hack.frob.com>
32925
32926 [BZ #12849]
32927 * manual/fdl-1.1.texi: New file, verbatim from:
32928 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32929 * manual/lgpl-2.1.texi: New file, verbatim from:
32930 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32931 * manual/Makefile (licenses): New variable, list those new file names.
32932 (texis): Use it.
32933 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32934
32935 * manual/fdl.texi: File removed.
32936 * manual/lesser.texi: File removed.
32937 * manual/libc.texinfo (Copying, Documentation License):
32938 Use new @include file names, put @appendix directive before @include.
32939
f16846a5
JJ
329402011-06-04 Jakub Jelinek <jakub@redhat.com>
32941
32942 [BZ #12841]
32943 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32944 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32945 (mq_open): Add __NTH.
32946
3d29045b
L
329472011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32948
32949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32950 Assume Intel Core i3/i5/i7 processor if AVX is available.
32951
8c297311
UD
329522011-05-31 Ulrich Drepper <drepper@gmail.com>
32953
32954 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32955 typo.
32956
c8fc0c91
UD
329572011-05-31 Andreas Schwab <schwab@redhat.com>
32958
32959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32960 memory. Use alloca_account. Fix memory leak when retrying.
32961
5b27a807
UD
329622011-05-31 Ulrich Drepper <drepper@gmail.com>
32963
356f8bc6
UD
32964 * version.h (RELEASE): Bump for 2.14 release.
32965 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32966
5b27a807
UD
32967 * config.make.in (RANLIB): Remove entry.
32968
01f16ab0
UD
329692011-05-30 Ulrich Drepper <drepper@gmail.com>
32970
41fce8bd
UD
32971 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32972 (libc.pot): Work around missing support for .ksh extension in xgettext.
32973
4769ae77
UD
32974 [BZ #12684]
32975 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32976 if both request failed.
32977 (send_dg): In case of server errors clear resplen or *resplen2.
32978
6b1e7d19
UD
32979 [BZ #12454]
32980 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32981 when there are multiple maps.
32982 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32983 (_dl_fini): Remove test here.
32984
01f16ab0
UD
32985 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32986
b1ebd700
UD
329872011-05-29 Ulrich Drepper <drepper@gmail.com>
32988
7ae22829
UD
32989 [BZ #12350]
32990 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32991 bit from old_res_options.
32992 (gaih_inet): Likewise.
32993
553149f6 32994 [BZ #11099]
18a84741 32995 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32996 as signed.
32997
652ffab1
UD
32998 * resolv/res_init.c (res_setoptions): Make the code more compact.
32999
16985fd0
UD
33000 [BZ #11558]
33001 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33002 set RES_USEVC.
33003
0464f746
UD
33004 [BZ #11634]
33005 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33006
7d17596c
UD
33007 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33008
cf6bbbd7
UD
33009 [BZ #11781]
33010 * malloc/malloc.h: Declare malloc hook variables as volatile.
33011
13f1ab36
UD
33012 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33013 in last patch.
33014
b1ebd700
UD
33015 [BZ #11799]
33016 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33017 raise in the comment.
80e2212d
UD
33018 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33019 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33020 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33021
ce67228d
UD
330222011-05-28 Ulrich Drepper <drepper@gmail.com>
33023
8887a920
UD
33024 [BZ #12811]
33025 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33026 grow the buffers more if it already has to be sufficient.
33027 (build_wcs_upper_buffer): Likewise.
33028 * posix/regexec.c (check_matching): Likewise.
33029 (clean_state_log_if_needed): Likewise.
33030 (extend_buffers): Don't enlarge buffers beyond size of the input
33031 buffer.
33032 Patches mostly by Emil Wojak <emil@wojak.eu>.
33033 * posix/bug-regex32.c: New file.
33034 * posix/Makefile (tests): Add bug-regex32.
33035
4f031072
UD
33036 * locale/findlocale.c (_nl_find_locale): Return right away if
33037 _nl_explode_name failed.
33038 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33039
d0478f0c
UD
33040 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33041
de81b246
UD
33042 * debug/xtrace.sh: Unify messages.
33043 * malloc/memusage.sh: Likewise.
33044
c738465a
UD
33045 [BZ #12813]
33046 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33047 time symbol from vDSO. Substitute with vsyscall if not available.
33048 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33049 __vdso_time.
33050
f1f929d7
UD
33051 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33052 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33053 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33054 Add sendmmsg and internal_sendmmsg.
33055 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33056 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33057 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33058
ce67228d
UD
33059 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33060 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33061 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33062
e57420c6
UD
330632011-05-27 Ulrich Drepper <drepper@gmail.com>
33064
a8509ca5
UD
33065 [BZ #12813]
33066 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33067 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33068 available.
33069 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33070 __vdso_getcpu.
33071
e57420c6
UD
33072 [BZ #12814]
33073 * iconvdata/Makefile (tests): Add bug-iconv9.
33074 * iconvdata/bug-iconv9.c: New file.
33075
4d07db15
AS
330762011-05-27 Andreas Schwab <schwab@redhat.com>
33077
33078 [BZ #12814]
33079 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33080
ea486f69
JJ
330812011-05-25 Jakub Jelinek <jakub@redhat.com>
33082
33083 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33084 (struct user_regs_struct): Change intcs field back to cs.
33085
6f038433
UD
330862011-05-25 Ulrich Drepper <drepper@gmail.com>
33087
33088 * po/ja.po: Update from translation team.
33089
67f86a25
UD
330902011-05-23 Ulrich Drepper <drepper@gmail.com>
33091
33092 [BZ #12795]
33093 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33094 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33095
def7fbd6
AS
330962011-05-20 Andreas Schwab <schwab@redhat.com>
33097
33098 * stdlib/longlong.h: Update from GCC.
33099
f50ef8f1
AS
331002011-05-23 Andreas Schwab <schwab@redhat.com>
33101
33102 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33103 parameter name.
33104 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33105 Add parameter name.
33106 (__sysconf): Pass it down.
33107
de7ce8f1
UD
331082011-05-22 Ulrich Drepper <drepper@gmail.com>
33109
f2962a71
UD
33110 [BZ #12671]
33111 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33112 some situations.
33113 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33114 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33115 add in in __libc_use_alloca calls. Adjust callers.
33116 (glob): Use malloc in some situations.
33117
de7ce8f1
UD
33118 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33119 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33120 pltexit.
33121
aec84f53
UD
331222011-05-21 Ulrich Drepper <drepper@gmail.com>
33123
05bb4a68
UD
33124 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33125 and CLOCK_BOOTTIME_ALARM.
33126
7ea72f99
UD
33127 [BZ #12782]
33128 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33129 is returned.
33130
7e4afad5
UD
33131 * string/_strerror.c (__strerror_r): Print negative errors as signed
33132 numbers.
33133
8e211fec
UD
33134 [BZ #12777]
33135 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33136 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33137 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33138
f7d82dc9
UD
33139 * configure.in: Fix typo in redirection and correct removal of test
33140 files in two cases.
33141
cc9e536d
UD
33142 [BZ #12788]
33143 * locale/setlocale.c (new_composite_name): Fix test to check for
33144 identical name of all categories.
33145
aec84f53
UD
33146 [BZ #12792]
33147 * libio/filedoalloc.c (local_isatty): New function.
33148 (_IO_file_doallocate): Use local_isatty.
33149 * stdio-common/perror.c (perror): In case a new stream is used
33150 forward the stream error.
33151 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33152 error flag.
33153
78e64fdc
RT
331542011-05-20 Ulrich Drepper <drepper@gmail.com>
33155
34a9094f
UD
33156 [BZ #11869]
33157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33158 alloca.
33159 * include/alloca.h (extend_alloca_account): Define.
33160
78e64fdc
RT
33161 [BZ #11857]
33162 * posix/regex.h: Fix comments with documentation of user-accessible
33163 fields after compilation and describe correct free'ing of pattern
33164 after re_compile_pattern.
33165 Patch by Reuben Thomas <rrt@sc3d.org>.
33166
457bddfc
RA
331672011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33168
33169 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33170 and -mno-altivec to prevent the compiler from using Altivec and/or
33171 VSX instructions when the corresponding registers are not available.
33172
a4527b51
AS
331732011-05-19 Andreas Schwab <schwab@redhat.com>
33174
33175 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33176
ed690b2f
UD
331772011-05-19 Ulrich Drepper <drepper@gmail.com>
33178
33179 * libio/freopen.c (freopen): Use __dup2, not dup2.
33180 * libio/freopen64.c (freopen64): Likewise.
33181
8db73634
L
331822011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33183
33184 [BZ #12775]
33185 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33186 * math/Makefile (tests): Add test-powl.
33187 (CFLAGS-test-powl.c): Define.
33188 * math/test-powl.c: New file.
33189
0a197a9d
L
331902011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33191
33192 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33193
ee30c380
UD
331942011-05-17 Ulrich Drepper <drepper@gmail.com>
33195
33196 [BZ #11837]
33197 * iconvdata/gb18030.c: Update to GB18020-2005.
33198
6ce75379
UD
331992011-05-16 Ulrich Drepper <drepper@gmail.com>
33200
a4b89fd8
AR
33201 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33202 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33203 Patch by Aharon Robbins <arnold@skeeve.com>.
33204
ea389b12
UD
33205 [BZ #11892]
33206 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33207 on the stack.
33208
68a3f91f
UD
33209 [BZ #11895]
33210 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33211 through underflows.
33212
15cc7dd1
UD
33213 [BZ #12766]
33214 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33215 point to strings before performing equality test for error_one_per_line
33216 mode.
33217
f3799213
UD
33218 [BZ #11697]
33219 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33220
d79a9c94
UD
33221 [BZ #11820]
33222 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33223 (struct user_fpregs_struct): Avoid __uint*_t types.
33224
56e5eb46
UD
33225 [BZ #6420]
33226 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33227 symbol info. Use it instead of calling _dl_addr locally.
33228 (lock_and_info): New function.
33229 (tr_freehook): Call lock_and_info and pass symbol info as additional
33230 parameter to tr_where.
33231 (tr_mallochook): Likewise.
33232 (tr_reallochook): Likewise.
33233 (tr_memalignhook): Likewise.
33234
6ce75379
UD
33235 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33236 used and couldn't be at all thread-safe.
33237
f8a3b5bf
UD
332382011-05-15 Ulrich Drepper <drepper@gmail.com>
33239
94b7cc37
UD
33240 * libio/freopen.c (freopen): Don't close old file descriptor
33241 before the new one is opened. Instead dup the new file descriptor
33242 to the old one after the new stream is created.
33243 * libio/freopen64.c (freopen64): Likewise.
33244 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33245 * libio/fileops.c (_IO_new_file_close_it): Handle new
33246 _IO_FLAGS2_NOCLOSE flag.
33247 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33248 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33249 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33250 _IO_FLAGS2_NOCLOSE flag.
33251 * include/unistd.h: Add hidden_proto for dup3.
33252 Define __have_dup3.
33253 * io/dup3.c: Define hidden symbol.
33254 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33255
bd25564e
UD
33256 [BZ #7101]
33257 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33258 when an incomplete long option is used.
33259 * posix/tst-getopt_long1.c: New file.
33260 * posix/Makefile (tests): Add tst-getopt_long1.
33261
c84cfef4
UD
33262 [BZ #10138]
33263 * scripts/config.guess: Update from autoconf-2.68.
33264 * scripts/config.sub: Likewise.
33265
3b85df27
UD
33266 [BZ #10157]
33267 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33268 tests into ...
33269 (has_cpuclock): ...this. New function.
33270 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33271 macro here based on has_cpuclock code.
33272
15a856b1
UD
33273 [BZ #10149]
33274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33275 First byte (not low byte) is now always NUL.
33276 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33277
05f399e6
UD
33278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33279 Use non-cancelable interfaces.
33280
10a52685 33281 [BZ #9809]
94ecc67d
UD
33282 * locale/iso-639.def: Add entry for Sorani.
33283
f8a3b5bf
UD
33284 [BZ #11901]
33285 * include/stdlib.h: Move include protection to the right place.
33286 Define abort_msg_s. Declare __abort_msg with it.
33287 * stdlib/abort.c (__abort_msg): Adjust type.
33288 * assert/assert.c (__assert_fail_base): New function. Majority
33289 of code from __assert_fail. Allocate memory for __abort_msg with
33290 mmap.
33291 (__assert_fail): Now call __assert_fail_base.
33292 * assert/assert-perr.c: Remove bulk of implementation. Use
33293 __assert_fail_base.
33294 * include/assert.hL Declare __assert_fail_base.
33295 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33296 mmap.
33297 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33298
1af4e298
UD
332992011-05-14 Ulrich Drepper <drepper@gmail.com>
33300
f8a3b5bf 33301 [BZ #11952]
d26dfc60
MG
33302 [BZ #12453]
33303 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33304 until all modules are registered in the DTV.
33305 * elf/Makefile: Add rules to build and run tst-tls19.
33306 * elf/tst-tls19.c: New file.
33307 * elf/tst-tls19mod1.c: New file.
33308 * elf/tst-tls19mod2.c: New file.
33309 * elf/tst-tls19mod3.c: New file.
33310 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33311
2fc54d6f
UD
33312 [BZ #12083]
33313 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33314 correctly.
33315
98d76b46
UD
33316 [BZ #12601]
33317 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33318 two-byte sequence errors.
33319 * iconvdata/Makefile (tests): Add bug-iconv8.
33320 * iconvdata/bug-iconv8.c: New file.
33321
da3c19ef
UD
33322 [BZ #12626]
33323 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33324 buf2 definition.
33325
ca408c15
UD
33326 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33327
d6f67f7d
UD
33328 [BZ #12432]
33329 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33330 (dummy_getcfa): New function.
33331 (init): Get _Unwind_GetCFA address, use dummy if not found.
33332 (backtrace_helper): In recursion check, also check whether CFA changes.
33333 (__backtrace): Completely initialize arg.
33334
1af4e298 33335 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33336 storing incomplete byte sequence in state object. Avoid testing for
33337 guaranteed too small input if we know there is enough data available.
1af4e298 33338
da62f81b
AS
333392011-05-11 Andreas Schwab <schwab@redhat.com>
33340
33341 * Makeconfig (+link-pie): Indent.
33342 * Rules (binaries-pie): Define if $(have-fpie) and
33343 $(build-shared).
33344 (binaries-shared): Also filter out $(binaries-pie).
33345 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33346 * nscd/Makefile (others-pie): Add nscd.
33347 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33348 ($(objpfx)nscd): Remove command override.
33349 * login/Makefile (others-pie): Add pt_chown.
33350 ($(objpfx)pt_chown): Remove command override.
33351 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33352 remove command overrides.
33353
fcabc0f8
UD
333542011-05-13 Ulrich Drepper <drepper@gmail.com>
33355
20030ae6
UD
33356 * libio/tst_putwc.c: Fix error messages.
33357
fcabc0f8
UD
33358 [BZ #12724]
33359 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33360 currently writing and seek to current position when not.
33361 * libio/Makefile (tests): Add bug-fclose1.
33362 * libio/bug-fclose1.c: New file.
33363
320a5dc0
PB
333642011-05-12 Ulrich Drepper <drepper@gmail.com>
33365
33366 [BZ #12511]
33367 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33368 don't set DF_1_NODELETE here.
33369 (do_lookup_x): When entering new entry test for copy relocation
33370 and if necessary set DF_1_NODELETE flag.
33371 * elf/tst-unique4.cc: New file.
33372 * elf/tst-unique4.h: New file.
33373 * elf/tst-unique4lib.cc: New file.
33374 * elf/Makefile: Add rules to build and run tst-unique4.
33375 Patch by Piotr Bury <pbury@goahead.com>.
33376
22836f52
UD
333772011-05-11 Ulrich Drepper <drepper@gmail.com>
33378
f574184a
UD
33379 [BZ #12052]
33380 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33381
e1fb097f
UD
33382 [BZ #12625]
33383 * misc/mntent_r.c (addmntent): Flush the stream after the output
33384
22836f52
UD
33385 [BZ #12393]
33386 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33387 (is_trusted_path_normalize): Skip initial colon. Append slash
33388 to empty buffer. Duplicate is_trusted_path code but allow
33389 constructed patch to be prefix.
33390 (is_dst): Allow $ORIGIN followed by /.
33391 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33392 Correct testing of result of is_trusted_path_normalize
33393 (decompose_rpath): Fix warning.
33394
7b3b0b2a
UD
333952011-05-10 Ulrich Drepper <drepper@gmail.com>
33396
33397 [BZ #11257]
33398 * grp/initgroups.c (internal_getgrouplist): When we found the service
33399 list through the initgroups entry in nsswitch.conf do not always
33400 continue on a successful lookup. Don't always use the
eac80ce2 33401 __nss_group_database value if it is set.
7b3b0b2a
UD
33402 * nss/nsswitch.conf (initgroups): Change action for successful db
33403 lookup to continue for compatibility.
33404
2a81eaa5
UD
334052011-05-09 Ulrich Drepper <drepper@gmail.com>
33406
be97a69e
UD
33407 [BZ #11532]
33408 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33409 and CP774 modules.
33410 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33411 and CP774 modules.
33412 * iconvdata/tst-tables.sh: Likewise.
33413 * iconvdata/cp770.c: New file.
33414 * iconvdata/cp771.c: New file.
33415 * iconvdata/cp772.c: New file.
33416 * iconvdata/cp773.c: New file.
33417 * iconvdata/cp774.c: New file.
33418 * iconvdata/testdata/CP770: New file.
33419 * iconvdata/testdata/CP770..UTF8: New file.
33420 * iconvdata/testdata/CP771: New file.
33421 * iconvdata/testdata/CP771..UTF8: New file.
33422 * iconvdata/testdata/CP772: New file.
33423 * iconvdata/testdata/CP772..UTF8: New file.
33424 * iconvdata/testdata/CP773: New file.
33425 * iconvdata/testdata/CP773..UTF8: New file.
33426 * iconvdata/testdata/CP774: New file.
33427 * iconvdata/testdata/CP774..UTF8: New file.
33428
33429 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33430 END CHARMAP line.
33431 * iconvdata/gen-8bit-gap.sh: Likewise.
33432 * iconvdata/gen-8bit.sh: Likewise.
33433
c1e9e399
UD
33434 * locale/iso-639.def: Add ary entry.
33435
24c55fb3 33436 [BZ #11258]
96b4b1b0
UD
33437 * locale/C-translit.h.in: Add U20A1 transliteration.
33438
bdc2f971
KB
33439 [BZ #12178]
33440 * locale/iso-639.def: Add wae entry.
33441 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33442
2952b117
UD
33443 [BZ #12545]
33444 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33445 for n.
33446
2a81eaa5
UD
33447 [BZ #12711]
33448 * locale/C-translit.h.in: Add entry for U20B9.
33449 Patch by pravin.d.s@gmail.com.
33450
28377d1b
UD
334512011-05-08 Ulrich Drepper <drepper@gmail.com>
33452
7fb90fb8
UD
33453 [BZ #12713]
33454 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33455 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33456 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33457 in rtld. Use *stat64.
7fb90fb8 33458 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33459 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33460 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33461 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33462 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33463 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33464 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33465 __fstatat64 macros.
7fb90fb8
UD
33466 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33467 * dirent/rewinddir.c: Add libc_hidden_def.
33468 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33469 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33470
28377d1b
UD
33471 * include/dirent.h (__alloc_dir): Add flags parameter.
33472 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33473 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33474 __alloc_dir.
33475 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33476 from fdopendir if O_CLOEXEC is already set.
33477
66bdbaa4
AM
334782011-03-15 Alan Modra <amodra@gmail.com>
33479
33480 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33481 l_tls_firstbyte_offset non-zero. Save padding offset in
33482 l_tls_firstbyte_offset for later use.
33483 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33484 freeing static tls block.
33485
95721191
JN
334862011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33487
33488 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33489 where #ifdef was intended. The intent is to prevent ARG_MAX from
33490 being defined by the kernel headers.
33491
f87dfb1f
UD
334922011-05-07 Ulrich Drepper <drepper@gmail.com>
33493
33494 [BZ #12734]
33495 * resolv/resolv.h: Define RES_NOTLDQUERY.
33496 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33497 no-tld-query and set RES_NOTLDQUERY.
33498 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33499 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33500 modern BIND to search name as TLD unless forbidden.
33501
47c3cd7a
UD
335022011-05-07 Petr Baudis <pasky@suse.cz>
33503 Ulrich Drepper <drepper@gmail.com>
33504
33505 [BZ #12393]
33506 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33507 (is_trusted_path): ...to here.
c1e9ea35 33508 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33509 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33510 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33511
8a35c912
PP
335122011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33513
33514 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33515 __BEGIN/__END_DECLS.
33516
acd41f47
UD
335172011-05-06 Ulrich Drepper <drepper@gmail.com>
33518
33519 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33520 NSS_STATUS_NOTFOUND if no record was found.
33521
597df647
AS
335222011-05-05 Andreas Schwab <schwab@redhat.com>
33523
33524 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33525 (headers-not-in-tirpc): Remove rpc/netdb.h
33526 * resolv/netdb.h: Revert last change.
33527
b9af1301
PP
335282011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33529
33530 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33531 circular dependency between libgcc.a and libc.a.
33532
4e34d5f5
AS
335332011-05-05 Andreas Schwab <schwab@redhat.com>
33534
33535 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33536 * nis/Makefile: Don't install rpcsvc/*.
33537 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33538 instead of <rpc/types.h>.
33539 (MAXHOSTNAMELEN): Define.
33540
00ee369c
AS
335412011-05-03 Andreas Schwab <schwab@redhat.com>
33542
33543 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33544
0b592a30
MB
335452011-04-28 Maciej Babinski <mbabinski@google.com>
33546
33547 [BZ #12714]
33548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33549 gethostbyname4_r when IPv6 results are possible.
33550
6e04cbbe
UD
335512011-05-02 Ulrich Drepper <drepper@gmail.com>
33552
33553 [BZ #12723]
33554 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33555 _PC_PIPE_BUF handling.
33556
e4ecafe0
BH
335572011-04-30 Bruno Haible <bruno@clisp.org>
33558
33559 [BZ #12717]
33560 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33561 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33562 to 'int'.
33563 * inet/getnameinfo.c (getnameinfo): Likewise.
33564
125ee683
UD
335652011-04-29 Ulrich Drepper <drepper@gmail.com>
33566
33567 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33568 to groups setting in database lookup.
33569 * nss/nsswitch.conf: Add initgroups entry.
33570
b722481a
EB
335712011-04-22 Ulrich Drepper <drepper@gmail.com>
33572
33573 [BZ #12685]
33574 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33575 mode string.
33576 Patch by Eric Blake <eblake@redhat.com>.
33577
4df46dbd
L
335782011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33579
33580 * sunrpc/Makefile (need-export-routines): Add svc_run.
33581 (routines): Remove svc_run.
33582 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33583 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33584 * sunrpc/svc_run.c (svc_run): Likewise.
33585 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33586
e84142d2
UD
335872011-04-21 Ulrich Drepper <drepper@gmail.com>
33588
33589 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33590 problem in reallocation in last patch.
33591
877175d8
UD
335922011-04-20 Ulrich Drepper <drepper@gmail.com>
33593
33594 * sunrpc/Makefile: Move inclusion of Rules.
33595
ab8eed78
UD
335962011-04-19 Ulrich Drepper <drepper@gmail.com>
33597
33598 * nss/nss_files/files-initgroups.c: New file.
33599 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33600 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33601 _nss_files_initgroups_dyn.
33602
e3d8f584
RS
336032011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33604
33605 * elf/elf.h (R_ARM_IRELATIVE): Define.
33606
af190f45
UD
336072011-04-19 Ulrich Drepper <drepper@gmail.com>
33608
33609 * po/ru.po: Update from translation team.
33610
53cf59ef
UD
336112011-04-17 Ulrich Drepper <drepper@gmail.com>
33612
33613 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33614 dependencies.
33615
4c559bcd
MF
336162011-02-06 Mike Frysinger <vapier@gentoo.org>
33617
33618 [BZ #12653]
33619 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33620 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33623 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33624
4420675c
AS
336252011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33626
33627 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33628 differing bytes.
33629 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33630 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33632
75ea32ab
UD
336332011-04-17 Ulrich Drepper <drepper@gmail.com>
33634
33635 [BZ #12420]
33636 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33637 storing it.
33638 * stdlib/bug-getcontext.c: New file.
33639 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33640
27390476
AK
336412011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33642
33643 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33644 instructions into .machine "z9-109".
33645 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33646 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33647
10442705
AK
336482011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33649
33650 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33651 between environment variables and auxiliary vector.
33652
7b57bfe5
UD
336532011-04-16 Ulrich Drepper <drepper@gmail.com>
33654
33655 * Makefile: Add rules to build linkobj/libc.so.
33656 * include/libc-symbols.h: Define libc_hidden_nolink.
33657 * include/rpc/auth.h: Mark functions which are to be hidden.
33658 * include/rpc/auth_des.h: Likewise.
33659 * include/rpc/auth_unix.h: Likewise.
33660 * include/rpc/clnt.h: Likewise.
33661 * include/rpc/des_crypt.h: Likewise.
33662 * include/rpc/key_prot.h: Likewise.
33663 * include/rpc/pmap_clnt.h: Likewise.
33664 * include/rpc/pmap_prot.h: Likewise.
33665 * include/rpc/pmap_rmt.h: Likewise.
33666 * include/rpc/rpc_msg.h: Likewise.
33667 * include/rpc/svc.h: Likewise.
33668 * include/rpc/svc_auth.h: Likewise.
33669 * include/rpc/xdr.h: Likewise.
33670 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33671 * nss/Makefile: Likewise.
33672 * sunrpc/Makefile: Don't install headers. Build library with normal
33673 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33674 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33675 for the compat linking library. Remove use of INTDEF/INTUSE.
33676 * sunrpc/auth_none.c: Likewise.
33677 * sunrpc/auth_unix.c: Likewise.
33678 * sunrpc/authdes_prot.c: Likewise.
33679 * sunrpc/authuxprot.c: Likewise.
33680 * sunrpc/clnt_gen.c: Likewise.
33681 * sunrpc/clnt_perr.c: Likewise.
33682 * sunrpc/clnt_raw.c: Likewise.
33683 * sunrpc/clnt_simp.c: Likewise.
33684 * sunrpc/clnt_tcp.c: Likewise.
33685 * sunrpc/clnt_udp.c: Likewise.
33686 * sunrpc/clnt_unix.c: Likewise.
33687 * sunrpc/des_crypt.c: Likewise.
33688 * sunrpc/des_soft.c: Likewise.
33689 * sunrpc/get_myaddr.c: Likewise.
33690 * sunrpc/key_call.c: Likewise.
33691 * sunrpc/key_prot.c: Likewise.
33692 * sunrpc/netname.c: Likewise.
33693 * sunrpc/pm_getmaps.c: Likewise.
33694 * sunrpc/pm_getport.c: Likewise.
33695 * sunrpc/pmap_clnt.c: Likewise.
33696 * sunrpc/pmap_prot.c: Likewise.
33697 * sunrpc/pmap_prot2.c: Likewise.
33698 * sunrpc/pmap_rmt.c: Likewise.
33699 * sunrpc/publickey.c: Likewise.
33700 * sunrpc/rpc_cmsg.c: Likewise.
33701 * sunrpc/rpc_common.c: Likewise.
33702 * sunrpc/rpc_dtable.c: Likewise.
33703 * sunrpc/rpc_prot.c: Likewise.
33704 * sunrpc/rpc_thread.c: Likewise.
33705 * sunrpc/rtime.c: Likewise.
33706 * sunrpc/svc.c: Likewise.
33707 * sunrpc/svc_auth.c: Likewise.
33708 * sunrpc/svc_authux.c: Likewise.
33709 * sunrpc/svc_raw.c: Likewise.
33710 * sunrpc/svc_run.c: Likewise.
33711 * sunrpc/svc_simple.c: Likewise.
33712 * sunrpc/svc_tcp.c: Likewise.
33713 * sunrpc/svc_udp.c: Likewise.
33714 * sunrpc/svc_unix.c: Likewise.
33715 * sunrpc/svcauth_des.c: Likewise.
33716 * sunrpc/xcrypt.c: Likewise.
33717 * sunrpc/xdr.c: Likewise.
33718 * sunrpc/xdr_array.c: Likewise.
33719 * sunrpc/xdr_float.c: Likewise.
33720 * sunrpc/xdr_intXX_t.c: Likewise.
33721 * sunrpc/xdr_mem.c: Likewise.
33722 * sunrpc/xdr_rec.c: Likewise.
33723 * sunrpc/xdr_ref.c: Likewise.
33724 * sunrpc/xdr_sizeof.c: Likewise.
33725 * sunrpc/xdr_stdio.c: Likewise.
33726
e6c61494
UD
337272011-04-10 Ulrich Drepper <drepper@gmail.com>
33728
33729 [BZ #12650]
33730 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33731 * sysdeps/ia64/dl-tls.h: Likewise.
33732 * sysdeps/powerpc/dl-tls.h: Likewise.
33733 * sysdeps/s390/dl-tls.h: Likewise.
33734 * sysdeps/sh/dl-tls.h: Likewise.
33735 * sysdeps/sparc/dl-tls.h: Likewise.
33736 * sysdeps/x86_64/dl-tls.h: Likewise.
33737 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33738
34fe483e
AS
337392011-03-14 Andreas Schwab <schwab@redhat.com>
33740
33741 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33742 rpath element also skip the following colon.
33743 (expand_dynamic_string_token): Add is_path parameter and pass
33744 down to DL_DST_REQUIRED and _dl_dst_substitute.
33745 (decompose_rpath): Call expand_dynamic_string_token with
33746 non-zero is_path. Ignore empty rpaths.
33747 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33748 with zero is_path.
33749
f12a32e6
AS
337502011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33751
33752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33753 Make cancelable.
33754
38a7d692
UD
337552011-04-09 Ulrich Drepper <drepper@gmail.com>
33756
33757 [BZ #12655]
33758 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33759 Patch by Filipe David Manana <fdmanana@apache.org>.
33760
e451d22b
AS
337612011-04-07 Andreas Schwab <schwab@redhat.com>
33762
33763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33764 Maintain aligned stack.
33765 (CHECK_RSP): Remove unused macro.
33766
dedc7c7b
UD
337672011-04-03 Ulrich Drepper <drepper@gmail.com>
33768
33769 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33770 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33771
94521213
UD
337722011-04-02 Ulrich Drepper <drepper@gmail.com>
33773
33774 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33775
8cb700c0 33776 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33777
0354e355
L
337782011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33779
33780 [BZ #12518]
33781 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33782 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33783 * sysdeps/x86_64/memmove.c: New file.
33784 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33785 (memcpy): Renamed to ...
33786 (__new_memcpy): This.
33787 (memcpy): Provide GLIBC_2_14 memcpy.
33788 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33789 (memcpy): Provide GLIBC_2_2_5 memcpy.
33790
8593482f
UD
337912011-04-01 Ulrich Drepper <drepper@gmail.com>
33792
33793 [BZ #12631]
33794 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33795
81a5726b
AS
337962011-03-30 Andreas Schwab <schwab@redhat.com>
33797
33798 * misc/syncfs.c: New file.
33799 * misc/Makefile (routines): Add syncfs.
33800 * posix/unistd.h: Declare syncfs.
33801 * sysdeps/unix/syscalls.list: Add syncfs.
33802
00e5419f
AS
338032011-04-01 Andreas Schwab <schwab@redhat.com>
33804
33805 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33806 open_by_handle_at.
33807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33812 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33813 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33814
748876bf
UD
338152011-04-01 Ulrich Drepper <drepper@gmail.com>
33816
658e451d
UD
33817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33818 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33819 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33823 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33824
748876bf
UD
33825 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33826 sync_file_range.c with -fexceptions.
33827 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33828 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33829 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33830 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33831 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33832 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33834 sync_file_range as cancellation point
33835 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33836 now a wrapper around __call_sync_file_range with cancellation handling.
33837 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33838 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33839 function name to __call_sync_file_range.
33840 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33841 Add call_sync_file_range.
748876bf 33842
6e63d5e1
AS
338432011-04-01 Andreas Schwab <schwab@redhat.com>
33844
33845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33846 bits/timex.h.
6e63d5e1 33847
46998f74
UD
338482011-04-01 Ulrich Drepper <drepper@gmail.com>
33849
4c1423ed
UD
33850 * iconv/iconv.h: Fix typo in comment.
33851 * io/fcntl.h: Likewise.
33852 * libio/stdio.h: Likewise.
33853 * posix/spawn.h: Likewise.
33854 * posix/unistd.h: Likewise.
33855 * stdlib/stdlib.h: Likewise.
33856 * time/time.h: Likewise.
33857 * wcsmbs/wchar.h: Likewise.
33858
158648c0
UD
33859 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33860 open_by_handle): Add.
33861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33862 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33863 Augment a few comments.
33864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33869 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33870 open_by_handle.
33871
46998f74
UD
33872 * io/fcntl.h (AT_EMPTY_PATH): Define.
33873
83fe108b
UD
338742011-03-30 Ulrich Drepper <drepper@gmail.com>
33875
33876 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33877 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33878 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33879 to...
33880 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33881 * Versions.def: Add GLIBC_2.14.
33882 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33883 Export.
83fe108b 33884
bb242059
UD
338852011-03-22 Ulrich Drepper <drepper@gmail.com>
33886
33887 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33888 round counter.
33889 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33890
c97a1282
L
338912011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33892
33893 [BZ #12597]
33894 * string/test-strncmp.c (do_page_test): New function.
33895 (check2): Likewise.
33896 (test_main): Call check2.
33897 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33898
2a115601
UD
338992011-03-20 Ulrich Drepper <drepper@gmail.com>
33900
33901 [BZ #12587]
33902 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33903 Handle cache information in CPU leaf 4.
33904 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33905
8126d904
UD
339062011-03-18 Ulrich Drepper <drepper@gmail.com>
33907
042c49c6 33908 [BZ #12583]
8126d904
UD
33909 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33910 character representation.
33911 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33912
ccfe366e
RA
339132011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33914
33915 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33916 END(__isnan) to END(__isnanf) to match function entry point/label
33917 EALIGN(__isnanf,...).
33918
c6e13027
JJ
339192011-03-10 Jakub Jelinek <jakub@redhat.com>
33920
33921 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33922
33f85a3f
UD
339232011-03-10 Ulrich Drepper <drepper@gmail.com>
33924
028478fa
UD
33925 [BZ #12510]
33926 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33927 copy from the symbol referenced in the relocation to initialize the
33928 used variable.
33929 Patch by Piotr Bury <pbury@goahead.com>.
33930 * elf/Makefile: Add rules to build and tst-unique3.
33931 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33932 * elf/tst-unique3.cc: New file.
33933 * elf/tst-unique3.h: New file.
33934 * elf/tst-unique3lib.cc: New file.
33935 * elf/tst-unique3lib2.cc: New file.
33936
33f85a3f
UD
33937 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33938
03592fc7
MF
339392011-03-10 Mike Frysinger <vapier@gentoo.org>
33940
33941 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33942 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33943 to _start.
03592fc7 33944
6a5ee102
UD
339452011-03-06 Ulrich Drepper <drepper@gmail.com>
33946
33947 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33948 to-be-loaded object along a path to loader is ld.so.
33949
7e4ba49c
HJ
339502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33951 Ulrich Drepper <drepper@gmail.com>
33952
33953 * sysdeps/x86_64/memset.S: After aligning destination, code
33954 branches to different locations depending on the value of
33955 misalignment, when multiarch is enabled. Fix this.
33956
339572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33958
33959 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33960 Set _x86_64_preferred_memory_instruction for AMD processsors.
33961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33962 Set bit_Prefer_SSE_for_memop for AMD processors.
33963
13a804de
UD
339642011-03-04 Ulrich Drepper <drepper@gmail.com>
33965
33966 * libio/fmemopen.c (fmemopen): Optimize a bit.
33967
9d25c392
AS
339682011-03-03 Andreas Schwab <schwab@redhat.com>
33969
33970 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33971
a5543c6a
RM
339722011-03-03 Roland McGrath <roland@redhat.com>
33973
33974 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33975
012d35f7
DM
339762011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33977
7e4ba49c 33978 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33979 __bzero_ultra1 instead of __memset_ultra1.
33980
4bff6e01
AS
339812011-02-23 Andreas Schwab <schwab@redhat.com>
33982 Ulrich Drepper <drepper@gmail.com>
33983
33984 [BZ #12509]
33985 * include/link.h (struct link_map): Add l_orig_initfini.
33986 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33987 returning unsuccessfully.
33988 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33989 close of a file loaded at startup, restore the original l_initfini
33990 list.
33991 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33992 list, store the pointer.
33993 * elf/Makefile ($(objpfx)noload-mem): New rule.
33994 (noload-ENV): Define.
33995 (tests): Add $(objpfx)noload-mem.
33996 * elf/noload.c: Include <memcheck.h>.
33997 (main): Call mtrace. Close all opened handles.
33998
f2092faf
AS
339992011-02-17 Andreas Schwab <schwab@redhat.com>
34000
34001 [BZ #12454]
34002 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34003 dependencies are missing.
34004
6c8a2e88
ST
340052011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34006
f2092faf 34007 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34008 Hurd needs munmap.
34009 * sysdeps/mach/hurd/ifreq.h: New file.
34010
84a42118
PB
340112011-01-27 Petr Baudis <pasky@suse.cz>
34012 Ulrich Drepper <drepper@gmail.com>
34013
071f805e 34014 [BZ 12445]#
84a42118
PB
34015 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34016 to extend_alloca().
34017 * stdio-common/bug23.c: New file.
34018 * stdio-common/Makefile (tests): Add bug23.
34019
e23fe25b
AS
340202010-09-28 Andreas Schwab <schwab@redhat.com>
34021 Ulrich Drepper <drepper@gmail.com>
34022
34023 [BZ #12489]
34024 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34025 before performing relro protection. At old place add assertion
34026 to make sure nothing changed.
34027
d3f02e10
NS
340282011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34029 Glauber de Oliveira Costa <glommer@gmail.com>
34030
34031 * elf/elf.h: Add new ARM TLS relocs.
34032
d55fd7a5
RA
340332011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34034
34035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34036 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34037 cast from r3.
34038 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34039 'tests' variable.
34040 * sysdeps/wordsize-64/tst-writev.c: New file.
34041
2206397e
RA
340422011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34043
34044 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34045 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34046 insns in _dl_start to prevent a TOC reference before relocs are
34047 resolved.
34048
e9433893
UD
340492011-02-15 Ulrich Drepper <drepper@gmail.com>
34050
34051 [BZ #12469]
34052 * Makeconfig: Remove RANLIB definition.
34053 * Makerules: Don't use RANLIB.
34054 * aclocal.m4: Remove ranlib test.
34055 * configure.in: No need to check for ranlib.
34056 * elf/rtld-Rules: Don't use RANLIB.
34057
f75286c6
ST
340582011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34059
8e31c82d
ST
34060 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34061 protection macro.
34062 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34063 inclusion protection macro.
34064
f75286c6
ST
34065 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34066 SIGRTMIN and SIGRTMAX and print information in that case only when
34067 SIGRTMIN is defined.
34068
c1d0e639
JJ
340692011-02-11 Jakub Jelinek <jakub@redhat.com>
34070
34071 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34072 arginfo fn returning -1.
34073
34074 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34075 and thousands string is zero terminated.
34076
edf9294e
AS
340772011-02-03 Andreas Schwab <schwab@redhat.com>
34078
34079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34080 sysdeps/unix/sysv/linux/bits/socket.h.
34081
2b7e92df
ST
340822011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34083
edf9294e
AS
34084 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34085 (__CPU_COUNT): Remove old macros.
34086 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34087 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34088 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34089 (__sched_cpualloc, __sched_cpufree): Add declarations.
34090
a4c7ea7b
UD
340912011-02-05 Ulrich Drepper <drepper@gmail.com>
34092
34093 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34094 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34095 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34096 (readdhstai): Return value of addhstaiX call.
34097 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34098 (addgrbyX): Return value returned by cache_addgr.
34099 (readdgrbyname): Return value returned by addgrbyX.
34100 (readdgrbygid): Likewise.
34101 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34102 (addpwbyX): Return value returned by cache_addpw.
34103 (readdpwbyname): Return value returned by addhstbyX.
34104 (readdpwbyuid): Likewise.
34105 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34106 (addservbyX): Return value returned by cache_addserv.
34107 (readdservbyname): Return value returned by addservbyX:
34108 (readdservbyport): Likewise.
34109 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34110 (addhstbyX): Return value returned by cache_addhst.
34111 (readdhstbyname): Return value returned by addhstbyX.
34112 (readdhstbyaddr): Likewise.
34113 (readdhstbynamev6): Likewise.
34114 (readdhstbyaddrv6): Likewise.
34115 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34116 (readdinitgroups): Return value returned by addinitgroupsX.
34117 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34118 (prune_cache): Keep track of timeout value of re-added entries.
34119 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34120 * nscd/nscd.h: Adjust prototypes of readd* functions.
34121
a0bf67cc
RM
341222011-02-04 Roland McGrath <roland@redhat.com>
34123
34124 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34125 (nis_stats): Likewise.
34126 * nis/nis_modify.c (nis_modify): Likewise.
34127 * nis/nis_remove.c (nis_remove): Likewise.
34128 * nis/nis_add.c (nis_add): Likewise.
34129
34130 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34131
34132 * posix/fnmatch_loop.c: Add some consts.
34133
34134 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34135
435b95eb
L
341362011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34137
34138 [BZ #12460]
34139 * config.make.in (config-cflags-novzeroupper): Define.
34140 * configure.in: Substitute libc_cv_cc_novzeroupper.
34141 * elf/Makefile (AVX-CFLAGS): Define.
34142 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34143 (CFLAGS-tst-auditmod4a.c): Likewise.
34144 (CFLAGS-tst-auditmod4b.c): Likewise.
34145 (CFLAGS-tst-auditmod6b.c): Likewise.
34146 (CFLAGS-tst-auditmod6c.c): Likewise.
34147 (CFLAGS-tst-auditmod7b.c): Likewise.
34148 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34149
8517b15e
UD
341502011-02-02 Ulrich Drepper <drepper@gmail.com>
34151
34152 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34153 function to the callback.
34154 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34155
10a656fe
AS
341562011-02-02 Andreas Schwab <schwab@redhat.com>
34157
34158 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34159 of errno.
34160
968dad0a
UD
341612011-01-19 Ulrich Drepper <drepper@gmail.com>
34162
9f94d2ea 34163 [BZ #11724]
968dad0a
UD
34164 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34165 of constructors.
34166 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34167 of destructors.
34168 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34169
34170 [BZ #11724]
34171 * elf/Makefile: Add rules to build and run new test.
34172 * elf/tst-initorder.c: New file.
34173 * elf/tst-initorder.exp: New file.
34174 * elf/tst-initordera1.c: New file.
34175 * elf/tst-initordera2.c: New file.
34176 * elf/tst-initordera3.c: New file.
34177 * elf/tst-initordera4.c: New file.
34178 * elf/tst-initorderb1.c: New file.
34179 * elf/tst-initorderb2.c: New file.
34180 * elf/tst-order-a1.c: New file.
34181 * elf/tst-order-a2.c: New file.
34182 * elf/tst-order-a3.c: New file.
34183 * elf/tst-order-a4.c: New file.
34184 * elf/tst-order-b1.c: New file.
34185 * elf/tst-order-b2.c: New file.
34186 * elf/tst-order-main.c: New file.
34187 New test case by George Gensure <werkt0@gmail.com>.
34188
86e92359
UD
341892010-10-01 Andreas Schwab <schwab@redhat.com>
34190
34191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34192 decoding ACE if AI_CANONIDN.
34193
5d5732b0
UD
341942011-01-18 Ulrich Drepper <drepper@gmail.com>
34195
34196 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34197
a77e8cbc
UD
341982011-01-17 Ulrich Drepper <drepper@gmail.com>
34199
6392473f
UD
34200 * version.h (RELEASE): Bump for 2.13 release.
34201 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34202
620a0529
UD
34203 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34204
18ba70a5
UD
34205 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34206 MADV_NOHUGEPAGE.
32465c3e
UD
34207 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34209 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34210 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34211 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34212 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34213
c0dafcf1
UD
34214 * posix/getconf.c: Update copyright year.
34215 * catgets/gencat.c: Likewise.
34216 * csu/version.c: Likewise.
34217 * debug/catchsegv.sh: Likewise.
34218 * debug/xtrace.sh: Likewise.
34219 * elf/ldconfig.c: Likewise.
34220 * elf/ldd.bash.in: Likewise.
34221 * elf/sprof.c (print_version): Likewise.
34222 * iconv/iconv_prog.c: Likewise.
34223 * iconv/iconvconfig.c: Likewise.
34224 * locale/programs/locale.c: Likewise.
34225 * locale/programs/localedef.c: Likewise.
34226 * malloc/memusage.sh: Likewise.
34227 * malloc/mtrace.pl: Likewise.
34228 * nscd/nscd.c (print_version): Likewise.
34229 * nss/getent.c: Likewise.
34230
a77e8cbc
UD
34231 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34232 PF_CAIF, and PF_ALG.
34233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34234
77e8bddf
AS
342352011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34236
1f20b93a
AS
34237 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34238 (modules-names): Use them.
34239 (ifunc-test-modules, ifunc-pie-tests): Define.
34240 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34241 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34242 (test-extras): Likewise.
34243 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34244 $(compile-command.c).
34245 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34246 (all-built-dso): Define.
34247 (check-textrel.out, check-execstack.out): Depend on it.
34248
77e8bddf
AS
34249 * configure.in: Don't override --enable-multi-arch.
34250
bc425b33
UD
342512011-01-15 Ulrich Drepper <drepper@gmail.com>
34252
34253 [BZ #6812]
34254 * nscd/hstcache.c (tryagain): Define.
34255 (cache_addhst): Return tryagain not notfound for temporary errors.
34256 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34257 failed.
34258
794c3ad3
UD
342592011-01-14 Ulrich Drepper <drepper@gmail.com>
34260
70181fdd
UD
34261 [BZ #10563]
34262 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34263 to make the syscall.
34264 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34265
794c3ad3
UD
34266 [BZ #12378]
34267 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34268 and fall back to matching as normal character if the string ends before
34269 the matching ']' is found. This is what POSIX requires.
34270 * posix/testfnm.c: Adjust test result.
34271 * posix/globtest.sh: Adjust test result. Add new test.
34272 * posix/tst-fnmatch.input: Likewise.
34273 * posix/tst-fnmatch2.c: Add new test.
34274
68dc9497
AS
342752010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34276
34277 * elf/Makefile (check-execstack): Revert last change. Depend on
34278 check-execstack.h.
34279 (check-execstack.h): New target.
34280 (generated): Add check-execstack.h.
34281 * elf/check-execstack.c: Include "check-execstack.h".
34282 (main): Revert last change.
34283 (handle_file): Return zero if GNU_STACK is absent and
34284 DEFAULT_STACK_PERMS doesn't include PF_X.
34285
451f001b
UD
342862011-01-13 Ulrich Drepper <drepper@gmail.com>
34287
cfa28e56
UD
34288 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34289 in child fails because the descriptor is already closed.
8cf8ce17
UD
34290 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34291 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34293
1086d70d
UD
34294 [BZ #12397]
34295 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34296 syscall.
34297
451f001b
UD
34298 [BZ #10484]
34299 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34300 temporary buffer used to handle multi lookups locally.
a85b5cb4 34301 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34302
08769175
UD
343032011-01-12 Ulrich Drepper <drepper@gmail.com>
34304
34305 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34306 loader is ld.so.
34307
5e49c52e
UD
343082011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34309
34310 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34311 alignment for SSE2.
34312
60522a5f
UD
343132011-01-12 Ulrich Drepper <drepper@gmail.com>
34314
34315 [BZ #12394]
34316 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34317 characters. When rounding increased number of integer digits recompute
34318 number of groups.
34319 * stdio-common/tst-grouping.c: New file.
34320 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34321
f257bbd7
UD
343222011-01-09 Ulrich Drepper <drepper@gmail.com>
34323
34324 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34325 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34326
34327 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34328 void.
34329 * bits/select.h: Likewise.
34330
fa9c15cb
UD
343312011-01-08 Ulrich Drepper <drepper@gmail.com>
34332
34333 * po/ja.po: Update from translation team.
34334
16c2895f
DM
343352011-01-04 David S. Miller <davem@sunset.davemloft.net>
34336
34337 [BZ #11155]
34338 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34339 implementation just like for lxstat, fxstatat, et al.
34340
2543fef2
JM
343412010-12-27 Jim Meyering <meyering@redhat.com>
34342
34343 [BZ #12348]
34344 * posix/regexec.c (build_trtable): Return failure indication upon
34345 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34346
98727dbe
UD
343472010-12-25 Ulrich Drepper <drepper@gmail.com>
34348
5bd6dc5c
UD
34349 [BZ #12201]
34350 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34351 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34352 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34353 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34354
97983464
UD
34355 [BZ #12207]
34356 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34357
98727dbe
UD
34358 [BZ #12204]
34359 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34360 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34361
4a531bb0
L
343622010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34363
34364 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34365 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34366 script has SORT_BY_INIT_PRIORITY.
34367 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34368 NO_CTORS_DTORS_SECTIONS is defined.
34369 * elf/soinit.c: Likewise.
34370 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34371 NO_CTORS_DTORS_SECTIONS is defined.
34372 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34373 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34374 * sysdeps/sh/init-first.c: Likewise.
34375 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34376
07eb4b71
UD
343772010-12-24 Ulrich Drepper <drepper@gmail.com>
34378
34379 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34380 always use the slow path.
34381
30950a5f
RA
343822010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34383
34384 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34385 similar rule which adds the sysdep directories to the header search in
34386 order to pick up the correct platform stackinfo.h.
34387 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34388 perform test if it is, otherwise return successfully without testing.
34389 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34390 DEFAULT_STACK_PERMS define in stackinfo.h.
34391 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34392 defined in stackinfo.h.
34393 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34394 DEFAULT_STACK_PERMS defined in stackinfo.h.
34395 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34396 * sysdeps/ia64/stackinfo.h: Likewise.
34397 * sysdeps/s390/stackinfo.h: Likewise.
34398 * sysdeps/sh/stackinfo.h: Likewise.
34399 * sysdeps/sparc/stackinfo.h: Likewise.
34400 * sysdeps/x86_64/stackinfo.h: Likewise.
34401 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34402 PF_X for powerpc64. Retain PF_X for powerpc32.
34403
db753e2c
UD
344042010-12-19 Ulrich Drepper <drepper@gmail.com>
34405
14b697f7
UD
34406 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34407 accurately.
db753e2c
UD
34408 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34409 GETDENTS_64BIT_ALIGNED.
34410
28300719
UD
344112010-12-14 Ulrich Drepper <dreper@gmail.com>
34412
14b697f7 34413 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34414
4f197237
AS
344152010-12-10 Andreas Schwab <schwab@redhat.com>
34416
dbb0472f
AS
34417 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34418 _GNU_SOURCE.
34419
4f197237
AS
34420 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34421 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34422 Remove __restrict.
34423 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34424 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34425
fb88ac72
UD
344262010-12-09 Ulrich Drepper <drepper@gmail.com>
34427
34428 [BZ #11655]
34429 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34430 are initialized.
34431
42acbb92
JJ
344322010-12-09 Jakub Jelinek <jakub@redhat.com>
34433
34434 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34435
c038d98d
UD
344362010-12-03 Ulrich Drepper <drepper@gmail.com>
34437
34438 * po/it.po: Update from translation team.
34439
3a4a2499
L
344402010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34441
34442 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34443 unused codes.
34444
1e24cf6e
UD
344452010-11-30 Ulrich Drepper <drepper@gmail.com>
34446
34447 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34448
a7690819
AS
344492010-11-24 Andreas Schwab <schwab@redhat.com>
34450
34451 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34452 specially.
34453 (gaih_getanswer_slice): Likewise.
34454
3bf8d1b1
JJ
344552010-10-20 Jakub Jelinek <jakub@redhat.com>
34456
34457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34458
6db52fbb
PB
344592010-05-31 Petr Baudis <pasky@suse.cz>
34460
34461 [BZ #11149]
34462 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34463 silently even in the chroot mode.
34464
eaca7569
UD
344652010-11-22 Ulrich Drepper <drepper@gmail.com>
34466
34467 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34468 last patch a bit. Pretty printing
34469
3056dcdb
UD
344702010-05-31 Petr Baudis <pasky@suse.cz>
34471
34472 [BZ #10085]
34473 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34474 initialization of skip_initgroups_dyn.
34475
cf7c9078
UD
344762010-11-19 Ulrich Drepper <drepper@gmail.com>
34477
34478 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34479 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34480
a1fb5e3e
UD
344812010-11-16 Ulrich Drepper <drepper@gmail.com>
34482
34483 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34484
3540d66b
AS
344852010-11-11 Andreas Schwab <schwab@redhat.com>
34486
34487 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34488 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34489 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34490 ($(objpfx)tst-fnmatch-mem): New rule.
34491 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34492 * posix/tst-fnmatch.c (main): Call mtrace.
34493
13b69574
L
344942010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34495
34496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34497 Support Intel processor model 6 and model 0x2c.
34498
da93d214
LM
344992010-11-10 Luis Machado <luisgpm@br.ibm.com>
34500
34501 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34502 signed comparison.
34503
8ca52c6e
L
345042010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34505
34506 [BZ #12205]
34507 * string/test-strncasecmp.c (check_result): New function.
34508 (do_one_test): Use it.
34509 (check1): New function.
34510 (test_main): Use it.
34511 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34512 Support strcasecmp and strncasecmp.
34513
69da074d
UD
345142010-11-08 Ulrich Drepper <drepper@gmail.com>
34515
34516 [BZ #12194]
34517 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34519
ff02d528
L
345202010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34521
34522 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34523 IFUNC support.
34524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34525 memset-x86-64.
34526 * sysdeps/x86_64/multiarch/bzero.S: New file.
34527 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34528 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34529 * sysdeps/x86_64/multiarch/memset.S: New file.
34530 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34532 Set bit_Prefer_SSE_for_memop for Intel processors.
34533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34534 Define.
34535 (index_Prefer_SSE_for_memop): Define.
34536 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34537
344d0b54
LM
345382010-11-04 Luis Machado <luisgpm@br.ibm.com>
34539
34540 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34541 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34542
c0dde15b
UD
345432010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34544
34545 [BZ #12191]
34546 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34547 (__x86_64_raw_data_cache_size_half): Likewise.
34548 (__x86_64_raw_shared_cache_size): Likewise.
34549 (__x86_64_raw_shared_cache_size_half): Likewise.
34550
34551 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34552 (__x86_64_raw_data_cache_size_half): Likewise.
34553 (__x86_64_raw_shared_cache_size): Likewise.
34554 (__x86_64_raw_shared_cache_size_half): Likewise.
34555 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34556 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34557 and __x86_64_raw_shared_cache_size_half. Round
34558 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34559 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34560 to multiple of 256 bytes.
34561
0e516e0e
MS
345622010-11-03 Ulrich Drepper <drepper@gmail.com>
34563
34564 [BZ #12167]
34565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34566 of inacessible symlinks. Verify result of symlink before returning it.
34567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34568 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34569
0e012e87
ER
345702010-10-28 Erich Ritz <erichritz@gmail.com>
34571
34572 * math/math.h (isinf): Fix typo in comment.
34573
de0ff7bc
UD
345742010-11-01 Ulrich Drepper <drepper@gmail.com>
34575
34576 * po/da.po: Update from translation team.
34577
fa41c84d
UD
345782010-10-26 Ulrich Drepper <drepper@gmail.com>
34579
34580 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34581 is added to the list.
34582
f0967738
AK
345832010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34584 Ulrich Drepper <drepper@gmail.com>
34585
34586 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34587 the global list here. Move code to...
34588 (_dl_add_to_namespace_list): ...here. New function.
34589 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34590 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34591 * elf/dl-load.c (lose): Don't remove the element from the list.
34592 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34593 (_dl_map_object): Likewise.
34594
345952010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34596
34597 [BZ #12159]
34598 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34599 into all bytes of SSE register.
34600 Patch by Richard Li <richardpku@gmail.com>.
34601
f0967738 346022010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34603
34604 [BZ #12140]
34605 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34606 perturbing.
34607
d0b9e94f
MB
346082010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34609
34610 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34611 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34612 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34613 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34615 submachine.
34616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34617
8e9f92e9
AS
346182010-10-22 Andreas Schwab <schwab@redhat.com>
34619
34620 * include/dlfcn.h (__RTLD_SECURE): Define.
34621 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34622 mode & __RTLD_SECURE instead.
34623 (open_path): Rename preloaded parameter to secure.
34624 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34625 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34626 * elf/dl-deps.c (openaux): Likewise.
34627 * elf/rtld.c (struct map_args): Remove is_preloaded.
34628 (map_doit): Don't use it.
34629 (dl_main): Likewise.
34630 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34631 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34632
bc96fbda
AS
346332010-09-09 Andreas Schwab <schwab@redhat.com>
34634
34635 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34636 (sysd-rules-targets): Remove duplicates.
34637 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34638 rtld-%.$o dependency.
34639
22cd1c9b
AS
346402010-10-18 Andreas Schwab <schwab@redhat.com>
34641
34642 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34643 _dl_map_object do it.
34644
18edac48
UD
346452010-10-19 Ulrich Drepper <drepper@gmail.com>
34646
34647 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34648 fast fma builtins, define the macros in the C99 standard.
34649 (FP_FAST_FMAF): Likewise.
34650 (FP_FAST_FMAL): Likewise.
34651 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34652
34653 * bits/mathdef.h: Update copyright year.
34654 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34655
d2050124
MM
346562010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34657
34658 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34659 builtins, define the macros in the C99 standard.
34660 (FP_FAST_FMAF): Likewise.
34661 (FP_FAST_FMAL): Likewise.
34662 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34663 multiply/add.
34664 (FP_FAST_FMAF): Likewise.
34665
475facd1
JJ
346662010-10-15 Jakub Jelinek <jakub@redhat.com>
34667
34668 [BZ #3268]
34669 * math/libm-test.inc (fma_test): Some new testcases.
34670 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34672 y and infinite z. Do multiplication by C already in long double.
34673 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34675 y and infinite z. Do bitwise or of inexact bit into u.d.
34676 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34677 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34678 * sysdeps/i386/fpu/s_fma.S: Removed.
34679 * sysdeps/i386/fpu/s_fmal.S: Removed.
34680
7c08a05c
JJ
346812010-10-16 Jakub Jelinek <jakub@redhat.com>
34682
34683 [BZ #3268]
34684 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34685 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34686 computation is not scheduled after fetestexcept. Fix value
34687 of minimum denormal long double.
34688
f3f7372d
JJ
346892010-10-14 Jakub Jelinek <jakub@redhat.com>
34690
34691 [BZ #3268]
34692 * math/libm-test.inc (fma_test): Add some more tests.
34693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34694 correctly.
34695
14d43591
AS
346962010-10-15 Andreas Schwab <schwab@redhat.com>
34697
34698 * scripts/data/localplt-s390-linux-gnu.data: New file.
34699 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34700
5e908464
JJ
347012010-10-13 Jakub Jelinek <jakub@redhat.com>
34702
34703 [BZ #3268]
34704 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34705 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34706 instead of dbl-64.
34707 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34708 inlines.
34709 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34711 if one of x and y is very large and the other is subnormal.
34712 * sysdeps/s390/fpu/s_fmaf.c: New file.
34713 * sysdeps/s390/fpu/s_fma.c: New file.
34714 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34715 * sysdeps/powerpc/fpu/s_fma.S: New file.
34716 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34717 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34718 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34719
347202010-10-12 Jakub Jelinek <jakub@redhat.com>
34721
34722 [BZ #3268]
34723 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34724 fma tests.
34725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34726 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34727 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34728 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34729 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34730 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34731 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34732
b833d51f
UD
347332010-10-12 Ulrich Drepper <drepper@redhat.com>
34734
34735 [BZ #12078]
34736 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34737 * posix/bug-regex31.input: Add test case.
34738
1751705d
UD
347392010-10-11 Ulrich Drepper <drepper@gmail.com>
34740
e9b9cbf5
UD
34741 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34742 * posix/bug-regex31.input: New file.
34743
34744 [BZ #12078]
34745 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34746 (parse_sub_exp): Fix last change, use postorder.
34747
ef06edbe
UD
34748 * posix/bug-regex31.c: New file.
34749 * posix/Makefile: Add rules to build and run bug-regex31.
34750
a129c80d
UD
34751 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34752
34753 [BZ #12078]
34754 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34755
b76b818e
UD
34756 [BZ #12108]
34757 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34758 to have entries in sys_siglist.
34759
1751705d
UD
34760 [BZ #12093]
34761 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34762 be NULL.
34763
9ff8d36f
JJ
347642010-10-07 Jakub Jelinek <jakub@redhat.com>
34765
34766 [BZ #3268]
34767 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34768 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34769 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34770 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34771 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34772 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34773 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34774 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34775 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34776 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34777 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34778 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34779 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34780 * math/ftestexcept.c (fetestexcept): Likewise.
34781 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34782 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34783 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34784 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34785 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34786 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34787 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34788
af325969
UD
347892010-10-11 Ulrich Drepper <drepper@gmail.com>
34790
c579b202 34791 [BZ #12107]
af325969
UD
34792 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34793 newline.
34794
67a67b95
UD
347952010-10-06 Ulrich Drepper <drepper@gmail.com>
34796
34797 * string/bug-strstr1.c: New file.
34798 * string/Makefile: Add rules to build and run bug-strstr1.
34799
5fb308bc
EB
348002010-10-05 Eric Blake <eblake@redhat.com>
34801
34802 [BZ #12092]
34803 * string/str-two-way.h (two_way_long_needle): Always clear memory
34804 when skipping input due to the shift table.
34805
45db99c7
UD
348062010-10-03 Ulrich Drepper <drepper@gmail.com>
34807
3b111893
UD
34808 [BZ #12005]
34809 * malloc/mcheck.c: Handle large requests.
34810
45db99c7
UD
34811 [BZ #12077]
34812 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34813 for strncmp and strncasecmp.
34814 * string/stratcliff.c: Add tests for strcmp and strncmp.
34815 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34816
cf7a1eb8
NI
348172010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34818
34819 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34820 __set_fpscr.
34821
6484ba5e
AJ
348222010-09-30 Andreas Jaeger <aj@suse.de>
34823
34824 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34825 (CGROUP_SUPER_MAGIC): Define.
34826 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34827 Handle btrfs and cgroup file systems.
34828 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34829 Likewise.
34830
91c42559
LM
348312010-09-27 Luis Machado <luisgpm@br.ibm.com>
34832
34833 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34834 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34835
87a97932
AK
348362010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34837
34838 [BZ #12067]
34839 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34840 trying to locate the ELF header.
34841
c21cc9bc
AS
348422010-09-27 Andreas Schwab <schwab@redhat.com>
34843
34844 [BZ #11611]
34845 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34846 Mask out sign-bit copies when constructing f_fsid.
34847
315970f6
PB
348482010-09-24 Petr Baudis <pasky@suse.cz>
34849
34850 * debug/stack_chk_fail_local.c: Add missing licence exception.
34851 * debug/warning-nop.c: Likewise.
34852
1ac7a2c7
JM
348532010-09-15 Joseph Myers <joseph@codesourcery.com>
34854
34855 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34856 implementing getdents64 using getdents syscall, set d_type if
34857 __ASSUME_GETDENTS32_D_TYPE.
34858
56801c50
AS
348592010-09-16 Andreas Schwab <schwab@redhat.com>
34860
34861 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34862 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34863
dda51327
UD
348642010-09-21 Ulrich Drepper <drepper@redhat.com>
34865
34866 [BZ #12037]
34867 * posix/unistd.h: Undo change of feature selection for ftruncate from
34868 2010-01-11.
34869
8ffcee4a
UD
348702010-09-20 Ulrich Drepper <drepper@redhat.com>
34871
a545ecd9 34872 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34873 detection.
34874
e24f0a8b
AS
348752010-09-20 Andreas Schwab <schwab@redhat.com>
34876
34877 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34878 fanotify_mark.
34879 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34880
7291c56f
AS
348812010-09-14 Andreas Schwab <schwab@redhat.com>
34882
34883 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34884 variables after CHECK_SP call.
34885 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34886
bc5fb037
AS
348872010-09-13 Andreas Schwab <schwab@redhat.com>
34888 Ulrich Drepper <drepper@redhat.com>
34889
34890 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34891 re-relocationg ld.so.
34892 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34893 _dl_init_paths call.
34894 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34895 here anymore.
34896
e66e7419
UD
348972010-09-14 Ulrich Drepper <drepper@redhat.com>
34898
34899 * resolv/res_init.c (__res_vinit): Count the default server we added.
34900
c044aa75
CLT
349012010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34902 Ulrich Drepper <drepper@redhat.com>
34903
34904 [BZ #11968]
34905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34906 (____longjmp_chk): Use %ebx for saving value across system call.
34907 Add unwind info.
34908
32cf4069
AS
349092010-09-06 Andreas Schwab <schwab@redhat.com>
34910
34911 * manual/Makefile: Don't mix pattern rules with normal rules.
34912
817328ee
AS
349132010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34914
34915 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34916 operation.
34917 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34918 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34919 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34920 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34922 Likewise.
34923
29fddf61
UD
349242010-09-04 Ulrich Drepper <drepper@redhat.com>
34925
34926 [BZ #11979]
34927 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34928 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34929
0959ffc9
UD
349302010-09-02 Ulrich Drepper <drepper@redhat.com>
34931
34932 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34933 * sysdeps/x86_64/addmul_1.S: Likewise.
34934 * sysdeps/x86_64/lshift.S: Likewise.
34935 * sysdeps/x86_64/mul_1.S: Likewise.
34936 * sysdeps/x86_64/rshift.S: Likewise.
34937 * sysdeps/x86_64/sub_n.S: Likewise.
34938 * sysdeps/x86_64/submul_1.S: Likewise.
34939
ece29840
ST
349402010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34941
0959ffc9
UD
34942 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34943 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34944 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34945 * bits/sched.h [__need_schedparam]
ece29840 34946 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34947 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34948 (__defined_schedparam): Define to 1.
ece29840
ST
34949 (__sched_param): New structure, identical to sched_param.
34950 (__need_schedparam): Undefine.
34951
e53a31fe
MF
349522010-08-31 Mike Frysinger <vapier@gentoo.org>
34953
fdc0c10d
MF
34954 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34955 (epoll_create1): Declare.
34956
e53a31fe
MF
34957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34958
a726d796
AS
349592010-08-31 Andreas Schwab <schwab@redhat.com>
34960
34961 [BZ #7066]
34962 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34963 shifting retval into place.
34964
2f3e3dc7
UD
349652010-09-01 Ulrich Drepper <drepper@redhat.com>
34966
f2933da9
UD
34967 * nis/rpcsvc/nis.h: Update copyright notice.
34968 * nis/rpcsvc/nis.x: Likewise.
34969 * nis/rpcsvc/nis_callback.h: Likewise.
34970 * nis/rpcsvc/nis_callback.x: Likewise.
34971 * nis/rpcsvc/nis_object.x: Likewise.
34972 * nis/rpcsvc/nis_tags.h: Likewise.
34973 * nis/rpcsvc/yp.h: Likewise.
34974 * nis/rpcsvc/yp.x: Likewise.
34975 * nis/rpcsvc/ypupd.h: Likewise.
34976 * nis/yp_xdr.c: Likewise.
34977 * nis/ypupdate_xdr.c: Likewise.
34978
2f3e3dc7
UD
34979 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34980 mainly the body of pmap_getport. Add parameters to specify timeouts.
34981 (pmap_getport): Use __libc_rpc_getport.
34982 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34983 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34984 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34985
f3dcc2f9
AS
349862010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34987
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34989 fanotify_mark.
34990
6d34eb5b
RM
349912010-08-27 Roland McGrath <roland@redhat.com>
34992
34993 * sysdeps/i386/i686/multiarch/Makefile
34994 (CFLAGS-varshift.c): New variable.
34995
9ea3de11
UD
349962010-08-27 Ulrich Drepper <drepper@redhat.com>
34997
c96d23fc
UD
34998 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34999 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35000
9ea3de11
UD
35001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35002
35003 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35004
623aac7f
L
350052010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35006
35007 * sysdeps/x86_64/strlen.S: Unroll the loop.
35008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35009 strlen-sse2 strlen-sse2-bsf.
35010 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35011 __strlen_no_bsf if bit_Slow_BSF is set.
35012 (__strlen_sse42): Removed.
35013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35014 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35015
8b2b7715
RM
350162010-08-25 Roland McGrath <roland@redhat.com>
35017
35018 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35019 * sysdeps/x86_64/multiarch/varshift.c: New file.
35020 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35021 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35022 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35023 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35024
e73015f2
L
350252010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35026
35027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35028 strlen-sse2 strlen-sse2-bsf.
35029 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35030 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35031 (__strlen_sse2): Removed.
35032 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35033 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35035 bit_Slow_BSF for Atom.
35036 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35037 (index_Slow_BSF): Define.
35038 (HAS_SLOW_BSF): Define.
35039
df24a73e
UD
350402010-08-25 Ulrich Drepper <drepper@redhat.com>
35041
35042 [BZ #10851]
35043 * resolv/res_init.c (__res_vinit): When no server address at all
35044 is given default to loopback.
35045
f2ac4868
RM
350462010-08-24 Roland McGrath <roland@redhat.com>
35047
09055553
RM
35048 * configure.in: Remove config-name.h generation.
35049 * configure: Regenerated.
35050 * config-name.in: File removed.
35051 * scripts/config-uname.sh: New file.
35052 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35053 ($(objdir)config-name.h): New target.
35054
f2ac4868
RM
35055 * sunrpc/rpc_parse.h: Avoid nested comment.
35056
73f27d5e
RH
350572010-08-24 Richard Henderson <rth@redhat.com>
35058 Ulrich Drepper <drepper@redhat.com>
35059 H.J. Lu <hongjiu.lu@intel.com>
35060
35061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35063 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35064 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35065 _mm_alignr_epi8 with _mm_loadu_si128.
35066 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35067 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35068 (__m128i_shift_right): Removed.
35069 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35070 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35071 * sysdeps/x86_64/multiarch/varshift.h: New file.
35072 * sysdeps/x86_64/multiarch/varshift.S: New file.
35073
84b9230c
MF
350742010-08-21 Mike Frysinger <vapier@gentoo.org>
35075
35076 * configure.in: Move assembler checks to before sysdep dir checking.
35077
9bbd0ddc
PB
350782010-08-20 Petr Baudis <pasky@suse.cz>
35079
35080 * LICENSES: Sync the sunrpc license.
35081
9da4bb31
UD
350822010-08-19 Ulrich Drepper <drepper@redhat.com>
35083
a7ab6ec8
UD
35084 * sunrpc/auth_des.c: Update copyright notice once again.
35085 * sunrpc/auth_none.c: Likewise.
35086 * sunrpc/auth_unix.c: Likewise.
35087 * sunrpc/authdes_prot.c: Likewise.
35088 * sunrpc/authuxprot.c: Likewise.
35089 * sunrpc/bindrsvprt.c: Likewise.
35090 * sunrpc/clnt_gen.c: Likewise.
35091 * sunrpc/clnt_perr.c: Likewise.
35092 * sunrpc/clnt_raw.c: Likewise.
35093 * sunrpc/clnt_simp.c: Likewise.
35094 * sunrpc/clnt_tcp.c: Likewise.
35095 * sunrpc/clnt_udp.c: Likewise.
35096 * sunrpc/clnt_unix.c: Likewise.
35097 * sunrpc/des_crypt.c: Likewise.
35098 * sunrpc/des_soft.c: Likewise.
35099 * sunrpc/get_myaddr.c: Likewise.
35100 * sunrpc/getrpcport.c: Likewise.
35101 * sunrpc/key_call.c: Likewise.
35102 * sunrpc/key_prot.c: Likewise.
35103 * sunrpc/openchild.c: Likewise.
35104 * sunrpc/pm_getmaps.c: Likewise.
35105 * sunrpc/pm_getport.c: Likewise.
35106 * sunrpc/pmap_clnt.c: Likewise.
35107 * sunrpc/pmap_prot.c: Likewise.
35108 * sunrpc/pmap_prot2.c: Likewise.
35109 * sunrpc/pmap_rmt.c: Likewise.
35110 * sunrpc/rpc/auth.h: Likewise.
35111 * sunrpc/rpc/auth_unix.h: Likewise.
35112 * sunrpc/rpc/clnt.h: Likewise.
35113 * sunrpc/rpc/des_crypt.h: Likewise.
35114 * sunrpc/rpc/key_prot.h: Likewise.
35115 * sunrpc/rpc/netdb.h: Likewise.
35116 * sunrpc/rpc/pmap_clnt.h: Likewise.
35117 * sunrpc/rpc/pmap_prot.h: Likewise.
35118 * sunrpc/rpc/pmap_rmt.h: Likewise.
35119 * sunrpc/rpc/rpc.h: Likewise.
35120 * sunrpc/rpc/rpc_des.h: Likewise.
35121 * sunrpc/rpc/rpc_msg.h: Likewise.
35122 * sunrpc/rpc/svc.h: Likewise.
35123 * sunrpc/rpc/svc_auth.h: Likewise.
35124 * sunrpc/rpc/types.h: Likewise.
35125 * sunrpc/rpc/xdr.h: Likewise.
35126 * sunrpc/rpc_clntout.c: Likewise.
35127 * sunrpc/rpc_cmsg.c: Likewise.
35128 * sunrpc/rpc_common.c: Likewise.
35129 * sunrpc/rpc_cout.c: Likewise.
35130 * sunrpc/rpc_dtable.c: Likewise.
35131 * sunrpc/rpc_hout.c: Likewise.
35132 * sunrpc/rpc_main.c: Likewise.
35133 * sunrpc/rpc_parse.c: Likewise.
35134 * sunrpc/rpc_parse.h: Likewise.
35135 * sunrpc/rpc_prot.c: Likewise.
35136 * sunrpc/rpc_sample.c: Likewise.
35137 * sunrpc/rpc_scan.c: Likewise.
35138 * sunrpc/rpc_scan.h: Likewise.
35139 * sunrpc/rpc_svcout.c: Likewise.
35140 * sunrpc/rpc_tblout.c: Likewise.
35141 * sunrpc/rpc_util.c: Likewise.
35142 * sunrpc/rpc_util.h: Likewise.
35143 * sunrpc/rpcinfo.c: Likewise.
35144 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35145 * sunrpc/rpcsvc/key_prot.x: Likewise.
35146 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35147 * sunrpc/rpcsvc/mount.x: Likewise.
35148 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35149 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35150 * sunrpc/rpcsvc/rex.x: Likewise.
35151 * sunrpc/rpcsvc/rstat.x: Likewise.
35152 * sunrpc/rpcsvc/rusers.x: Likewise.
35153 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35154 * sunrpc/rpcsvc/spray.x: Likewise.
35155 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35156 * sunrpc/rtime.c: Likewise.
35157 * sunrpc/svc.c: Likewise.
35158 * sunrpc/svc_auth.c: Likewise.
35159 * sunrpc/svc_authux.c: Likewise.
35160 * sunrpc/svc_raw.c: Likewise.
35161 * sunrpc/svc_run.c: Likewise.
35162 * sunrpc/svc_simple.c: Likewise.
35163 * sunrpc/svc_tcp.c: Likewise.
35164 * sunrpc/svc_udp.c: Likewise.
35165 * sunrpc/svc_unix.c: Likewise.
35166 * sunrpc/svcauth_des.c: Likewise.
35167 * sunrpc/xcrypt.c: Likewise.
35168 * sunrpc/xdr.c: Likewise.
35169 * sunrpc/xdr_array.c: Likewise.
35170 * sunrpc/xdr_float.c: Likewise.
35171 * sunrpc/xdr_mem.c: Likewise.
35172 * sunrpc/xdr_rec.c: Likewise.
35173 * sunrpc/xdr_ref.c: Likewise.
35174 * sunrpc/xdr_sizeof.c: Likewise.
35175 * sunrpc/xdr_stdio.c: Likewise.
35176
9da4bb31
UD
35177 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35178 handling.
35179
bdaa77bc
AS
351802010-08-19 Andreas Schwab <schwab@redhat.com>
35181
35182 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35183
fe2f79db
LM
351842010-08-19 Luis Machado <luisgpm@br.ibm.com>
35185
35186 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35187 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35188 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35189 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35190 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35191 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35192 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35193 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35194 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35195 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35196 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35197 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35198 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35199 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35200
b9b42ee0
AB
352012010-07-26 Anton Blanchard <anton@samba.org>
35202
35203 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35204 * malloc/arena.c (heap_trim): Likewise.
35205
1c06ba31
UD
352062010-08-16 Ulrich Drepper <drepper@redhat.com>
35207
35208 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35209 here. Not...
35210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35211 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35212
f8392f40
L
352132010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35214
35215 * sysdeps/i386/elf/Makefile: New file.
35216
3162f12e
AS
352172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35218
35219 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35220 from fanotify_init.
35221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35223
28c90b2c
UD
352242010-08-15 Ulrich Drepper <drepper@redhat.com>
35225
35226 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35227 of strncasecmp_l.
1feccb6c 35228 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35229
ca6bb004
UD
352302010-08-14 Ulrich Drepper <drepper@redhat.com>
35231
e9f82e0d
UD
35232 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35233 strncase_l-nonascii.
35234 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35235 Add strncase_l-ssse3.
35236 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35237 * sysdeps/x86_64/strcmp.S: Likewise.
35238 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35239 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35240 * sysdeps/x86_64/strncase.S: New file.
35241 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35242 * sysdeps/x86_64/strncase_l.S: New file.
35243 * string/Makefile (strop-tests): Add strncasecmp.
35244 * string/test-strncasecmp.c: New file.
35245
35246 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35247 warning.
35248
ca6bb004
UD
35249 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35250 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35251
052fa7b3
AS
352522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35253
35254 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35255
962dba78
UD
352562010-08-12 Ulrich Drepper <drepper@redhat.com>
35257
35258 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35259 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35260 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35261
bebff237
AM
352622010-05-01 Alan Modra <amodra@gmail.com>
35263
35264 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35265 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35266 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35267 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35268 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35269 tidying. Don't tail-call __sigjmp_save for static lib.
35270 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35271 save location.
35272 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35273 (CALL_MCOUNT): Add eh info, and nop after bl.
35274 (TAIL_CALL_SYSCALL_ERROR): New macro.
35275 (PSEUDO_RET): Use it.
35276 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35277 Correct save location of integer regs and cr.
35278 (_dl_profile_resolve): Correct cr save location. Delete nops
35279 after bl when SHARED. Reduce cfi size a little by better
35280 placement of cfi directives.
35281 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35282 make a stack frame. Instead use parm save area as a temp.
35283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35284 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35286 Don't make a stack frame for parent, use parm save area.
35287 Increase child stack frame to 112 bytes. Don't save unused reg,
35288 and adjust reg usage. Set up cfi on error recovery and
35289 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35291 (__makecontext): Add dummy nop after jump to exit.
35292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35293 Use correct parm save area and cr save, reduce stack frame.
35294 Correct cfi for possible PSEUDO_RET frame setup.
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35296 Branch to local label emitted by PSEUDO_RET rather than
35297 __syscall_error.
35298
02637374
AS
352992010-08-12 Andreas Schwab <schwab@redhat.com>
35300
35301 [BZ #11904]
35302 * locale/programs/locale.c (print_assignment): New function.
35303 (show_locale_vars): Use it.
35304
c3e2f19b
UD
353052010-08-11 Ulrich Drepper <drepper@redhat.com>
35306
3cdaa6ad
UD
35307 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35308 field.
35309 (struct statfs64): Likewise.
35310 (_STATFS_F_FLAGS): Define.
35311 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35312 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35313 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35314 (ST_VALID): Define locally.
35315 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35316 __statvfs_getflags, use the provided value.
35317 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35318 __ASSUME_STATFS_F_FLAGS.
35319
754f7da3
UD
35320 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35321
10b3bedc
UD
35322 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35323 Add sys/fanotify.h.
35324 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35325 fanotify_mask for GLIBC_2.13.
35326 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35327 fanotify_init and fanotify_mark.
35328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35329 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35330
c08fb0d7
UD
35331 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35332 Add prlimit.
35333 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35334 prlimit64 for GLIBC_2.13.
35335 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35336 prlimit64.
35337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35338 syscall.
35339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35340 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35341 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35342 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35343 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35344 add prlimit alias.
35345 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35346
15bac72b
UD
35347 [BZ #11903]
35348 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35349 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35350
c3e2f19b
UD
35351 * nss/Makefile: Add rules to build and run tst-nss-test1.
35352 * shlib-versions: Add entry for libnss_test1.
35353 * nss/nss_test1.c: New file.
35354 * nss/tst-nss-test1.c: New file.
35355
35356 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35357 (__nss_configure_lookup): Set appropriate entry in
35358 __nss_configure_lookup to true.
35359 * nss/nsswitch.h: Define enum with indeces of databases in
35360 databases and __nss_database_custom arrays. Declare
35361 __nss_database_custom.
35362 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35363 to avoid using nscd when custom rules are installed.
35364 * nss/getXXbyYY_r.c: Likewise.
35365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35366
35367 * nss/nss_files/files-parse.c: Whitespace fixes.
35368
f15ce4d8
UD
353692010-08-09 Ulrich Drepper <drepper@redhat.com>
35370
35371 [BZ #11883]
35372 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35373 * posix/fnmatch_loop.c: Likewise.
35374
d22e4cc9
AK
353752010-07-17 Andi Kleen <ak@linux.intel.com>
35376
35377 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35378 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35379 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35380 * Versions.def [GLIBC_2.13]: Add.
35381
805bc17d
UD
353822010-08-06 Ulrich Drepper <drepper@redhat.com>
35383
35384 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35385 Also fail if tpwd after pwuid call is NULL.
35386
5a42321d
ST
353872010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35388
35389 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35390 when converting to ms.
35391
fd3ebeda
ST
353922010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35393
35394 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35395 EOPNOTSUPP errors with ENOTTY.
35396 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35397 EOPNOTSUPP errors with ENOTTY.
35398
73507d3a
UD
353992010-07-31 Ulrich Drepper <drepper@redhat.com>
35400
35401 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35402 Add strcasecmp_l-ssse3.
35403 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35404 strcasecmp.
35405 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35406 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35407 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35408
fe36dd02
UD
354092010-07-30 Ulrich Drepper <drepper@redhat.com>
35410
66f6765a
UD
35411 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35412
42e08a54
UD
35413 * string/Makefile (strop-tests): Add strcasecmp.
35414 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35415 strcasecmp_l-nonascii.
35416 (gen-as-const-headers): Add locale-defines.sym.
35417 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35418 * sysdeps/x86_64/strcasecmp.S: New file.
35419 * sysdeps/x86_64/strcasecmp_l.S: New file.
35420 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35421 * sysdeps/x86_64/locale-defines.sym: New file.
35422 * string/test-strcasecmp.c: New file.
35423
fe36dd02
UD
35424 * string/test-strcasestr.c: Test both ends of the range of characters.
35425 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35426
48cbc0d6
RM
354272010-07-29 Roland McGrath <roland@redhat.com>
35428
76e6d6bc 35429 [BZ #11856]
48cbc0d6
RM
35430 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35431
880113d9
UD
354322010-07-27 Ulrich Drepper <drepper@redhat.com>
35433
35434 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35435 for ld.so.
35436
deb9cabb
AS
354372010-07-27 Andreas Schwab <schwab@redhat.com>
35438
35439 * manual/memory.texi (Malloc Tunable Parameters): Document
35440 M_PERTURB.
35441
1c7570ff
RM
354422010-07-26 Roland McGrath <roland@redhat.com>
35443
35444 [BZ #11840]
35445 * configure.in (-fgnu89-inline check): Set and substitute
35446 gnu89_inline, not libc_cv_gnu89_inline.
35447 * configure: Regenerated.
35448 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35449
24fb0f88
UD
354502010-07-26 Ulrich Drepper <drepper@redhat.com>
35451
35452 * string/test-strnlen.c: New file.
35453 * string/Makefile (strop-tests): Add strnlen.
35454 * string/tester.c (test_strnlen): Add a few more test cases.
35455 * string/tst-strlen.c: Better error reporting.
35456
35457 * sysdeps/x86_64/strnlen.S: New file.
35458
8e96b93a
UD
354592010-07-24 Ulrich Drepper <drepper@redhat.com>
35460
35461 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35462 lower-latency instructions.
35463
dbc676d4
UD
354642010-07-23 Ulrich Drepper <drepper@redhat.com>
35465
35466 * string/test-strcasestr.c: New file.
35467 * string/test-strstr.c: New file.
35468 * string/Makefile (strop-tests): Add strstr and strcasestr.
35469 * string/str-two-way.h: Don't undefine MAX.
35470 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35471
f6a31e0e
AS
354722010-07-21 Andreas Schwab <schwab@redhat.com>
35473
35474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35475 strcasestr-nonascii.
35476 (CFLAGS-strcasestr-nonascii.c): Define.
35477 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35479 Remove unused attribute.
35480
5dbc3b6c
RM
354812010-07-20 Roland McGrath <roland@redhat.com>
35482
35483 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35484 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35485 ld.so.cache was broken. With it, there is no way to disable dsocaps
35486 like LD_HWCAP_MASK can disable hwcaps.
35487
23d101d8
EPM
354882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35489
35490 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35491
cc9f2e47
UD
354922010-07-16 Ulrich Drepper <drepper@redhat.com>
35493
35494 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35495 call in strcasestr.
35496 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35497 __strcasestr_sse42_nonascii.
35498 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35499 strcasestr-nonascii.c.
35500 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35501
77c1b069
LM
355022010-06-15 Luis Machado <luisgpm@br.ibm.com>
35503
35504 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35505 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35506 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35507 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35508
440566c3
UD
355092010-07-09 Ulrich Drepper <drepper@redhat.com>
35510
35511 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35512 fcntl.
35513
5be9d05d
AS
355142010-07-06 Andreas Schwab <schwab@redhat.com>
35515
c30b7ee2 35516 [BZ #11577]
5be9d05d
AS
35517 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35518 dl_signal_cerror.
35519
8a492a67
UD
355202010-07-06 Ulrich Drepper <drepper@redhat.com>
35521
35522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35523 _PC_PIPE_BUF using F_GETPIPE_SZ.
35524
713df3d5
RM
355252010-07-05 Roland McGrath <roland@redhat.com>
35526
35527 * manual/arith.texi (Rounding Functions): Fix rint description
35528 implicit in round description.
35529
702e8f14
UD
355302010-07-02 Ulrich Drepper <drepper@redhat.com>
35531
35532 * elf/Makefile: Fix linking for a few tests to make recent linker
35533 happy.
35534
52ed8be9
AS
355352010-06-30 Andreas Schwab <schwab@redhat.com>
35536
35537 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35538 $(common-objpfx)libc_nonshared.a.
35539
f47c9a11
LM
355402010-06-21 Luis Machado <luisgpm@br.ibm.com>
35541
35542 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35543 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35544 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35545 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35546 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35547 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35548 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35549 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35564 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35565 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35566 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35567 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35568 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35569 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35570 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35571 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35572 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35573 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35574 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35575 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35590
6fb8cbcb
L
355912010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35592
35593 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35594 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35595 * string/memmove.c (memmove): Renamed to ...
35596 (MEMMOVE): ...this. Default to memmove.
35597 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35598 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35599 (END_CHK): Define.
35600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35601 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35602 mempcpy-ssse3-back memmove-ssse3-back.
35603 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35604 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35605 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35606 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35607 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35608 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35609 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35610 * sysdeps/x86_64/multiarch/memmove.c: New file.
35611 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35612 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35613 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35614 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35615 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35616 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35617 Define.
35618 (index_Fast_Copy_Backward): Define.
35619 (HAS_ARCH_FEATURE): Define.
35620 (HAS_FAST_REP_STRING): Define.
35621 (HAS_FAST_COPY_BACKWARD): Define.
35622
4e733bac 356232010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35624
35625 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35626 Restore proper fallback handling.
35627
63c4ed22
UD
356282010-06-19 Ulrich Drepper <drepper@redhat.com>
35629
ac2b484c
UD
35630 [BZ #11701]
35631 * posix/group_member.c (__group_member): Correct checking loop.
35632
63c4ed22
UD
35633 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35634 OOM in getpwuid_r correctly. Return error number when the caller
35635 should return, otherwise -1.
35636 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35637 call returning > 0 value.
35638 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35639
765ade4b
AS
356402010-06-07 Andreas Schwab <schwab@redhat.com>
35641
35642 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35643 libc_nonshared.a from targets in modules-names.
35644
80da2e09
KS
356452010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35646
35647 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35648 requires it.
35649
158db122
LM
356502010-06-10 Luis Machado <luisgpm@br.ibm.com>
35651
35652 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35653 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35654 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35655 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35656
caa78cf8
AS
356572010-06-02 Andreas Schwab <schwab@redhat.com>
35658
35659 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35660
b2ef2c01
UD
356612010-06-14 Ulrich Drepper <drepper@redhat.com>
35662
35663 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35664 and F_GETPIPE_SZ.
35665 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35666 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35669 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35671
fbd643b6
RM
356722010-06-14 Roland McGrath <roland@redhat.com>
35673
35674 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35675
f32f2869
JJ
356762010-06-07 Jakub Jelinek <jakub@redhat.com>
35677
35678 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35679 __REDIRECT followed by __THROW.
35680 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35681 * posix/getopt.h (getopt): Likewise.
35682
2a50c078
EPM
356832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35684
35685 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35686 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35687 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35688 in AT_FLAGS.
35689 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35690 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35691
eb5ad2eb
LM
356922010-05-28 Luis Machado <luisgpm@br.ibm.com>
35693
35694 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35695
3c88fe1e
L
356962010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35697
35698 [BZ #11640]
35699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35700 Properly check family and model.
35701
d2f73151
TY
357022010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35703
35704 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35705
ebd2e13d
LM
357062010-05-24 Luis Machado <luisgpm@br.ibm.com>
35707
35708 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35709
b32b8b45
UD
357102010-05-21 Ulrich Drepper <drepper@redhat.com>
35711
35712 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35713 symbol reference.
35714
9acbe24d
AS
357152010-05-19 Andreas Schwab <schwab@redhat.com>
35716
35717 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35718 symbol reference.
35719
f0ccf6ea
AS
357202010-05-21 Andreas Schwab <schwab@redhat.com>
35721
3d04ff3a
AS
35722 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35723 and internal_recvmmsg.
35724 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35725 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35726 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35727 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35728
f0ccf6ea
AS
35729 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35730 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35731 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35732
5b08ac57
AS
357332010-05-20 Andreas Schwab <schwab@redhat.com>
35734
35735 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35736
4828935d
LM
357372010-05-17 Luis Machado <luisgpm@br.ibm.com>
35738
35739 POWER7 optimizations.
35740 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35741 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35742
373d545e
UD
357432010-05-19 Ulrich Drepper <drepper@redhat.com>
35744
35745 * version.h: Update for 2.13 development version.
35746
21a2b1ae
AS
357472010-05-12 Andrew Stubbs <ams@codesourcery.com>
35748
35749 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35750 exceptions. Return 0.
35751
3f7dcb2b
RM
357522010-05-07 Roland McGrath <roland@redhat.com>
35753
35754 * elf/ldconfig.c (main): Add a const.
35755
5f24d53a 357562010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35757
a160f8d8
UD
35758 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35759 (args_options): Add no-idn option.
35760 (ahosts_keys_int): Add idn_flags to ai_flags.
35761 (parse_option): Handle 'i' option to clear idn_flags.
35762
5f24d53a
UD
35763 * malloc/malloc.c (_int_free): Possible race in the most recently
35764 added check. Only act on the data if no current modification
35765 happened.
265bb1ce
UD
35766
35767See ChangeLog.17 for earlier changes.