]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #16195] Fix build warnings from systemtap probes in non-systemtap configurations
[thirdparty/glibc.git] / ChangeLog
CommitLineData
520d437b
SP
12013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #16195]
4 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6 (STAP_PROBE0): New macro.
7 (STAP_PROBE1): Likewise.
8 (STAP_PROBE2): Likewise.
9 (STAP_PROBE3): Likewise.
10 (STAP_PROBE4): Likewise.
11
416e0145
OB
122013-12-02 Ondřej Bílka <neleai@seznam.cz>
13
14 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15
9d17796a
SE
162013-12-02 Steve Ellcey <sellcey@mips.com>
17
18 * benchtests/Makefile (bench): Add sqrt.
19 (LDLIBS-bench-sqrt): New.
20 * benchtests/sqrt-input: New.
21
f524d6a8
PS
222013-12-02 Pavel Simerda <psimerda@redhat.com>
23
639a0ef8
PS
24 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25 (GAIH_EAI): Likewise.
26 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27 (gaih_inet): Likewise.
28 (getaddrinfo): Don't use GAIH_EAI.
29
f524d6a8
PS
30 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
31 (struct gaih): Remove definition.
32
df3aedaf
SP
332013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34
35 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36 Use HERRNOP directly.
37
1ab19dec
AZ
382013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39
b42ad38d 40 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 41
176b0c79
JM
422013-11-30 Joseph Myers <joseph@codesourcery.com>
43
44 * math/gen-auto-libm-tests.c (test_functions): Add more
45 single-argument functions.
46 (special_fill_pi_2): New function.
47 (special_fill_minus_pi_2): Likewise.
48 (special_fill_pi_6): Likewise.
49 (special_fill_minus_pi_6): Likewise.
50 (special_fill_pi_3): Likewise.
51 (special_fill_2pi_3): Likewise.
52 (special_fill_e): Likewise.
53 (special_fill_1_e): Likewise.
54 (special_fill_e_minus_1): Likewise.
55 (special_real_inputs): Add more special inputs.
56 (output_for_one_input_case): Do not require ERANGE on underflow to
57 zero if round-to-nearest result does not underflow to zero, unless
58 exact results required.
59 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60 atan, atanh, cbrt, cos and cosh.
61 * math/auto-libm-test-out: Regenerated.
62 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
63 (acos_tonearest_test_data): Likewise.
64 (acos_towardzero_test_data): Likewise.
65 (acos_downward_test_data): Likewise.
66 (acos_upward_test_data): Likewise.
67 (acosh_test_data): Likewise.
68 (asin_test_data): Likewise.
69 (asin_tonearest_test_data): Likewise.
70 (asin_towardzero_test_data): Likewise.
71 (asin_upward_test_data): Likewise.
72 (asinh_test_data): Likewise.
73 (atan_test_data): Likewise.
74 (atanh_test_data): Likewise.
75 (cbrt_test_data): Likewise.
76 (cos_test_data): Likewise.
77 (cos_tonearest_test_data): Likewise.
78 (cos_towardzero_test_data): Likewise.
79 (cos_downward_test_data): Likewise.
80 (cos_upward_test_data): Likewise.
81 (cosh_test_data): Likewise.
82 (cosh_tonearest_test_data): Likewise.
83 (cosh_towardzero_test_data): Likewise.
84 (cosh_downward_test_data): Likewise.
85 (cosh_upward_test_data): Likewise.
86 * sysdeps/i386/fpu/libm-test-ulps: Update.
87 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88
ffb536d0
JM
892013-11-29 Joseph Myers <joseph@codesourcery.com>
90
2a77a467
JM
91 [BZ #6787]
92 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
93 * math/w_exp10f.c (__exp10f): Likewise.
94 * math/w_exp10l.c (__exp10l): Likewise.
95 * math/libm-test.inc (exp10_test_data): Add more tests and expect
96 errno settings in existing tests.
97
ea3bc4e8
JM
98 [BZ #14032]
99 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
100 precision control set to double precision.
101 * sysdeps/i386/fpu/w_sqrt.c: New file.
102 * math/auto-libm-test-in: Add more tests.
103 * math/auto-libm-test-out: Update.
104
0712c9d8
JM
105 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
106 (sqrt_test_tonearest): New function.
107 (sqrt_towardzero_test_data): New variable.
108 (sqrt_test_towardzero): New function.
109 (sqrt_downward_test_data): New variable.
110 (sqrt_test_downward): New function.
111 (sqrt_upward_test_data): New variable.
112 (sqrt_test_upward): New function.
113 (main): Call the new functions.
114
ffb536d0
JM
115 * math/gen-auto-libm-tests.c: New file.
116 * math/auto-libm-test-in: Likewise.
117 * math/auto-libm-test-out: New generated file.
118 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
119 variables.
120 (%beautify): Add generated representations of zero.
121 (top level): Set $auto_input and call parse_auto_input.
122 (beautify): Remove trailing "f" from hex float constants.
123 (parse_args): Handle XFAIL_TEST.
124 (convert_condition): New function.
125 (or_value): Likewise.
126 (or_cond_value): Likewise.
127 (generate_testfile): Handle AUTO_TESTS_* lines.
128 (parse_auto_input): New function.
129 * math/libm-test.inc (XFAIL_TEST): New macro.
130 (ERRNO_UNCHANGED): Update value.
131 (ERRNO_EDOM): Likewise.
132 (ERRNO_ERANGE): Likewise.
133 (IGNORE_RESULT): Likewise.
134 (TEST_COND_flt_32): New macro.
135 (TEST_COND_dbl_64): Likewise.
136 (TEST_COND_ldbl_96_intel): Likewise.
137 (TEST_COND_ldbl_96_m68k): Likewise.
138 (TEST_COND_ldbl_128): Likewise.
139 (TEST_COND_ldbl_128ibm): Likewise.
140 (TEST_COND_long32): Likewise.
141 (TEST_COND_long64): Likewise.
142 (TEST_COND_before_rounding): Likewise.
143 (TEST_COND_after_rounding): Likewise.
144 (enable_test): Handle XFAIL_TEST flag.
145 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
146 with finite results.
147 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
148 auto-libm-test-out.
149
acd98a8e
AK
1502013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
151 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
152
153 [BZ #16214]
154 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
155 __tls_get_addr_internal instead of __tls_get_offset in order to
156 avoid GOT pointer dependency. Make rtld export
157 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
158 __tls_get_addr since we are a __tls_get_offset platform.
159 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
160 GOT pointer being set up before.
161 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
162
3c1c46a6
JM
1632013-11-28 Joseph Myers <joseph@codesourcery.com>
164
7475aef5
JM
165 * manual/math.texi (Errors in Math Functions): Document accuracy
166 goals.
167
8bca7cd8
JM
168 [BZ #15004]
169 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
170 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
171 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
173 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
174 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
175 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
176 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
177 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
178 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
179 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
180 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
181 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
182 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
184 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
185
91a1f3fe
JM
186 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
187 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
188 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
189 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
190 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
191 Likewise.
192 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
193 Likewise.
194 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
195 Likewise.
196 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
198 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
199 atomic-feupdateenv and flt-rounds.
200 * sysdeps/powerpc/nofpu/Versions (libc): Add
201 __atomic_feholdexcept, __atomic_feclearexcept,
202 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
203 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
204 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
205 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
206 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
207 here.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
209 Update.
210
c5df7609
JM
211 * manual/arith.texi (FP Exceptions): Document that exceptions may
212 not be raised when matherr is used.
213 (Math Error Reporting): Document overflow in directed rounding
214 modes. Document that errno may not be set when finite values are
215 returned on overflow. Document intent to set errno on underflow
216 only for underflow to zero.
217
3c1c46a6
JM
218 [BZ #16271]
219 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
220 round-to-nearest then adjust result for other rounding modes.
221 * include/fenv.h (fegetround): Use libm_hidden_proto.
222 * math/fegetround.c (fegetround): Use libm_hidden_def.
223 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
224 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
225 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
226 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
227 Likewise.
228 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
229 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
230 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
231 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
232
5a4c6d53
SP
2332013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
234
235 [BZ #16077]
236 * nss/Versions (libnss_files): Add
237 _nss_files_gethostbyname3_r.
238 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
239 New function.
240 (HOST_DB_LOOKUP): Remove macro.
241 (_nss_files_gethostbyname_r): Implement function without the
242 HOST_DB_LOOKUP macro.
243 (_nss_files_gethostbyname2_r): Likewise.
244
897b98ba
OB
2452013-11-28 Ondřej Bílka <neleai@seznam.cz>
246
247 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
248
6f476861
UB
2492013-11-26 Uros Bizjak <ubizjak@gmail.com>
250
251 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
252 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
253 warning.
254
bd12ab55
AZ
2552013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
256
257 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
258 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
259 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
260 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
261 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
262 __fe_nomask_env_priv and attribute_hidden.
263 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
264 (libc_feupdateenv_test_ppc): Likewise.
265 (libc_feresetround_ppc): Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
267 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
268 compat_symbol macro.
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
270 (__fe_nomask_env): Likewise.
271 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
272
52bb6543
OB
2732013-11-26 Ondřej Bílka <neleai@seznam.cz>
274
275 * string/Makefile: Remove ifunc tests.
276 * string/test-string.h: Define TEST_IFUNC.
277 * string/test-bcopy-ifunc.c: Remove.
278 * string/test-bzero-ifunc.c: Likewise.
279 * string/test-memccpy-ifunc.c: Likewise.
280 * string/test-memchr-ifunc.c: Likewise.
281 * string/test-memcmp-ifunc.c: Likewise.
282 * string/test-memcpy-ifunc.c: Likewise.
283 * string/test-memmem-ifunc.c: Likewise.
284 * string/test-memmove-ifunc.c: Likewise.
285 * string/test-mempcpy-ifunc.c: Likewise.
286 * string/test-memrchr-ifunc.c: Likewise.
287 * string/test-memset-ifunc.c: Likewise.
288 * string/test-rawmemchr-ifunc.c: Likewise.
289 * string/test-stpcpy-ifunc.c: Likewise.
290 * string/test-stpncpy-ifunc.c: Likewise.
291 * string/test-strcasecmp-ifunc.c: Likewise.
292 * string/test-strcasestr-ifunc.c: Likewise.
293 * string/test-strcat-ifunc.c: Likewise.
294 * string/test-strchr-ifunc.c: Likewise.
295 * string/test-strchrnul-ifunc.c: Likewise.
296 * string/test-strcmp-ifunc.c: Likewise.
297 * string/test-strcpy-ifunc.c: Likewise.
298 * string/test-strcspn-ifunc.c: Likewise.
299 * string/test-strlen-ifunc.c: Likewise.
300 * string/test-strncasecmp-ifunc.c: Likewise.
301 * string/test-strncat-ifunc.c: Likewise.
302 * string/test-strncmp-ifunc.c: Likewise.
303 * string/test-strncpy-ifunc.c: Likewise.
304 * string/test-strnlen-ifunc.c: Likewise.
305 * string/test-strpbrk-ifunc.c: Likewise.
306 * string/test-strrchr-ifunc.c: Likewise.
307 * string/test-strspn-ifunc.c: Likewise.
308 * string/test-strstr-ifunc.c: Likewise.
309
ab260039 3102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
311
312 * benchtests/Makefile: Remove ifunc tests.
313 * benchtests/bench-string.h: Define TEST_IFUNC.
314 * benchtests/bench-bcopy-ifunc.c: Remove.
315 * benchtests/bench-bzero-ifunc.c: Likewise.
316 * benchtests/bench-memccpy-ifunc.c: Likewise.
317 * benchtests/bench-memchr-ifunc.c: Likewise.
318 * benchtests/bench-memcmp-ifunc.c: Likewise.
319 * benchtests/bench-memcpy-ifunc.c: Likewise.
320 * benchtests/bench-memmem-ifunc.c: Likewise.
321 * benchtests/bench-memmove-ifunc.c: Likewise.
322 * benchtests/bench-mempcpy-ifunc.c: Likewise.
323 * benchtests/bench-memrchr-ifunc.c: Likewise.
324 * benchtests/bench-memset-ifunc.c: Likewise.
325 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
326 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
327 * benchtests/bench-stpcpy-ifunc.c: Likewise.
328 * benchtests/bench-stpncpy-ifunc.c: Likewise.
329 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
330 * benchtests/bench-strcasestr-ifunc.c: Likewise.
331 * benchtests/bench-strcat-ifunc.c: Likewise.
332 * benchtests/bench-strchr-ifunc.c: Likewise.
333 * benchtests/bench-strchrnul-ifunc.c: Likewise.
334 * benchtests/bench-strcmp-ifunc.c: Likewise.
335 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
336 * benchtests/bench-strcpy-ifunc.c: Likewise.
337 * benchtests/bench-strcspn-ifunc.c: Likewise.
338 * benchtests/bench-strlen-ifunc.c: Likewise.
339 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
340 * benchtests/bench-strncat-ifunc.c: Likewise.
341 * benchtests/bench-strncmp-ifunc.c: Likewise.
342 * benchtests/bench-strncpy-ifunc.c: Likewise.
343 * benchtests/bench-strnlen-ifunc.c: Likewise.
344 * benchtests/bench-strpbrk-ifunc.c: Likewise.
345 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 346 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
347 * benchtests/bench-strspn-ifunc.c: Likewise.
348 * benchtests/bench-strstr-ifunc.c: Likewise.
349
3502013-11-26 Ondřej Bílka <neleai@seznam.cz>
351
ab260039
OB
352 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
353
d1d9eaf4 3542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 355
d1d9eaf4
OB
356 * resolv/netdb.h: Use __glibc_reserved instead __unused.
357 * rt/aio.h: Likewise.
358 * sysdeps/gnu/bits/utmp.h: Likewise.
359 * sysdeps/gnu/bits/utmpx.h: Likewise.
360 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
361 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
362 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
363 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
364 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
365 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
366 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
367 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
368 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
369 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
370 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
375 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
376 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
377 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
378 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
379 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
380 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
381 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
382 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
383 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
384 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
386 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
387 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
389 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
390 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
391 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
393 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
394 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
395 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
396 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
397 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
398 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
399 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
400 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
401 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
402
a7624ed9
CD
4032013-11-25 Carlos O'Donell <carlos@redhat.com>
404
405 [BZ #16245]
406 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
407 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
408
63cfe52b
JM
4092013-11-25 Joseph Myers <joseph@codesourcery.com>
410
411 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
412 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
413 Likewise.
414
41e8926a
AZ
4152013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
416
417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
418 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
419 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
420 (__fesetround): Remove define.
421 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
422 rounding and exceptions handling.
423 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
424 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
425 (__fe_nomask_env): Likewise.
426 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
427 __fegetround instead of fegetround.
428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
430
6851bd4d
RM
4312013-11-21 Roland McGrath <roland@hack.frob.com>
432
070906ff
RM
433 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
434 it's there.
435
6851bd4d
RM
436 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
437
84ae135d
MI
4382013-11-21 Meador Inge <meadori@codesourcery.com>
439
440 [BZ #11157]
441 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
442 (encrypt_r): Likewise.
443 * malloc/obstack.h (obstack_free): Likewise.
444 * posix/unistd.h (encrypt): Likewise.
445
daf75146
GM
4462013-11-21 Guy Martin <gmsoft@tuxicoman.be>
447
448 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
449 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
450 DL_CALL_DT_FINI() that call the functions directly.
451 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
452 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
453 * elf/dl-fini.c: Likewise.
454
10ad46bc
OB
4552013-11-20 Ondřej Bílka <neleai@seznam.cz>
456
457 * malloc/hooks.c (memalign_check): Add alignment rounding.
458 * malloc/malloc.c (_mid_memalign): New function.
459 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
460 Implement by calling _mid_memalign.
461 * manual/probes.texi (Memory Allocation Probes): Remove
462 memory_valloc_retry and memory_pvalloc_retry.
463
f3fd2628
SP
4642013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
465
4712799f
SP
466 * locale/programs/locarchive.c (open_archive): Add const
467 qualifier to ARCHIVEFNAME and copy default fname to
468 DEFAULT_FNAME.
469
0417b20f
SP
470 [BZ #15601]
471 * libio/tst-widetext.input: Rename Oriya to Odia.
472 * locale/iso-639.def: Likewise.
473
f3fd2628
SP
474 * manual/probes.texi (Mathematical Function Probes): Add
475 documentation for sin, cos, asin and acos probes.
476 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
477 (__sin32): Add slowasin probe.
478 (__cos32): Add slowacos probe.
479 (__mpsin): Add slowsin probe.
480 (__mpcos): Add slowcos probe.
481
73c1ce4f
JM
4822013-11-19 Joseph Myers <joseph@codesourcery.com>
483
484 [BZ #15483]
485 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
486 thread-local __sim_exceptions_thread and global
487 __sim_exceptions_global.
488 (__sim_disabled_exceptions): Change to thread-local
489 __sim_disabled_exceptions_thread and global
490 __sim_disabled_exceptions_global.
491 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
492 and global __sim_round_mode_global.
493 (__simulate_exceptions): Use thread-local floating-point state and
494 set global state from it as needed.
495 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
496 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
497 __sim_round_mode_thread.
498 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
499 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
500 and global __sim_exceptions_global.
501 (__sim_disabled_exceptions): Change to thread-local
502 __sim_disabled_exceptions_thread and global
503 __sim_disabled_exceptions_global.
504 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
505 and global __sim_round_mode_global.
506 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
507 (SIM_SET_GLOBAL): Likewise.
508 * sysdeps/powerpc/soft-fp/sfp-machine.h
509 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
510 __sim_round_mode_thread.
511 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
512 __sim_disabled_exceptions_thread.
513 (__sim_exceptions): Change to __sim_exceptions_thread.
514 (__sim_disabled_exceptions): Change to
515 __sim_disabled_exceptions_thread.
516 (__sim_round_mode): Change to __sim_round_mode_thread.
517 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
518 thread-local floating-point state and set global state from it as
519 needed.
520 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
521 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
522 (__sim_disabled_exceptions): Remove extern declaration.
523 (feenableexcept): Use thread-local floating-point state and set
524 global state from it as needed.
525 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
526 extern declaration.
527 (__sim_disabled_exceptions): Likewise.
528 (__sim_round_mode): Likewise.
529 (__fegetenv): Use thread-local floating-point state.
530 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
531 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
532 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
533 floating-point state and set global state from it as needed.
534 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
535 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
536 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
537 Likewise.
538 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
539 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
540 Likewise.
541 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
542 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
543 Use __sim_round_mode_thread.
544 * math/test-fenv-tls.c: New file.
545 * math/Makefile (tests): Add test-fenv-tls.
546 ($(objpfx)test-fenv-tls): Depend on
547 $(common-objpfx)nptl/libpthread.so.
548
b5449b12
AS
5492013-11-19 Andreas Schwab <schwab@suse.de>
550
551 * locale/programs/locale.c (show_info): Decode wordarray elements.
552 * locale/categories.def (LC_MONETARY): Add element for
553 _NL_MONETARY_CRNCYSTR.
554 * locale/C-monetary.c (conversion_rate): New variable.
555 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
556 element.
557
e186536b
CM
5582013-11-18 Chris Metcalf <cmetcalf@tilera.com>
559
560 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
561 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
562
5c349950
PP
5632013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
564
565 * elf/Makefile (tst-auxv): New test.
566 * elf/tst-auxv.c: New
567 * elf/rtld.c (dl_main): Adjust AT_EXECFN
568
699df45b
JM
5692013-11-18 Joseph Myers <joseph@codesourcery.com>
570
571 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
572 (hidden_proto): Caller changed.
573 (hidden_tls_proto): New macro.
574 (libc_hidden_tls_proto): Likewise.
575 (rtld_hidden_tls_proto): Likewise.
576 (libm_hidden_tls_proto): Likewise.
577 (libresolv_hidden_tls_proto): Likewise.
578 (librt_hidden_tls_proto): Likewise.
579 (libdl_hidden_tls_proto): Likewise.
580 (libnss_files_hidden_tls_proto): Likewise.
581 (libnsl_hidden_tls_proto): Likewise.
582 (libnss_nisplus_hidden_tls_proto): Likewise.
583 (libutil_hidden_tls_proto): Likewise.
584
b7589107
OB
5852013-11-18 Ondřej Bílka <neleai@seznam.cz>
586
587 [BZ #10253]
588 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
589 (decompose_rpath): Defer expansion to fillin_rpath.
590 (_dl_init_paths): Pass linkmap to fillin_rpath.
591
250c23bd
RS
5922013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
593
594 * benchtests/Makefile: Add strsep.
595 * benchtests/bench-strsep.c: New file: strsep benchtest.
596 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
597
a7931fcf
AS
5982013-11-18 Andreas Schwab <schwab@suse.de>
599
600 * locale/programs/locale.c (show_info) [case byte]: Check for
601 '\377' instead of '\177'.
602 * locale/C-monetary.c (not_available): Always use "\377".
603 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
604 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
605 detect unavailable sign_posn locale elements.
606 * locale/localeconv.c (__localeconv): For grouping and
607 mon_grouping handle "\177" and "\377" like no grouping.
608 (INT_ELEM): New macro. Use it to set all numeric members.
609 * locale/programs/ld-monetary.c (monetary_read)
610 <tok_mon_grouping>: Normalize single -1 to the empty string.
611 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
612 Likewise.
613
728dab0e
OB
6142013-11-07 Ondřej Bílka <neleai@seznam.cz>
615
616 [BZ #16055]
617 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
618 when we match (nil).
619 * stdio-common/tst-sscanf.c (struct test): Add testcase.
620
66294491
JM
6212013-11-16 Joseph Myers <joseph@codesourcery.com>
622
ce665817
JM
623 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
624 (NO_TEST_INLINE): Update value.
625 (ERRNO_UNCHANGED): Likewise.
626 (ERRNO_EDOM): Likewise.
627 (ERRNO_ERANGE): Likewise.
628 (IGNORE_RESULT): Likewise.
629 (check_float_internal): Check signs of NaN results if
630 TEST_NAN_SIGN used.
631 (check_complex): Pass TEST_NAN_SIGN flag through to second
632 check_float_internal call.
633 (copysign_test_data): Add tests with quiet NaNs as second
634 argument. Use TEST_NAN_SIGN.
635 (fabs_test_data): Add test of negative quiet NaN argument. Use
636 TEST_NAN_SIGN.
637 (signbit_test_data): Add tests of quiet NaN argument.
638 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
639
ee1466a9
JM
640 * math/gen-libm-test.pl (show_exceptions): Take extra argument
641 $ignore_result.
642 (parse_args): Handle function results specified as IGNORE.
643 * math/libm-test.inc (IGNORE_RESULT): New macro.
644 (check_float_internal): Do not check numerical result if flag
645 IGNORE_RESULT set.
646 (check_complex): Pass through IGNORE_RESULT to second
647 check_float_internal call.
648 (check_int): Do not check numerical result if flag IGNORE_RESULT
649 set.
650 (check_long): Likewise.
651 (check_bool): Likewise.
652 (check_longlong): Likewise.
653 (lrint_test_data): Add tests of infinite and NaN arguments.
654 (lrint_tonearest_test_data): Likewise.
655 (lrint_towardzero_test_data): Likewise.
656 (lrint_downward_test_data): Likewise.
657 (lrint_upward_test_data): Likewise.
658 (llrint_test_data): Likewise.
659 (llrint_tonearest_test_data): Likewise.
660 (llrint_towardzero_test_data): Likewise.
661 (llrint_downward_test_data): Likewise.
662 (llrint_upward_test_data): Likewise.
663 (lround_test_data): Likewise.
664 (llround_test_data): Likewise.
665
14407b7e
JM
666 * math/libm-test.inc (NO_TEST_INLINE): New macro.
667 (ERRNO_UNCHANGED): Update value.
668 (ERRNO_EDOM): Likewise.
669 (ERRNO_ERANGE): Likewise.
670 (NO_TEST_INLINE_FLOAT): New macro.
671 (NO_TEST_INLINE_DOUBLE): Likewise.
672 (enable_test): New function.
673 (RUN_TEST_f_f): Check enable_test before running test.
674 (RUN_TEST_2_f): Likewise.
675 (RUN_TEST_fff_f): Likewise.
676 (RUN_TEST_c_f): Likewise.
677 (RUN_TEST_f_f1): Likewise.
678 (RUN_TEST_fF_f1): Likewise.
679 (RUN_TEST_fI_f1): Likewise.
680 (RUN_TEST_ffI_f1): Likewise.
681 (RUN_TEST_c_c): Likewise.
682 (RUN_TEST_cc_c): Likewise.
683 (RUN_TEST_f_i): Likewise.
684 (RUN_TEST_f_i_tg): Likewise.
685 (RUN_TEST_ff_i_tg): Likewise.
686 (RUN_TEST_f_b): Likewise.
687 (RUN_TEST_f_b_tg): Likewise.
688 (RUN_TEST_f_l): Likewise.
689 (RUN_TEST_f_L): Likewise.
690 (RUN_TEST_fFF_11): Likewise.
691 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
692 conditionals.
693 (cosh_test_data): Likewise.
694 (exp_test_data): Likewise.
695 (expm1_test_data): Likewise.
696 (hypot_test_data): Likewise.
697 (pow_test_data): Likewise.
698 (sinh_test_data): Likewise.
699 (tanh_test_data): Likewise.
700 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
701 flags argument.
702
ca07f197
JM
703 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
704 tests with quiet NaN input and output.
705 (acosh_test_data): Likewise.
706 (asin_test_data): Likewise.
707 (asinh_test_data): Likewise.
708 (atan_test_data): Likewise.
709 (atanh_test_data): Likewise.
710 (atan2_test_data): Likewise.
711 (cbrt_test_data): Likewise.
712 (cos_test_data): Likewise.
713 (cosh_test_data): Likewise.
714 (erf_test_data): Likewise.
715 (erfc_test_data): Likewise.
716 (exp_test_data): Likewise.
717 (exp10_test_data): Likewise.
718 (exp2_test_data): Likewise.
719 (expm1_test_data): Likewise.
720 (hypot_test_data): Likewise.
721 (j0_test_data): Likewise.
722 (j1_test_data): Likewise.
723 (jn_test_data): Likewise.
724 (lgamma_test_data): Likewise.
725 (log_test_data): Likewise.
726 (log10_test_data): Likewise.
727 (log1p_test_data): Likewise.
728 (log2_test_data): Likewise.
729 (pow_test_data): Likewise.
730 (scalb_test_data): Likewise.
731 (sin_test_data): Likewise.
732 (sincos_test_data): Likewise.
733 (sinh_test_data): Likewise.
734 (tan_test_data): Likewise.
735 (tanh_test_data): Likewise.
736 (tgamma_test_data): Likewise.
737 (y0_test_data): Likewise.
738 (y1_test_data): Likewise.
739 (yn_test_data): Likewise.
740
66294491
JM
741 [BZ #16167]
742 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
743 argument being NaN and avoid computations with second argument in
744 that case.
745 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
746 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
747 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
748
1820b143
CL
7492013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
750
751 * locale/iso-639.def: Add Chitwani Tharu (the).
752
714bd261
AS
7532013-11-14 Andreas Schwab <schwab@suse.de>
754
755 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
756 word instead of empty string.
757
7ab44563
AZ
7582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
759
760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
761 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
763 (__fe_nomask_env): Likewise.
764
e8470ea2
SE
7652013-11-13 Steve Ellcey <sellcey@mips.com>
766
767 * benchtests/bench-timing.h: Include time.h.
768
17c1d9f0
L
7692013-11-13 H.J. Lu <hongjiu.lu@intel.com>
770
771 [BZ #15997]
772 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
773 to 3.4.0 for x32.
774 * sysdeps/unix/sysv/linux/configure: Regenerated.
775
9310c284
JM
7762013-11-13 Joseph Myers <joseph@codesourcery.com>
777
778 [BZ #16151]
779 * stdlib/strtod_l.c (round_and_return): Do not consider
780 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
781 exponent one less than half the least subnormal exponent.
782 * stdlib/test-strtod-round-data: Add more tests.
783 * stdlib/tst-strtod-round.c (tests): Regenerated.
784
7a2ad8cf
AZ
7852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
786
787 [BZ #14143]
788 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
789 (__fe_mask_env): Likewise.
790 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
791 libm_hidden_proto and add function prototype.
792 (__fe_mask_env): Add function prototype.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
794 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
796 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
798 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
799
50727aa7
MS
8002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
801
b2f386c1 802 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
803 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
804
a615be46
MS
8052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
806
807 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
808 of htab_find_slot().
809
7ddace62
DM
8102013-11-11 David S. Miller <davem@davemloft.net>
811
812 [BZ #16150]
813 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
814 symbol in the non-vis3 case in static builds.
815 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
816 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
817 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
818 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
819
9182aa67
JK
8202013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
821
822 [BZ #387]
823 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
824 it is empty.
825
450a2e2d
AZ
8262013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
827
b2f386c1
SP
828 * benchtests/Makefile: Add bench-strtod.
829 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 830
8ec3f656
AS
8312013-11-11 Andreas Schwab <schwab@suse.de>
832
833 [BZ #16153]
834 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
835 terminating NUL in key length.
836
76a9b998
AZ
8372013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838
839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
840 Add artificial ODP entry for vDSO symbol for PPC64.
841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
842 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
843
e4368156
OB
8442013-11-07 Ondřej Bílka <neleai@seznam.cz>
845
846 [BZ #15374]
847 * nss/getent.c (services_keys): Recognize services starting with digit.
848
8d6bb57c
DM
8492013-11-06 David S. Miller <davem@davemloft.net>
850
851 [BZ #15985]
852 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
853 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
854
e256c421
WN
8552013-11-06 Will Newton <will.newton@linaro.org>
856
857 * manual/memory.texi (Malloc Examples): Remove register
858 keyword from examples.
859
f6e12daa 8602013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 861
f6e12daa 862 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 863
9d880655
AS
8642013-11-04 Joseph Myers <joseph@codesourcery.com>
865
866 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
867 depending on [__GCC_IEC_559 > 0].
868 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
869 depending on [__GCC_IEC_559_COMPLEX > 0].
870
ae129d3c
CL
8712013-11-03 Chris Leonard <cjl@sugarlabs.org>
872
873 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
874 to iso-639.def.
875
4a15c2a4 8762013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
877
878 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
879
8b35e35d
OB
8802013-11-01 Ondřej Bílka <neleai@seznam.cz>
881
882 [BZ #16112]
883 * malloc/malloc (malloc_info): Do not handle first bin as
884 special case.
885
1d70fd6c
CL
8862013-11-01 Chris Leonard <cjl@sugarlabs.org>
887
888 * locale/iso-639.def: Add Central Nahuatl (nhn).
889
8c5c2600
BH
8902013-11-01 Bruno Haible <bruno@clisp.org>
891
892 [BZ #7003]
893 * manual/math.texi (BSD Random): Specify range upper bound as
894 in POSIX.
895
da5579c2
CL
8962013-10-31 Chris Leonard <cjl@sugarlabs.org>
897
898 * locale/iso-639.def: Add Meadow Mari (mhr).
899
5d30d853
OB
9002013-10-31 Ondřej Bílka <neleai@seznam.cz>
901
902 [BZ #14752], [BZ #15763]
903 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
904 Validate name.
905 * rt/tst_shm.c: Add test for escaping directory.
906
a4966c61
AS
9072013-10-31 Andreas Schwab <schwab@suse.de>
908
8a43e768 909 [BZ #15917]
a4966c61
AS
910 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
911 followed by 'x' as part of digit sequence.
912 * stdio-common/tst-sscanf.c (double_tests2): New tests.
913
28d708c4
MAP
9142013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
915
916 [BZ #16037]
917 * configure.ac: allow GNU Make 4.0 and greater.
918 * configure: Regenerated.
919
a56ee40b
WN
9202013-10-30 Will Newton <will.newton@linaro.org>
921
922 [BZ #16038]
923 * malloc/hooks.c (memalign_check): Limit alignment to the
924 maximum representable power of two.
925 * malloc/malloc.c (__libc_memalign): Likewise.
926 * malloc/tst-memalign.c (do_test): Add test for very
927 large alignment values.
928 * malloc/tst-posix_memalign.c (do_test): Likewise.
929
c6e4925d
OB
9302013-10-30 Ondřej Bílka <neleai@seznam.cz>
931
932 [BZ #11087]
933 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
934 (munmap_chunk): Likewise.
935 (mremap_chunk): Likewise.
936
9372013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 938
8a43e768 939 [BZ #15799]
bbea82f7
OB
940 * stdlib/div.c (div): Remove obsolete code.
941 * stdlib/ldiv.c (ldiv): Likewise.
942 * stdlib/lldiv.c (lldiv): Likewise.
943
977f4b31
SP
9442013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
945
946 [BZ #16071]
947 * nss/nss_files/files-XXX.c (get_contents_ret): New
948 enumerator.
949 (get_contents): New function.
950 (internal_getent): Use it. Expand size of LINEBUFLEN.
951
cb8a6dbd
MF
9522013-10-30 Mike Frysinger <vapier@gentoo.org>
953
954 * configure.in: Moved to ...
955 * configure.ac: ... here. Change reference to configure.in
956 to configure.ac.
957 * sysdeps/arm/preconfigure.ac: ... here.
958 configure.in to configure.ac.
959 * sysdeps/gnu/configure.in: Moved to ...
960 * sysdeps/gnu/configure.ac: ... here.
961 * sysdeps/i386/configure.in: Moved to ...
962 * sysdeps/i386/configure.ac: ... here.
963 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
964 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
965 * sysdeps/mach/configure.in: Moved to ...
966 * sysdeps/mach/configure.ac: ... here.
967 * sysdeps/mach/hurd/configure.in: Moved to ...
968 * sysdeps/mach/hurd/configure.ac: ... here.
969 * sysdeps/powerpc/configure.in: Moved to ...
970 * sysdeps/powerpc/configure.ac: ... here.
971 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
972 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
973 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
974 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
975 * sysdeps/s390/s390-32/configure.in: Moved to ...
976 * sysdeps/s390/s390-32/configure.ac: ... here.
977 * sysdeps/s390/s390-64/configure.in: Moved to ...
978 * sysdeps/s390/s390-64/configure.ac: ... here.
979 * sysdeps/sh/configure.in: Moved to ...
980 * sysdeps/sh/configure.ac: ... here.
981 * sysdeps/sparc/configure.in: Moved to ...
982 * sysdeps/sparc/configure.ac: ... here.
983 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
984 * sysdeps/unix/sysv/linux/configure.ac: ... here.
985 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
986 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
987 * sysdeps/x86_64/configure.in: Moved to ...
988 * sysdeps/x86_64/configure.ac: ... here.
989 * sysdeps/x86_64/preconfigure.in: Moved to ...
990 * sysdeps/x86_64/preconfigure.ac: ... here.
991 * aclocal.m4: Change reference to configure.in to configure.ac.
992 * config.h.in: Likewise.
993 * manual/install.texi: Likewise.
994 * manual/maint.texi: Likewise.
995 * Makefile: Likewise.
996 * malloc/Makefile: Likewise.
997 * nscd/Makefile: Likewise.
998 * Makeconfig: Change reference to configure.in and
999 preconfigure.in to configure.ac and preconfigure.ac
1000 respectively.
1001 * INSTALL: Regenerated.
1002 * configure: Likewise.
1003 * sysdeps/gnu/configure: Likewise.
1004 * sysdeps/i386/configure: Likewise.
1005 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1006 * sysdeps/mach/configure: Likewise.
1007 * sysdeps/mach/hurd/configure: Likewise.
1008 * sysdeps/powerpc/configure: Likewise.
1009 * sysdeps/powerpc/powerpc32/configure: Likewise.
1010 * sysdeps/powerpc/powerpc64/configure: Likewise.
1011 * sysdeps/s390/s390-32/configure: Likewise.
1012 * sysdeps/s390/s390-64/configure: Likewise.
1013 * sysdeps/sh/configure: Likewise.
1014 * sysdeps/sparc/configure: Likewise.
1015 * sysdeps/unix/sysv/linux/configure: Likewise.
1016 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1017 * sysdeps/x86_64/configure: Likewise.
1018 * sysdeps/x86_64/preconfigure: Likewise.
1019
36a4953a
AS
10202013-10-29 Andreas Schwab <schwab@suse.de>
1021
1022 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1023
c79a1204
SP
10242013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1025
dfa1b402
SP
1026 * benchtests/pow-inputs: Add new inputs.
1027
54f73d9c
SP
1028 * benchtests/exp-inputs: Add new inputs.
1029
c79a1204
SP
1030 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1031 conditional check for return value.
1032 (__cos32): Likewise.
1033
67beb545 10342013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1035
1036 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1037 to provide a boost for large inputs with word alignment.
1038 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1039 implementation based on optimized PPC64 strcpy.
1040 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1041 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1042 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1043 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1044
151659f6
OB
10452013-10-25 Ondřej Bílka <neleai@seznam.cz>
1046
482a077e 1047 [BZ #2801]
151659f6
OB
1048 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1049
10b0f26b
OB
10502013-10-25 Ondřej Bílka <neleai@seznam.cz>
1051
1052 [BZ #14876]
1053 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1054 * time/tst-strptime.c (day_tests): Add testcase.
1055
ca42d35e
OB
10562013-10-25 Ondřej Bílka <neleai@seznam.cz>
1057
482a077e 1058 [BZ #14029]
ca42d35e
OB
1059 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1060
52e6d801
FB
10612013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1062
1063 [BZ #16074]
1064 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1065 MAP_FAILED on error.
1066
7cbcdb36
SP
10672013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1068
1069 [BZ #16072]
1070 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1071 heap for large requests.
1072
894f3f10
AM
10732013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1074
1075 [BZ #9954]
1076 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1077 result if the result has no associated interface.
1078 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1079 interface for all 127.X.Y.Z addresses.
1080
b85545a6
CL
10812013-10-24 Chris Leonard <cjl@sugarlabs.org>
1082
1083 * locale/iso-639.def: Add Ligurian (lij)
1084
d1f23d46
OB
10852013-10-21 Ondřej Bílka <neleai@seznam.cz>
1086
1087 [BZ #15825]
1088 * sunrpc/rpc_main.c: Document rpcgen -5.
1089
4db5b08f
MS
10902013-10-19 Michael Stahl <mstahl@redhat.com>
1091
1092 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1093
a471e96a
OB
10942013-10-19 Ondřej Bílka <neleai@seznam.cz>
1095
d1f23d46 1096 [BZ #10278]
a471e96a
OB
1097 * posix/glob.c: Match only directories when trailing slash is present.
1098 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1099 (main): Add testcase.
1100
45c30c61
OB
11012013-10-19 Ondřej Bílka <neleai@seznam.cz>
1102
1103 [BZ #15670]
1104 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1105
484c12fb
CD
11062013-10-18 Carlos O'Donell <carlos@redhat.com>
1107
3d7dc513
CD
1108 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1109 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1110 AUTH_DES and cindex for FIPS 140-2.
1111 (DES Encryption): Add cindex FIPS 46-3.
1112
484c12fb
CD
1113 * locale/locarchive.h (struct locarhandle): Add fname.
1114 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1115 if an optional argument was specified to --list-archive,
1116 otherwise NULL.
1117 * locale/programs/locarchive.c (show_archive_content): Take new
1118 argument fname and pass it via ah.fname to open_archive.
1119 * locale/programs/localedef.h: Update decl.
1120 (open_archive): If AH->fname is non-null, open that file
1121 rather than the default file name, and don't ignore ENOENT.
1122 (create_archive): Set AH.fname to NULL.
1123 (delete_locales_from_archive): Likewise.
1124 (add_locales_to_archive): Likewise.
1125 * locale/programs/locfile.c (write_all_categories): Likewise.
1126
3c8325fb
JM
11272013-10-18 Joseph Myers <joseph@codesourcery.com>
1128 Aldy Hernandez <aldyh@redhat.com>
1129
1130 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1131 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1132 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1133 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1134 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1135 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1136 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1138 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1139 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1140 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1141 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1142 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1144 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1145 Likewise.
1146 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1147 Likewise.
1148 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1149 Likewise.
1150 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1151 Likewise.
1152 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1153 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1154 Likewise.
1155 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1156 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1157 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1158 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1159 Likewise.
1160 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1161 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1162 * sysdeps/powerpc/preconfigure: Likewise.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1164 Likewise.
1165 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1166 Replace contents of file by #include of <fenv_libc.h>.
1167 * sysdeps/powerpc/soft-fp/sfp-machine.h
1168 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1169 and <sys/prctl.h>.
1170 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1171 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1172 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1173 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1174 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1175 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1178 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1181 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1183 Allow copysignl PLT reference to be missing.
1184
5abe0682
RS
11852013-10-18 Richard Sandiford <richard@codesourcery.com>
1186 Joseph Myers <joseph@codesourcery.com
1187
1188 [BZ #15948]
1189 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1190 single character.
1191 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1192
c7738d08
SP
11932013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1194
1195 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1196 * elf/tst-tls1.c: Likewise.
1197 * elf/tst-tls10.h: Likewise.
1198 * elf/tst-tls14.c: Likewise.
1199 * elf/tst-tls2.c: Likewise.
1200 * elf/tst-tls3.c: Likewise.
1201 * elf/tst-tls4.c: Likewise.
1202 * elf/tst-tls5.c: Likewise.
1203 * elf/tst-tls6.c: Likewise.
1204 * elf/tst-tls7.c: Likewise.
1205 * elf/tst-tls8.c: Likewise.
1206 * elf/tst-tls9.c: Likewise.
1207 * elf/tst-tlsmod1.c: Likewise.
1208 * elf/tst-tlsmod13.c: Likewise.
1209 * elf/tst-tlsmod13a.c: Likewise.
1210 * elf/tst-tlsmod14a.c: Likewise.
1211 * elf/tst-tlsmod16a.c: Likewise.
1212 * elf/tst-tlsmod16b.c: Likewise.
1213 * elf/tst-tlsmod2.c: Likewise.
1214 * elf/tst-tlsmod3.c: Likewise.
1215 * elf/tst-tlsmod4.c: Likewise.
1216 * elf/tst-tlsmod5.c: Likewise.
1217 * elf/tst-tlsmod6.c: Likewise.
1218
0bfcf2c7
OB
12192013-10-18 Ondřej Bílka <neleai@seznam.cz>
1220
1221 [BZ #12486]
1222 * malloc/malloc.c: remove checks for statistics.
1223
264aad1e
OB
12242013-10-17 Ondřej Bílka <neleai@seznam.cz>
1225
1226 [BZ #15277]
1227 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1228 * inet/tst-network.c: Add testcase.
1229
b957ced8
AS
12302013-10-17 Andreas Schwab <schwab@suse.de>
1231
1232 [BZ #15218]
1233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1234 to determine canonical name.
1235
c5d5d574
OB
12362013-10-17 Ondřej Bílka <neleai@seznam.cz>
1237
1238 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1239 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1241 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1247 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1248 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1249 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1250 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1253 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1261 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1262 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1263 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1264 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1265 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1266 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1267 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1268 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1270 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1271 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1272 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1274 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1275 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1281 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1282 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1283 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1284 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1285 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1286 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1287 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1288 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1289 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1291 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1293 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1295 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1296
e5c2c2d0
JM
12972013-10-17 Joseph Myers <joseph@codesourcery.com>
1298
1299 [BZ #16041]
1300 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1301 make result into a quiet NaN.
1302
51ca9e29
JM
13032013-10-16 Joseph Myers <joseph@codesourcery.com>
1304
1305 * soft-fp/adddf3.c: Fix horizontal whitespace.
1306 * soft-fp/addsf3.c: Likewise.
1307 * soft-fp/addtf3.c: Likewise.
1308 * soft-fp/divdf3.c: Likewise.
1309 * soft-fp/divsf3.c: Likewise.
1310 * soft-fp/divtf3.c: Likewise.
1311 * soft-fp/double.h: Likewise.
1312 * soft-fp/eqdf2.c: Likewise.
1313 * soft-fp/eqsf2.c: Likewise.
1314 * soft-fp/eqtf2.c: Likewise.
1315 * soft-fp/extenddftf2.c: Likewise.
1316 * soft-fp/extended.h: Likewise.
1317 * soft-fp/extendsfdf2.c: Likewise.
1318 * soft-fp/extendsftf2.c: Likewise.
1319 * soft-fp/extendxftf2.c: Likewise.
1320 * soft-fp/fixdfdi.c: Likewise.
1321 * soft-fp/fixdfsi.c: Likewise.
1322 * soft-fp/fixdfti.c: Likewise.
1323 * soft-fp/fixsfdi.c: Likewise.
1324 * soft-fp/fixsfsi.c: Likewise.
1325 * soft-fp/fixsfti.c: Likewise.
1326 * soft-fp/fixtfdi.c: Likewise.
1327 * soft-fp/fixtfsi.c: Likewise.
1328 * soft-fp/fixtfti.c: Likewise.
1329 * soft-fp/fixunsdfdi.c: Likewise.
1330 * soft-fp/fixunsdfsi.c: Likewise.
1331 * soft-fp/fixunsdfti.c: Likewise.
1332 * soft-fp/fixunssfdi.c: Likewise.
1333 * soft-fp/fixunssfsi.c: Likewise.
1334 * soft-fp/fixunssfti.c: Likewise.
1335 * soft-fp/fixunstfdi.c: Likewise.
1336 * soft-fp/fixunstfsi.c: Likewise.
1337 * soft-fp/fixunstfti.c: Likewise.
1338 * soft-fp/floatdidf.c: Likewise.
1339 * soft-fp/floatdisf.c: Likewise.
1340 * soft-fp/floatditf.c: Likewise.
1341 * soft-fp/floatsidf.c: Likewise.
1342 * soft-fp/floatsisf.c: Likewise.
1343 * soft-fp/floatsitf.c: Likewise.
1344 * soft-fp/floattidf.c: Likewise.
1345 * soft-fp/floattisf.c: Likewise.
1346 * soft-fp/floattitf.c: Likewise.
1347 * soft-fp/floatundidf.c: Likewise.
1348 * soft-fp/floatundisf.c: Likewise.
1349 * soft-fp/floatunditf.c: Likewise.
1350 * soft-fp/floatunsidf.c: Likewise.
1351 * soft-fp/floatunsisf.c: Likewise.
1352 * soft-fp/floatunsitf.c: Likewise.
1353 * soft-fp/floatuntidf.c: Likewise.
1354 * soft-fp/floatuntisf.c: Likewise.
1355 * soft-fp/floatuntitf.c: Likewise.
1356 * soft-fp/fmadf4.c: Likewise.
1357 * soft-fp/fmasf4.c: Likewise.
1358 * soft-fp/fmatf4.c: Likewise.
1359 * soft-fp/gedf2.c: Likewise.
1360 * soft-fp/gesf2.c: Likewise.
1361 * soft-fp/getf2.c: Likewise.
1362 * soft-fp/ledf2.c: Likewise.
1363 * soft-fp/lesf2.c: Likewise.
1364 * soft-fp/letf2.c: Likewise.
1365 * soft-fp/muldf3.c: Likewise.
1366 * soft-fp/mulsf3.c: Likewise.
1367 * soft-fp/multf3.c: Likewise.
1368 * soft-fp/negdf2.c: Likewise.
1369 * soft-fp/negsf2.c: Likewise.
1370 * soft-fp/negtf2.c: Likewise.
1371 * soft-fp/op-1.h: Likewise.
1372 * soft-fp/op-2.h: Likewise.
1373 * soft-fp/op-4.h: Likewise.
1374 * soft-fp/op-8.h: Likewise.
1375 * soft-fp/op-common.h: Likewise.
1376 * soft-fp/quad.h: Likewise.
1377 * soft-fp/single.h: Likewise.
1378 * soft-fp/soft-fp.h: Likewise.
1379 * soft-fp/sqrtdf2.c: Likewise.
1380 * soft-fp/sqrtsf2.c: Likewise.
1381 * soft-fp/sqrttf2.c: Likewise.
1382 * soft-fp/subdf3.c: Likewise.
1383 * soft-fp/subsf3.c: Likewise.
1384 * soft-fp/subtf3.c: Likewise.
1385 * soft-fp/truncdfsf2.c: Likewise.
1386 * soft-fp/trunctfdf2.c: Likewise.
1387 * soft-fp/trunctfsf2.c: Likewise.
1388 * soft-fp/trunctfxf2.c: Likewise.
1389 * soft-fp/unorddf2.c: Likewise.
1390 * soft-fp/unordsf2.c: Likewise.
1391 * soft-fp/unordtf2.c: Likewise.
1392
9ebb0332
JM
13932013-10-15 Joseph Myers <joseph@codesourcery.com>
1394
1395 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1396 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1397
4b1a6d8b
OB
13982013-10-15 Ondřej Bílka <neleai@seznam.cz>
1399
1400 * elf/dl-libc.c: Clear initfini list after freeing.
1401
1e145589
JM
14022013-10-14 Joseph Myers <joseph@codesourcery.com>
1403
1404 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1405 * soft-fp/addsf3.c: Likewise.
1406 * soft-fp/addtf3.c: Likewise.
1407 * soft-fp/divdf3.c: Likewise.
1408 * soft-fp/divsf3.c: Likewise.
1409 * soft-fp/divtf3.c: Likewise.
1410 * soft-fp/double.h: Likewise.
1411 * soft-fp/eqdf2.c: Likewise.
1412 * soft-fp/eqsf2.c: Likewise.
1413 * soft-fp/eqtf2.c: Likewise.
1414 * soft-fp/extenddftf2.c: Likewise.
1415 * soft-fp/extended.h: Likewise.
1416 * soft-fp/extendsfdf2.c: Likewise.
1417 * soft-fp/extendsftf2.c: Likewise.
1418 * soft-fp/extendxftf2.c: Likewise.
1419 * soft-fp/fixdfdi.c: Likewise.
1420 * soft-fp/fixdfsi.c: Likewise.
1421 * soft-fp/fixdfti.c: Likewise.
1422 * soft-fp/fixsfdi.c: Likewise.
1423 * soft-fp/fixsfsi.c: Likewise.
1424 * soft-fp/fixsfti.c: Likewise.
1425 * soft-fp/fixtfdi.c: Likewise.
1426 * soft-fp/fixtfsi.c: Likewise.
1427 * soft-fp/fixtfti.c: Likewise.
1428 * soft-fp/fixunsdfdi.c: Likewise.
1429 * soft-fp/fixunsdfsi.c: Likewise.
1430 * soft-fp/fixunsdfti.c: Likewise.
1431 * soft-fp/fixunssfdi.c: Likewise.
1432 * soft-fp/fixunssfsi.c: Likewise.
1433 * soft-fp/fixunssfti.c: Likewise.
1434 * soft-fp/fixunstfdi.c: Likewise.
1435 * soft-fp/fixunstfsi.c: Likewise.
1436 * soft-fp/fixunstfti.c: Likewise.
1437 * soft-fp/floatdidf.c: Likewise.
1438 * soft-fp/floatdisf.c: Likewise.
1439 * soft-fp/floatditf.c: Likewise.
1440 * soft-fp/floatsidf.c: Likewise.
1441 * soft-fp/floatsisf.c: Likewise.
1442 * soft-fp/floatsitf.c: Likewise.
1443 * soft-fp/floattidf.c: Likewise.
1444 * soft-fp/floattisf.c: Likewise.
1445 * soft-fp/floattitf.c: Likewise.
1446 * soft-fp/floatundidf.c: Likewise.
1447 * soft-fp/floatundisf.c: Likewise.
1448 * soft-fp/floatunsidf.c: Likewise.
1449 * soft-fp/floatunsisf.c: Likewise.
1450 * soft-fp/floatuntidf.c: Likewise.
1451 * soft-fp/floatuntisf.c: Likewise.
1452 * soft-fp/floatuntitf.c: Likewise.
1453 * soft-fp/fmadf4.c: Likewise.
1454 * soft-fp/fmasf4.c: Likewise.
1455 * soft-fp/fmatf4.c: Likewise.
1456 * soft-fp/gedf2.c: Likewise.
1457 * soft-fp/gesf2.c: Likewise.
1458 * soft-fp/getf2.c: Likewise.
1459 * soft-fp/ledf2.c: Likewise.
1460 * soft-fp/lesf2.c: Likewise.
1461 * soft-fp/letf2.c: Likewise.
1462 * soft-fp/muldf3.c: Likewise.
1463 * soft-fp/mulsf3.c: Likewise.
1464 * soft-fp/multf3.c: Likewise.
1465 * soft-fp/negdf2.c: Likewise.
1466 * soft-fp/negsf2.c: Likewise.
1467 * soft-fp/negtf2.c: Likewise.
1468 * soft-fp/op-1.h: Likewise.
1469 * soft-fp/op-2.h: Likewise.
1470 * soft-fp/op-4.h: Likewise.
1471 * soft-fp/op-8.h: Likewise.
1472 * soft-fp/op-common.h: Likewise.
1473 * soft-fp/quad.h: Likewise.
1474 * soft-fp/single.h: Likewise.
1475 * soft-fp/soft-fp.h: Likewise.
1476 * soft-fp/sqrtdf2.c: Likewise.
1477 * soft-fp/sqrtsf2.c: Likewise.
1478 * soft-fp/sqrttf2.c: Likewise.
1479 * soft-fp/subdf3.c: Likewise.
1480 * soft-fp/subsf3.c: Likewise.
1481 * soft-fp/subtf3.c: Likewise.
1482 * soft-fp/truncdfsf2.c: Likewise.
1483 * soft-fp/trunctfdf2.c: Likewise.
1484 * soft-fp/trunctfsf2.c: Likewise.
1485 * soft-fp/trunctfxf2.c: Likewise.
1486 * soft-fp/unorddf2.c: Likewise.
1487 * soft-fp/unordsf2.c: Likewise.
1488 * soft-fp/unordtf2.c: Likewise.
1489
17c48a60
OB
14902013-10-14 Ondřej Bílka <neleai@seznam.cz>
1491
1492 [BZ #15672]
1493 * misc/error.c (error_tail): Fix possible buffer overflow.
1494
cabba934
OB
14952013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1496
1497 [BZ #13028]
1498 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1499 address.
1500
94bf958a
PM
15012013-10-14 P. J. McDermott <pj@pehjota.net>
1502
1503 [BZ #832]
1504 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1505 testing pipefail option.
1506
71b4dea7
JM
15072013-10-12 Joseph Myers <joseph@codesourcery.com>
1508
1509 * soft-fp/double.h: Indent preprocessor directives inside #if.
1510 * soft-fp/extended.h: Likewise.
1511 * soft-fp/op-2.h: Likewise.
1512 * soft-fp/op-4.h: Likewise.
1513 * soft-fp/op-common.h: Likewise.
1514 * soft-fp/quad.h: Likewise.
1515 * soft-fp/single.h: Likewise.
1516 * soft-fp/soft-fp.h: Likewise.
1517
55602758
YC
15182013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1519
1520 * iconv/iconv_prog.c: Fix typos.
1521 * stdio-common/psiginfo-data.h: Likewise.
1522
9cd83302
RT
15232013-10-12 Reuben Thomas <rrt@sc3d.org>
1524
1525 [BZ #15764]
1526 * locale/setlocale.c: Fix typo.
1527
99fd9f47
JM
15282013-10-12 Joseph Myers <joseph@codesourcery.com>
1529
b7ea74f0
JM
1530 [BZ #16036]
1531 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1532 signaling NaN arguments.
1533 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1534 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1535
8a509447
JM
1536 [BZ #14910]
1537 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1538 unordered operands.
1539 * soft-fp/gesf2.c (__gesf2): Likewise.
1540 * soft-fp/getf2.c (__getf2): Likewise.
1541 * soft-fp/ledf2.c (__ledf2): Likewise.
1542 * soft-fp/lesf2.c (__lesf2): Likewise.
1543 * soft-fp/letf2.c (__letf2): Likewise.
1544
98998e9f
JM
1545 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1546 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1547 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1548 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1549 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1550 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1551 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1552 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1553 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1554 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1555 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1556 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1557 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1558 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1559 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1560 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1561 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1562 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1563 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1564 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1565 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1566 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1567 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1568 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1569 * soft-fp/floattidf.c (__floattidf): Likewise.
1570 * soft-fp/floattisf.c (__floattisf): Likewise.
1571 * soft-fp/floattitf.c (__floattitf): Likewise.
1572 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1573 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1574 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1575 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1576 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1577 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1578 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1579 * soft-fp/gesf2.c (__gesf2): Likewise.
1580 * soft-fp/getf2.c (__getf2): Likewise.
1581 * soft-fp/ledf2.c (__ledf2): Likewise.
1582 * soft-fp/lesf2.c (__lesf2): Likewise.
1583 * soft-fp/letf2.c (__letf2): Likewise.
1584
8edc4a11
JM
1585 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1586 Undefine and redefine.
1587 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1588 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1589 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1590 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1591 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1592 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1593 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1594 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1595 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1596 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1597 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1598 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1599 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1600 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1601 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1602
8399acaf
JM
1603 [BZ #16032]
1604 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1605 without decrementing exponent if mantissa >= that for the
1606 denominator, not >.
1607 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1608 denominator, not >. Decrement exponent in < case instead of
1609 incrementing in >= case.
1610 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1611 without decrementing exponent if mantissa >= that for the
1612 denominator, not >.
1613
99fd9f47
JM
1614 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1615 computing saturated result for unsigned overflow.
1616
10e1cf6b
SP
16172013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1618 Jeff Law <law@redhat.com>
1619
1620 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1621 (atan2Mp): Add systemtap probe marker.
1622 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1623 (__ieee754_log): Add systemtap probe marker.
1624 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1625 (atanMp): Add systemtap probe marker.
1626 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1627 (tanMp): Add systemtap probe marker.
1628 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1629 (__slowexp): Add systemtap probe marker.
1630 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1631 (__slowpow): Add systemtap probe marker.
1632 * manual/probes.texi: Document probes.
1633
3d110c7c
EB
16342013-10-11 Eric Biggers <ebiggers3@gmail.com>
1635
1636 [BZ #15362]
1637 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1638 written.
1639 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1640 written.
1641 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1642 written to buffer but not flushed.
1643 * libio/iofwrite_u.c: Likewise.
1644 * libio/iopadn.c: Return bytes returned even if EOF was
1645 encountered.
1646 * libio/iowpadn.c: Likewise.
1647 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1648 if _IO_padn does not write the whole buffer.
1649 [!COMPILE_WPRINTF] (PAD): Likewise.
1650
75b4202a
DM
16512013-10-10 David S. Miller <davem@davemloft.net>
1652
1653 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1654 directory block.
1655
6c6352e6
JM
16562013-10-10 Joseph Myers <joseph@codesourcery.com>
1657
33b853c3
JM
1658 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1659 instead of FSF address.
1660 * soft-fp/fixdfti.c: Likewise.
1661 * soft-fp/fixsfti.c: Likewise.
1662 * soft-fp/fixtfti.c: Likewise.
1663 * soft-fp/fixunsdfti.c: Likewise.
1664 * soft-fp/fixunssfti.c: Likewise.
1665 * soft-fp/fixunstfti.c: Likewise.
1666 * soft-fp/floattidf.c: Likewise.
1667 * soft-fp/floattisf.c: Likewise.
1668 * soft-fp/floattitf.c: Likewise.
1669 * soft-fp/floatuntidf.c: Likewise.
1670 * soft-fp/floatuntisf.c: Likewise.
1671 * soft-fp/floatuntitf.c: Likewise.
1672 * soft-fp/trunctfxf2.c: Likewise.
1673
6c6352e6
JM
1674 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1675 * soft-fp/fixdfti.c: Likewise.
1676 * soft-fp/fixsfti.c: Likewise.
1677 * soft-fp/fixtfti.c: Likewise.
1678 * soft-fp/fixunsdfti.c: Likewise.
1679 * soft-fp/fixunssfti.c: Likewise.
1680 * soft-fp/fixunstfti.c: Likewise.
1681 * soft-fp/floattidf.c: Likewise.
1682 * soft-fp/floattisf.c: Likewise.
1683 * soft-fp/floattitf.c: Likewise.
1684 * soft-fp/floatuntidf.c: Likewise.
1685 * soft-fp/floatuntisf.c: Likewise.
1686 * soft-fp/floatuntitf.c: Likewise.
1687 * soft-fp/trunctfxf2.c: Likewise.
1688
3bf78b71
DM
16892013-10-10 David S. Miller <davem@davemloft.net>
1690
1691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1692
6f10289e
JM
16932013-10-10 Joseph Myers <joseph@codsourcery.com>
1694
bd878fc0
JM
1695 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1696 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1697 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1698 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1699 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1700 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1701 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1702
6f10289e
JM
1703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1704 for NaNs before doing comparisons on argument.
1705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1706 Likewise.
1707
321e2684
WN
17082013-10-10 Will Newton <will.newton@linaro.org>
1709
1710 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1711 passed to _int_memalign does not overflow.
1712
40fefba1
TR
17132013-10-10 Torvald Riegel <triegel@redhat.com>
1714
1715 * scripts/bench.pl: Add include-sources directive.
1716 * benchtests/README: Update documentation.
1717
2ae21ed2
JM
17182013-10-10 Joseph Myers <joseph@codesourcery.com>
1719
dcc2dd3f
JM
1720 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1721 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1722 instead of FP_INIT_ROUNDMODE.
1723 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1724 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1725
2ae21ed2
JM
1726 [BZ #16034]
1727 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1728 copy class of input value.
1729 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1730 not handle exceptions.
1731 * soft-fp/negsf2.c (__negsf2): Likewise.
1732 * soft-fp/negtf2.c (__negtf2): Likewise.
1733 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1734
cb8f9562
JM
17352013-10-09 Joseph Myers <joseph@codesourcery.com>
1736
1737 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1738 semicolon. From Linux kernel.
1739
5b60c59d
AB
17402013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1741
1742 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1743
b86835ca
YC
17442013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1745
1746 [BZ #156]
1747 * manual/socket.texi: Added statement about buffer
1748 for gethostbyname2_r.
1749
e7044ea7
OB
17502013-10-08 Ondřej Bílka <neleai@seznam.cz>
1751
1752 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1753 Use .p2align directive instead, throughout.
1754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1755 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1756 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1759 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1760 * sysdeps/x86_64/strchr.S: Likewise.
1761 * sysdeps/x86_64/strrchr.S: Likewise.
1762
09544cbc
SP
17632013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1764
88576635
SP
1765 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1766
e7b2d1dd
SP
1767 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1768
09544cbc
SP
1769 * sysdeps/generic/math_private.h (__mpsin1): Remove
1770 declaration.
1771 (__mpcos1): Likewise.
1772 (__mpsin): New argument __range_reduce.
1773 (__mpcos): Likewise.
1774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1775 (slow): Use __mpsin and __mpcos.
1776 (slow1): Likewise.
1777 (slow2): Likewise.
1778 (sloww): Likewise.
1779 (sloww1): Likewise.
1780 (sloww2): Likewise.
1781 (bsloww): Likewise.
1782 (bsloww1): Likewise.
1783 (bsloww2): Likewise.
1784 (cslow2): Likewise.
1785 (csloww): Likewise.
1786 (csloww1): Likewise.
1787 (csloww2): Likewise.
1788 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1789 range_reduce. Merge in __mpsin1.
1790 (__mpcos): Likewise.
1791 (__mpsin1): Remove.
1792 (__mpcos1): Likewise.
1793
7602d070
JM
17942013-10-07 Joseph Myers <joseph@codesourcery.com>
1795
1796 * locale/loadlocale.c (_nl_intern_locale_data): Use
1797 LOCFILE_ALIGNED_P.
1798 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1799 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1800 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1801 obstack data is appropriately aligned.
1802 (obstack_int32_grow_fast): Likewise.
1803 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1804 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1805 (add_locale_uint32_array): Likewise.
1806
a357259b
SP
18072013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1808
1809 * benchtests/Makefile: Remove ARGLIST and RET variables.
1810 ($(objpfx)bench-%.c): Pass only function name to the script.
1811 * benchtests/README: Update documentation.
1812 * benchtests/acos-inputs: Add new directives.
1813 * benchtests/acosh-inputs: Likewise.
1814 * benchtests/asin-inputs: Likewise.
1815 * benchtests/asinh-inputs: Likewise.
1816 * benchtests/atan-inputs: Likewise.
1817 * benchtests/atanh-inputs: Likewise.
1818 * benchtests/cos-inputs: Likewise.
1819 * benchtests/cosh-inputs: Likewise.
1820 * benchtests/exp-inputs: Likewise.
1821 * benchtests/log-inputs: Likewise.
1822 * benchtests/pow-inputs: Likewise.
1823 * benchtests/rint-inputs: Likewise.
1824 * benchtests/sin-inputs: Likewise.
1825 * benchtests/sinh-inputs: Likewise.
1826 * benchtests/tan-inputs: Likewise.
1827 * benchtests/tanh-inputs: Likewise.
1828 * scripts/bench.pl: Add support for new directives.
1829
9ec1b13d
AM
18302013-10-07 Alan Modra <amodra@gmail.com>
1831
1832 * README: Fix careless merge.
1833
8b7d57cd
AM
18342013-10-05 Alan Modra <amodra@gmail.com>
1835
1836 * NEWS: Mention powerpc64le support and bugs fixed.
1837 * README: Both big-endian and little-endian powerpc64 supported.
1838
7b7bab13
ST
18392013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1840
1841 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1842 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1843 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1844 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1845
d39baad1
RA
18462013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1847
1848 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1849 match prototype.
1850
cd78f7e7
JM
18512013-10-04 Joseph Myers <joseph@codesourcery.com>
1852
29d73d86
JM
1853 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1854 Move -mhard-float appending from
1855 ports/sysdeps/powerpc/powerpc32/Makefile.
1856 [$(with-fp) = yes] (ASFLAGS): Likewise.
1857 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1858 * sysdeps/powerpc/nofpu: Move directory from
1859 ports/sysdeps/powerpc/nofpu.
1860 * sysdeps/powerpc/soft-fp: Move directory from
1861 ports/sysdeps/powerpc/soft-fp.
1862 * sysdeps/powerpc/powerpc32/405: Move directory from
1863 ports/sysdeps/powerpc/powerpc32/405.
1864 * sysdeps/powerpc/powerpc32/440: Move directory from
1865 ports/sysdeps/powerpc/powerpc32/440.
1866 * sysdeps/powerpc/powerpc32/464: Move directory from
1867 ports/sysdeps/powerpc/powerpc32/464.
1868 * sysdeps/powerpc/powerpc32/476: Move directory from
1869 ports/sysdeps/powerpc/powerpc32/476.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1871 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1873 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1875 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1877 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1879 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1880 * README: Update for powerpc-*-linux-gnu software floating point
1881 support in libc.
1882
e246b347
JM
1883 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1884 case to powerpc/powerpc32*.
1885 * sysdeps/unix/sysv/linux/configure: Regenerated.
1886
89c2003e
JM
1887 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1888 (_FPU_MASK_OM): Define as 0x04.
1889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1891 0x00c10080.
1892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1893 0x0000003c.
1894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1895
cd78f7e7
JM
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1897 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1898 getcontext_e500.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1900 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1901 setcontext_e500.
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1903 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1904 and setcontext_e500.
1905
c755294d
CL
19062013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1907
1908 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1909
e16d221c
SP
19102013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1911
1912 * manual/threads.texi (Default Thread Attributes): Fix typo.
1913
215c7d43
WN
19142013-10-04 Will Newton <will.newton@linaro.org>
1915
1916 * malloc/Makefile: Add tst-memalign.
1917 * malloc/tst-memalign.c: New file.
1918
27d0461b
WN
1919 * malloc/tst-posix_memalign.c: Add comments.
1920 (do_test): Add comments and call free on all potentially
1921 allocated pointers. Add space after cast.
1922
1bc92709
WN
1923 * malloc/tst-pvalloc.c: Add comments.
1924 (do_test): Add comments and call free on all potentially
1925 allocated pointers. Remove duplicate check for NULL pointer.
1926 Add space after cast.
1927
66a9be9d
WN
1928 * malloc/tst-valloc.c: Add comments.
1929 (do_test): Add comments and call free on all potentially
1930 allocated pointers. Remove duplicate check for NULL pointer.
1931 Add space after cast.
1932
4cb81307
AM
19332013-10-04 Alan Modra <amodra@gmail.com>
1934
1935 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1936 Use stdint types in rather than __attribute__((mode())).
1937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1938
f8e3e9f3
AM
19392013-10-04 Alan Modra <amodra@gmail.com>
1940
1941 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1942 Correct handling of unaligned relocs for little-endian.
1943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1944
8f9ebb08
AM
19452013-10-04 Alan Modra <amodra@gmail.com>
1946
1947 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1948 * configure: Regenerate.
1949 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1950 * shlib-versions: Likewise.
1951
0edf96c2
AM
19522013-10-04 Alan Modra <amodra@gmail.com>
1953
1954 * string/tester.c (test_memrchr): Increment reported test cycle.
1955
e0f7a380
AM
19562013-10-04 Alan Modra <amodra@gmail.com>
1957
1958 * string/test-memcpy.c (do_one_test): When reporting errors, print
1959 string address and don't overrun end of string.
1960
466b0393
AM
19612013-10-04 Alan Modra <amodra@gmail.com>
1962
1963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1964 insrdi. Make better use of reg selection to speed exit slightly.
1965 Schedule entry path a little better. Remove useless "are we done"
1966 checks on entry to main loop. Handle wrapping around zero address.
1967 Correct main loop count. Handle single left-over word from main
1968 loop inline rather than by using loop_small. Remove extra word
1969 case in loop_small caused by wrong loop count. Add little-endian
1970 support.
1971 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1973 cache hint.
1974 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1975 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1976 support. Avoid rlwimi.
1977 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1978
3be87c77
AM
19792013-10-04 Alan Modra <amodra@gmail.com>
1980
1981 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1982 insrdi. Formatting.
3be87c77
AM
1983 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1984 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1985 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1987 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1988 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1989
759cfef3
AM
19902013-10-04 Alan Modra <amodra@gmail.com>
1991
1992 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1993 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1994 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1995 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1997 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1998 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2000 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2001 use of regs. Use power7 mtocrf. Tidy function tails.
2002
fe6e95d7
AM
20032013-10-04 Alan Modra <amodra@gmail.com>
2004
2005 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2006 Formatting. Consistently use rXXX register defines or rN defines.
2007 Use early exit labels that avoid restoring unused non-volatile regs.
2008 Make cr field use more consistent with rWORDn compares. Rename
2009 regs used as shift registers for unaligned loop, using rN defines
2010 for short lifetime/multiple use regs.
2011 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2012 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2013 addi 1,1,64 to pop stack frame. Simplify return value code.
2014 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2015
664318c3
AM
20162013-10-04 Alan Modra <amodra@gmail.com>
2017
2018 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2019 support. Correct typos, formatting. Optimize tail. Use insrdi
2020 rather than rlwimi.
2021 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2022 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2023 little-endian support. Correct typos.
2024 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2025 rather than rlwimi.
2026 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2027 in loop and entry code to keep "and." results.
2028 (strchr): Add little-endian support. Comment. Move cntlzd
2029 earlier in tail.
2030 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2031
43b84013
AM
20322013-10-04 Alan Modra <amodra@gmail.com>
2033
2034 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2035 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2036 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2038
8a7413f9
AM
20392013-10-04 Alan Modra <amodra@gmail.com>
2040
2041 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2042 (rTMP): Define as r11.
2043 (strcmp): Add little-endian support. Optimise tail.
2044 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2045 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2048 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2050 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2051
33ee81de
AM
20522013-10-04 Alan Modra <amodra@gmail.com>
2053
2054 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2055 little-endian support. Remove unnecessary "are we done" tests.
2056 Handle "s" wrapping around zero and extremely large "size".
2057 Correct main loop count. Handle single left-over word from main
2058 loop inline rather than by using small_loop. Correct comments.
2059 Delete "zero" tail, use "end_max" instead.
2060 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2061
db9b4570
AM
20622013-10-04 Alan Modra <amodra@gmail.com>
2063
2064 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2065 support. Don't branch over align.
2066 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2068 support. Rearrange tmp reg use to suit. Comment.
2069 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2070
f7c399cf
AM
20712013-10-04 Alan Modra <amodra@gmail.com>
2072
2073 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2074
0b2c2ace
AM
20752013-10-04 Alan Modra <amodra@gmail.com>
2076
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2078 conditional form of branch and link when obtaining pc.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2080
02f04a6c
AM
20812013-10-04 Alan Modra <amodra@gmail.com>
2082
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2084 HIWORD/LOWORD.
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2087
9b874b2f
AM
20882013-10-04 Alan Modra <amodra@gmail.com>
2089
2090 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2091 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2092 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2093 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2094 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2095 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2096 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2097 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2099 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2100
be1e5d31
AB
21012013-10-04 Anton Blanchard <anton@au1.ibm.com>
2102 Alistair Popple <alistair@ozlabs.au.ibm.com>
2103 Alan Modra <amodra@gmail.com>
2104
2105 [BZ #15723]
2106 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2107 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2108 _dl_hwcap access for little-endian.
2109 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2110 destroy vmx regs when saving unaligned.
2111 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2112 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2113 destroy vmx regs when saving unaligned.
2114
fef13a78
AM
21152013-10-04 Alan Modra <amodra@gmail.com>
2116
2117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2118 Don't use a union to pack hi/low value.
2119
76a66d51
AB
21202013-10-04 Anton Blanchard <anton@au1.ibm.com>
2121
2122 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2123 for little-endian.
2124 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2126 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2127 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2128 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2129
6a31fe7f
AM
21302013-10-04 Alan Modra <amodra@gmail.com>
2131
2132 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2133 constants to usual value for .cst8 section, and remove redundant
2134 high address load.
2135 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2136 constant for 0x1p52. Load little-endian words of double from
2137 correct stack offsets.
2138
7b88401f
AM
21392013-10-04 Alan Modra <amodra@gmail.com>
2140
2141 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2142 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2143 words of double from correct stack offsets.
2144 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2145 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2146 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2147 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2148 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2149 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2150 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2151 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2152 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2153 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2154 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2155 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2156 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2157 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2158 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2159 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2160 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2161
9c008155
AM
21622013-10-04 Alan Modra <amodra@gmail.com>
2163
2164 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2165 64-bit int/double union.
2166 (_FPU_SETCW): Likewise.
2167 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2168 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2169
da13146d
AM
21702013-10-04 Alan Modra <amodra@gmail.com>
2171
2172 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2173 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2174
603e8410
AM
21752013-10-04 Alan Modra <amodra@gmail.com>
2176
2177 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2178 use vector int constants.
2179 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2180
4a28b3ca
AB
21812013-10-04 Anton Blanchard <anton@au1.ibm.com>
2182
2183 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2184 array with long long.
2185 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2186 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2187 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2188 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2189 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2190 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2191 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2192 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2193 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2194 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2195 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2196 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2197 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2198
2ca85d2b
AB
21992013-10-04 Anton Blanchard <anton@au1.ibm.com>
2200
2201 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2202 (__signbit): Likewise. Correct for little-endian.
2203 (__signbitl): Call __signbit.
2204 (lrint): Correct for little-endian.
2205 (lrintf): Call lrint.
2206
62a728ae
AM
22072013-10-04 Alan Modra <amodra@gmail.com>
2208
2209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2210 union 32-bit int array member with 64-bit int array.
2211 (t515, tm256): Double rather than long double.
2212 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2213
32c301df
AM
22142013-10-04 Alan Modra <amodra@gmail.com>
2215
2216 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2217 Delete.
2218 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2220 version of math_ldbl.h.
2221
650ef4bd
AM
22222013-10-04 Alan Modra <amodra@gmail.com>
2223
2224 [BZ #15734], [BZ #15735]
2225 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2226 all uses of ieee875 long double macros and unions. Simplify test
2227 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2228 ldbl_extract_mantissa value for ix,iy exponents. Properly
2229 normalize after ldbl_extract_mantissa, and don't add hidden bit
2230 already handled. Don't treat low word of ieee854 mantissa like
2231 low word of IBM long double and mask off bit when testing for
2232 zero.
2233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2234 all uses of ieee875 long double macros and unions. Simplify tests
2235 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2236 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2237 two1022, instead use their values. Recognise that tests for large
2238 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2239 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2240 Rewrite all uses of ieee875 long double macros and unions. Simplify
2241 test for 0.0L and nan. Correct negation.
2242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2243 ieee875 long double macros and unions. Correct output for large
2244 magnitude x. Correct absolute value calculation.
2245 (__erfcl): Likewise.
2246 * math/libm-test.inc: Add tests for errors discovered in IBM long
2247 double versions of fmodl, remainderl, erfl and erfcl.
2248
765714ca
AM
22492013-10-04 Alan Modra <amodra@gmail.com>
2250
2251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2252 all uses of ieee854 long double macros and unions. Simplify tests
2253 for long doubles that are fully specified by the high double.
2254 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2255 Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2257 Remove dead code too.
2258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2259 (__ieee754_ynl): Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2263 Remove dead code too.
2264 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2268 Simplify.
2269 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2270 Simplify.
2271 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2274 Comment on variable precision.
2275 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2277 Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2282 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2283
4ebd120c
AM
22842013-10-04 Alan Modra <amodra@gmail.com>
2285
2286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2287 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2288 all uses of ieee854 long double macros and unions.
2289 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2295 Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2301 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2302 Simplify sign and nan test too.
2303 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2307 Likewise.
2308 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2310 Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2312 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2317
1b6adf88
AM
23182013-10-04 Alan Modra <amodra@gmail.com>
2319
2320 * stdio-common/printf_size.c (__printf_size): Don't use
2321 union ieee854_long_double in fpnum union.
2322 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2323 signbit macro to retrieve sign from long double.
2324 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2325 retrieve sign from long double.
2326 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2327 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2328 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2329 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2330 * math/test-misc.c (main): Don't use union ieee854_long_double.
2331
4cf69995
AM
23322013-10-04 Alan Modra <amodra@gmail.com>
2333
2334 [BZ #15680]
2335 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2336 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2337 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2338 calculation. Remove unnecessary test for denormal exponent.
2339 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2340 Correct handling of denormals. Avoid undefined shift behaviour.
2341 Correct normalisation of low mantissa when low double is denormal.
2342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2343 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2344 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2345 Correct normalisation of low mantissa. Test for overflow of high
2346 mantissa and normalise.
2347 (ldbl_nearbyint): Use more readable constant for two52.
2348 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2349 (__mpn_construct_long_double): Fix test for overflow of high
2350 mantissa and correct normalisation. Avoid undefined shift.
2351
9605ca6c
AM
23522013-10-04 Alan Modra <amodra@gmail.com>
2353
2354 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2355 (union ibm_extended_long_double): Define as an array of ieee754_double.
2356 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2357 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2358 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2359 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2367
975569d0
JM
23682013-10-03 Joseph Myers <joseph@codesourcery.com>
2369
d3d23756
JM
2370 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2371 page size instead of calling getpagesize.
2372
975569d0
JM
2373 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2374 (LOCFILE_ALIGN_MASK): Likewise.
2375 (LOCFILE_ALIGN_UP): Likewise.
2376 (LOCFILE_ALIGNED_P): Likewise.
2377 * locale/programs/ld-collate.c (collate_output): Use the new
2378 macros instead of __alignof__ (int32_t).
2379 * locale/weight.h (findidx): Likewise.
2380
b1fe1f2b
OB
23812013-10-03 Ondřej Bílka <neleai@seznam.cz>
2382
2383 [BZ #431]
2384 * manual/string.texi: Fix strncat and wcsncat.
2385
5f855e35
BM
23862013-10-03 Brooks Moses <bmoses@google.com>
2387
2388 [BZ #15915]
2389 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2390 * Makerules: ...here, and adjust associated comments.
2391
3cef6009
WN
23922013-10-02 Will Newton <will.newton@linaro.org>
2393
2394 * malloc/Makefile: Add tst-pvalloc.
2395 * malloc/tst-pvalloc.c: New file.
2396
7815420b
WN
23972013-10-02 Will Newton <will.newton@linaro.org>
2398
2399 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2400 improve test coverage.
2401
4868b204
WN
24022013-10-02 Will Newton <will.newton@linaro.org>
2403
2404 * malloc/Makefile: Add tst-posix_memalign.
2405 * malloc/tst-posix_memalign.c: New file.
2406
29c793b3
EB
24072013-10-01 Eric Blake <eblake@redhat.com>
2408
2409 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2410 Use __THROWNL rather than __THROW on static functions.
2411
fd967522
PM
24122013-09-30 Petr Machata <pmachata@redhat.com>
2413
2414 * elf/elf.h (R_AARCH64_ABS16): New macro.
2415 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2416 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2417 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2418 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2419 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2420 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2421 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2422 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2423 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2424 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2425 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2426 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2427 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2428 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2429 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2430 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2431 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2432 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2433 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2434 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2435 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2436 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2437 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2438 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2439 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2440 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2441 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2442 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2443 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2444 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2445 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2446 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2447 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2448 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2449 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2450 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2451 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2452 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2453 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2454 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2455 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2456 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2457 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2458 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2459 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2460 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2461 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2462 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2463 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2464 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2465 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2466 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2467 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2468 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2469 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2470 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2471 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2472 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2473 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2474 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2475 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2476 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2477 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2478 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2479 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2480 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2481 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2482 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2483 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2484 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2485 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2486 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2487 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2488 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2489 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2490 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2491 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2492 (R_AARCH64_TLSDESC_LDR): Likewise.
2493 (R_AARCH64_TLSDESC_ADD): Likewise.
2494 (R_AARCH64_TLSDESC_CALL): Likewise.
2495
b2179107
AS
24962013-09-30 Andreas Schwab <schwab@suse.de>
2497
2498 [BZ #15048]
2499 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2500 the nss database lookup.
2501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2503
47f28d0a
MF
25042013-09-28 Mike Frysinger <vapier@gentoo.org>
2505
2506 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2507
25082013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2509
2510 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2511 ${Bash-specific parameter/pattern/string} parameter expansion.
2512 * sysdeps/unix/make-syscalls.sh: Likewise.
2513
f4518a17
KK
25142013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2515
2516 * sysdeps/sh/stackguard-macros.h: New file.
2517
dc1a95c7
OB
25182013-09-26 Ondřej Bílka <neleai@seznam.cz>
2519
2520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2522 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2523 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2524 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2525 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2526
5ebbff8f
AZ
25272013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2528
2529 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2530 Fix thread ID register.
2531
4fd2cf9f
JM
25322013-09-25 Joseph Myers <joseph@codesourcery.com>
2533
2534 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2535 [POSIX || UNIX98]: Require rather than permitting all symbols from
2536 <time.h>.
2537 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2538 element of struct sched_param.
2539 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2540 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2541 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2542 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2543 constant.
2544
12c22bc4
OL
25452013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2546
2547 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2548 argument calculation.
2549
a03d8ea7
JM
25502013-09-24 Joseph Myers <joseph@codesourcery.com>
2551
2552 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2553 Expect macro.
2554 [POSIX] (pthread_attr_t): Do not require type.
2555 [POSIX] (pthread_cond_t): Likewise.
2556 [POSIX] (pthread_condattr_t): Likewise.
2557 [POSIX] (pthread_key_t): Likewise.
2558 [POSIX] (pthread_mutex_t): Likewise.
2559 [POSIX] (pthread_mutexattr_t): Likewise.
2560 [POSIX] (pthread_once_t): Likewise.
2561 [POSIX] (pthread_t): Likewise.
2562 [POSIX-based standards] (pthread_atfork): Expect function.
2563
6055173a
JM
25642013-09-24 Joseph Myers <joseph@codesourcery.com>
2565 Richard Sandiford <richard@codesourcery.com>
2566
2567 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2568 (swap_endianness_p): New extern variable.
2569 (set_big_endian): New inline function.
2570 (maybe_swap_uint32): Likewise.
2571 (maybe_swap_uint32_array): Likewise.
2572 (maybe_swap_uint32_obstack): Likewise.
2573 * locale/programs/locfile.c: Include <stdbool.h>.
2574 (swap_endianness_p): New variable.
2575 (add_locale_uint32): Call maybe_swap_uint32.
2576 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2577 (write_locale_data): Call maybe_swap_uint32_array.
2578 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2579 maybe_swap_uint32.
2580 (obstack_int32_grow_fast): Likewise.
2581 (output_weightwc): Call maybe_swap_uint32_obstack.
2582 (collate_output): Likewise.
2583 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2584 (OPT_LITTLE_ENDIAN): Likewise.
2585 (options): Add --little-endian and --big-endian options.
2586 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2587 * locale/programs/locarchive.c: Include "locfile.h".
2588 (GET): New macro.
2589 (SET): Likewise.
2590 (INC): Likewise.
2591 (create_archive): Use the new macros to access fields of
2592 structures directly mapped from or written to locale archives.
2593 (oldlocrecentcmp): Likewise.
2594 (enlarge_archive): Likewise.
2595 (insert_name): Likewise.
2596 (add_alias): Likewise.
2597 (add_locale): Likewise.
2598 (delete_locales_from_archive): Likewise.
2599 (show_archive_content): Likewise.
2600 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2601 locale data.
2602
39bf0bb4
RM
26032013-09-24 Roland McGrath <roland@hack.frob.com>
2604
2605 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2606 http://www.gnu.org/doc/freemanuals.texi.
2607 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2608
f02eed10
WN
26092013-09-24 Will Newton <will.newton@linaro.org>
2610
2611 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2612 macro.
2613
a3a6c312
JM
26142013-09-23 Joseph Myers <joseph@codesourcery.com>
2615
2616 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2617 unsigned char.
2618
107375ac
MR
26192013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2620
2621 * manual/threads.texi (POSIX Threads): Fix a typo.
2622
141f3a77
SP
26232013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2624
303e567a
SP
2625 [BZ #14547]
2626 * string/tst-strcoll-overflow.c: New test case.
2627 * string/Makefile (xtests): Add tst-strcoll-overflow.
2628 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2629 cache if string sizes may cause integer overflow.
2630
141f3a77
SP
2631 [BZ #14547]
2632 * string/strcoll_l.c (coll_seq): New members rule, idx,
2633 save_idx and back_us.
2634 (get_next_seq_nocache): New function.
2635 (do_compare_nocache): New function.
2636 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2637 when malloc fails.
2638
c61b4d41
CD
26392013-09-23 Carlos O'Donell <carlos@redhat.com>
2640
0b1f8e35
CD
2641 [BZ #15754]
2642 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2643 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2644 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2645
c61b4d41
CD
2646 [BZ #15754]
2647 * elf/Makefile (tests): Add tst-ptrguard1.
2648 (tests-static): Add tst-ptrguard1-static.
2649 (tst-ptrguard1-ARGS): Define.
2650 (tst-ptrguard1-static-ARGS): Define.
2651 * elf/tst-ptrguard1.c: New file.
2652 * elf/tst-ptrguard1-static.c: New file.
2653 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2654 * sysdeps/i386/stackguard-macros.h: Likewise.
2655 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2656 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2657 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2658 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2659 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2660 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2661
26622013-09-23 Hector Marco <hecmargi@upv.es>
2663 Ismael Ripoll <iripoll@disca.upv.es>
2664 Carlos O'Donell <carlos@redhat.com>
2665
2666 [BZ #15754]
2667 * sysdeps/generic/stackguard-macros.h: Define
2668 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2669 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2670 Define __pointer_chk_guard_local.
2671 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2672 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2673
f5f4e7b4
VV
26742013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2675
2676 [BZ #15859]
2677 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2678
5bb43a43
AS
26792013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2680
2681 * include/string.h (__ffs): Declare as hidden.
2682 * string/ffs.c (__ffs): Define as hidden.
2683 * sysdeps/i386/ffs.c (__ffs): Likewise.
2684 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2685 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2686 * sysdeps/s390/ffs.c (__ffs): Likewise.
2687 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2688
3ea5be54
AO
26892013-09-20 Alexandre Oliva <aoliva@redhat.com>
2690
ffb89e53
AO
2691 * NEWS: Mention malloc probes.
2692
322dea08
AO
2693 * malloc/arena.c (new_heap): New memory_heap_new probe.
2694 (grow_heap): New memory_heap_more probe.
2695 (shrink_heap): New memory_heap_less probe.
2696 (heap_trim): New memory_heap_free probe.
2697 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2698 (systrim): New memory_sbrk_less probe.
2699 * manual/probes.texi: Document them.
2700
655673f3
AO
2701 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2702 * manual/probes.texi: Document it.
2703
35fed6f1
AO
2704 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2705 (__libc_realloc): Add memory_realloc_retry probe.
2706 (__libc_memalign): Add memory_memalign_retry probe.
2707 (__libc_valloc): Add memory_valloc_retry probe.
2708 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2709 (__libc_calloc): Add memory_calloc_retry probe.
2710 * manual/probes.texi: Document them.
2711
6999d38c
AO
2712 * malloc/arena.c (get_free_list): Add probe
2713 memory_arena_reuse_free_list.
2714 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2715 and memory_arena_reuse.
2716 (arena_get2) [!PER_THREAD]: Likewise.
2717 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2718 memory_arena_reuse_realloc.
2719 * manual/probes.texi: Document them.
2720
0653427f
AO
2721 * malloc/malloc.c (__libc_free): Add
2722 memory_mallopt_free_dyn_thresholds probe.
2723 (__libc_mallopt): Add multiple memory_mallopt probes.
2724 * manual/probes.texi: Document them.
2725
3ea5be54
AO
2726 * malloc/malloc.c: Include stap-probe.h.
2727 (__libc_mallopt): Add memory_mallopt probe.
2728 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2729 * manual/probes.texi: New.
2730 * manual/Makefile (chapters): Add probes.
2731 * manual/threads.texi: Set next node.
2732
e35696c3 27332013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2734
e35696c3
CL
2735 [BZ #15963, #13985]
2736 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2737 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2738 Add `Chinese' to `nan' entry name.
2739
4aafb73c
SP
27402013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2741
2742 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2743 (POLYNOMIAL): Likewise.
2744 (TAYLOR_SINCOS): Likewise.
2745 (TAYLOR_SLOW): Likewise.
2746 (__sin): Use TAYLOR_SINCOS.
2747 (__cos): Likewise.
2748 (slow): Use TAYLOR_SLOW.
2749 (sloww): Likewise.
2750 (bsloww): Likewise.
2751 (csloww): Likewise.
2752
d84f25c7
LD
27532013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2754
2755 * stdlib/strtod_l.c: Fix buffer overrun.
2756
5eea0404
SP
27572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2758
7849ff93
SP
2759 * benchtests/Makefile (bench): Add sincos.
2760 * benchtests/bench-sincos.c: New file.
2761
cfa3c886
SP
2762 * math/libm-test.inc (cos_test_data): New test inputs.
2763 (sin_test_data): Likewise.
2764
b348e1e3
SP
2765 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2766 macro.
2767 (__sin): Use it.
2768 (__cos): Likewise.
2769 (slow1): Likewise.
2770 (slow2): Likewise.
2771 (sloww1): Likewise.
2772 (sloww2): Likewise.
2773 (bsloww1): Likewise.
2774 (bsloww2): Likewise.
2775 (cslow2): Likewise.
2776 (csloww1): Likewise.
2777 (csloww2): Likewise.
2778
6cce25f8
SP
2779 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2780 function.
2781 (__sin): Use it.
2782 (__cos): Likewise.
2783
5eea0404
SP
2784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2785 gotos.
2786 (__cos): Likewise.
2787
9c21573c
MR
27882013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2789
2790 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2791 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2792 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2793 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2794 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2795 * elf/cache.c (print_entry): Handle the new cache flags.
2796
24d22e65
JM
27972013-09-18 Joseph Myers <joseph@codesourcery.com>
2798 Aldy Hernandez <aldyh@redhat.com>
2799
2800 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2801 Change condition to [_SOFT_FLOAT].
2802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2814 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2817 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2818 declaration.
2819
d13ef066
JM
28202013-09-18 Joseph Myers <joseph@codesourcery.com>
2821
2e071de0
JM
2822 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2823 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2824 (__longjmp): Use LOAD_GP to load saved GPRs.
2825 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2826 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2827 (__sigsetjmp): Use SAVE_GP to save GPRs.
2828
d13ef066
JM
2829 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2830 Do not append -msoft-float.
2831 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2832
97a0650b
SP
28332013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2834
2835 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2836
11ca09e9
JM
28372013-09-17 Joseph Myers <joseph@codesourcery.com>
2838
2839 [BZ #15966]
2840 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2841 (_FPU_GETCW): Use initial "__" on variable and field names but not
2842 on macro parameter name.
2843 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2844 parentheses around reference to macro parameter.
2845
08ffcf34
RS
28462013-09-13 Richard Sandiford <richard@codesourcery.com>
2847
2848 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2849 prototype.
2850 (ctype_startup): Use uint32_t in cast and sizeof for
2851 ctype->charnames.
2852
ae7080d3
JL
28532013-09-11 Jia Liu <proljc@gmail.com>
2854
2855 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2856 __daddr_t_defined.
2857 [__FreeBSD__]: Likewise.
2858
5905e7b3
OB
28592013-09-11 Ondřej Bílka <neleai@seznam.cz>
2860
2861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2862 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2863 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2864 (strchr): Remove __strchr_sse42 ifunc selection.
2865 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2866 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2867
b987c776
WN
28682013-09-11 Will Newton <will.newton@linaro.org>
2869
2870 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2871 parameter to RES. Remove hardcoded 1000 value.
2872 * benchtests/bench-skeleton.c (main): Pass RES parameter
2873 to TIMING_INIT and multiply result by 1000.
2874
ddf985af
AZ
28752013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876
2877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2878
ffdd3181
AS
28792013-09-11 Andreas Schwab <schwab@suse.de>
2880
2881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2882 if not defined.
2883 (O_TMPFILE) [__USE_GNU]: Define.
2884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2885 Define.
2886
b73ed247
WN
28872013-09-11 Will Newton <will.newton@linaro.org>
2888
2889 [BZ #15857]
2890 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2891 does not overflow.
2892
55e17aad
WN
28932013-09-11 Will Newton <will.newton@linaro.org>
2894
2895 [BZ #15856]
2896 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2897 does not overflow.
2898
1159a193
WN
28992013-09-11 Will Newton <will.newton@linaro.org>
2900
2901 [BZ #15855]
2902 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2903 does not overflow.
2904
5905e7b3 29052013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2906
2907 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2908 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2911 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2912
cdfc721b
AM
29132013-09-10 Allan McRae <allan@archlinux.org>
2914
aa04af00
AM
2915 [BZ #15748]
2916 * manual/arith.texi (Parsing of Floats): Clarify
2917 cross-reference.
2918
cdfc721b
AM
2919 [BZ #15849]
2920 * manual/install.texi (Running make install): Mention
2921 --enable-pt-chown.
2922 * INSTALL: Regenerated.
2923
95e7cf29
MR
29242013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2925
2926 * csu/init-first.c (_init): Remove the !SHARED condition around
2927 FPU control word initialization.
2928 * elf/dl-support.c (_dl_fpu_control): New variable.
2929 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2930 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2931 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2932 * math/test-fpucw-static.c: New file.
2933 * math/test-fpucw-ieee.c: New file.
2934 * math/test-fpucw-ieee-static.c: New file.
2935 * math/Makefile (tests): Add `test-fpucw-ieee' and
2936 `$(tests-static)'.
2937 (tests-static): New variable.
2938 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2939 dependency to...
2940 [($(build-shared),yes)]
2941 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2942 ... this.
2943 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2944 New dependency.
2945
83e43bf0
AM
29462013-09-09 Allan McRae <allan@archlinux.org>
2947
a9f5ce09
AM
2948 [BZ #15939]
2949 * manual/string.texi (Collation Functions): Fix typo in
2950 strcoll example.
2951 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2952
34829bc2
AM
2953 [BZ #15893]
2954 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2955
3932737d
AM
2956 [BZ #15892]
2957 * libio/memstream.c (open_memstream): Fix memory leak.
2958 * libio/wmemstream.c (open_wmemstream): Likewise.
2959
83e43bf0
AM
2960 [BZ #15895]
2961 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2962
0c66b8e9
WN
29632013-09-09 Will Newton <will.newton@linaro.org>
2964
2965 * malloc/Makefile: Add tst-realloc to tests.
2966 * malloc/tst-realloc.c: New file.
2967
f6b00fd1
AM
29682013-09-09 Allan McRae <allan@archlinux.org>
2969
2970 [BZ #15844]
2971 * COPYING: Update from GNU website to fix FSF address.
2972 * COPYING.LIB: Likewise.
2973
eec55e16
DM
29742013-09-06 David S. Miller <davem@davemloft.net>
2975
2976 * po/zh_TW.po: Update Chinese (traditional) translation from
2977 translation project.
2978
1ecbb381
RS
29792013-09-06 Richard Sandiford <richard@codesourcery.com>
2980 Joseph Myers <joseph@codesourcery.com>
2981
2982 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2983 "localeinfo.h".
2984 (obstack_chunk_alloc): New macro.
2985 (obstack_chunk_free): Likewise.
2986 (record_offset): New function.
2987 (init_locale_data): Likewise.
2988 (align_locale_data): Likewise.
2989 (add_locale_empty): Likewise.
2990 (add_locale_raw_data): Likewise.
2991 (add_locale_raw_obstack): Likewise.
2992 (add_locale_string): Likewise.
2993 (add_locale_wstring): Likewise.
2994 (add_locale_uint32): Likewise.
2995 (add_locale_uint32_array): Likewise.
2996 (add_locale_char): Likewise.
2997 (start_locale_structure): Likewise.
2998 (end_locale_structure): Likewise.
2999 (start_locale_prelude): Likewise.
3000 (end_locale_prelude): Likewise.
3001 (write_locale_data): Take locale_file structure rather than an
3002 iovec.
3003 * locale/programs/locfile.h: Include "obstack.h".
3004 (struct locale_file): Change to store locale file contents instead
3005 of header.
3006 (init_locale_data): New prototype.
3007 (align_locale_data): Likewise.
3008 (add_locale_empty): Likewise.
3009 (add_locale_raw_data): Likewise.
3010 (add_locale_raw_obstack): Likewise.
3011 (add_locale_string): Likewise.
3012 (add_locale_wstring): Likewise.
3013 (add_locale_uint32): Likewise.
3014 (add_locale_uint32_array): Likewise.
3015 (add_locale_char): Likewise.
3016 (start_locale_structure): Likewise.
3017 (end_locale_structure): Likewise.
3018 (start_locale_prelude): Likewise.
3019 (end_locale_prelude): Likewise.
3020 (write_locale_data): Update prototype.
3021 * locale/programs/3level.h (struct TABLE): Remove result field.
3022 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3023 Use new locale_file interface.
3024 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3025 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3026 * locale/programs/ld-address.c (address_output): Use new
3027 locale_file interface.
3028 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3029 NO_ADD_LOCALE.
3030 (collate_finish): Don't call collseq_table_finalize.
3031 (collate_output): Use new locale_file interface.
3032 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3033 in file.
3034 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3035 (TABLE): Move defines earlier in file.
3036 (ELEMENT): Likewise.
3037 (DEFAULT): Likewise.
3038 (wctrans_table_add): Move macro and inline function earlier in
3039 file.
3040 (struct wctype_table): Move type earlier in file.
3041 (add_locale_wctype_table): New static prototype.
3042 (struct locale_ctype_t): Use logical types instead of struct iovec
3043 pointers for members.
3044 (ctype_output): Use new locale_file interface.
3045 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3046 new locale_file interface.
3047 (allocate_arrays): Update for use of new locale_file interface.
3048 * locale/programs/ld-identification.c (identification_output): Use
3049 new locale_file interface.
3050 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3051 * locale/programs/ld-messages.c (messages_output): Likewise.
3052 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3053 * locale/programs/ld-name.c (name_output): Likewise.
3054 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3055 * locale/programs/ld-paper.c (paper_output): Likewise.
3056 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3057 * locale/programs/ld-time.c (time_output): Likewise.
3058
e029e2e5
AZ
30592013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3060
3061 * benchtests/Makefile: Add memrchr benchmark.
3062 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3063 benchmark as memrchr.
3064 * benchtests/bench-memrchr-ifunc.c: New file.
3065 * benchtests/bench-memrchr.c: New file.
3066
bbf6e8e4
WN
30672013-09-06 Will Newton <will.newton@linaro.org>
3068
3069 * benchtests/Makefile (string-bench): Add memcpy.
3070
6c82a2f8
CD
30712013-09-05 Carlos O'Donell <carlos@redhat.com>
3072 Cong Wang <amwang@redhat.com>
3073
3074 * sysdeps/unix/sysv/linux/bits/in.h
3075 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3076 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3077 before __USE_KERNEL_IPV6_DEFS uses.
3078 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3079 IPPROTO_BEETPH.
3080 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3081 sockaddr_in6, or ipv6_mreq.
3082
5430fc65
AZ
30832013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3084
3085 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3086 memory access for final bytes in some large inputs.
3087 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3088
4660856c
AZ
30892013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3090
3091 * string/test-memrchr.c: New file.
3092 * string/test-memrchr-ifunc.c: New file.
3093 * string/Makefile: Add new memrchr testcase.
3094
bb8ea713
MF
30952013-09-05 Mike Frysinger <vapier@gentoo.org>
3096
3097 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3098 fanotify_init returns EPERM.
3099
b92a20b5
JM
31002013-09-04 Joseph Myers <joseph@codesourcery.com>
3101
3102 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3103 errors.
3104 (top level): Treat second token from macro or constant entries for
3105 allowed headers as allowed.
3106 * include/complex.h: Condition internal declarations on
3107 [!_ISOMAC].
3108 * include/fenv.h: Condition include of <stdbool.h> and internal
3109 declarations on [!_ISOMAC].
7447ccd9
CL
3110
31112013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3112
3e181dda 3113 [BZ #15923]
7447ccd9
CL
3114 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3115
3f2e46a4
JM
31162013-09-04 Joseph Myers <joseph@codesourcery.com>
3117
3118 * configure.in (--enable-versioning): Remove configure option.
3119 (libc_cv_asm_symver_directive): Remove configure test.
3120 (libc_cv_ld_version_script_option): Likewise.
3121 (VERSIONING): Remove variable and AC_SUBST.
3122 (DO_VERSIONING): Remove AC_DEFINE.
3123 * configure: Regenerated.
3124 * config.h.in (DO_VERSIONING): Remove macro.
3125 * Makerules [$(versioning) = yes]: Change conditionals to
3126 [$(build-shared) = yes].
3127 * config.make.in (versioning): Remove variable.
3128 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3129 [$(build-shared) = yes].
3130 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3131 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3132 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3133 [$(build-shared) = yes].
3134 * extra-lib.mk [$(versioning) = yes]: Likewise.
3135 * hurd/Makefile [$(versioning) = yes]: Likewise.
3136 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3137 [SHARED].
3138 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3139 [SHARED].
3140 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3141 [SHARED && !NO_HIDDEN].
3142 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3143 [SHARED].
3144 [SHARED && DO_VERSIONING]: Likewise..
3145 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3146 [$(build-shared) = yes].
3147 * manual/install.texi (--disable-versioning): Remove
3148 documentation.
3149 * INSTALL: Regenerated.
3150 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3151 to [SHARED].
3152 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3153 [$(build-shared) = yes].
3154 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3155 * sysdeps/i386/i686/multiarch/strstr-c.c
3156 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3157 [SHARED && !NO_HIDDEN].
3158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3159 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3160 * sysdeps/powerpc/powerpc32/dl-machine.c
3161 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3162 * sysdeps/powerpc/powerpc32/sysdep.h
3163 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3164 to [SHARED && PIC && !NO_HIDDEN].
3165 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3166 conditional to [SHARED].
3167
44558701
WN
31682013-09-04 Will Newton <will.newton@linaro.org>
3169
3170 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3171 * benchtests/bench-string.h: Include bench-timing.h instead
3172 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3173 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3174 call to HP_TIMING_DIFF_INIT.
3175 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3176 instead of hp-timing.h macros.
3177 * benchtests/bench-memchr.c: Likewise.
3178 * benchtests/bench-memcmp.c: Likewise.
3179 * benchtests/bench-memcpy.c: Likewise.
3180 * benchtests/bench-memmem.c: Likewise.
3181 * benchtests/bench-memmove.c: Likewise.
3182 * benchtests/bench-memset.c: Likewise.
3183 * benchtests/bench-rawmemchr.c: Likewise.
3184 * benchtests/bench-strcasecmp.c: Likewise.
3185 * benchtests/bench-strcasestr.c: Likewise.
3186 * benchtests/bench-strcat.c: Likewise.
3187 * benchtests/bench-strchr.c: Likewise.
3188 * benchtests/bench-strcmp.c: Likewise.
3189 * benchtests/bench-strcpy.c: Likewise.
3190 * benchtests/bench-strcpy_chk.c: Likewise.
3191 * benchtests/bench-strlen.c: Likewise.
3192 * benchtests/bench-strncasecmp.c: Likewise.
3193 * benchtests/bench-strncat.c: Likewise.
3194 * benchtests/bench-strncmp.c: Likewise.
3195 * benchtests/bench-strncpy.c: Likewise.
3196 * benchtests/bench-strnlen.c: Likewise.
3197 * benchtests/bench-strpbrk.c: Likewise.
3198 * benchtests/bench-strrchr.c: Likewise.
3199 * benchtests/bench-strspn.c: Likewise.
3200 * benchtests/bench-strstr.c: Likewise.
3201
cae16d66
WN
32022013-09-04 Will Newton <will.newton@linaro.org>
3203
3204 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3205
ffa3cd7f
JM
32062013-09-03 Joseph Myers <joseph@codesourcery.com>
3207
3208 [BZ #15427]
3209 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3210 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3211 * math/libm-test.inc (lgamma_test_data): Add more tests.
3212 * sysdeps/i386/fpu/libm-test-ulps: Update.
3213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3214
8f02859f
OB
32152013-09-03 Ondřej Bílka <neleai@seznam.cz>
3216
3217 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3219 Add ifunc.
3220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3221 Add strcmp-sse2-unaligned
3222 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3223
18d43716
MF
32242013-09-02 Mike Frysinger <vapier@gentoo.org>
3225
3226 * Versions.def (libc): Add GLIBC_2.19.
3227
ac444012
MF
32282013-09-02 Mike Frysinger <vapier@gentoo.org>
3229
3230 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3231 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3232
b7835e32
JM
32332013-09-02 Joseph Myers <joseph@codesourcery.com>
3234
3235 [BZ #14155]
3236 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3237 intermediate calculations in recurrence.
3238 (__ieee754_ynf): Likewise.
3239 * math/libm-test.inc (jn_test_data): Do not allow spurious
3240 underflow exception. Add more tests.
3241 (yn_test_data): Add more tests.
3242 * sysdeps/i386/fpu/libm-test-ulps: Update.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3244
8220f4f0
OB
32452013-09-02 Ondřej Bílka <neleai@seznam.cz>
3246
3247 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3248
f24a6d08
OB
32492013-08-30 Ondřej Bílka <neleai@seznam.cz>
3250
3251 * csu/init-first.c: Fix then/than typos.
3252 * locale/programs/ld-collate.c: Likewise.
3253 * locale/programs/linereader.h: Likewise.
3254 * manual/charset.texi: Likewise.
3255 * manual/filesys.texi: Likewise.
3256 * manual/stdio.texi: Likewise.
3257 * manual/string.texi: Likewise.
3258 * stdlib/fmtmsg.c: Likewise.
3259 * sysdeps/i386/stpncpy.S: Likewise.
3260 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3261 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3262 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3263 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3264
382466e0
OB
32652013-08-30 Ondřej Bílka <neleai@seznam.cz>
3266
3267 * elf/dl-open.c: Fix typos.
3268 * iconvdata/gbbig5.c: Likewise.
3269 * iconvdata/iso-2022-jp.c: Likewise.
3270 * iconv/gconv_int.h: Likewise.
3271 * iconv/loop.c: Likewise.
3272 * nis/rpcsvc/nis.h: Likewise.
3273 * resolv/ns_name.c: Likewise.
3274 * stdio-common/vfscanf.c: Likewise.
3275 * streams/stropts.h: Likewise.
3276 * sunrpc/rpc_thread.c: Likewise.
3277 * sysdeps/i386/strpbrk.S: Likewise.
3278 * sysdeps/ieee754/k_standard.c: Likewise.
3279 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3281 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3282 * sysdeps/mach/hurd/profil.c: Likewise.
3283 * sysdeps/s390/dl-procinfo.h: Likewise.
3284 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3285 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3286 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3287 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3289
0186c6e9
OB
32902013-08-30 Ondřej Bílka <neleai@seznam.cz>
3291
3292 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3294
d4e16af1
OB
32952013-08-29 Ondřej Bílka <neleai@seznam.cz>
3296
3297 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3298 aix specific files.
3299 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3300 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3301 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3302 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3303 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3304 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3305 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3306 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3307
88335980
TS
33082013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3309 Roland McGrath <roland@hack.frob.com>
3310
3311 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3312 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3313
ed479b02
ST
33142013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3315
3316 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3317 __executable_start symbol instead of _start.
3318
f1cc4c86
TS
33192013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3320
d821f07c
TS
3321 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3322 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3323 Move macros to...
3324 * sysdeps/gnu/ldsodefs.h: ... this new file.
3325
c54290cf
TS
3326 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3327 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3328 instead of ELFOSABI_LINUX.
3329
0007fc9b 3330 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3331 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3332 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3333 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3334 Likewise.
3335 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3336 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3338 Likewise.
3339 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3340 (ibm_extended_long_double): Add ieee_nan member.
3341 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3342 (do_test): New function.
3343
f1cc4c86
TS
3344 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3345 TEST_TRUNC.
3346 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3347 functions, renamed from truncdfsf_test, trunctfsf_test,
3348 trunctfdf_test.
3349 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3350 functions.
3351 (do_test): Run all these.
3352
6f65e668
OB
33532013-08-29 Ondřej Bílka <neleai@seznam.cz>
3354
3355 * argp/argp-help.c: Fix typos.
3356 * argp/argp-parse.c: Likewise.
3357 * debug/backtracesyms.c: Likewise.
3358 * elf/elf.h: Likewise.
3359 * malloc/malloc.c: Likewise.
3360 * nis/nis_print.c: Likewise.
3361 * resolv/res_comp.c: Likewise.
3362 * stdlib/stdlib.h: Likewise.
3363 * sunrpc/clnt_tcp.c: Likewise.
3364 * sunrpc/clnt_udp.c: Likewise.
3365 * sunrpc/clnt_unix.c: Likewise.
3366 * sysdeps/unix/bsd/ptsname.c: Likewise.
3367 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3368 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3370 Likewise.
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3372 Likewise.
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3374 Likewise.
6f65e668
OB
3375 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3376
3a309239
SP
33772013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3378
3379 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3381
3b813b29
MF
33822013-08-27 Mike Frysinger <vapier@gentoo.org>
3383
3384 [BZ #15897]
3385 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3386 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3387 ($(objpfx)bug-dl-leaf): New rule.
3388 ($(objpfx)bug-dl-leaf.so): Likewise.
3389 ($(objpfx)bug-dl-leaf.out): Likewise.
3390 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3391 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3392 * dlfcn/bug-dl-leaf.c: New test.
3393 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3394 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3395 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3396 (dlclose): Likewise.
3397 (dlmopen): Likewise.
3398
8cc3269f
RM
33992013-08-27 Roland McGrath <roland@hack.frob.com>
3400
7f9d0034
RM
3401 * include/netdb.h [!_ISOMAC]:
3402 Don't include <tls.h>.
3403 (h_errno, __libc_h_errno): Move declaration and macros out of
3404 [_LIBC_REENTRANT].
3405
fb431262
RM
3406 * include/resolv.h [_RESOLV_H_]:
3407 Don't include <tls.h>.
3408 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3409 * resolv/res_libc.c: Don't include <tls.h>.
3410 (_res): Use __attribute__ ((nocommon)) in place of
3411 __attribute__ ((section (".bss"))).
3412
bd81123a
RM
3413 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3414 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3415
c4e42566
RM
3416 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3417
f890a59b
RM
3418 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3419 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3420
3421 * resolv/res_mkquery.c: Include <sys/time.h>.
3422
5d1f0a09
RM
3423 * inet/ifreq.c: Moved to ...
3424 * sysdeps/unix/ifreq.c: ... here.
3425 * inet/ifreq.c: New file, true stub version.
3426
6fcf28b3
RM
3427 * socket/sa_len.c: New file.
3428 * socket/Makefile (aux): Add it.
3429 * sysdeps/unix/sysv/linux/Makefile
3430 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3431 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3432 and #include <socket/sa_len.c>.
3433 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3434 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3435
e041fb8b
RM
3436 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3437 * bits/socket.h: ... here.
3438
8cc3269f
RM
3439 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3440 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3441 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3442
5d228a43
AS
34432013-08-27 Andreas Schwab <schwab@suse.de>
3444
45b8accc
AS
3445 [BZ #15736]
3446 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3447 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3448 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3449 * string/test-strcasecmp.c (test_main): Run tests in several
3450 locales.
3451 * string/test-strncasecmp.c (test_main): Likewise.
3452
5d228a43
AS
3453 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3454 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3455 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3457 (__strncasecmp_ssse3) [PIC]: Likewise.
3458
59d112a4
RM
34592013-08-26 Roland McGrath <roland@hack.frob.com>
3460
53234cc3
RM
3461 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3462
59d112a4
RM
3463 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3464 instead of explicitly declaring xdecrypt.
3465 * nis/nss_nis/nis-publickey.c: Likewise.
3466
595aba70
SP
34672013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3468
3469 [BZ #15890]
3470 * nscd/aicache.c: Include res_hconf.h.
3471 (addhstaiX): Initialize res_hconf.
3472
ffabd393
AS
34732013-08-26 Andreas Schwab <schwab@suse.de>
3474
3475 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3476 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3477
e0a69f5c
SP
34782013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3479
3480 * nscd/aicache.c (addhstaiX): Fix indentation.
3481
8c12f01d
MF
34822013-08-25 Mike Frysinger <vapier@gentoo.org>
3483
3484 * configure.ac: Quote $build_pt_chown test.
3485 * configure: Regenerated.
3486
8fe89494
JM
34872013-08-23 Joseph Myers <joseph@codesourcery.com>
3488
3489 [BZ #15532]
3490 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3491 * math/s_cexpf.c (__cexpf): Likewise.
3492 * math/s_cexpl.c (__cexpl): Likewise.
3493 * math/libm-test.inc (cexp_test_data): Correct expected return
3494 value for NaN + i0. Add another test.
3495
75b181d6
DM
34962013-08-22 David S. Miller <davem@davemloft.net>
3497
3498 * po/ca.po: Update Catalan translation from translation project.
936241e4 3499 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3500
acd06bb1
JM
35012013-08-21 Joseph Myers <joseph@codesourcery.com>
3502
3503 [BZ #15797]
3504 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3505 is infinite, not alongside NaN test.
3506 * math/s_fdimf.c (__fdimf): Likewise.
3507 * math/s_fdiml.c (__fdiml): Likewise.
3508 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3509 errno is unchanged.
3510
c0c3f78a
OB
35112013-08-21 Ondřej Bílka <neleai@seznam.cz>
3512
3513 * argp/argp-help.c: Fix typos.
3514 * crypt/speeds.c: Likewise.
3515 * csu/check_fds.c: Likewise.
3516 * elf/dl-load.c: Likewise.
3517 * elf/dl-open.c: Likewise.
3518 * elf/reldep3.c: Likewise.
3519 * elf/reldep.c: Likewise.
3520 * elf/sprof.c: Likewise.
3521 * iconv/iconv_charmap.c: Likewise.
3522 * iconv/skeleton.c: Likewise.
3523 * iconv/strtab.c: Likewise.
3524 * io/lockf64.c: Likewise.
3525 * libio/libioP.h: Likewise.
3526 * resolv/gai_notify.c: Likewise.
3527 * resolv/ns_name.c: Likewise.
3528 * resolv/ns_samedomain.c: Likewise.
3529 * resolv/res_send.c: Likewise.
3530 * stdlib/random.c: Likewise.
3531 * sunrpc/rpc/xdr.h: Likewise.
3532 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3540 * sysdeps/mach/hurd/check_fds.c: Likewise.
3541 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3542 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3543 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3544 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3545 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3546 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3547 * sysdeps/pthread/aio_notify.c: Likewise.
3548 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3549 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3550 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3552 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3553
46ed1038
LD
35542013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3555
3556 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3557 version if bit_Slow_SSE4_2 is set.
3558 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3560
d400dcac
AZ
35612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3562
3563 [BZ #15867]
3564 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3565 trampoline stack frame information.
3566 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3568 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3569 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3570 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3571 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3572 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3573 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3574 sa_flags value.
3575 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3576 interrupting a syscall and set with option SA_SIGINFO.
3577
42c8fdd8
JM
35782013-08-20 Joseph Myers <joseph@codesourcery.com>
3579
c980f2f4
JM
3580 [BZ #15531]
3581 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3582 argument is infinite.
3583 * math/s_cprojf.c (__cprojf): Likewise.
3584 * math/s_cprojl.c (__cprojl): Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3586 * math/libm-test.inc (cproj_test_data): Add more tests.
3587
0716c4fc
JM
3588 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3589
42c8fdd8
JM
3590 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3591 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3592 size. Use __ffs to determine corresponding shift.
3593
b31469d0
JM
35942013-08-20 Joseph Myers <joseph@codesourcery.com>
3595 Roland McGrath <roland@hack.frob.com>
3596
3597 * Makefile (INSTALL): Remove trailing blank lines from output of
3598 makeinfo.
3599
4e39af6e
AK
36002013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3601
3602 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3603 Align 32 bit compat elf_greg to 8 bytes.
3604
f315524e
AA
36052013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3606
3607 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3608
1326ba1a
SP
36092013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3610
3611 * string/strcoll_l.c (coll_seq): New structure.
3612 (get_next_seq_cached): New function.
3613 (get_next_seq): New function.
3614 (do_compare): New function.
3615 (STRCOLL): Use GNU style definition. Simplify implementation
3616 by using get_next_seq, get_next_seq_cached and do_compare.
3617
91ce4085
FW
36182013-08-16 Florian Weimer <fweimer@redhat.com>
3619
3620 [BZ #14699]
3621 CVE-2013-4237
3622 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3623 member.
3624 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3625 member.
3626 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3627 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3628 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3629 conditional.
3630 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3631 GETDENTS_64BIT_ALIGNED.
3632 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3633 * manual/filesys.texi (Reading/Closing Directory): Document
3634 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3635 strongly.
3636 * manual/conf.texi (Limits for Files): Add portability note to
3637 NAME_MAX, PATH_MAX.
3638 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3639
ca0a6bc4
AS
36402013-08-13 Andreas Schwab <schwab@suse.de>
3641
3642 [BZ #15749]
3643 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3644 of fabs.
3645 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3646 LDBL_MAX_EXP >= 16384]: Add tests for it.
3647
6c1fd795
DM
36482013-08-12 David S. Miller <davem@davemloft.net>
3649
3650 * version.h (RELEASE): Set to "development".
3651 (VERSION): Set to "2.18.90".
3652 * NEWS: Add 2.19 section.
3653
31ad488d
DM
36542013-08-03 David S. Miller <davem@davemloft.net>
3655
3656 * po/ko.po: Update Korean translation from translation project.
3657
db24e684
DM
36582013-08-01 David S. Miller <davem@davemloft.net>
3659
3660 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3661 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3662 Bilka.
3663
f723285b
DM
36642013-07-30 David S. Miller <davem@davemloft.net>
3665
3666 * po/fr.po: Update French translation from translation project.
3667
3cbc52db
DM
36682013-07-28 David S. Miller <davem@davemloft.net>
3669
30bbc0cc
DM
3670 * po/cs.po: Update Czech translation from translation project.
3671
3cbc52db
DM
3672 * po/sv.po: Update Swedish translation from translation project.
3673
d492e6d0
DM
36742013-07-27 David S. Miller <davem@davemloft.net>
3675
f1a7f492
DM
3676 * po/eo.po: Update Esperanto translation from translation project.
3677
90e62a4a
DM
3678 * po/vi.po: Update Vietnamese translation from translation project.
3679
d492e6d0
DM
3680 * po/de.po: Update German translation from translation project.
3681
d4baa62d
DM
36822013-07-26 David S. Miller <davem@davemloft.net>
3683
641aa7b4
DM
3684 * po/bg.po: Update Bulgarian translation from translation project.
3685
d4baa62d
DM
3686 * po/nl.po: Update Dutch translation from translation project.
3687 * po/pl.po: Update Polish translation from translation project.
3688 * po/ru.po: Update Russian translation from translation project.
3689
61a9dcb9
DM
36902013-07-24 David S. Miller <davem@davemloft.net>
3691
3692 * po/libc.pot: Update.
3693
7b1f8b58
AZ
36942013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3695
3696 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3697 variable page size.
3698 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3700 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3701
a8fc7a03
AK
37022013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3703
3704 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3705
e4608715
CD
37062013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3707 Andreas Schwab <schwab@suse.de>
3708 Roland McGrath <roland@hack.frob.com>
3709 Joseph Myers <joseph@codesourcery.com>
3710 Carlos O'Donell <carlos@redhat.com>
3711
3712 [BZ #15755]
3713 * config.h.in: Define HAVE_PT_CHOWN.
3714 * config.make.in (build-pt-chown): New variable.
3715 * configure.in (--enable-pt_chown): New configure option.
3716 * configure: Regenerate.
3717 * login/Makefile: Include Makeconfig. Build pt_chown only if
3718 build-pt-chown is enabled.
3719 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3720 pt_chown to fix pty ownership.
3721 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3722 CLOSE_ALL_FDS.
3723 * manual/install.texi (Configuring and compiling): Mention
3724 --enable-pt_chown. Add @findex for grantpt.
3725 * INSTALL: Regenerate.
3726
da2d62df
DM
37272013-07-20 David S. Miller <davem@davemloft.net>
3728
3729 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3730 difference between 32-bit and 64-bit.
3731
d7e06450
CD
37322013-07-15 Carlos O'Donell <carlos@redhat.com>
3733
3734 [BZ #15711]
3735 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3736 Avoid system header dependency with -ffreestanding.
3737 ($(objpfx)bits/syscall%d): Likewise.
3738
f959cfd7
DM
37392013-07-13 David S. Miller <davem@davemloft.net>
3740
3741 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3742 underflows from atanl/atan2l due to bug 15319.
3743 (casinh_test_data): Likewise.
3744
c61f8513
DM
37452013-07-07 David S. Miller <davem@davemloft.net>
3746
3747 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3748
72c90ed0
JA
37492013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3750
3751 * sysdeps/i386/fpu/libm-test-ulps: Update.
3752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3753
52dfbe13
SP
37542013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3755
3756 * configure.in (--enable-lock-elision): Fix message text.
3757 * INSTALL: Regenerate.
3758 * configure: Regenerate.
3759
3f169543
AZ
37602013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3761
3762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3763
521c6785
AJ
37642013-07-03 Andreas Jaeger <aj@suse.de>
3765
3766 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3767 define.
3768 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3769 (ptrace_peeksiginfo_args): Add.
3770 (__ptrace_peeksiginfo_flags): Add.
3771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3772 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3774
d2cc15cb
AM
37752013-07-03 Allan McRae <allan@archlinux.org>
3776
3777 * sysdeps/i386/fpu/libm-test-ulps: Update.
3778
3aaeeca7
DM
37792013-07-02 David S. Miller <davem@davemloft.net>
3780
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782
5314ed1a
MT
37832013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3784
3785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3786
67338156
JM
37872013-07-02 Joseph Myers <joseph@codesourcery.com>
3788
3789 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3791
1717da59
AK
37922013-07-02 Andi Kleen <ak@linux.intel.com>
3793
3794 * config.h.in (ENABLE_LOCK_ELISION): Add.
3795 * configure.in (--enable-lock-elision): Add option.
3796 * manual/install.texi: Document --enable lock elision.
3797 * configure: Regenerate
3798 * INSTALL: Regenerate.
3799
1c81621c
L
38002013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3803 SSE4.2 strcasecmp for libc.a.
3804 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3805
77f01ab5
JM
38062013-07-02 Joseph Myers <joseph@codesourcery.com>
3807
3808 [BZ #13304]
3809 * soft-fp/op-common.h (_FP_FMA): New macro.
3810 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3811 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3812 (_FP_MUL_MEAT_1_imm): ... here.
3813 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3814 (_FP_MUL_MEAT_1_wide): ... here.
3815 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3816 (_FP_MUL_MEAT_1_hard): ... here.
3817 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3818 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3819 (_FP_MUL_MEAT_2_wide): ... here.
3820 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3821 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3822 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3823 (_FP_MUL_MEAT_2_gmp): ... here.
3824 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3825 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3826 (_FP_MUL_MEAT_4_wide): ... here.
3827 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3828 (_FP_MUL_MEAT_4_gmp): ... here.
3829 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3830 (_FP_WFRACBITS_DW_S): Likewise.
3831 (_FP_WFRACXBITS_DW_S): Likewise.
3832 (_FP_HIGHBIT_DW_S): Likewise.
3833 (FP_FMA_S): Likewise.
3834 (_FP_FRAC_HIGH_DW_S): Likewise.
3835 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3836 (_FP_WFRACBITS_DW_D): Likewise.
3837 (_FP_WFRACXBITS_DW_D): Likewise.
3838 (_FP_HIGHBIT_DW_D): Likewise.
3839 (FP_FMA_D): Likewise.
3840 (_FP_FRAC_HIGH_DW_D): Likewise.
3841 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3842 (_FP_WFRACBITS_DW_E): Likewise.
3843 (_FP_WFRACXBITS_DW_E): Likewise.
3844 (_FP_HIGHBIT_DW_E): Likewise.
3845 (FP_FMA_E): Likewise.
3846 (_FP_FRAC_HIGH_DW_E): Likewise.
3847 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3848 (_FP_WFRACBITS_DW_Q): Likewise.
3849 (_FP_WFRACXBITS_DW_Q): Likewise.
3850 (_FP_HIGHBIT_DW_Q): Likewise.
3851 (FP_FMA_Q): Likewise.
3852 (_FP_FRAC_HIGH_DW_Q): Likewise.
3853 * soft-fp/fmasf4.c: New file.
3854 * soft-fp/fmadf4.c: Likewise.
3855 * soft-fp/fmatf4.c: Likewise.
3856
6308fd9a
LD
38572013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3858
3859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3860 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3861 Silvermont.
3862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3863 macro.
3864 (index_Slow_SSE4_2): Likewise.
3865 (index_Prefer_PMINUB_for_stringop): Likewise.
3866 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3867 bit_Slow_SSE4_2 is set.
3868 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3869 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3870
89cd9569
RA
38712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3872
3873 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3874 rtld_global._dl_hwcap2.
3875 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3876 POWER8.
3877 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3878 POWER8 feature descriptions defined in _dl_hwcap2.
3879 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3880 string handling for POWER8 feature bits.
3881 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3882 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3883 _dl_powerpc_cap_flags.
3884 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3885 * sysdeps/powerpc/rtld-global-offsets.sym
3886 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3887 _dl_hwcap2 in the rtld_global_ro structure.
3888
1ae8bfe0
RA
38892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3890
3891 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3892 hardware capabilities in support of AT_HWCAP2.
3893 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3894 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3895 GLRO(dl_hwcap2).
3896 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3897 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3898 explicitly the unknown a_type display mechanism is used.
3899 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3900 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3901 struct member.
3902 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3903 to macro prototype for AT_HWCAP2 support.
3904 * sysdeps/i386/dl-procinfo.h: Likewise.
3905 * sysdeps/s390/dl-procinfo.h: Likewise.
3906 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3907 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3908 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3909 return -1 for unknown a_type display fallback.
3910 * sysdeps/sparc/dl-procinfo.h: Likewise.
3911 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3912 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3913
8fbec010
JM
39142013-06-28 Joseph Myers <joseph@codesourcery.com>
3915
3916 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3917 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3918
0432680e
PY
39192013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3920
3921 [BZ #12492]
3922 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3923 mprotect making __stack_prot writable.
3924
ce61a2ad
NF
39252013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3926 Joseph Myers <joseph@codesourcery.com>
3927
3928 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3929 as being properly aligned.
3930
f91f1c0f
MR
39312013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3932
3d0f5d0c
MR
3933 * dlfcn/modstatic5.c: New file.
3934 * dlfcn/tststatic5.c: New file.
3935 * dlfcn/Makefile (tests): Add tststatic5.
3936 (tests-static): Likewise.
3937 (modules-names): Add modstatic5.
3938 (tststatic5-ENV): New variable.
3939 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3940
f91f1c0f
MR
3941 [BZ #15022]
3942 * elf/dl-support.c (_dl_main_map): New variable.
3943 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3944 (_dl_nns, _dl_load_adds): Set to 1.
3945 (_dl_initial_searchlist): Refer to _dl_main_map.
3946 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3947 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3948 call to _dl_get_origin.
3949 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3950 around call_map.
3951 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3952 * dlfcn/modstatic3.c: New file.
3953 * dlfcn/tststatic3.c: New file.
3954 * dlfcn/tststatic4.c: New file.
3955 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3956 (tests-static): Likewise.
3957 (modules-names): Add modstatic3.
3958 (tststatic3-ENV, tststatic4-ENV): New variables.
3959 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3960 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3961
cbe7d24b
JM
39622013-06-26 Joseph Myers <joseph@codesourcery.com>
3963
3964 * configure.in (CC): Require GCC version 4.4 or later.
3965 * configure: Regenerated.
3966 * manual/install.texi (Tools for Compilation): Update GCC version
3967 requirement.
3968 * INSTALL: Regenerated.
3969
11b8a0e1
LD
39702013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3971
3972 [BZ #15674]
bb5bb87c
L
3973 * string/test-memcmp.c (check2): New.
3974 (main): Call check2.
3975
11b8a0e1
LD
3976 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3977
b0037103
MR
39782013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3979
3980 [BZ #15022]
3981 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3982 over to...
3983 (dl_open_worker) [!SHARED]: ... here.
3984
c18c701d
RA
39852013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3986
3987 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3988
1d17fa5f
RH
39892013-06-25 Richard Henderson <rth@redhat.com>
3990
3991 * locale/programs/locarchive.c: Include <libc-internal.h>
3992
8fcb833a
JM
39932013-06-25 Joseph Myers <joseph@codesourcery.com>
3994
3995 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3996 trailing whitespace removed.
3997
17db6e8d
MF
39982013-06-24 Mike Frysinger <vapier@gentoo.org>
3999
4000 [BZ #10283]
17db6e8d
MF
4001 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4002 * locale/programs/locarchive.c: Include libc-mmap.h.
4003 (prepare_address_space): Take two new outputs (the mmap base and len).
4004 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4005 values.
4006 (create_archive): Declare new mmap base and len values for
4007 prepare_address_space, and store the result in ah.
4008 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4009 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4010 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4011 Declare new mmap base and len values for
4012 prepare_address_space, and store the result in new_ah.
4013 (open_archive): Declare new mmap base and len values for
4014 prepare_address_space, and store the result in ah.
4015 (close_archive): If ah->mmap_base is not NULL, use that and
4016 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4017 * sysdeps/generic/libc-mmap.h: New file.
4018
d605071e
MF
40192013-06-24 Mike Frysinger <vapier@gentoo.org>
4020
4021 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4022 (ALIGN_UP): Likewise.
4023 (PTR_ALIGN_DOWN): Likewise.
4024 (PTR_ALIGN_UP): Likewise.
4025
2f063a6e
RA
40262013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4027
4028 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4029 entry mapped to PPC_PLATFORM_POWER8.
4030 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4031 POWER8.
4032 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4033 (_dl_string_platform): Add case for exporting platform position for
4034 POWER8.
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4036 search path to sysdeps/powerpc/powerpc32/power8 directory.
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4038 search path to sysdeps/powerpc/powerpc64/power8 directory.
4039 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4040 power7 directories.
4041 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4042 power7 directories.
4043
a31ee4b3
SP
40442013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4045
a74ca98f
SP
4046 * INSTALL: Regenerate.
4047
a31ee4b3
SP
4048 * nscd/connections.c (nscd_init): Fix comment.
4049
695c378f
JM
40502013-06-22 Joseph Myers <joseph@codesourcery.com>
4051
d8412221
JM
4052 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4053
695c378f
JM
4054 [BZ #15667]
4055 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4056 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4057
d1d54715
MR
40582013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4059
4060 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4061 DL_DST_REQ_STATIC.
4062 (DL_DST_REQ_STATIC): Remove macro.
4063
8fdda7af
JM
40642013-06-21 Joseph Myers <joseph@codesourcery.com>
4065
4066 [BZ #7006]
4067 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4068 with a shift of 0 bits.
4069
f3bc5e5a
MR
40702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4071
4072 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4073 $(tststatic-ENV).
4074
be09e8c9
KK
40752013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4076
4077 [BZ #15655]
4078 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4079
85c2e611
AZ
40802013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081
4082 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4083 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4084 accepts -fno-tree-loop-distribute-patterns.
4085 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4086 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4087 recursive call.
4088 * string/memset.c (memset): Likewise.
4089 * string/test-memmove.c (simple_memmove): Disable loop transformation
4090 to library calls.
4091 * string/test-memset.c (simple_memset): Likewise.
4092 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4093 * benchtests/bench-memset.c (simple_memset): Likewise.
4094 * configure: Regenerated.
4095
c91e0825
JM
40962013-06-20 Joseph Myers <joseph@codesourcery.com>
4097
b8c792af
JM
4098 * math/test-misc.c (main): Ignore fesetround failure when failures
4099 of subsequent rounding tests would be ignored.
4100
c91e0825
JM
4101 [BZ #15654]
4102 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4103 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4104 * math/fegetenv.c (__fegetenv): Return 0.
4105 * math/fegetexcept.c (fegetexcept): Return 0.
4106 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4107 FE_TONEAREST.
4108 * math/feholdexcpt.c (feholdexcept): Return 0.
4109 * math/fesetenv.c (__fesetenv): Return 0.
4110 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4111 argument FE_TONEAREST.
4112 * math/feupdateenv.c (__feupdateenv): Return 0.
4113 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4114
bfcacbde
RM
41152013-06-18 Roland McGrath <roland@hack.frob.com>
4116
4117 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4118 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4119 ($(objpfx)rtld-%.os rules): Use them.
4120
e55a9b25
AZ
41212013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4122
4123 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4124 fields.
4125
346d65b3
RM
41262013-06-17 Roland McGrath <roland@hack.frob.com>
4127
12086fb4
RM
4128 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4129 length of target pattern, then descending length of dependency pattern.
4130 * configure.in (AWK): Require gawk 3.1.2 or newer.
4131 * manual/install.texi (Tools for Compilation): Say that we do.
4132 * configure: Regenerated.
4133
346d65b3
RM
4134 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4135 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4136 * scripts/sysd-rules.awk: ... this new script.
4137 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4138 than a glob-style pattern.
4139
1a846317
JM
41402013-06-17 Joseph Myers <joseph@codesourcery.com>
4141
4142 * math/test-misc.c (main): Do not treat incorrectly rounded
4143 conversions as failure unless ROUNDING_TESTS passes.
4144
8fc75e6f
JM
41452013-06-15 Joseph Myers <joseph@codesourcery.com>
4146
3711a167
JM
4147 [BZ #15631]
4148 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4149 restore exception state around main square root computation, then
4150 check for inexactness explicitly.
4151
8fc75e6f
JM
4152 * math/libm-test.inc (fma_test_data): Add another test.
4153
61dd6208
SP
41542013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4155
adf23d2c
SP
4156 * manual/threads.texi (Non-POSIX Extensions): New document
4157 node. Document pthread_getattr_default_np and
4158 pthread_setattr_default_np.
4159
61dd6208
SP
4160 * Versions.def (libpthread): Add GLIBC_2.18.
4161 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4163 Likewise.
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4165 Likewise.
4166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4167 Likewise.
4168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4169 Likewise.
4170 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4171 Likewise.
4172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4173 Likewise.
4174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4175 Likewise.
4176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4177 Likewise.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4179 Likewise.
4180
d086fc7b
LD
41812013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4182
4183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4184 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4185
747ef469
SP
41862013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4187 H.J. Lu <hjl.tools@gmail.com>
4188
4189 [BZ #15627]
4190 * sysdeps/x86_64/rtld-memset.c: Remove file.
4191 * sysdeps/x86_64/rtld-memset.S: New file.
4192
1b2feed2
JM
41932013-06-14 Joseph Myers <joseph@codesourcery.com>
4194
4195 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4196 (test_in_one_mode): Take arguments for whether the rounding mode
4197 is supported for each floating-point type.
4198 (do_test): Pass new arguments to test_in_one_mode using
4199 ROUNDING_TESTS.
4200
a58ad3f8
RM
42012013-06-13 Roland McGrath <roland@hack.frob.com>
4202
4203 * posix/tst-waitid.c (do_test): Distinguish different instances of
4204 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4205 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4206 before entering the kernel for waitpid.
4207
c204ab28
SP
42082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4209
4210 * NEWS: Fix note on clock function precision. Text by Roland
4211 McGrath.
4212
f4a29fba
RM
42132013-06-13 Roland McGrath <roland@hack.frob.com>
4214
4215 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4216 it into place only when and if the sanity check passes.
4217
1f24b9ad
JM
42182013-06-13 Joseph Myers <joseph@codesourcery.com>
4219
4220 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4221 output for whether conversion result is exact. Take argument
4222 indicating whether type is IBM long double.
4223 (round_for_all): Change need_exact field to ibm_ld.
4224 * stdlib/tst-strtod-round.c (struct exactness): New type.
4225 (struct test): Change bool ld_ok field to struct exactness exact.
4226 (TEST): Update all definitions for change to field.
4227 (tests): Regenerate array contents.
4228 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4229 field value. Check for IBM long double here.
4230 (do_test): Update calls to test_in_one_mode.
4231
58206c68
SP
42322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4233
4234 [BZ #12515]
4235 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4236 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4237
2d6f4c5b 42382013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4239
4240 [BZ #15605]
4241 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4242 generated by the compiler on loop optimizations.
4243 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4244 general definitions.
4245
94f2c076
JM
42462013-06-12 Joseph Myers <joseph@codesourcery.com>
4247
4248 * math/bug-nextafter.c: Include <math-tests.h>.
4249 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4250 the relevant type.
4251 * math/bug-nexttoward.c: Include <math-tests.h>.
4252 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4253 the relevant type.
4254 * math/test-misc.c: Include <math-tests.h>.
4255 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4256 the relevant type.
4257
e0e50a0a
AJ
42582013-06-12 Andreas Jaeger <aj@suse.de>
4259
4260 * po/ia.po: Update Interlingua translation from translation
4261 project.
4262
25061094
SP
42632013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4264
4265 * include/fenv.h: Include stdbool.h.
4266 (struct rm_ctx): New structure.
4267 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4268 Define macro.
4269 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4270 (SET_RESTORE_ROUNDF): Likewise.
4271 (SET_RESTORE_ROUNDL): Likewise.
4272 (SET_RESTORE_ROUND_NOEX): Likewise.
4273 (SET_RESTORE_ROUND_NOEXF): Likewise.
4274 (SET_RESTORE_ROUND_NOEXL): Likewise.
4275 (SET_RESTORE_ROUND_53BIT): Likewise.
4276 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4277 (libc_feresetround_noexf_ctx): Likewise.
4278 (libc_feresetround_noexl_ctx): Likewise.
4279 (libc_feholdsetround_53bit_ctx): Likewise.
4280 (libc_feresetround_53bit_ctx): Likewise.
4281 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4282 (libc_feholdexcept_setround_sse_ctx): New function.
4283 (libc_fesetenv_sse_ctx): Likewise.
4284 (libc_feupdateenv_sse_ctx): Likewise.
4285 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4286 (libc_feholdexcept_setround_387_ctx): Likewise.
4287 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4288 (libc_feholdsetround_387_prec_ctx): Likewise.
4289 (libc_feholdsetround_387_ctx): Likewise.
4290 (libc_feholdsetround_387_53bit_ctx): Likewise.
4291 (libc_feholdsetround_sse_ctx): Likewise.
4292 (libc_feresetround_sse_ctx): Likewise.
4293 (libc_feresetround_387_ctx): Likewise.
4294 (libc_feupdateenv_387_ctx): Likewise.
4295 (libc_feholdexcept_setroundf_ctx): Define macro.
4296 (libc_fesetenvf_ctx): Likewise.
4297 (libc_feupdateenvf_ctx): Likewise.
4298 (libc_feholdsetroundf_ctx): Likewise.
4299 (libc_feresetroundf_ctx): Likewise.
4300 (libc_feholdexcept_setround_ctx): Likewise.
4301 (libc_fesetenv_ctx): Likewise.
4302 (libc_feupdateenv_ctx): Likewise.
4303 (libc_feholdsetround_ctx): Likewise.
4304 (libc_feresetround_ctx): Likewise.
4305 (libc_feholdexcept_setroundl_ctx): Likewise.
4306 (libc_feupdateenvl_ctx): Likewise.
4307 (libc_feholdsetroundl_ctx): Likewise.
4308 (libc_feresetroundl_ctx): Likewise.
4309 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4310 (libc_feresetround_53bit_ctx): Likewise.
4311
59b30555
SP
43122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4313
4314 * locale/iso-639.def: Convert to UTF-8.
4315
f1d73d30
JM
43162013-06-11 Joseph Myers <joseph@codesourcery.com>
4317
4318 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4319 (EXCEPTION_TESTS_double): Likewise.
4320 (EXCEPTION_TESTS_long_double): Likewise.
4321 (EXCEPTION_TESTS): Likewise.
4322 * math/libm-test.inc (test_exceptions): Only test exceptions if
4323 EXCEPTION_TESTS (FLOAT).
4324
94aca5e7
SP
43252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4326
4327 * benchtests/Makefile (string-bench): Add strcpy_chk and
4328 stpcpy_chk.
4329 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4330 * benchtests/bench-stpcpy_chk.c: New file.
4331 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4332 * benchtests/bench-strcpy_chk.c: New file.
4333 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4334 code.
4335 (do_test): Likewise.
4336
fac0c5f2
RA
43372013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4338
4339 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4340 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4341 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4342 with tabs where appropriate.
4343 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4344 dl-procinfo.h.
4345 [PPC_PLATFORM_PPC440]: Likewise.
4346 [PPC_PLATFORM_PPC464]: Likewise.
4347 [PPC_PLATFORM_PPC476]: Likewise.
4348 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4349 ppc464, and ppc476 platform strings merging from ports/
4350 dl-procinfo.h.
4351
f22bc486
AS
43522013-06-11 Andreas Schwab <schwab@suse.de>
4353
4354 [BZ #14991]
4355 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4356 (from_ucs4_idx): Regenerate.
4357 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4358 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4359 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4360 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4361 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4362 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4363 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4364 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4365 from FROM_LOOP and TO_LOOP specific macros.
4366 (BODY): Handle combining characters.
4367 * iconvdata/BIG5HKSCS.irreversible: Update.
4368 * iconvdata/BIG5HKSCS.precomposed: New file.
4369 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4370 characters.
4371 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4372
c1f75dc3
SP
43732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4374
4eacded2
SP
4375 * include/sys/time.h: Fix indentation and add copyright header.
4376
fec799f8
SP
4377 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4378 (do_test): Likewise.
4379 * string/test-memchr.c (do_one_test): Likewise.
4380 (do_test): Likewise.
4381 * string/test-memcmp.c (do_one_test): Likewise.
4382 (do_test): Likewise.
4383 * string/test-memcpy.c (do_one_test): Likewise.
4384 (do_test): Likewise.
4385 * string/test-memmem.c (do_one_test): Likewise.
4386 (do_test): Likewise.
4387 (do_random_tests): Likewise.
4388 * string/test-memmove.c (do_one_test): Likewise.
4389 (do_test): Likewise.
4390 * string/test-memset.c (do_one_test): Likewise.
4391 (do_test): Likewise.
4392 * string/test-rawmemchr.c (do_one_test): Likewise.
4393 (do_test): Likewise.
4394 * string/test-strcasecmp.c (do_one_test): Likewise.
4395 (do_test): Likewise.
4396 * string/test-strcasestr.c (do_one_test): Likewise.
4397 (do_test): Likewise.
4398 * string/test-strcat.c (do_one_test): Likewise.
4399 (do_test): Likewise.
4400 * string/test-strchr.c (do_one_test): Likewise.
4401 (do_test): Likewise.
4402 * string/test-strcmp.c (do_one_test): Likewise.
4403 (do_test): Likewise.
4404 * string/test-strcpy.c (do_one_test): Likewise.
4405 (do_test): Likewise.
4406 * string/test-string.h: Likewise.
4407 (test_init): Likewise.
4408 * string/test-strlen.c (do_one_test): Likewise.
4409 (do_test): Likewise.
4410 * string/test-strncasecmp.c (do_one_test): Likewise.
4411 (do_test): Likewise.
4412 * string/test-strncat.c (do_one_test): Likewise.
4413 (do_test): Likewise.
4414 * string/test-strncmp.c (do_one_test): Likewise.
4415 (do_test_limit): Likewise.
4416 (do_test): Likewise.
4417 * string/test-strncpy.c (do_one_test): Likewise.
4418 (do_test): Likewise.
4419 * string/test-strnlen.c (do_one_test): Likewise.
4420 (do_test): Likewise.
4421 * string/test-strpbrk.c (do_one_test): Likewise.
4422 (do_test): Likewise.
4423 * string/test-strrchr.c (do_one_test): Likewise.
4424 (do_test): Likewise.
4425 * string/test-strspn.c (do_one_test): Likewise.
4426 (do_test): Likewise.
4427 * string/test-strstr.c (do_one_test): Likewise.
4428 (do_test): Likewise.
4429
97020474
SP
4430 * benchtests/Makefile (string-bench): Add string benchmarks.
4431 * benchtests/bench-bcopy-ifunc.c: New file.
4432 * benchtests/bench-bcopy.c: New file.
4433 * benchtests/bench-bzero-ifunc.c: New file.
4434 * benchtests/bench-bzero.c: New file.
4435 * benchtests/bench-memccpy-ifunc.c: New file.
4436 * benchtests/bench-memccpy.c: New file.
4437 * benchtests/bench-memchr-ifunc.c: New file.
4438 * benchtests/bench-memchr.c: New file.
4439 * benchtests/bench-memcmp-ifunc.c: New file.
4440 * benchtests/bench-memcmp.c: New file.
4441 * benchtests/bench-memmem-ifunc.c: New file.
4442 * benchtests/bench-memmem.c: New file.
4443 * benchtests/bench-memmove-ifunc.c: New file.
4444 * benchtests/bench-memmove.c: New file.
4445 * benchtests/bench-mempcpy-ifunc.c: New file.
4446 * benchtests/bench-mempcpy.c: New file.
4447 * benchtests/bench-memset-ifunc.c: New file.
4448 * benchtests/bench-memset.c: New file.
4449 * benchtests/bench-rawmemchr-ifunc.c: New file.
4450 * benchtests/bench-rawmemchr.c: New file.
4451 * benchtests/bench-stpcpy-ifunc.c: New file.
4452 * benchtests/bench-stpcpy.c: New file.
4453 * benchtests/bench-stpncpy-ifunc.c: New file.
4454 * benchtests/bench-stpncpy.c: New file.
4455 * benchtests/bench-strcasecmp-ifunc.c: New file.
4456 * benchtests/bench-strcasecmp.c: New file.
4457 * benchtests/bench-strcasestr-ifunc.c: New file.
4458 * benchtests/bench-strcasestr.c: New file.
4459 * benchtests/bench-strcat-ifunc.c: New file.
4460 * benchtests/bench-strcat.c: New file.
4461 * benchtests/bench-strchr-ifunc.c: New file.
4462 * benchtests/bench-strchr.c: New file.
4463 * benchtests/bench-strchrnul-ifunc.c: New file.
4464 * benchtests/bench-strchrnul.c: New file.
4465 * benchtests/bench-strcmp-ifunc.c: New file.
4466 * benchtests/bench-strcmp.c: New file.
4467 * benchtests/bench-strcpy-ifunc.c: New file.
4468 * benchtests/bench-strcpy.c: New file.
4469 * benchtests/bench-strcspn-ifunc.c: New file.
4470 * benchtests/bench-strcspn.c: New file.
4471 * benchtests/bench-strlen-ifunc.c: New file.
4472 * benchtests/bench-strlen.c: New file.
4473 * benchtests/bench-strncasecmp-ifunc.c: New file.
4474 * benchtests/bench-strncasecmp.c: New file.
4475 * benchtests/bench-strncat-ifunc.c: New file.
4476 * benchtests/bench-strncat.c: New file.
4477 * benchtests/bench-strncmp-ifunc.c: New file.
4478 * benchtests/bench-strncmp.c: New file.
4479 * benchtests/bench-strncpy-ifunc.c: New file.
4480 * benchtests/bench-strncpy.c: New file.
4481 * benchtests/bench-strnlen-ifunc.c: New file.
4482 * benchtests/bench-strnlen.c: New file.
4483 * benchtests/bench-strpbrk-ifunc.c: New file.
4484 * benchtests/bench-strpbrk.c: New file.
4485 * benchtests/bench-strrchr-ifunc.c: New file.
4486 * benchtests/bench-strrchr.c: New file.
4487 * benchtests/bench-strspn-ifunc.c: New file.
4488 * benchtests/bench-strspn.c: New file.
4489 * benchtests/bench-strstr-ifunc.c: New file.
4490 * benchtests/bench-strstr.c: New file.
4491
c1f75dc3
SP
4492 * benchtests/Makefile: Disable parallel execution of targets.
4493 (string-bench): Add memcpy.
4494 (benchset): New variable to store a list of benchmark sets.
4495 (bench-func): Renamed from bench.
4496 (bench-set): New target.
4497 (bench): Depend on bench-func and bench-set.
4498 * benchtests/README: Add section on benchmark sets.
4499 * benchtests/bench-memcpy-ifunc.c: New file.
4500 * benchtests/bench-memcpy.c: New file.
4501 * benchtests/bench-string.h: New file.
4502
50fd745b
AS
45032013-06-11 Andreas Schwab <schwab@suse.de>
4504
4505 [BZ #15577]
4506 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4507 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4508 values in the triple.
4509 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4510 terminator in the group key.
4511
3ee7e9fe
AJ
45122013-06-11 Andreas Jaeger <aj@suse.de>
4513
4514 * po/zh_TW.po: Update Chinese (traditional) translation from
4515 translation project.
4516
89fb6835
SP
45172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4518
4519 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4520 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4521 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4522 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4523 (clock_getcpuclockid): Likewise.
4524 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4525 Add weak_alias and libc_hidden_def.
4526 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4527 * rt/clock_gettime.c (clock_gettime): Rename to
4528 __clock_gettime. Add weak_alias and libc_hidden_def.
4529 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4530 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4531 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4532 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4533 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4534 Likewise.
4535 * rt/clock_settime.c (clock_settime): Rename to
4536 __clock_settime. Add weak_alias and libc_hidden_def.
4537 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4538
0efa6f8b
JM
45392013-06-10 Joseph Myers <joseph@codesourcery.com>
4540
b8c61b4b
JM
4541 * mach/err_boot.sub: Remove trailing whitespace.
4542 * mach/err_ipc.sub: Likewise.
4543 * mach/err_mach.sub: Likewise.
4544
0efa6f8b
JM
4545 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4546 (ROUNDING_TESTS_double): Likewise.
4547 (ROUNDING_TESTS_long_double): Likewise.
4548 (ROUNDING_TESTS): Likewise.
4549 * math/libm-test.inc: Include <math-tests.h>.
4550 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4551 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4552 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4553 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4554
50b818bf
SP
45552013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4556
4557 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4558 of assigning.
4559
60d2f8f3
JM
45602013-06-08 Joseph Myers <joseph@codesourcery.com>
4561
4902d2c3
JM
4562 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4563 otherwise empty TRANS lines.
4564 * sysdeps/gnu/errlist.c: Regenerated.
4565
60d2f8f3
JM
4566 * catgets/gencat.c (error_print): Use (void) in function
4567 definition.
4568 * crypt/crypt_util.c (__init_des): Likewise.
4569 * crypt/speeds.c (Stop): Likewise.
4570 (main): Likewise.
4571 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4572 * inet/ruserpass.c (token): Likewise.
4573 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4574 * intl/localealias.c (extend_alias_table): Likewise.
4575 * intl/plural-exp.c (init_germanic_plural): Likewise.
4576 * libio/fcloseall.c (__fcloseall): Likewise.
4577 * libio/genops.c (_IO_flush_all): Likewise.
4578 (_IO_flush_all_linebuffered): Likewise.
4579 (_IO_cleanup): Likewise.
4580 (_IO_iter_begin): Likewise.
4581 (_IO_iter_end): Likewise.
4582 (_IO_list_lock): Likewise.
4583 (_IO_list_unlock): Likewise.
4584 (_IO_list_resetlock): Likewise.
4585 * libio/getchar.c (getchar): Likewise.
4586 * libio/getchar_u.c (getchar_unlocked): Likewise.
4587 * libio/getwchar.c (getwchar): Likewise.
4588 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4589 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4590 * login/getpt.c (__getpt): Likewise.
4591 * login/tst-utmp.c (main): Likewise.
4592 * malloc/hooks.c (__malloc_check_init): Likewise.
4593 * malloc/malloc.c (__malloc_stats): Likewise.
4594 * malloc/mtrace.c (tr_break): Likewise.
4595 (mtrace): Likewise.
4596 (muntrace): Likewise.
4597 * misc/fstab.c (endfsent): Likewise.
4598 * misc/getclktck.c (__getclktck): Likewise.
4599 * misc/getdtsz.c (__getdtablesize): Likewise.
4600 * misc/gethostid.c (gethostid): Likewise.
4601 * misc/getpagesize.c (__getpagesize): Likewise.
4602 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4603 (__get_nprocs): Likewise.
4604 (__get_phys_pages): Likewise.
4605 (__get_avphys_pages): Likewise.
4606 * misc/getttyent.c (getttyent): Likewise.
4607 (setttyent): Likewise.
4608 (endttyent): Likewise.
4609 * misc/getusershell.c (getusershell): Likewise.
4610 (endusershell): Likewise.
4611 (setusershell): Likewise.
4612 (initshells): Likewise.
4613 * misc/hsearch.c (__hdestroy): Likewise.
4614 * misc/sync.c (sync): Likewise.
4615 * misc/syslog.c (closelog_internal): Likewise.
4616 (closelog): Likewise.
4617 * misc/ttyslot.c (ttyslot): Likewise.
4618 * misc/vhangup.c (vhangup): Likewise.
4619 * posix/fork.c (__fork): Likewise.
4620 * posix/getegid.c (__getegid): Likewise.
4621 * posix/geteuid.c (__geteuid): Likewise.
4622 * posix/getgid.c (__getgid): Likewise.
4623 * posix/getpid.c (__getpid): Likewise.
4624 * posix/getppid.c (__getppid): Likewise.
4625 * posix/getuid.c (__getuid): Likewise.
4626 * posix/pause.c (pause): Likewise.
4627 * posix/setpgrp.c (setpgrp): Likewise.
4628 * posix/setsid.c (__setsid): Likewise.
4629 * posix/test-vfork.c (noop): Likewise.
4630 * resolv/gethnamaddr.c (_endhtent): Likewise.
4631 (_gethtent): Likewise.
4632 (ht_endhostent): Likewise.
4633 (gethostent): Likewise.
4634 (dns_service): Likewise.
4635 * stdlib/drand48.c (drand48): Likewise.
4636 * stdlib/lrand48.c (lrand48): Likewise.
4637 * stdlib/mrand48.c (mrand48): Likewise.
4638 * stdlib/rand.c (rand): Likewise.
4639 * stdlib/random.c (__random): Likewise.
4640 * stdlib/setenv.c (clearenv): Likewise.
4641 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4642 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4643 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4644 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4645 (__get_nprocs): Likewise.
4646 (__get_phys_pages): Likewise.
4647 (__get_avphys_pages): Likewise.
4648 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4649 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4650 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4651 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4652 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4653 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4654 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4655 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4656 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4657 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4658 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4659 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4660 * sysdeps/posix/clock.c (clock): Likewise.
4661 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4662 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4663 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4664 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4665 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4667 (__get_nprocs_conf): Likewise.
4668 (__get_phys_pages): Likewise.
4669 (__get_avphys_pages): Likewise.
4670 * time/clock.c (clock): Likewise.
4671 * time/tzset.c (__tzname_max): Likewise.
4672
2e09a79a
JM
46732013-06-07 Joseph Myers <joseph@codesourcery.com>
4674
4675 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4676 (__bswap_32): Do not use "register".
4677 * crypt/crypt.c (_ufc_doit_r): Likewise.
4678 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4679 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4680 * gmon/gmon.c (__monstartup): Likewise.
4681 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4682 * hurd/hurdmalloc.c (more_memory): Likewise.
4683 (malloc): Likewise.
4684 (free): Likewise.
4685 (realloc): Likewise.
4686 (malloc_fork_prepare): Likewise.
4687 (malloc_fork_parent): Likewise.
4688 (malloc_fork_child): Likewise.
4689 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4690 (_svcauth_des): Likewise.
4691 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4692 * inet/inet_net.c (inet_network): Likewise.
4693 * inet/inet_netof.c (inet_netof): Likewise.
4694 * inet/rcmd.c (__validuser2_sa): Likewise.
4695 * io/fts.c (fts_open): Likewise.
4696 (fts_load): Likewise.
4697 (fts_close): Likewise.
4698 (fts_read): Likewise.
4699 (fts_children): Likewise.
4700 (fts_build): Likewise.
4701 (fts_stat): Likewise.
4702 (fts_sort): Likewise.
4703 (fts_alloc): Likewise.
4704 (fts_lfree): Likewise.
4705 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4706 (_IO_file_xsgetn): Likewise.
4707 (_IO_file_xsgetn_mmap): Likewise.
4708 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4709 (_IO_cookie_write): Likewise.
4710 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4711 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4712 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4713 * malloc/obstack.c (_obstack_begin): Likewise.
4714 (_obstack_begin_1): Likewise.
4715 (_obstack_newchunk): Likewise.
4716 (_obstack_allocated_p): Likewise.
4717 (obstack_free): Likewise.
4718 (_obstack_memory_used): Likewise.
4719 * misc/getttyent.c (getttynam): Likewise.
4720 (getttyent): Likewise.
4721 (skip): Likewise.
4722 (value): Likewise.
4723 * misc/getusershell.c (initshells): Likewise.
4724 * misc/syslog.c (__vsyslog_chk): Likewise.
4725 * misc/ttyslot.c (ttyslot): Likewise.
4726 * nis/nis_hash.c (__nis_hash): Likewise.
4727 * posix/fnmatch_loop.c (FCT): Likewise.
4728 * posix/getconf.c (print_all): Likewise.
4729 (main): Likewise.
4730 * posix/getopt.c (exchange): Likewise.
4731 * posix/glob.c (globfree): Likewise.
4732 (prefix_array): Likewise.
4733 (__glob_pattern_type): Likewise.
4734 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4735 (NS_GET32): Likewise.
4736 (NS_PUT16): Likewise.
4737 (NS_PUT32): Likewise.
4738 * resolv/gethnamaddr.c (getanswer): Likewise.
4739 (gethostbyname2): Likewise.
4740 (gethostbyaddr): Likewise.
4741 (_gethtent): Likewise.
4742 (_gethtbyname2): Likewise.
4743 (_gethtbyaddr): Likewise.
4744 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4745 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4746 * resolv/res_init.c (__res_vinit): Likewise.
4747 (net_mask): Likewise.
4748 * resolv/res_mkquery.c (outchar): Likewise.
4749 (PRINT): Likewise.
4750 * stdio-common/printf_fp.c (outchar): Likewise.
4751 (PRINT): Likewise.
4752 * stdio-common/printf_fphex.c (outchar): Likewise.
4753 (PRINT): Likewise.
4754 * stdio-common/printf_size.c (outchar): Likewise.
4755 (PRINT): Likewise.
4756 * stdio-common/test_rdwr.c (main): Likewise.
4757 * stdio-common/tfformat.c (matches): Likewise.
4758 * stdio-common/vfprintf.c (outchar): Likewise.
4759 (printf_unknown): Likewise.
4760 (buffered_vfprintf): Likewise.
4761 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4762 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4763 (ReadFile): Likewise.
4764 * stdlib/qsort.c (SWAP): Likewise.
4765 (_quicksort): Likewise.
4766 * stdlib/setenv.c (__add_to_environ): Likewise.
4767 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4768 * stdlib/strtol_l.c (__strtol_l): Likewise.
4769 * stdlib/tst-strtod.c (main): Likewise.
4770 * stdlib/tst-strtol.c (main): Likewise.
4771 * stdlib/tst-strtoll.c (main): Likewise.
4772 * string/bits/string2.h (__strcmp_cc): Likewise.
4773 (__strcmp_cg): Likewise.
4774 (__strcspn_c1): Likewise.
4775 (__strcspn_c2): Likewise.
4776 (__strcspn_c3): Likewise.
4777 (__strspn_c1): Likewise.
4778 (__strspn_c2): Likewise.
4779 (__strspn_c3): Likewise.
4780 (__strsep_1c): Likewise.
4781 (__strsep_2c): Likewise.
4782 (__strsep_3c): Likewise.
4783 * string/memccpy.c (__memccpy): Likewise.
4784 * string/stpcpy.c (__stpcpy): Likewise.
4785 * string/strcmp.c (strcmp): Likewise.
4786 * string/strrchr.c (strrchr): Likewise.
4787 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4788 Likewise.
4789 * sysdeps/mach/hurd/getcwd.c
4790 (_hurd_canonicalize_directory_name_internal): Likewise.
4791 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4792 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4793 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4794 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4795 Likewise, in both definitions.
4796 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4797 definitions.
4798 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4799 64] (__bswap_64): Likewise.
4800 * time/test_time.c (main): Likewise.
4801 * time/tzfile.c (__tzfile_read): Likewise.
4802 (__tzfile_compute): Likewise.
4803 * time/tzset.c (__tzset_parse_tz): Likewise.
4804 (tzset_internal): Likewise.
4805 (compute_change): Likewise.
4806 * wcsmbs/wcscat.c (__wcscat): Likewise.
4807 * wcsmbs/wcschr.c (wcschr): Likewise.
4808 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4809 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4810 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4811 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4812 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4813 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4814 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4815 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4816 * wcsmbs/wmemset.c (wmemset): Likewise.
4817
9e54314b
JM
48182013-06-06 Joseph Myers <joseph@codesourcery.com>
4819
4820 * scripts/config.guess: Update to version 2013-05-16.
4821 * scripts/config.sub: Update to version 2013-04-24.
4822 * scripts/install-sh: Update to version 2011-11-20.07.
4823 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4824 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4825
350635a5
OB
48262013-06-06 Ondřej Bílka <neleai@seznam.cz>
4827
4828 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4829 * elf/sln.c: Likewise.
4830 * hurd/hurd/ioctl.h: Likewise.
4831 * hurd/hurdmalloc.c: Likewise.
4832 * hurd/xattr.c: Likewise.
4833 * include/shlib-compat.h: Likewise.
4834 * inet/ruserpass.c: Likewise.
4835 * libio/iofgets_u.c: Likewise.
4836 * libio/iofgetws_u.c: Likewise.
4837 * locale/programs/ld-identification.c: Likewise.
4838 * locale/programs/ld-time.c: Likewise.
4839 * mach/msg-destroy.c: Likewise.
4840 * nss/nss_files/files-netgrp.c: Likewise.
4841 * resolv/res_data.c: Likewise.
4842 * soft-fp/op-1.h: Likewise.
4843 * soft-fp/op-2.h: Likewise.
4844 * soft-fp/op-4.h: Likewise.
4845 * soft-fp/op-common.h: Likewise.
4846 * stdio-common/printf_fphex.c: Likewise.
4847 * stdlib/strtod_l.c: Likewise.
4848 * sunrpc/rpc/clnt.h: Likewise.
4849 * sysdeps/generic/framestate.c: Likewise.
4850 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4851 * sysdeps/i386/bsd-setjmp.S: Likewise.
4852 * sysdeps/i386/__longjmp.S: Likewise.
4853 * sysdeps/i386/setjmp.S: Likewise.
4854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4855 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4856 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4872 * sysdeps/ieee754/support.c: Likewise.
4873 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4874 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4875 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4876 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4877 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4878 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4879 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4880 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4881 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4882 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4883 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4884 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4885 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4886 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4887 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4888 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4889 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4891
44a988af
OB
48922013-06-05 Ondřej Bílka <neleai@seznam.cz>
4893
25506f09 4894 * posix/transbug.c: Remove executable mode.
44a988af 4895
9c84384c
JM
48962013-06-05 Joseph Myers <joseph@codesourcery.com>
4897
4898 * crypt/speeds.c: Remove trailing whitespace.
4899 * dlfcn/default.c: Likewise.
4900 * elf/ifuncdep2.c: Likewise.
4901 * elf/ifuncmain1.c: Likewise.
4902 * elf/ifuncmain1vis.c: Likewise.
4903 * elf/testobj.h: Likewise.
4904 * elf/tst-stackguard1.c: Likewise.
4905 * gmon/sys/gmon.h: Likewise.
4906 * hurd/hurdmsg.c: Likewise.
4907 * hurd/new-fd.c: Likewise.
4908 * hurd/ports-get.c: Likewise.
4909 * iconvdata/ibm1008_420.c: Likewise.
4910 * inet/tst-getni1.c: Likewise.
4911 * inet/tst-getni2.c: Likewise.
4912 * libio/ioungetc.c: Likewise.
4913 * libio/wfiledoalloc.c: Likewise.
4914 * manual/libm-err-tab.pl: Likewise.
4915 * math/w_dremf.c: Likewise.
4916 * misc/ftruncate.c: Likewise.
4917 * posix/bug-glob2.c: Likewise.
4918 * posix/tst-pcre.c: Likewise.
4919 * posix/wait4.c: Likewise.
4920 * resolv/README: Likewise.
4921 * resolv/res_debug.h: Likewise.
4922 * resolv/tst-inet_ntop.c: Likewise.
4923 * setjmp/bug269-setjmp.c: Likewise.
4924 * soft-fp/extended.h: Likewise.
4925 * soft-fp/op-1.h: Likewise.
4926 * soft-fp/op-2.h: Likewise.
4927 * soft-fp/op-4.h: Likewise.
4928 * soft-fp/op-8.h: Likewise.
4929 * soft-fp/testit.c: Likewise.
4930 * stdio-common/bug16.c: Likewise.
4931 * stdlib/random.c: Likewise.
4932 * sunrpc/rpcsvc/rquota.x: Likewise.
4933 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4934 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4935 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4936 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4937 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4938 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4939 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4941 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4942 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4943 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4962 * sysdeps/ieee754/s_lib_version.c: Likewise.
4963 * sysdeps/mach/hurd/check_fds.c: Likewise.
4964 * sysdeps/mach/hurd/getsockname.c: Likewise.
4965 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4966 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4967 * sysdeps/powerpc/bits/link.h: Likewise.
4968 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4969 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4970 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4971 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4972 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4973 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4974 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4975 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4976 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4979 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4980 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4981 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4982 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4983 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4985 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4987 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4988 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4989 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4990 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4993 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4994 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4995 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4996 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4998 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4999 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5002 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5003 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5004 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5005 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5006 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5007 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5008 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5010 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5011 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5012 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5014 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5015 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5016 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5017 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5020 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5022 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5023 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5024 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5025 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5026 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5027 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5028 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5029 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5031 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5032 * sysdeps/powerpc/sysdep.h: Likewise.
5033 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5034 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5035 * sysdeps/sh/dl-trampoline.S: Likewise.
5036 * sysdeps/sh/memset.S: Likewise.
5037 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5038 * sysdeps/sh/strlen.S: Likewise.
5039 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5040 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5041 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5042 * sysdeps/sparc/sparc32/rem.S: Likewise.
5043 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5044 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5045 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5046 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5047 * sysdeps/sparc/sparc32/urem.S: Likewise.
5048 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5049 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5050 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5051 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5052 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5053 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5054 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5055 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5056 * sysdeps/unix/bsd/times.c: Likewise.
5057 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5058 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5062 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5063 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5064 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5066 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5067 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5068 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5069 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5072 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5073 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5074 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5075 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5076 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5077 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5078 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5079 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5080 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5081 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5082 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5083 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5085 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5086 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5087 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5088 * sysdeps/x86_64/strcspn.S: Likewise.
5089
869378a5
RA
50902013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5091
5092 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5093 generated file. Regenerate properly from gen-translit.pl.
5094 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5095 locale/C-translit.h.
5096
840e2943
AS
50972013-06-05 Andreas Schwab <schwab@suse.de>
5098
5099 [BZ #15100]
5100 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5101 week as 6 instead of -1.
5102 * time/tst-strptime.c (day_tests): Add test case.
5103
4c60cb0c
SP
51042013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5105
5106 * sysdeps/generic/math_private.h
5107 (libc_feholdexcept_setround_53bit): Replace with
5108 libc_feholdsetround_53bit.
5109 (libc_feupdateenv_53bit): Replace with
5110 libc_feresetround_53bit.
5111 (SET_RESTORE_ROUND_53BIT): Adjust.
5112
d180203e
SP
51132013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5114
96df079a
SP
5115 * string/test-strchrnul.c: Add copyright header.
5116
d180203e
SP
5117 * posix/tst-getaddrinfo4.c: Increase test timeout.
5118
8b0ccb2d
CD
51192013-06-03 Carlos O'Donell <carlos@redhat.com>
5120
5121 [BZ #15536]
5122 * math/libm-test.inc (MAX_EXP): Remove
5123 (MIN_EXP): Define.
5124 (ulp): Use MIN_EXP - MANT_DIG.
5125 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5126
3b3c4d40
CD
51272013-05-31 Carlos O'Donell <carlos@redhat.com>
5128
5129 * po/be.po: Revert last change.
5130 * po/zh_CN.po: Likewise.
5131 * po/header.pot: Likewise.
5132
fab7ce3f
JM
51332013-05-31 Joseph Myers <joseph@codesourcery.com>
5134
5135 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5136 link-libc-deps to empty as target-specific variable.
5137 * Makerules (link-libc-args): New variable.
5138 (libc-for-link): Likewise.
5139 (link-libc-deps): Likewise.
5140 (lib%.so): Depend on $(link-libc-deps). Link with
5141 $(link-libc-args).
5142 (build-module): Link with $(link-libc-args).
5143 (build-module-asneeded): Likewise.
5144 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5145 list of objects.
5146 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5147 target-specific variable.
5148 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5149 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5150 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5151 libc.
5152 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5153 libc and ld.so.
5154 ($(objpfx)libpcprofile.so): Likewise.
5155 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5156 libc_nonshared.a.
5157 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5158 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5159 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5160 $(link-libc-deps).
5161 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5162 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5163 * login/Makefile ($(objpfx)libutil.so): Likewise.
5164 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5165 * math/Makefile ($(objpfx)libm.so): Likewise.
5166 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5167 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5168 variable instead of depending directly on libc.
5169 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5170 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5171 $(link-libc-deps).
5172 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5173 libc.
5174 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5175 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5176 ($(objpfx)libanl.so): Likewise.
5177 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5178 ld.so.
5179 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5180 $(link-libc-deps).
5181 * sysdeps/i386/fpu/Makefile: Remove file.
5182 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5183 ($(objpfx)libm.so): Remove dependency on ld.so.
5184
eca5920c
PF
51852013-05-30 Patsy Franklin <pfrankli@redhat.com>
5186
5187 [BZ # 15553]
5188 * nis/yp_xdr.c (XDRMAXNAME): Define.
5189 (XDRMAXRECORD): Define.
5190 (xdr_domainname): Use XDRMAXNAME.
5191 (xdr_mapname): Likewise.
5192 (xdr_peername): Likewise.
5193 (xdr_keydat): Use XDRMAXRECORD.
5194 (xdr_valdat): Likewise.
5195
51962013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5197
5198 [BZ #14256]
5199 * manual/errno.texi (ESTALE): Update to account for more than
5200 just NFS file systems.
5201 * sysdeps/gnu/errlist.c: Regenerated.
5202
b9375348
SP
52032013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5204
5205 [BZ #15465]
5206 * elf/Makefile (tests): Add tst-null-argv.
5207 (modules-names): Add tst-null-argv-lib.
5208 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5209 (tst-null-argv-ENV): Set environment for tst-null-argv.
5210 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5211 (RTLD_PROGNAME): New macro.
5212 * elf/tst-null-argv.c: New test case.
5213 * elf/tst-null-argv-lib.c: Library for test case.
5214 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5215 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5216 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5217 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5218 * elf/dl-init.c (call_init): Likewise.
5219 (_dl_init): Likewise.
5220 * elf/dl-load.c (print_search_path): Likewise.
5221 (_dl_map_object): Likewise.
5222 * elf/dl-lookup.c (do_lookup_x): Likewise.
5223 (add_dependency): Likewise.
5224 (_dl_lookup_symbol_x): Likewise.
5225 (_dl_debug_bindings): Likewise.
5226 * elf/dl-open.c (_dl_show_scope): Likewise.
5227 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5228 * elf/dl-version.c (match_symbol): Likewise.
5229 (_dl_check_map_versions): Likewise.
5230 * elf/rtld.c (dl_main): Likewise.
5231 (print_unresolved): Use RTLD_PROGNAME.
5232 (print_missing_version): Likewise.
5233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5234 (elf_machine_rela): Likewise.
5235 * sysdeps/powerpc/powerpc32/dl-machine.c
5236 (__process_machine_rela): Likewise.
5237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5238 Likewise.
5239 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5240 Likewise.
5241 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5242 Likewise.
5243 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5244 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5245 Likewise.
5246 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5247 Likewise.
5248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5249
8a9f20c8
CD
52502013-05-28 Carlos O'Donell <carlos@redhat.com>
5251
5252 * po/be.po: Add descriptive title.
5253 * po/zh_CN.po: Likewise.
5254 * po/header.pot: Likewise.
5255
0e60d68e
MF
52562013-05-28 Mike Frysinger <vapier@gentoo.org>
5257
5258 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5259 error message.
5260 (enlarge_archive): Likewise.
5261
56b672e9
BN
52622013-05-28 Ben North <ben@redfrontdoor.org>
5263
5264 * manual/arith.texi (frexp): It is the magnitude of the return
5265 value which lies in [0.5, 1), not the return value itself.
5266
5e056687
AZ
52672013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5268
5269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5270
2b66ef5d
TS
52712013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5272
528c2405
TS
5273 * stdio-common/bug26.c (main): Correct fscanf template.
5274
07b4c13d
TS
5275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5276 declare _dl_skip_args.
5277
ec9dd97c
TS
5278 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5279 Don't declare.
5280
2b66ef5d
TS
5281 * manual/platform.texi: Add missing @end deftypefun.
5282
4f8dfe27
JM
52832013-05-24 Joseph Myers <joseph@codesourcery.com>
5284
0323d086
JM
5285 [BZ #15529]
5286 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5287 bit of mantissa of 2^16382.
5288 * math/libm-test.inc (hypot_test_data): Add more tests.
5289
dd4259b9
JM
5290 * math/libm-test.inc: Add drem and pow10 to list of tested
5291 functions.
5292 (pow10_test): New function.
5293 (drem_test): Likewise.
5294 (drem_test_tonearest): Likewise.
5295 (drem_test_towardzero): Likewise.
5296 (drem_test_downward): Likewise.
5297 (drem_test_upward): Likewise.
5298 (main): Call the new functions.
5299
4f8dfe27
JM
5300 * math/libm-test.inc (finite_test_data): Remove.
5301 (finite_test): Run tests from isfinite_test_data.
5302 (gamma_test_data): Remove.
5303 (gamma_test): Run tests from lgamma_test_data.
5304 * sysdeps/i386/fpu/libm-test-ulps: Update.
5305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5306
d116b7c4
AZ
53072013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5308
5309 * manual/platform.texi: Add PowerPC PPR function set documentation.
5310 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5311 implementation.
5312
e96e3767
CD
53132013-05-24 Carlos O'Donell <carlos@redhat.com>
5314
5315 * math/libm-test.inc (MAX_EXP): Define.
5316 (ULPDIFF): Define.
5317 (ulp): New function.
5318 (check_float_internal): Use ULPDIFF.
5319 (cpow_test): Disable failing test.
5320 (check_ulp): Test ulp() implemetnation.
5321 (main): Call check_ulp before starting tests.
5322
b679a606
JM
53232013-05-24 Joseph Myers <joseph@codesourcery.com>
5324
e8bdba36
JM
5325 * math/gen-libm-test.pl (generate_testfile): Do not handle
5326 START_DATA and END_DATA.
5327 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5328 END_DATA.
5329 (acos_tonearest_test_data): Likewise.
5330 (acos_towardzero_test_data): Likewise.
5331 (acos_downward_test_data): Likewise.
5332 (acos_upward_test_data): Likewise.
5333 (acosh_test_data): Likewise.
5334 (asin_test_data): Likewise.
5335 (asin_tonearest_test_data): Likewise.
5336 (asin_towardzero_test_data): Likewise.
5337 (asin_downward_test_data): Likewise.
5338 (asin_upward_test_data): Likewise.
5339 (asinh_test_data): Likewise.
5340 (atan_test_data): Likewise.
5341 (atanh_test_data): Likewise.
5342 (atan2_test_data): Likewise.
5343 (cabs_test_data): Likewise.
5344 (cacos_test_data): Likewise.
5345 (cacosh_test_data): Likewise.
5346 (carg_test_data): Likewise.
5347 (casin_test_data): Likewise.
5348 (casinh_test_data): Likewise.
5349 (catan_test_data): Likewise.
5350 (catanh_test_data): Likewise.
5351 (cbrt_test_data): Likewise.
5352 (ccos_test_data): Likewise.
5353 (ccosh_test_data): Likewise.
5354 (ceil_test_data): Likewise.
5355 (cexp_test_data): Likewise.
5356 (cimag_test_data): Likewise.
5357 (clog_test_data): Likewise.
5358 (clog10_test_data): Likewise.
5359 (conj_test_data): Likewise.
5360 (copysign_test_data): Likewise.
5361 (cos_test_data): Likewise.
5362 (cos_tonearest_test_data): Likewise.
5363 (cos_towardzero_test_data): Likewise.
5364 (cos_downward_test_data): Likewise.
5365 (cos_upward_test_data): Likewise.
5366 (cosh_test_data): Likewise.
5367 (cosh_tonearest_test_data): Likewise.
5368 (cosh_towardzero_test_data): Likewise.
5369 (cosh_downward_test_data): Likewise.
5370 (cosh_upward_test_data): Likewise.
5371 (cpow_test_data): Likewise.
5372 (cproj_test_data): Likewise.
5373 (creal_test_data): Likewise.
5374 (csin_test_data): Likewise.
5375 (csinh_test_data): Likewise.
5376 (csqrt_test_data): Likewise.
5377 (ctan_test_data): Likewise.
5378 (ctan_tonearest_test_data): Likewise.
5379 (ctan_towardzero_test_data): Likewise.
5380 (ctan_downward_test_data): Likewise.
5381 (ctan_upward_test_data): Likewise.
5382 (ctanh_test_data): Likewise.
5383 (ctanh_tonearest_test_data): Likewise.
5384 (ctanh_towardzero_test_data): Likewise.
5385 (ctanh_downward_test_data): Likewise.
5386 (ctanh_upward_test_data): Likewise.
5387 (erf_test_data): Likewise.
5388 (erfc_test_data): Likewise.
5389 (exp_test_data): Likewise.
5390 (exp_tonearest_test_data): Likewise.
5391 (exp_towardzero_test_data): Likewise.
5392 (exp_downward_test_data): Likewise.
5393 (exp_upward_test_data): Likewise.
5394 (exp10_test_data): Likewise.
5395 (exp2_test_data): Likewise.
5396 (expm1_test_data): Likewise.
5397 (fabs_test_data): Likewise.
5398 (fdim_test_data): Likewise.
5399 (finite_test_data): Likewise.
5400 (floor_test_data): Likewise.
5401 (fma_test_data): Likewise.
5402 (fma_towardzero_test_data): Likewise.
5403 (fma_downward_test_data): Likewise.
5404 (fma_upward_test_data): Likewise.
5405 (fmax_test_data): Likewise.
5406 (fmin_test_data): Likewise.
5407 (fmod_test_data): Likewise.
5408 (fpclassify_test_data): Likewise.
5409 (frexp_test_data): Likewise.
5410 (gamma_test_data): Likewise.
5411 (hypot_test_data): Likewise.
5412 (ilogb_test_data): Likewise.
5413 (isfinite_test_data): Likewise.
5414 (isgreater_test_data): Likewise.
5415 (isgreaterequal_test_data): Likewise.
5416 (isinf_test_data): Likewise.
5417 (isless_test_data): Likewise.
5418 (islessequal_test_data): Likewise.
5419 (islessgreater_test_data): Likewise.
5420 (isnan_test_data): Likewise.
5421 (isnormal_test_data): Likewise.
5422 (issignaling_test_data): Likewise.
5423 (isunordered_test_data): Likewise.
5424 (j0_test_data): Likewise.
5425 (j1_test_data): Likewise.
5426 (jn_test_data): Likewise.
5427 (ldexp_test_data): Likewise.
5428 (lgamma_test_data): Likewise.
5429 (lrint_test_data): Likewise.
5430 (lrint_tonearest_test_data): Likewise.
5431 (lrint_towardzero_test_data): Likewise.
5432 (lrint_downward_test_data): Likewise.
5433 (lrint_upward_test_data): Likewise.
5434 (llrint_test_data): Likewise.
5435 (llrint_tonearest_test_data): Likewise.
5436 (llrint_towardzero_test_data): Likewise.
5437 (llrint_downward_test_data): Likewise.
5438 (llrint_upward_test_data): Likewise.
5439 (log_test_data): Likewise.
5440 (log10_test_data): Likewise.
5441 (log1p_test_data): Likewise.
5442 (log2_test_data): Likewise.
5443 (logb_test_data): Likewise.
5444 (logb_downward_test_data): Likewise.
5445 (lround_test_data): Likewise.
5446 (llround_test_data): Likewise.
5447 (modf_test_data): Likewise.
5448 (nearbyint_test_data): Likewise.
5449 (nextafter_test_data): Likewise.
5450 (nexttoward_test_data): Likewise.
5451 (pow_test_data): Likewise.
5452 (pow_tonearest_test_data): Likewise.
5453 (pow_towardzero_test_data): Likewise.
5454 (pow_downward_test_data): Likewise.
5455 (pow_upward_test_data): Likewise.
5456 (remainder_test_data): Likewise.
5457 (remainder_tonearest_test_data): Likewise.
5458 (remainder_towardzero_test_data): Likewise.
5459 (remainder_downward_test_data): Likewise.
5460 (remainder_upward_test_data): Likewise.
5461 (remquo_test_data): Likewise.
5462 (rint_test_data): Likewise.
5463 (rint_tonearest_test_data): Likewise.
5464 (rint_towardzero_test_data): Likewise.
5465 (rint_downward_test_data): Likewise.
5466 (rint_upward_test_data): Likewise.
5467 (round_test_data): Likewise.
5468 (scalb_test_data): Likewise.
5469 (scalbn_test_data): Likewise.
5470 (scalbln_test_data): Likewise.
5471 (signbit_test_data): Likewise.
5472 (sin_test_data): Likewise.
5473 (sin_tonearest_test_data): Likewise.
5474 (sin_towardzero_test_data): Likewise.
5475 (sin_downward_test_data): Likewise.
5476 (sin_upward_test_data): Likewise.
5477 (sincos_test_data): Likewise.
5478 (sinh_test_data): Likewise.
5479 (sinh_tonearest_test_data): Likewise.
5480 (sinh_towardzero_test_data): Likewise.
5481 (sinh_downward_test_data): Likewise.
5482 (sinh_upward_test_data): Likewise.
5483 (sqrt_test_data): Likewise.
5484 (tan_test_data): Likewise.
5485 (tan_tonearest_test_data): Likewise.
5486 (tan_towardzero_test_data): Likewise.
5487 (tan_downward_test_data): Likewise.
5488 (tan_upward_test_data): Likewise.
5489 (tanh_test_data): Likewise.
5490 (tgamma_test_data): Likewise.
5491 (trunc_test_data): Likewise.
5492 (y0_test_data): Likewise.
5493 (y1_test_data): Likewise.
5494 (yn_test_data): Likewise.
5495 (significand_test_data): Likewise.
5496
b679a606
JM
5497 * math/gen-libm-test.pl (@functions): Remove variable.
5498 (generate_testfile): Don't handle START and END lines.
5499 * math/libm-test.inc (START): New macro.
5500 (END): Likewise.
5501 (END_COMPLEX): Likewise.
5502 (acos_test): Use END macro without arguments.
5503 (acos_test_tonearest): Likewise.
5504 (acos_test_towardzero): Likewise.
5505 (acos_test_downward): Likewise.
5506 (acos_test_upward): Likewise.
5507 (acosh_test): Likewise.
5508 (asin_test): Likewise.
5509 (asin_test_tonearest): Likewise.
5510 (asin_test_towardzero): Likewise.
5511 (asin_test_downward): Likewise.
5512 (asin_test_upward): Likewise.
5513 (asinh_test): Likewise.
5514 (atan_test): Likewise.
5515 (atanh_test): Likewise.
5516 (atan2_test): Likewise.
5517 (cabs_test): Likewise.
5518 (cacos_test): Use END_COMPLEX macro without arguments.
5519 (cacosh_test): Likewise.
5520 (carg_test): Use END macro without arguments.
5521 (casin_test): Use END_COMPLEX macro without arguments.
5522 (casinh_test): Likewise.
5523 (catan_test): Likewise.
5524 (catanh_test): Likewise.
5525 (cbrt_test): Use END macro without arguments.
5526 (ccos_test): Use END_COMPLEX macro without arguments.
5527 (ccosh_test): Likewise.
5528 (ceil_test): Use END macro without arguments.
5529 (cexp_test): Use END_COMPLEX macro without arguments.
5530 (cimag_test): Use END macro without arguments.
5531 (clog_test): Use END_COMPLEX macro without arguments.
5532 (clog10_test): Likewise.
5533 (conj_test): Likewise.
5534 (copysign_test): Use END macro without arguments.
5535 (cos_test): Likewise.
5536 (cos_test_tonearest): Likewise.
5537 (cos_test_towardzero): Likewise.
5538 (cos_test_downward): Likewise.
5539 (cos_test_upward): Likewise.
5540 (cosh_test): Likewise.
5541 (cosh_test_tonearest): Likewise.
5542 (cosh_test_towardzero): Likewise.
5543 (cosh_test_downward): Likewise.
5544 (cosh_test_upward): Likewise.
5545 (cpow_test): Use END_COMPLEX macro without arguments.
5546 (cproj_test): Likewise.
5547 (creal_test): Use END macro without arguments.
5548 (csin_test): Use END_COMPLEX macro without arguments.
5549 (csinh_test): Likewise.
5550 (csqrt_test): Likewise.
5551 (ctan_test): Likewise.
5552 (ctan_test_tonearest): Likewise.
5553 (ctan_test_towardzero): Likewise.
5554 (ctan_test_downward): Likewise.
5555 (ctan_test_upward): Likewise.
5556 (ctanh_test): Likewise.
5557 (ctanh_test_tonearest): Likewise.
5558 (ctanh_test_towardzero): Likewise.
5559 (ctanh_test_downward): Likewise.
5560 (ctanh_test_upward): Likewise.
5561 (erf_test): Use END macro without arguments.
5562 (erfc_test): Likewise.
5563 (exp_test): Likewise.
5564 (exp_test_tonearest): Likewise.
5565 (exp_test_towardzero): Likewise.
5566 (exp_test_downward): Likewise.
5567 (exp_test_upward): Likewise.
5568 (exp10_test): Likewise.
5569 (exp2_test): Likewise.
5570 (expm1_test): Likewise.
5571 (fabs_test): Likewise.
5572 (fdim_test): Likewise.
5573 (finite_test): Likewise.
5574 (floor_test): Likewise.
5575 (fma_test): Likewise.
5576 (fma_test_towardzero): Likewise.
5577 (fma_test_downward): Likewise.
5578 (fma_test_upward): Likewise.
5579 (fmax_test): Likewise.
5580 (fmin_test): Likewise.
5581 (fmod_test): Likewise.
5582 (fpclassify_test): Likewise.
5583 (frexp_test): Likewise.
5584 (gamma_test): Likewise.
5585 (hypot_test): Likewise.
5586 (ilogb_test): Likewise.
5587 (isfinite_test): Likewise.
5588 (isgreater_test): Likewise.
5589 (isgreaterequal_test): Likewise.
5590 (isinf_test): Likewise.
5591 (isless_test): Likewise.
5592 (islessequal_test): Likewise.
5593 (islessgreater_test): Likewise.
5594 (isnan_test): Likewise.
5595 (isnormal_test): Likewise.
5596 (issignaling_test): Likewise.
5597 (isunordered_test): Likewise.
5598 (j0_test): Likewise.
5599 (j1_test): Likewise.
5600 (jn_test): Likewise.
5601 (ldexp_test): Likewise.
5602 (lgamma_test): Likewise.
5603 (lrint_test): Likewise.
5604 (lrint_test_tonearest): Likewise.
5605 (lrint_test_towardzero): Likewise.
5606 (lrint_test_downward): Likewise.
5607 (lrint_test_upward): Likewise.
5608 (llrint_test): Likewise.
5609 (llrint_test_tonearest): Likewise.
5610 (llrint_test_towardzero): Likewise.
5611 (llrint_test_downward): Likewise.
5612 (llrint_test_upward): Likewise.
5613 (log_test): Likewise.
5614 (log10_test): Likewise.
5615 (log1p_test): Likewise.
5616 (log2_test): Likewise.
5617 (logb_test): Likewise.
5618 (logb_test_downward): Likewise.
5619 (lround_test): Likewise.
5620 (llround_test): Likewise.
5621 (modf_test): Likewise.
5622 (nearbyint_test): Likewise.
5623 (nextafter_test): Likewise.
5624 (nexttoward_test): Likewise.
5625 (pow_test): Likewise.
5626 (pow_test_tonearest): Likewise.
5627 (pow_test_towardzero): Likewise.
5628 (pow_test_downward): Likewise.
5629 (pow_test_upward): Likewise.
5630 (remainder_test): Likewise.
5631 (remainder_test_tonearest): Likewise.
5632 (remainder_test_towardzero): Likewise.
5633 (remainder_test_downward): Likewise.
5634 (remainder_test_upward): Likewise.
5635 (remquo_test): Likewise.
5636 (rint_test): Likewise.
5637 (rint_test_tonearest): Likewise.
5638 (rint_test_towardzero): Likewise.
5639 (rint_test_downward): Likewise.
5640 (rint_test_upward): Likewise.
5641 (round_test): Likewise.
5642 (scalb_test): Likewise.
5643 (scalbn_test): Likewise.
5644 (scalbln_test): Likewise.
5645 (signbit_test): Likewise.
5646 (sin_test): Likewise.
5647 (sin_test_tonearest): Likewise.
5648 (sin_test_towardzero): Likewise.
5649 (sin_test_downward): Likewise.
5650 (sin_test_upward): Likewise.
5651 (sincos_test): Likewise.
5652 (sinh_test): Likewise.
5653 (sinh_test_tonearest): Likewise.
5654 (sinh_test_towardzero): Likewise.
5655 (sinh_test_downward): Likewise.
5656 (sinh_test_upward): Likewise.
5657 (sqrt_test): Likewise.
5658 (tan_test): Likewise.
5659 (tan_test_tonearest): Likewise.
5660 (tan_test_towardzero): Likewise.
5661 (tan_test_downward): Likewise.
5662 (tan_test_upward): Likewise.
5663 (tanh_test): Likewise.
5664 (tgamma_test): Likewise.
5665 (trunc_test): Likewise.
5666 (y0_test): Likewise.
5667 (y1_test): Likewise.
5668 (yn_test): Likewise.
5669 (significand_test): Likewise.
5670
bae143d2
OB
56712013-05-24 Ondřej Bílka <neleai@seznam.cz>
5672
5673 [BZ #15381]
5674 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5675
9323d39b
EM
56762013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5677
d4ea44a0 5678 [BZ #14894]
9323d39b
EM
5679 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5680 __ppc_mdoio and __ppc_mdoom.
5681 * manual/platform.texi: Document new functions __ppc_yield,
5682 __ppc_mdoio and __ppc_mdoom.
5683
13e23af7
CD
56842013-05-22 Carlos O'Donell <carlos@redhat.com>
5685
5686 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5687 (main): Mention "tls" pseudo-hwcap is legacy.
5688 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5689
351fe550
JM
56902013-05-22 Joseph Myers <joseph@codesourcery.com>
5691
5692 * math/gen-libm-test.pl (parse_args): Output only string of
5693 arguments as text for test name, not full call or descriptions of
5694 tests for extra outputs.
5695 (generate_testfile): Do not pass function name to parse_args.
5696 Generate this_func variable from START.
5697 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5698 field to arg_str.
5699 (struct test_ff_f_data): Likewise.
5700 (test_ff_f_data_nexttoward): Likewise.
5701 (struct test_fi_f_data): Likewise.
5702 (struct test_fl_f_data): Likewise.
5703 (struct test_if_f_data): Likewise.
5704 (struct test_fff_f_data): Likewise.
5705 (struct test_c_f_data): Likewise.
5706 (struct test_f_f1_data): Likewise. Remove field extra_name.
5707 (struct test_fF_f1_data): Likewise.
5708 (struct test_ffI_f1_data): Likewise.
5709 (struct test_c_c_data): Rename test_name field to arg_str.
5710 (struct test_cc_c_data): Likewise.
5711 (struct test_f_i_data): Likewise.
5712 (struct test_ff_i_data): Likewise.
5713 (struct test_f_l_data): Likewise.
5714 (struct test_f_L_data): Likewise.
5715 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5716 and extra2_name.
5717 (COMMON_TEST_SETUP): New macro.
5718 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5719 (COMMON_TEST_CLEANUP): Likewise.
5720 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5721 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5722 macros.
5723 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5724 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5725 macros.
5726 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5727 (RUN_TEST_fff_f): Take argument string. Call new setup and
5728 cleanup macros.
5729 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5730 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5731 macros.
5732 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5733 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5734 macros.
5735 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5736 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5737 cleanup macros.
5738 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5739 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5740 cleanup macros.
5741 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5742 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5743 cleanup macros.
5744 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5745 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5746 macros.
5747 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5748 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5749 macros.
5750 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5751 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5752 macros.
5753 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5754 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5755 cleanup macros.
5756 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5757 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5758 cleanup macros.
5759 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5760 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5761 macros.
5762 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5763 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5764 cleanup macros.
5765 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5766 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5767 macros.
5768 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5769 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5770 macros.
5771 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5772 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5773 cleanup macros.
5774 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5775
85118d4d
EBM
57762013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5777
5778 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5779 to _sifields.sigfault.
5780 (si_addr_lsb): Define new macro.
5781 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5783 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5784
7a44c18f
CD
57852013-05-03 Carlos O'Donell <carlos at redhat.com>
5786
5787 [BZ #15441]
5788 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5789 returns -1.
5790 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5791 null return -1.
5792 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5793 loading the domain.
5794
b50a7181
JM
57952013-05-22 Joseph Myers <joseph@codesourcery.com>
5796
5797 * math/gen-libm-test.pl (parse_args): Do not include expected
5798 result in test name.
5799 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5801 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5802 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5803 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5805
051063c8
SP
58062013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5807
3ce9e010
SP
5808 * benchtests/Makefile: Sort function entries.
5809
051063c8
SP
5810 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5811 tanh, asinh, acosh, atanh.
5812 * benchtests/acos-inputs: New file.
5813 * benchtests/acosh-inputs: New file.
5814 * benchtests/asin-inputs: New file.
5815 * benchtests/asinh-inputs: New file.
5816 * benchtests/atanh-inputs: New file.
5817 * benchtests/cosh-inputs: New file.
5818 * benchtests/log-inputs: New file.
5819 * benchtests/sinh-inputs: New file.
5820 * benchtests/tanh-inputs: New file.
5821
47c22455
DL
58222013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5823
5824 [BZ #15339]
5825 * posix/tst-getaddrinfo4.c: New test.
5826 * posix/Makefile (tests): Add it.
5827
3d04f5db
SP
58282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5829
5830 [BZ #15339]
5831 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5832 when no services were used.
5833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5834 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5835
d5dd6189
AS
58362013-05-21 Andreas Schwab <schwab@suse.de>
5837
5838 [BZ #15014]
5839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5840 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5841 successful.
5842 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5843 redundant variable declarations and reallocation of buffer when
5844 parsing as IPv6 address. Always set NSS status when called from
5845 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5846 buffer too small. Correct computation of needed size.
5847 * nss/Makefile (tests): Add test-digits-dots.
5848 * nss/test-digits-dots.c: New test.
5849
fef94eab
SP
58502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5851
5852 * benchtests/Makefile: Remove instructions for adding
5853 benchmark tests.
5854 * benchtests/README: New file to explain how to execute and
5855 enhance the benchmark tests.
5856
e39adf43
AS
58572013-05-21 Andreas Schwab <schwab@suse.de>
5858
5859 [BZ #15493]
5860 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5861 * setjmp/tst-sigsetjmp.c: New test.
5862
b2b671b6
OB
58632013-05-20 Ondřej Bílka <neleai@seznam.cz>
5864
5865 * sysdeps/x86_64/memset.S (memset): New implementation.
5866 (__bzero): Likewise.
5867 (__memset_tail): New function.
5868
2d48b41c
OB
58692013-05-20 Ondřej Bílka <neleai@seznam.cz>
5870
5871 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5872 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5873 __memcpy_sse2_unaligned ifunc selection.
5874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5875 Add memcpy-sse2-unaligned.S.
5876 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5877 Add: __memcpy_sse2_unaligned.
5878
f16cc3eb
JM
58792013-05-19 Joseph Myers <joseph@codesourcery.com>
5880
3e694268
JM
5881 [BZ #15490]
5882 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5883 math_force_eval before restoring floating-point envrionment.
5884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5886 Likewise.
5887 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5888 <math_private.h>.
5889 (__nearbyintl): Use math_force_eval before restoring
5890 floating-point environment.
5891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5892
db62a907
JM
5893 * math/gen-libm-test.pl (special_functions): Remove.
5894 (parse_args): Don't handle TEST_extra. Handle functions with no
5895 return value.
5896 * math/libm-test.inc (struct test_sincos_data): Replace with
5897 struct test_fFF_11_data.
5898 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5899 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5900 (sincos_test_data): Change element type to struct
5901 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5902 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5903 RUN_TEST_LOOP_sincos.
5904 * math/README.libm-test: Don't mention special handling of
5905 individual functions.
5906 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5908 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5909 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5910 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912
f16cc3eb
JM
5913 * math/gen-libm-test.pl (get_variable): Remove function.
5914 (parse_args): Don't show pointer parameters to call in test
5915 names. Use "extra output N" in test names for extra outputs
5916 rather than naming variables.
5917
3779b5b6
JM
59182013-05-18 Joseph Myers <joseph@codesourcery.com>
5919
2ee094ff
JM
5920 [BZ #15488]
5921 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5922 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5923 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5924 double tests.
5925 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5926 disable.
5927 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5928 check_long_double.
5929
3779b5b6
JM
5930 * math/gen-libm-test.pl (@tests): Remove variable.
5931 ($count): Likewise.
5932 (new_test): Remove function.
5933 (show_exceptions): New function.
5934 (special_functions): Use show_exceptions instead of new_test.
5935 (parse_args): Likewise.
5936 (generate_testfile): Pass only function name in generated call to
5937 print_max_error or print_complex_max_error.
5938 (get_ulps): Do not handle complex tests specially.
5939 (output_test): Rename to ...
5940 (get_all_ulps_for_test): ... this. Return a string rather than
5941 printing to a file. Require ulps to be present.
5942 (output_ulps): Generate arrays rather than #defines.
5943 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5944 (struct ulp_data): New type.
5945 (BUILD_COMPLEX_ULP): Remove macro.
5946 (compare_ulp_data): New function.
5947 (find_ulps): Likewise.
5948 (find_test_ulps): Likewise.
5949 (find_function_ulps): Likewise.
5950 (find_complex_function_ulps): Likewise.
5951 (print_max_error): Determine allowed ulps using
5952 find_function_ulps.
5953 (print_complex_max_error): Determine allowed ulps using
5954 find_complex_function_ulps.
5955 (check_float_internal): Determine max ulps using find_test_ulps.
5956 (check_float): Do not take max_ulp parameter. Update call to
5957 check_float_internal.
5958 (check_complex): Likewise.
5959 (check_int): Do not take max_ulp parameter.
5960 (check_long): Likewise.
5961 (check_bool): Likewise.
5962 (check_longlong): Likewise.
5963 (struct test_f_f_data): Remove max_ulp field.
5964 (struct test_ff_f_data): Likewise.
5965 (struct test_ff_f_data_nexttoward): Likewise.
5966 (struct test_fi_f_data): Likewise.
5967 (struct test_fl_f_data): Likewise.
5968 (struct test_if_f_data): Likewise.
5969 (struct test_fff_f_data): Likewise.
5970 (struct test_c_f_data): Likewise.
5971 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5972 (struct test_fF_f1_data): Likewise.
5973 (struct test_ffI_f1_data): Likewise.
5974 (struct test_c_c_data): Remove max_ulp field.
5975 (struct test_cc_c_data): Likewise.
5976 (struct test_f_i_data): Likewise.
5977 (struct test_ff_i_data): Likewise.
5978 (struct test_f_l_data): Likewise.
5979 (struct test_f_L_data): Likewise.
5980 (struct test_sincos_data): Likewise.
5981 (RUN_TEST_f_f): Do not handle ulps.
5982 (RUN_TEST_LOOP_f_f): Likewise.
5983 (RUN_TEST_2_f): Likewise.
5984 (RUN_TEST_LOOP_2_f): Likewise.
5985 (RUN_TEST_fff_f): Likewise.
5986 (RUN_TEST_LOOP_fff_f): Likewise.
5987 (RUN_TEST_c_f): Likewise.
5988 (RUN_TEST_LOOP_c_f): Likewise.
5989 (RUN_TEST_f_f1): Likewise.
5990 (RUN_TEST_LOOP_f_f1): Likewise.
5991 (RUN_TEST_fF_f1): Likewise.
5992 (RUN_TEST_LOOP_fF_f1): Likewise.
5993 (RUN_TEST_fI_f1): Likewise.
5994 (RUN_TEST_LOOP_fI_f1): Likewise.
5995 (RUN_TEST_ffI_f1): Likewise.
5996 (RUN_TEST_LOOP_ffI_f1): Likewise.
5997 (RUN_TEST_c_c): Likewise.
5998 (RUN_TEST_LOOP_c_c): Likewise.
5999 (RUN_TEST_cc_c): Likewise.
6000 (RUN_TEST_LOOP_cc_c): Likewise.
6001 (RUN_TEST_f_i): Likewise.
6002 (RUN_TEST_LOOP_f_i): Likewise.
6003 (RUN_TEST_f_i_tg): Likewise.
6004 (RUN_TEST_LOOP_f_i_tg): Likewise.
6005 (RUN_TEST_ff_i_tg): Likewise.
6006 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6007 (RUN_TEST_f_b): Likewise.
6008 (RUN_TEST_LOOP_f_b): Likewise.
6009 (RUN_TEST_f_b_tg): Likewise.
6010 (RUN_TEST_LOOP_f_b_tg): Likewise.
6011 (RUN_TEST_f_l): Likewise.
6012 (RUN_TEST_LOOP_f_l): Likewise.
6013 (RUN_TEST_f_L): Likewise.
6014 (RUN_TEST_LOOP_f_L): Likewise.
6015 (RUN_TEST_sincos): Likewise.
6016 (RUN_TEST_LOOP_sincos): Likewise.
6017
8269107f
JM
60182013-05-17 Joseph Myers <joseph@codesourcery.com>
6019
bb38759d
JM
6020 [BZ #15480]
6021 [BZ #15485]
6022 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6023 main case of finite arguments, set rounding mode to FE_TONEAREST
6024 and discard exceptions.
6025 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6026 exceptions.
6027 (remainder_tonearest_test_data): New variable.
6028 (remainder_test_tonearest): New function.
6029 (remainder_towardzero_test_data): New variable.
6030 (remainder_test_towardzero): New function.
6031 (remainder_downward_test_data): New variable.
6032 (remainder_test_downward): New function.
6033 (remainder_upward_test_data): New variable.
6034 (remainder_test_upward): New function.
6035 (main): Call the new test functions.
6036
a00bdcf0
JM
6037 * math/libm-test.inc (struct test_f_f1_data): Remove field
6038 extra_init.
6039 (struct test_fF_f1_data): Likewise.
6040 (struct test_ffI_f1_data): Likewise.
6041 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6042 based on value of EXTRA_EXPECTED.
6043 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6044 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6045 EXTRA_VAR based on value of EXTRA_EXPECTED.
6046 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6047 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6048 EXTRA_VAR based on value of EXTRA_EXPECTED.
6049 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6050 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6051 EXTRA_VAR based on value of EXTRA_EXPECTED.
6052 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6053 * math/gen-libm-test.pl (parse_args): Don't output initializers
6054 for extra output values.
6055
de407f79
JM
6056 * math/libm-test.inc (check_int): Expect result to be exactly
6057 equal to expected value and do not handle ulps.
6058 (check_long): Likewise.
6059 (check_longlong): Likewise.
6060
8269107f
JM
6061 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6062 exceptions.
6063 (cimag_test_data): Likewise.
6064 (conj_test_data): Likewise.
6065 (copysign_test_data): Likewise.
6066 (cproj_test_data): Likewise.
6067 (creal_test_data): Likewise.
6068 (fabs_test_data): Likewise.
6069 (fdim_test_data): Likewise.
6070 (finite_test_data): Likewise.
6071 (floor_test_data): Likewise.
6072 (fmax_test_data): Likewise.
6073 (fmin_test_data): Likewise.
6074 (fmod_test_data): Likewise.
6075 (fpclassify_test_data): Likewise.
6076 (frexp_test_data): Likewise.
6077 (ilogb_test_data): Likewise.
6078 (isfinite_test_data): Likewise.
6079 (isgreater_test_data): Likewise.
6080 (isgreaterequal_test_data): Likewise.
6081 (isinf_test_data): Likewise.
6082 (isless_test_data): Likewise.
6083 (islessequal_test_data): Likewise.
6084 (islessgreater_test_data): Likewise.
6085 (isnan_test_data): Likewise.
6086 (isnormal_test_data): Likewise.
6087 (issignaling_test_data): Likewise.
6088 (isunordered_test_data): Likewise.
6089 (ldexp_test_data): Likewise.
6090 (lrint_test_data): Likewise.
6091 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6092 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6093 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6094 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6095 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6096 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6097 test input.
6098 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6099 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6100 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6101 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6102 that test input.
6103 (lrint_downward_test_data): Test for "inexact" exceptions.
6104 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6105 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6106 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6107 test input.
6108 (lrint_upward_test_data): Test for "inexact" exceptions.
6109 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6110 test input.
6111 (llrint_test_data): Test for "inexact" exceptions.
6112 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6113 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6114 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6115 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6116 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6117 (llrint_downward_test_data): Test for "inexact" exceptions.
6118 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6119 (llrint_upward_test_data): Test for "inexact" exceptions.
6120 (logb_test_data): Likewise.
6121 (logb_downward_test_data): Likewise.
6122 (nextafter_test_data): Likewise.
6123 (nexttoward_test_data): Likewise.
6124 (remainder_test_data): Likewise.
6125 (remquo_test_data): Likewise.
6126 (scalbn_test_data): Likewise.
6127 (scalbln_test_data): Likewise.
6128 (signbit_test_data): Likewise.
6129 (sqrt_test_data): Likewise.
6130 (significand_test_data): Likewise.
6131
48a18de1
SP
61322013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6133
6134 [BZ #15424]
6135 * benchtests/bench-modf.c (struct args): Mark arg0 as
6136 volatile.
6137 * scripts/bench.pl: Mark members of struct args as volatile.
6138
13d3b41a
AZ
61392013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6140
68191c1d 6141 [BZ # 15497]
13d3b41a
AZ
6142 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6143 negative infinity on POWER6 or lower.
6144 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6145
2848b105
MR
61462013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6147
6148 [BZ #15442]
6149 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6150 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6151 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6152 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6153 (_FP_SETQNAN): New macro.
6154 (_FP_SETQNAN_SEMIRAW): Likewise.
6155 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6156 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6157 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6158 (FP_EXTEND): Use _FP_FRAC_SNANP.
6159 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6160 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6161 into account.
6162 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6163 New macro.
6164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6165 Likewise.
6166
323e5cb7
JM
61672013-05-16 Joseph Myers <joseph@codesourcery.com>
6168
c58b274f
JM
6169 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6170 with DIVIDE_BY_ZERO_EXCEPTION.
6171 (gamma_test_data): Likewise.
6172 (lgamma_test_data): Likewise.
6173 (log_test_data): Likewise.
6174 (log10_test_data): Likewise.
6175 (log2_test_data): Likewise.
6176 (tgamma_test_data): Likewise.
6177
0ab34904
JM
6178 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6179 (acos_test_tonearest): Likewise.
6180 (acos_test_towardzero): Likewise.
6181 (acos_test_downward): Likewise.
6182 (acos_test_upward): Likewise.
6183 (acosh_test): Likewise.
6184 (asin_test): Likewise.
6185 (asin_test_tonearest): Likewise.
6186 (asin_test_towardzero): Likewise.
6187 (asin_test_downward): Likewise.
6188 (asin_test_upward): Likewise.
6189 (asinh_test): Likewise.
6190 (atan_test): Likewise.
6191 (atanh_test): Likewise.
6192 (atan2_test): Likewise.
6193 (cabs_test): Likewise.
6194 (cacos_test): Likewise.
6195 (cacosh_test): Likewise.
6196 (casin_test): Likewise.
6197 (casinh_test): Likewise.
6198 (catan_test): Likewise.
6199 (catanh_test): Likewise.
6200 (cbrt_test): Likewise.
6201 (ccos_test): Likewise.
6202 (ccosh_test): Likewise.
6203 (cexp_test): Likewise.
6204 (clog_test): Likewise.
6205 (clog10_test): Likewise.
6206 (cos_test): Likewise.
6207 (cos_test_tonearest): Likewise.
6208 (cos_test_towardzero): Likewise.
6209 (cos_test_downward): Likewise.
6210 (cos_test_upward): Likewise.
6211 (cosh_test): Likewise.
6212 (cosh_test_tonearest): Likewise.
6213 (cosh_test_towardzero): Likewise.
6214 (cosh_test_downward): Likewise.
6215 (cosh_test_upward): Likewise.
6216 (cpow_test): Likewise.
6217 (csin_test): Likewise.
6218 (csinh_test): Likewise.
6219 (csqrt_test): Likewise.
6220 (ctan_test): Likewise.
6221 (ctan_test_tonearest): Likewise.
6222 (ctan_test_towardzero): Likewise.
6223 (ctan_test_downward): Likewise.
6224 (ctan_test_upward): Likewise.
6225 (ctanh_test): Likewise.
6226 (ctanh_test_tonearest): Likewise.
6227 (ctanh_test_towardzero): Likewise.
6228 (ctanh_test_downward): Likewise.
6229 (ctanh_test_upward): Likewise.
6230 (erf_test): Likewise.
6231 (erfc_test): Likewise.
6232 (exp_test): Likewise.
6233 (exp_test_tonearest): Likewise.
6234 (exp_test_towardzero): Likewise.
6235 (exp_test_downward): Likewise.
6236 (exp_test_upward): Likewise.
6237 (exp10_test): Likewise.
6238 (exp2_test): Likewise.
6239 (expm1_test): Likewise.
6240 (fmod_test): Likewise.
6241 (gamma_test): Likewise.
6242 (hypot_test): Likewise.
6243 (j0_test): Likewise.
6244 (j1_test): Likewise.
6245 (jn_test): Likewise.
6246 (lgamma_test): Likewise.
6247 (log_test): Likewise.
6248 (log10_test): Likewise.
6249 (log1p_test): Likewise.
6250 (log2_test): Likewise.
6251 (logb_test_downward): Likewise.
6252 (pow_test): Likewise.
6253 (pow_test_tonearest): Likewise.
6254 (pow_test_towardzero): Likewise.
6255 (pow_test_downward): Likewise.
6256 (pow_test_upward): Likewise.
6257 (remainder_test): Likewise.
6258 (remquo_test): Likewise.
6259 (sin_test): Likewise.
6260 (sin_test_tonearest): Likewise.
6261 (sin_test_towardzero): Likewise.
6262 (sin_test_downward): Likewise.
6263 (sin_test_upward): Likewise.
6264 (sincos_test): Likewise.
6265 (sinh_test): Likewise.
6266 (sinh_test_tonearest): Likewise.
6267 (sinh_test_towardzero): Likewise.
6268 (sinh_test_downward): Likewise.
6269 (sinh_test_upward): Likewise.
6270 (sqrt_test): Likewise.
6271 (tan_test): Likewise.
6272 (tan_test_tonearest): Likewise.
6273 (tan_test_towardzero): Likewise.
6274 (tan_test_downward): Likewise.
6275 (tan_test_upward): Likewise.
6276 (tanh_test): Likewise.
6277 (tgamma_test): Likewise.
6278 (y0_test): Likewise.
6279 (y1_test): Likewise.
6280 (yn_test): Likewise.
6281
323e5cb7
JM
6282 * math/gen-libm-test.pl (adjust_arg): Remove function.
6283 (special_function): Remove argument $in_func. Only handle
6284 generating output for tables of tests, not inside functions.
6285 (parse_args): Likewise.
6286 (generate_testfile): Remove variable $in_func. Update call to
6287 parse_args.
6288 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6289 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6290 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6291 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6292 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6293 (MAX_VALUE_INIT): Rename macro to max_value.
6294 (MIN_VALUE_INIT): Rename macro to min_value.
6295 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6296 (plus_zero): Remove variable.
6297 (minus_zero): Likewise.
6298 (plus_infty): Likewise.
6299 (minus_infty): Likewise.
6300 (qnan_value): Likewise.
6301 (max_value): Likewise.
6302 (min_value): Likewise.
6303 (min_subnorm_value): Likewise.
6304
e054f494
RA
63052013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6306
6307 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6308 uint64_t or uint32_t usage.
6309 * crypt/sha256-block.c: Likewise.
6310 * crypt/sha256-crypt.c: Likewise.
6311 * crypt/sha256.c: Likewise.
6312 * crypt/sha512-block.c: Likewise.
6313 * crypt/sha512-crypt.c: Likewise.
6314 * crypt/sha512.c: Likewise.
6315 * debug/backtrace-tst.c: Likewise.
6316 * debug/pcprofiledump.c: Likewise.
6317 * elf/cache.c: Likewise.
6318 * elf/dl-cache.c: Likewise.
6319 * elf/dl-misc.c: Likewise.
6320 * elf/dl-profile.c: Likewise.
6321 * elf/dl-support.c: Likewise.
6322 * elf/ldconfig.c: Likewise.
6323 * elf/sprof.c: Likewise.
6324 * iconv/dummy-repertoire.c: Likewise.
6325 * iconv/iconv_charmap.c: Likewise.
6326 * iconv/skeleton.c: Likewise.
6327 * iconvdata/8bit-generic.c: Likewise.
6328 * iconvdata/cp737.h: Likewise.
6329 * iconvdata/cp775.h: Likewise.
6330 * iconvdata/ibm1008.h: Likewise.
6331 * iconvdata/ibm1025.h: Likewise.
6332 * iconvdata/ibm1046.h: Likewise.
6333 * iconvdata/ibm1097.h: Likewise.
6334 * iconvdata/ibm1112.h: Likewise.
6335 * iconvdata/ibm1122.h: Likewise.
6336 * iconvdata/ibm1123.h: Likewise.
6337 * iconvdata/ibm1124.h: Likewise.
6338 * iconvdata/ibm1129.h: Likewise.
6339 * iconvdata/ibm1130.h: Likewise.
6340 * iconvdata/ibm1132.h: Likewise.
6341 * iconvdata/ibm1133.h: Likewise.
6342 * iconvdata/ibm1137.h: Likewise.
6343 * iconvdata/ibm1140.h: Likewise.
6344 * iconvdata/ibm1141.h: Likewise.
6345 * iconvdata/ibm1142.h: Likewise.
6346 * iconvdata/ibm1143.h: Likewise.
6347 * iconvdata/ibm1144.h: Likewise.
6348 * iconvdata/ibm1145.h: Likewise.
6349 * iconvdata/ibm1146.h: Likewise.
6350 * iconvdata/ibm1147.h: Likewise.
6351 * iconvdata/ibm1148.h: Likewise.
6352 * iconvdata/ibm1149.h: Likewise.
6353 * iconvdata/ibm1153.h: Likewise.
6354 * iconvdata/ibm1154.h: Likewise.
6355 * iconvdata/ibm1155.h: Likewise.
6356 * iconvdata/ibm1156.h: Likewise.
6357 * iconvdata/ibm1157.h: Likewise.
6358 * iconvdata/ibm1158.h: Likewise.
6359 * iconvdata/ibm1160.h: Likewise.
6360 * iconvdata/ibm1161.h: Likewise.
6361 * iconvdata/ibm1162.h: Likewise.
6362 * iconvdata/ibm1163.h: Likewise.
6363 * iconvdata/ibm1164.h: Likewise.
6364 * iconvdata/ibm1166.h: Likewise.
6365 * iconvdata/ibm1167.h: Likewise.
6366 * iconvdata/ibm12712.h: Likewise.
6367 * iconvdata/ibm1390.h: Likewise.
6368 * iconvdata/ibm1399.h: Likewise.
6369 * iconvdata/ibm16804.h: Likewise.
6370 * iconvdata/ibm4517.h: Likewise.
6371 * iconvdata/ibm4899.h: Likewise.
6372 * iconvdata/ibm4909.h: Likewise.
6373 * iconvdata/ibm4971.h: Likewise.
6374 * iconvdata/ibm5347.h: Likewise.
6375 * iconvdata/ibm803.h: Likewise.
6376 * iconvdata/ibm856.h: Likewise.
6377 * iconvdata/ibm901.h: Likewise.
6378 * iconvdata/ibm902.h: Likewise.
6379 * iconvdata/ibm9030.h: Likewise.
6380 * iconvdata/ibm9066.h: Likewise.
6381 * iconvdata/ibm921.h: Likewise.
6382 * iconvdata/ibm922.h: Likewise.
6383 * iconvdata/ibm9448.h: Likewise.
6384 * iconvdata/isiri-3342.h: Likewise.
6385 * iconvdata/jis0201.h: Likewise.
6386 * include/link.h: Likewise.
6387 * include/netdb.h: Likewise.
6388 * inet/check_native.c: Likewise.
6389 * inet/check_pf.c: Likewise.
6390 * inet/getipv4sourcefilter.c: Likewise.
6391 * inet/getnameinfo.c: Likewise.
6392 * inet/getsourcefilter.c: Likewise.
6393 * inet/htonl.c: Likewise.
6394 * inet/setipv4sourcefilter.c: Likewise.
6395 * inet/setsourcefilter.c: Likewise.
6396 * inet/test-inet6_opt.c: Likewise.
6397 * inet/tst-network.c: Likewise.
6398 * locale/C-collate.c: Likewise.
6399 * locale/C-ctype.c: Likewise.
6400 * locale/C-time.c: Likewise.
6401 * locale/C-translit.h: Likewise.
6402 * locale/loadarchive.c: Likewise.
6403 * locale/programs/3level.h: Likewise.
6404 * locale/programs/charmap.c: Likewise.
6405 * locale/programs/charmap.h: Likewise.
6406 * locale/programs/ld-address.c: Likewise.
6407 * locale/programs/ld-collate.c: Likewise.
6408 * locale/programs/ld-ctype.c: Likewise.
6409 * locale/programs/ld-identification.c: Likewise.
6410 * locale/programs/ld-measurement.c: Likewise.
6411 * locale/programs/ld-messages.c: Likewise.
6412 * locale/programs/ld-monetary.c: Likewise.
6413 * locale/programs/ld-name.c: Likewise.
6414 * locale/programs/ld-numeric.c: Likewise.
6415 * locale/programs/ld-paper.c: Likewise.
6416 * locale/programs/ld-telephone.c: Likewise.
6417 * locale/programs/ld-time.c: Likewise.
6418 * locale/programs/linereader.c: Likewise.
6419 * locale/programs/locale.c: Likewise.
6420 * locale/programs/locarchive.c: Likewise.
6421 * locale/programs/locfile.h: Likewise.
6422 * locale/programs/repertoire.c: Likewise.
6423 * locale/programs/simple-hash.c: Likewise.
6424 * locale/programs/simple-hash.h: Likewise.
6425 * malloc/memusage.c: Likewise.
6426 * malloc/memusagestat.c: Likewise.
6427 * nis/nis_defaults.c: Likewise.
6428 * nis/nis_hash.c: Likewise.
6429 * nis/nis_print.c: Likewise.
6430 * nis/nis_xdr.c: Likewise.
6431 * nscd/connections.c: Likewise.
6432 * nscd/hstcache.c: Likewise.
6433 * nscd/nscd_gethst_r.c: Likewise.
6434 * nscd/nscd_getserv_r.c: Likewise.
6435 * nscd/nscd_helper.c: Likewise.
6436 * nscd/servicescache.c: Likewise.
6437 * nss/makedb.c: Likewise.
6438 * nss/nss_db/db-XXX.c: Likewise.
6439 * nss/nss_db/db-initgroups.c: Likewise.
6440 * nss/nss_db/db-netgrp.c: Likewise.
6441 * nss/nss_files/files-network.c: Likewise.
6442 * nss/nss_files/files-parse.c: Likewise.
6443 * posix/bug-regex5.c: Likewise.
6444 * posix/fnmatch_loop.c: Likewise.
6445 * posix/regcomp.c: Likewise.
6446 * posix/regexec.c: Likewise.
6447 * posix/tst-rfc3484-2.c: Likewise.
6448 * posix/tst-rfc3484-3.c: Likewise.
6449 * posix/tst-rfc3484.c: Likewise.
6450 * resolv/nss_dns/dns-canon.c: Likewise.
6451 * resolv/nss_dns/dns-network.c: Likewise.
6452 * resolv/res_init.c: Likewise.
6453 * resolv/res_mkquery.c: Likewise.
6454 * resolv/tst-aton.c: Likewise.
6455 * stdlib/cxa_atexit.c: Likewise.
6456 * stdlib/cxa_finalize.c: Likewise.
6457 * stdlib/gen-fpioconst.c: Likewise.
6458 * stdlib/strtol_l.c: Likewise.
6459 * string/tst-endian.c: Likewise.
6460 * sunrpc/auth_des.c: Likewise.
6461 * sunrpc/clnt_udp.c: Likewise.
6462 * sunrpc/rtime.c: Likewise.
6463 * sunrpc/svcauth_des.c: Likewise.
6464 * sunrpc/xdr.c: Likewise.
6465 * sunrpc/xdr_intXX_t.c: Likewise.
6466 * sunrpc/xdr_rec.c: Likewise.
6467 * sysdeps/generic/ldconfig.h: Likewise.
6468 * sysdeps/generic/ldsodefs.h: Likewise.
6469 * sysdeps/generic/memusage.h: Likewise.
6470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6473 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6480 * sysdeps/posix/getaddrinfo.c: Likewise.
6481 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6482 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6483 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6485 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6486 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6487 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6488 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6489 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6490 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6491 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6492 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6493 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6494 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6495 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6496 * sysdeps/x86_64/dl-tls.h: Likewise.
6497 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6498 * time/alt_digit.c: Likewise.
6499 * time/era.c: Likewise.
6500 * wcsmbs/tst-c16c32-1.c: Likewise.
6501
8c75f674
JM
65022013-05-16 Joseph Myers <joseph@codesourcery.com>
6503
6504 * math/libm-test.inc (struct test_sincos_data): New type.
6505 (RUN_TEST_LOOP_sincos): New macro.
6506 (sincos_test_data): New variable.
6507 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6508
e6e49e59
RH
65092013-05-16 Richard Henderson <rth@redhat.com>
6510
6511 * math/atest-exp2.c (LIMB64): New macro.
6512 (CONSTSZ): New macro.
6513 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6514 (hexdig): Move ...
6515 (print_mpn_fp): ... to function scope.
6516 (read_mpn_hex): Remove.
6517 (get_log2): Remove.
6518 (exp2_mpn): Use mp_log2.
6519 (main): Use mp_exp1.
6520
15c7c18d
JM
65212013-05-16 Joseph Myers <joseph@codesourcery.com>
6522
105a07df
JM
6523 * math/libm-test.inc: Remove comment about not testing "inexact"
6524 exceptions.
6525 (INEXACT_EXCEPTION): New macro.
6526 (NO_INEXACT_EXCEPTION): Likewise.
6527 (INVALID_EXCEPTION_OK): Update value.
6528 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6529 (OVERFLOW_EXCEPTION_OK): Likewise.
6530 (UNDERFLOW_EXCEPTION_OK): Likewise.
6531 (IGNORE_ZERO_INF_SIGN): Likewise.
6532 (ERRNO_UNCHANGED): Likewise.
6533 (ERRNO_EDOM): Likewise.
6534 (ERRNO_ERANGE): Likewise.
6535 (test_exceptions): Handle testing "inexact" exceptions.
6536 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6537 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6538 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6539 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6540 INEXACT_EXCEPTION.
6541 (rint_towardzero_test_data): Likewise.
6542 (rint_downward_test_data): Likewise.
6543 (rint_upward_test_data): Likewise.
6544
e9eee333
JM
6545 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6546 with OVERFLOW_EXCEPTION.
6547 (exp10_test_data): Likewise.
6548 (exp2_test_data): Likewise.
6549 (expm1_test_data): Likewise.
6550 (lgamma_test_data): Likewise.
6551 (pow_test_data): Likewise.
6552 (tgamma_test_data): Likewise.
6553 (yn_test_data): Remove duplicate test of overflow.
6554
1c38ff73
JM
6555 * math/libm-test.inc (struct test_cc_c_data): New type.
6556 (RUN_TEST_LOOP_cc_c): New macro.
6557 (cpow_test_data): New variable.
6558 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6559
15c7c18d
JM
6560 * math/libm-test.inc (struct test_f_L_data): New type.
6561 (RUN_TEST_LOOP_f_L): New macro.
6562 (llrint_test_data): New variable.
6563 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6564 (llrint_tonearest_test_data): New variable.
6565 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6566 (llrint_towardzero_test_data): New variable.
6567 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6568 (llrint_downward_test_data): New variable.
6569 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6570 (llrint_upward_test_data): New variable.
6571 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6572 (llround_test_data): New variable.
6573 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6574
f137ff13
PC
65752013-05-13 Peter Collingbourne <pcc@google.com>
6576
6577 * math/atest-exp2.c (get_log2): Remove const attribute.
6578
3608cb24
JM
65792013-05-15 Joseph Myers <joseph@codesourcery.com>
6580
6581 * math/libm-test.inc (struct test_f_l_data): New type.
6582 (RUN_TEST_LOOP_f_l): New macro.
6583 (lrint_test_data): New variable.
6584 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6585 (lrint_tonearest_test_data): New variable.
6586 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6587 (lrint_towardzero_test_data): New variable.
6588 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6589 (lrint_downward_test_data): New variable.
6590 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6591 (lrint_upward_test_data): New variable.
6592 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6593 (lround_test_data): New variable.
6594 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6595
39b1f617
PC
65962013-05-15 Peter Collingbourne <pcc@google.com>
6597
1deff3dc
PC
6598 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6599 (EXTRACT_WORDS64) Use where appropriate.
6600 (INSERT_WORDS64) Likewise.
6601
791f3ba0
PC
6602 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6603 constraints with x constraints.
6604 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6605
39b1f617
PC
6606 * malloc/obstack.c (_obstack_compat): Add initializer.
6607
12fba011
EM
66082013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6609
6610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6611 si_trapno and add si_addr_lsb to _sifields.sigfault.
6612 (si_trapno): Remove macro.
6613 (si_addr_lsb): Define new macro.
6614 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6615
d369f531
JM
66162013-05-15 Joseph Myers <joseph@codesourcery.com>
6617
b861c6c4
JM
6618 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6619 instead of TEST_f_l.
6620 (llrint_test_tonearest): Likewise.
6621 (llrint_test_towardzero): Likewise.
6622 (llrint_test_downward): Likewise.
6623 (llrint_test_upward): Likewise.
6624 (llround_test): Likewise.
6625
7abeee12
JM
6626 * math/libm-test.inc (struct test_f_i_data): Add comment.
6627 (RUN_TEST_LOOP_f_b): New macro.
6628 (RUN_TEST_LOOP_f_b_tg): Likewise.
6629 (finite_test_data): New variable.
6630 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6631 (isfinite_test_data): New variable.
6632 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6633 (isinf_test_data): New variable.
6634 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6635 (isnan_test_data): New variable.
6636 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6637 (isnormal_test_data): New variable.
6638 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6639 (issignaling_test_data): New variable.
6640 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6641 (signbit_test_data): New variable.
6642 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6643
cbe8c4d3
JM
6644 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6645 with INVALID_EXCEPTION.
6646 (acosh_test_data): Likewise.
6647 (asin_test_data): Likewise.
6648 (atanh_test_data): Likewise.
6649 (fmod_test_data): Likewise.
6650 (log_test_data): Likewise.
6651 (log10_test_data): Likewise.
6652 (log2_test_data): Likewise.
6653 (pow_test_data): Likewise.
6654 (sqrt_test_data): Likewise.
6655 (y0_test_data): Likewise.
6656 (y1_test_data): Likewise.
6657 (yn_test_data): Likewise.
6658
5575c0e5
JM
6659 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6660 function contents.
6661
d369f531
JM
6662 * math/libm-test.inc (struct test_ff_i_data): New type.
6663 (RUN_TEST_LOOP_ff_i_tg): New macro.
6664 (isgreater_test_data): New variable.
6665 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6666 (isgreaterequal_test_data): New variable.
6667 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6668 (isless_test_data): New variable.
6669 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6670 (islessequal_test_data): New variable.
6671 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6672 (islessgreater_test_data): New variable.
6673 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6674 (isunordered_test_data): New variable.
6675 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6676
781fd748
DM
66772013-05-14 David S. Miller <davem@davemloft.net>
6678
6679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6680
87aa21df
JM
66812013-05-14 Joseph Myers <joseph@codesourcery.com>
6682
5e908270
JM
6683 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6684
f71172e5
JM
6685 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6686 extra_test to int.
6687 (struct test_f_i_data): Change type of max_ulp to int.
6688
8cfa635a
JM
6689 * math/libm-test.inc (test_ffI_f1_data): New type.
6690 (RUN_TEST_LOOP_ffI_f1): New macro.
6691 (remquo_test_data): New variable.
6692 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6693
2bcb36b2
JM
6694 * setjmp/tst-setjmp-fp.c: New file.
6695 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6696 (link-libm): New variable.
6697 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6698
acbd839a
JM
6699 * math/libm-test.inc (struct test_f_i_data): New type.
6700 (RUN_TEST_LOOP_f_i): New macro.
6701 (RUN_TEST_LOOP_f_i_tg): Likewise.
6702 (fpclassify_test_data): New variable.
6703 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6704 (ilogb_test_data): New variable.
6705 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6706
e414d745
JM
6707 * math/libm-test.inc (scalbln_test): Correct function name in END
6708 call.
6709
d9c2a0fd
JM
6710 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6711 (RUN_TEST_LOOP_fI_f1): New macro.
6712 (frexp_test_data): New variable.
6713 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6714
9dc9095d
JM
6715 * math/libm-test.inc (struct test_fF_f1_data): New type.
6716 (RUN_TEST_LOOP_fF_f1): New macro.
6717 (modf_test_data): New variable.
6718 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6719
87aa21df
JM
6720 * math/libm-test.inc (struct test_f_f1_data): New type.
6721 (RUN_TEST_LOOP_f_f1): New macro.
6722 (gamma_test_data): New variable.
6723 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6724 (lgamma_test_data): New variable.
6725 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6726
141af660
CD
67272013-05-13 Carlos O'Donell <carlos@redhat.com>
6728
6729 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6730 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6731 (main): Comment "tls" pseudo-hwcap.
6732
6d33265c
JM
67332013-05-13 Joseph Myers <joseph@codesourcery.com>
6734
68fc074c
JM
6735 * math/libm-test.inc (struct test_fl_f_data): New type.
6736 (RUN_TEST_LOOP_fl_f): New variable.
6737 (scalbln_test_data): New variable.
6738 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6739
243216e1
JM
6740 * math/libm-test.inc (struct test_fi_f_data): New type.
6741 (RUN_TEST_LOOP_fi_f): New macro.
6742 (ldexp_test_data): New variable.
6743 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6744 (scalbn_test_data): New variable.
6745 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6746
6a1992e2
JM
6747 * math/libm-test.inc (struct test_c_f_data): New type.
6748 (RUN_TEST_LOOP_c_f): New macro.
6749 (cabs_test_data): New variable.
6750 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6751 (carg_test_data): New variable.
6752 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6753 (cimag_test_data): New variable.
6754 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6755 (creal_test_data): New variable.
6756 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6757
0e400df5
JM
6758 * math/libm-test.inc (struct test_if_f_data): New type.
6759 (RUN_TEST_LOOP_if_f): New macro.
6760 (jn_test_data): New variable.
6761 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6762 (yn_test_data): New variable.
6763 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6764
6d33265c
JM
6765 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6766
f98ece5f
AZ
67672013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6768
6769 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6770 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6771
0f7d347b
SP
67722013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6773
43fe811b
SP
6774 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6775 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6776 (bench-deps): Add bench-timing.h.
6777 * benchtests-bench-skeleton.c: Include bench-timing.h.
6778 (main): Use TIMING_* macros instead of clock_gettime.
6779 * benchtests/bench-timing.h: New file.
6780
0f7d347b
SP
6781 [BZ #14582]
6782 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6783 Renamed from _LIB_VERSION.
6784 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6785
601a3a5f
JM
67862013-05-12 Joseph Myers <joseph@codesourcery.com>
6787
4f184d30
JM
6788 * math/libm-test.inc (struct test_fff_f_data): New type.
6789 (RUN_TEST_LOOP_fff_f): New macro.
6790 (fma_test_data): New variable.
6791 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6792 (fma_towardzero_test_data): New variable.
6793 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6794 (fma_downward_test_data): New variable.
6795 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6796 (fma_upward_test_data): New variable.
6797 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6798
08198877
JM
6799 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6800 (struct test_c_c_data): New type.
6801 (RUN_TEST_LOOP_c_c): New macro.
6802 (cacos_test_data): New variable.
6803 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6804 (cacosh_test_data): New variable.
6805 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6806 (casin_test_data): New variable.
6807 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6808 (casinh_test_data): New variable.
6809 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6810 (catan_test_data): New variable.
6811 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6812 (catanh_test_data): New variable.
6813 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6814 (ccos_test_data): New variable.
6815 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6816 (ccosh_test_data): New variable.
6817 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6818 (cexp_test_data): New variable.
6819 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6820 (clog_test_data): New variable.
6821 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6822 (clog10_test_data): New variable.
6823 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6824 (conj_test_data): New variable.
6825 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6826 (cproj_test_data): New variable.
6827 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6828 (csin_test_data): New variable.
6829 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6830 (csinh_test_data): New variable.
6831 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6832 (csqrt_test_data): New variable.
6833 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6834 (ctan_test_data): New variable.
6835 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6836 (ctan_tonearest_test_data): New variable.
6837 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6838 (ctan_towardzero_test_data): New variable.
6839 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6840 (ctan_downward_test_data): New variable.
6841 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6842 (ctan_upward_test_data): New variable.
6843 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6844 (ctanh_test_data): New variable.
6845 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6846 (ctanh_tonearest_test_data): New variable.
6847 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6848 (ctanh_towardzero_test_data): New variable.
6849 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6850 (ctanh_downward_test_data): New variable.
6851 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6852 (ctanh_upward_test_data): New variable.
6853 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6854 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6855 of BUILD_COMPLEX.
6856
601a3a5f
JM
6857 * math/libm-test.inc (struct test_ff_f_data): New type.
6858 (struct test_ff_f_data_nexttoward): Likewise.
6859 (RUN_TEST_LOOP_2_f): New macro.
6860 (RUN_TEST_LOOP_ff_f): Likewise.
6861 (atan2_test_data): New variable.
6862 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6863 (copysign_test_data): New variable.
6864 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6865 (fdim_test_data): New variable.
6866 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6867 (fmax_test_data): New variable.
6868 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6869 (fmin_test_data): New variable.
6870 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6871 (fmod_test_data): New variable.
6872 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6873 (hypot_test_data): New variable.
6874 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6875 (nextafter_test_data): New variable.
6876 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6877 (nexttoward_test_data): New variable.
6878 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6879 (pow_test_data): New variable.
6880 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6881 (pow_tonearest_test_data): New variable.
6882 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6883 (pow_towardzero_test_data): New variable.
6884 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6885 (pow_downward_test_data): New variable.
6886 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6887 (pow_upward_test_data): New variable.
6888 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6889 (remainder_test_data): New variable.
6890 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6891 (scalb_test_data): New variable.
6892 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6893 * sysdeps/i386/fpu/libm-test-ulps: Update.
6894
74c57478
JM
68952013-05-11 Joseph Myers <joseph@codesourcery.com>
6896
8329e4da
JM
6897 * math/libm-test.inc (fma_test): Use max_value instead of local
6898 variable fltmax.
6899 (nextafter_test): Likewise.
6900
74c57478
JM
6901 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6902 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6903 (acos_downward_test_data): New variable.
6904 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6905 (acos_upward_test_data): New variable.
6906 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6907 (acosh_test_data): New variable.
6908 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6909 (asin_test_data): New variable.
6910 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6911 (asin_tonearest_test_data): New variable.
6912 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6913 (asin_towardzero_test_data): New variable.
6914 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6915 (asin_downward_test_data): New variable.
6916 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6917 (asin_upward_test_data): New variable.
6918 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6919 (asinh_test_data): New variable.
6920 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6921 (atan_test_data): New variable.
6922 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6923 (atanh_test_data): New variable.
6924 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6925 (cbrt_test_data): New variable.
6926 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6927 (ceil_test_data): New variable.
6928 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6929 (cos_test_data): New variable.
6930 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6931 (cos_tonearest_test_data): New variable.
6932 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6933 (cos_towardzero_test_data): New variable.
6934 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6935 (cos_downward_test_data): New variable.
6936 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6937 (cos_upward_test_data): New variable.
6938 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6939 (cosh_test_data): New variable.
6940 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6941 (cosh_tonearest_test_data): New variable.
6942 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6943 (cosh_towardzero_test_data): New variable.
6944 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6945 (cosh_downward_test_data): New variable.
6946 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6947 (cosh_upward_test_data): New variable.
6948 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6949 (erf_test_data): New variable.
6950 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6951 (erfc_test_data): New variable.
6952 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6953 (exp_test_data): New variable.
6954 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6955 (exp_tonearest_test_data): New variable.
6956 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6957 (exp_towardzero_test_data): New variable.
6958 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6959 (exp_downward_test_data): New variable.
6960 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6961 (exp_upward_test_data): New variable.
6962 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6963 (exp10_test_data): New variable.
6964 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6965 (exp2_test_data): New variable.
6966 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6967 (expm1_test_data): New variable.
6968 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6969 (fabs_test_data): New variable.
6970 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6971 (floor_test_data): New variable.
6972 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6973 (j0_test_data): New variable.
6974 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6975 (j1_test_data): New variable.
6976 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6977 (log_test_data): New variable.
6978 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6979 (log10_test_data): New variable.
6980 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6981 (log1p_test_data): New variable.
6982 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6983 (log2_test_data): New variable.
6984 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6985 (logb_test_data): New variable.
6986 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6987 (logb_downward_test_data): New variable.
6988 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6989 (nearbyint_test_data): New variable.
6990 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6991 (rint_test_data): New variable.
6992 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6993 (rint_tonearest_test_data): New variable.
6994 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6995 (rint_towardzero_test_data): New variable.
6996 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6997 (rint_downward_test_data): New variable.
6998 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6999 (rint_upward_test_data): New variable.
7000 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7001 (round_test_data): New variable.
7002 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7003 (sin_test_data): New variable.
7004 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7005 (sin_tonearest_test_data): New variable.
7006 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7007 (sin_towardzero_test_data): New variable.
7008 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7009 (sin_downward_test_data): New variable.
7010 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7011 (sin_upward_test_data): New variable.
7012 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7013 (sinh_test_data): New variable.
7014 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7015 (sinh_tonearest_test_data): New variable.
7016 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7017 (sinh_towardzero_test_data): New variable.
7018 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7019 (sinh_downward_test_data): New variable.
7020 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7021 (sinh_upward_test_data): New variable.
7022 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7023 (sqrt_test_data): New variable.
7024 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7025 (tan_test_data): New variable.
7026 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7027 (tan_tonearest_test_data): New variable.
7028 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7029 (tan_towardzero_test_data): New variable.
7030 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7031 (tan_downward_test_data): New variable.
7032 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7033 (tan_upward_test_data): New variable.
7034 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7035 (tanh_test_data): New variable.
7036 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7037 (tgamma_test_data): New variable.
7038 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7039 (trunc_test_data): New variable.
7040 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7041 (y0_test_data): New variable.
7042 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7043 (y1_test_data): New variable.
7044 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7045 (significand_test_data): New variable.
7046 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7047
7187d844
CG
70482013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7049
7050 [BZ #12387]
7051 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7052
f63fae73
PT
70532013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7054
7055 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7056
8a67a4b3
AJ
70572013-05-10 Andreas Jaeger <aj@suse.de>
7058
7059 [BZ #15448]
7060 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7061 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7062
51df539d
JM
70632013-05-10 Joseph Myers <joseph@codesourcery.com>
7064
7065 * math/gen-libm-test.pl (adjust_arg): New function.
7066 (special_functions): Handle generating output in both functions
7067 and arrays.
7068 (parse_args): Likewise.
7069 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7070 $in_func argument to parse_args.
7071 * math/libm-test.inc (struct test_f_f_data): New type.
7072 (IF_ROUND_INIT_): New macro.
7073 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7074 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7075 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7076 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7077 (ROUND_RESTORE_): Likewise.
7078 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7079 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7080 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7081 (ROUND_RESTORE_FE_UPWARD): Likewise.
7082 (RUN_TEST_LOOP_f_f): New macro.
7083 (acos_test_data): New variable.
7084 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7085 (acos_tonearest_test_data): New variable.
7086 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7087
5c637fe5
SP
70882013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7089
7090 * benchtests/bench-skeleton.c (startup): Fix coding style.
7091
ab2b9461
JM
70922013-05-10 Joseph Myers <joseph@codesourcery.com>
7093
7094 [BZ #6809]
7095 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7096 negative infinity argument.
7097 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7098 negative infinity argument.
7099 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7100 negative infinity argument.
7101 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7102 domain errors.
7103
4c0fe6fe
FW
71042013-05-10 Florian Weimer <fweimer@redhat.com>
7105
7106 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7107 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7108 * iconv/iconv_prog.c (main): Likewise.
7109 * locale/programs/charmap-dir.c (charmap_readdir)
7110 (fopen_uncompressed): Likewise.
7111 * locale/programs/locfile.c (siblings_uncached)
7112 (write_locale_data): Use lstat64 instead of lstat.
7113 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7114 stat.
7115
a3375d29
AJ
71162013-05-10 Andreas Jaeger <aj@suse.de>
7117
7118 [BZ #15395]
7119 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7120 localization.
7121 Include <locale.h>.
7122
36129722
CD
71232013-05-09 Carlos O'Donell <carlos@redhat.com>
7124
7125 * elf/dl-close.c (_dl_close_worker): Add comments.
7126
faa7f811
JM
71272013-05-09 Joseph Myers <joseph@codesourcery.com>
7128
ed41ffef
JM
7129 [BZ #15359]
7130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7131 high part of pi/2.
7132 (__ieee754_rem_pio2l): Update comments.
7133
d0213cd0
JM
7134 [BZ #15429]
7135 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7136 high part of pi/2.
7137 (__ieee754_rem_pio2l): Update comments.
7138
0d3e777a
JM
7139 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7140 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7141
24f56066
JM
7142 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7143 M_PI_4l.
7144
faa7f811
JM
7145 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7146 (M_PI_34_LOG10El): Likewise.
7147 (M_PI2_LOG10El): Likewise.
7148 (M_PI4_LOG10El): Likewise.
7149 (M_PI_LOG10El): Likewise.
7150
e9a5e0fd
AZ
71512013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7152
7153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7154
d8cd06db
JM
71552013-05-08 Joseph Myers <joseph@codesourcery.com>
7156
a0d9f9d7
JM
7157 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7158 (MINUS_ZERO_INIT): Likewise.
7159 (PLUS_INFTY_INIT): Likewise.
7160 (MINUS_INFTY_INIT): Likewise.
7161 (QNAN_VALUE_INIT): Likewise.
7162 (MAX_VALUE_INIT): Likewise.
7163 (MIN_VALUE_INIT): Likewise.
7164 (MIN_SUBNORM_VALUE_INIT): Likewise.
7165 (plus_zero): Initialize with PLUS_ZERO_INIT.
7166 (minus_zero): Initialize with MINUS_ZERO_INIT.
7167 (plus_infty): Initialize with PLUS_INFTY_INIT.
7168 (minus_infty): Initialize with MINUS_INFTY_INIT.
7169 (qnan_value): Initialize with QNAN_VALUE_INIT.
7170 (max_value): Initialize with MAX_VALUE_INIT.
7171 (min_value): Initialize with MIN_VALUE_INIT.
7172 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7173
ae08db3b
JM
7174 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7175 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7176 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7177 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7178
f44bf14a
JM
7179 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7180 (RUN_TEST_2_f): Likewise.
7181 (RUN_TEST_ff_f): Likewise.
7182 (RUN_TEST_fi_f): Likewise.
7183 (RUN_TEST_fl_f): Likewise.
7184 (RUN_TEST_fff_f): Likewise.
7185 (RUN_TEST_c_f): Likewise.
7186 (RUN_TEST_f_f1): Likewise.
7187 (RUN_TEST_fF_f1): Likewise.
7188 (RUN_TEST_fI_f1): Likewise.
7189 (RUN_TEST_ffI_f1): Likewise.
7190 (RUN_TEST_c_c): Likewise.
7191 (RUN_TEST_cc_c): Likewise.
7192 (RUN_TEST_f_i): Likewise.
7193 (RUN_TEST_f_i_tg): Likewise.
7194 (RUN_TEST_ff_i_tg): Likewise.
7195 (RUN_TEST_f_b): Likewise.
7196 (RUN_TEST_f_b_tg): Likewise.
7197 (RUN_TEST_f_l): Likewise.
7198 (RUN_TEST_f_L): Likewise.
7199 (RUN_TEST_sincos): Likewise.
7200 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7201 whether to show exceptions. Do not include ");\n" in return
7202 value.
7203 (special_functions): Output call to RUN_TEST_sincos instead of
7204 check_float calls. Update calls to new_test.
7205 (parse_args): Output call to single RUN_TEST_* macro instead of
7206 check_* calls and other assignments. Update calls to new_test.
7207
d8cd06db
JM
7208 [BZ #2546]
7209 [BZ #2560]
7210 [BZ #5159]
7211 [BZ #15426]
7212 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7213 input to result for tgamma overflow.
7214 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7215 (gamma_coeff): New variable.
7216 (NCOEFF): New macro.
7217 (gamma_positive): New function.
7218 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7219 underflow here. Use gamma_positive instead of exp (lgamma) for
7220 other arguments.
7221 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7222 (gamma_coeff): New variable.
7223 (NCOEFF): New macro.
7224 (gammaf_positive): New function.
7225 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7226 underflow here. Use gamma_positive instead of exp (lgamma) for
7227 other arguments.
7228 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7229 (gamma_coeff): New variable.
7230 (NCOEFF): New macro.
7231 (gammal_positive): New function.
7232 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7233 underflow here. Use gamma_positive instead of exp (lgamma) for
7234 other arguments.
7235 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7236 (gamma_coeff): New variable.
7237 (NCOEFF): New macro.
7238 (gammal_positive): New function.
7239 (__ieee754_gammal_r): Handle positive infinity, overflow and
7240 underflow here. Handle NaN the same as positive infinity. Remove
7241 check x < 0xffffffff for negative integers. Use gamma_positive
7242 instead of exp (lgamma) for other arguments.
7243 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7244 (gamma_coeff): New variable.
7245 (NCOEFF): New macro.
7246 (gammal_positive): New function.
7247 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7248 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7253 * sysdeps/generic/math_private.h (__gamma_productf): New
7254 prototype.
7255 (__gamma_product): Likewise.
7256 (__gamma_productl): Likewise.
7257 * math/Makefile (libm-calls): Add gamma_product.
7258 * math/libm-test.inc (tgamma_test): Add more tests.
7259 * sysdeps/i386/fpu/libm-test-ulps: Update.
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7261
bb7cf681
OB
72622013-05-08 Ondřej Bílka <neleai@seznam.cz>
7263
7264 * benchtests/bench-skeleton.c (main): Preheat CPU.
7265
ba853947
AJ
72662013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7267
7268 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7269
8347c74c
RM
72702013-05-07 Roland McGrath <roland@hack.frob.com>
7271
7272 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7273 and _dl_skip_args_internal.
7274
e8dd4791
CD
72752013-05-07 Carlos O'Donell <carlos@redhat.com>
7276
7277 * manual/message.texi (Message Translation): Talk about users.
7278 Message to key mapping impacts design.
7279
c7405830
RM
72802013-05-06 Roland McGrath <roland@hack.frob.com>
7281
a9173057
RM
7282 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7283
976e2f03
RM
7284 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7285
9723ffc5
RM
7286 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7287 * sysdeps/wordsize-64/glob64.c: ... here.
7288
962e6658
RM
7289 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7290 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7291 New macros.
7292
ee586a6d
RM
7293 * debug/getlogin_r_chk.c: Moved to ...
7294 * login/getlogin_r_chk.c: ... here.
7295 * debug/Makefile (routines): Move getlogin_r_chk to ...
7296 * login/Makefile (routines): ... here.
7297 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7298 * login/Versions (libc: GLIBC_2.4): ... here.
7299
355f9165
RM
7300 * io/poll.c (__poll): Renamed from poll.
7301 Add libc_hidden_def.
7302 (poll): Define as weak alias.
7303
bd9ffde6
RM
7304 * debug/ptsname_r_chk.c: Moved to ...
7305 * login/ptsname_r_chk.c: ... here.
7306 * debug/Makefile (routines): Move ptsname_r_chk to ...
7307 * login/Makefile (routines): ... here.
7308 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7309 * login/Versions (libc: GLIBC_2.4): ... here.
7310
8fb16a04
RM
7311 * posix/getlogin.c: Moved to ...
7312 * login/getlogin.c: ... here.
7313 * posix/getlogin_r.c: Moved to ...
7314 * login/getlogin_r.c: ... here.
7315 * posix/getlogin_r.c: Moved to ...
7316 * login/getlogin_r.c: ... here.
7317 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7318 * login/Makefile (routines): ... here.
7319 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7320 * login/Versions (libc: GLIBC_2.0): ... here.
7321
b99b892f
RM
7322 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7323 (setrlimit): Define as weak alias.
7324
c7405830
RM
7325 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7326 Call __ names for open, ftruncate, and close.
7327 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7328 (truncate): Define as weak alias.
7329
5bf96de5
JM
73302013-05-06 Joseph Myers <joseph@codesourcery.com>
7331
9ea3513c
JM
7332 * math/gen-libm-test.pl (parse_args): Initialize x before each
7333 test of frexp, modf and remquo.
7334
5bf96de5
JM
7335 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7336 test signgam value.
7337
16e616a7
AZ
73382013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7339
7340 [BZ #15418]
7341 [BZ #15419]
7342 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7343 internal tests.
7344 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7345
d5e82754
RM
73462013-05-06 Roland McGrath <roland@hack.frob.com>
7347
7348 * elf/dl-writev.h: New file.
7349 * elf/dl-misc.c: Include it.
7350 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7351 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7352
a7548d41
JM
73532013-05-04 Joseph Myers <joseph@codesourcery.com>
7354
b7dab1e4
JM
7355 * math/libm-test.inc (noXFails): Remove variable.
7356 (noXPasses): Likewise.
7357 (BUILD_COMPLEX_INT): Remove macro.
7358 (print_screen): Remove xfail argument.
7359 (print_screen_max_error): Likewise.
7360 (update_stats): Likewise.
7361 (print_max_error): Likewise. Update calls to other affected
7362 functions.
7363 (print_complex_max_error): Likewise.
7364 (test_single_exception): Update calls to print_screen.
7365 (test_single_errno): Likewise.
7366 (check_float_internal): Remove xfail argument. Update calls to
7367 other affected functions.
7368 (check_float): Likewise.
7369 (check_complex): Likewise.
7370 (check_int): Likewise.
7371 (check_long): Likewise.
7372 (check_bool): Likewise.
7373 (check_longlong): Likewise.
7374 (main): Don't print noXFails and noXPasses.
7375 * math/gen-libm-test.pl (top level): Don't mention expected
7376 failure handling in comment.
7377 (new_test): Don't handle expected failures.
7378 (parse_args): Don't mention expected failure handling in comment.
7379 (generate_testfile): Don't handle expected failures.
7380 (parse_ulps): Likewise.
7381 (print_ulps_file): Likewise.
7382 (get_failure): Remove function.
7383 (output_test): Don't handle expected failures.
7384 * make/README.libm-test: Don't mention expected failure handling.
7385
a7548d41
JM
7386 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7387 (minus_zero): Likewise.
7388 (plus_infty): Likewise.
7389 (minus_infty): Likewise.
7390 (qnan_value): Likewise.
7391 (max_value): Likewise.
7392 (min_value): Likewise.
7393 (min_subnorm_value): Likewise.
7394 (initialize): Do not initialize those variables dynamically.
7395
60bfd54c
RM
73962013-05-03 Roland McGrath <roland@hack.frob.com>
7397
cc0e6ed8
RM
7398 * io/open.c (__open_2): Moved to ...
7399 * io/open_2.c: ... this new file.
7400 * io/open64.c (__open64_2): Moved to ...
7401 * io/open64_2.c: ... this new file.
7402 * io/openat.c (__openat_2): Moved to ...
7403 * io/openat_2.c: ... this new file.
7404 * io/openat64.c (__openat64_2): Moved to ...
7405 * io/openat64_2.c: ... this new file.
7406 * io/Makefile (routines): Add them.
7407 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7408 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7409 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7410 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7411 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7412 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7413 (__openat64): Add hidden_ver.
7414 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7415 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7416
60bfd54c
RM
7417 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7418 Separately conditionalize setting of GLRO(dl_sysinfo) so
7419 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7420 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7421
83e7640f
AZ
74222013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7423
7424 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7425 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7426 definition.
7427 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7428 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7429 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7430 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7431 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7432
d5dc2af3
JM
74332013-05-03 Joseph Myers <joseph@codesourcery.com>
7434
c31a5b1e
JM
7435 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7436 test signgam value.
7437
d5dc2af3
JM
7438 * math/libm-test.inc (hypot_test): Do not use
7439 IGNORE_ZERO_INF_SIGN.
7440
164fd39d
AJ
74412013-05-03 Andreas Jaeger <aj@suse.de>
7442
7443 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7444 Linux 3.9.
7445 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7446 (PF_MAX): Adjust for VSOCK change.
7447
8237f48c
AZ
74482013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7449
7450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7451
9df02941
CD
74522013-05-02 Carlos O'Donell <carlos@redhat.com>
7453
7454 [BZ #15264]
7455 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7456 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7457 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7458
d422395e
DM
74592013-05-02 David S. Miller <davem@davemloft.net>
7460
7461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7462
a07c5731
OB
74632013-05-01 Ondřej Bílka <neleai@seznam.cz>
7464
7465 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7466
1324e37f
RM
74672013-05-01 Roland McGrath <roland@hack.frob.com>
7468
7469 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7470
0695940b
RS
74712013-05-01 Richard Smith <richard@metafoo.co.uk>
7472
bb5f27ad 7473 [BZ #14952]
0695940b
RS
7474 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7475 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7476 Use __attribute__ ((__gnu_inline__)).
7477 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7478 Don't use __attribute__ ((__gnu_inline__)).
7479
10de07f5
JM
74802013-05-01 Joseph Myers <joseph@codesourcery.com>
7481
7482 [BZ #15423]
7483 * math/s_catan.c (__catan): Handle small real or imaginary part of
7484 input specially to avoid spurious underflow.
7485 * math/s_catanf.c (__catanf): Likewise.
7486 * math/s_catanh.c (__catanh): Likewise.
7487 * math/s_catanhf.c (__catanhf): Likewise.
7488 * math/s_catanhl.c (__catanhl): Likewise.
7489 * math/s_catanl.c (__catanl): Likewise.
7490 * math/libm-test.inc (catan_test): Add more tests.
7491 (catanh_test): Likewise.
7492 * sysdeps/i386/fpu/libm-test-ulps: Update.
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7494
cb4d5414
AZ
74952013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7496
7497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7498
caf84319
JM
74992013-04-30 Joseph Myers <joseph@codesourcery.com>
7500
7501 [BZ #15416]
7502 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7503 accurately for denominator in atan2.
7504 * math/s_catanf.c (__catanf): Likewise.
7505 * math/s_catanh.c (__catanh): Likewise.
7506 * math/s_catanhf.c (__catanhf): Likewise.
7507 * math/s_catanhl.c (__catanhl): Likewise.
7508 * math/s_catanl.c (__catanl): Likewise.
7509 * math/libm-test.inc (catan_test): Add more tests.
7510 (catanh_test): Likewise.
7511 * sysdeps/i386/fpu/libm-test-ulps: Update.
7512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7513
d569c6ee
SP
75142013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7515
6dbe713d
SP
7516 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7517
f0ee064b
SP
7518 * benchtests/Makefile (bench): Remove slow benchmarks.
7519 * benchtests/atan-inputs: Add slow benchmark inputs.
7520 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7521 (BENCH_FUNC): Accept variant offset.
7522 (VARIANT): Define.
7523 * benchtests/bench-skeleton.c (main): Run benchmark for each
7524 variant.
7525 * benchtests/cos-inputs: Add slow benchmark inputs.
7526 * benchtests/exp-inputs: Likewise.
7527 * benchtests/pow-inputs: Likewise.
7528 * benchtests/sin-inputs: Likewise.
7529 * benchtests/slowatan-inputs: Remove.
7530 * benchtests/slowatan.c: Remove.
7531 * benchtests/slowcos-inputs: Remove.
7532 * benchtests/slowcos.c: Remove.
7533 * benchtests/slowexp-inputs: Remove.
7534 * benchtests/slowexp.c: Remove.
7535 * benchtests/slowpow-inputs: Remove.
7536 * benchtests/slowpow.c: Remove.
7537 * benchtests/slowsin-inputs: Remove.
7538 * benchtests/slowsin.c: Remove.
7539 * benchtests/slowtan-inputs: Remove.
7540 * benchtests/slowtan.c: Remove.
7541 * benchtests/tan-inputs: Add slow benchmark inputs.
7542 * scripts/bench.pl: Parse comments and directives.
7543
d569c6ee
SP
7544 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7545 in CPPFLAGS.
7546 ($(objpfx)bench-%.c): Remove *-ITER.
7547 * benchtests/bench-modf.c: Remove definition of ITER.
7548 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7549 (main): Loop for DURATION seconds instead of fixed number of
7550 iterations.
7551 * scripts/bench.pl: Don't expect iterations in parameters.
7552
a6a242fe
RM
75532013-04-29 Roland McGrath <roland@hack.frob.com>
7554
7555 * io/fchdir.c (__fchdir): Renamed from fchdir.
7556 (fchdir): Define as weak alias.
7557
f2da7793
JM
75582013-04-29 Joseph Myers <joseph@codesourcery.com>
7559
7560 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7561 (ERRNO_EDOM): Likewise.
7562 (ERRNO_ERANGE): Likewise.
7563 (noErrnoTests): New variable.
7564 (init_max_error): Set errno to 0.
7565 (test_single_errno): New function.
7566 (test_errno): Likewise.
7567 (check_float_internal): Call test_errno. Set errno to 0.
7568 (check_complex): Refer to errno tests in comment.
7569 (check_int): Call test_errno. Set errno to 0.
7570 (check_long): Likewise.
7571 (check_bool): Likewise.
7572 (check_longlong): Likewise.
7573 (cos_test): Use ERRNO_* flags for errno tests instead of
7574 check_int.
7575 (expm1_test): Likewise.
7576 (fmod_test): Likewise.
7577 (ilogb_test): Likewise.
7578 (lgamma_test): Likewise.
7579 (pow_test): Likewise.
7580 (remainder_test): Likewise.
7581 (sin_test): Likewise.
7582 (tan_test): Likewise.
7583 (yn_test): Likewise.
7584 (initialize): Set errno to 0.
7585 (main): Print number of errno tests.
7586 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7587
b1a36ceb
AJ
75882013-04-29 Andreas Jaeger <aj@suse.de>
7589
c3ed8088
AJ
7590 [BZ #15084]
7591 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7592 and RES_USEVC.
7593
f1a24198
AJ
7594 [BZ #15085]
7595 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7596 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7597 unimplemented.
7598
9ce3b2cb
AJ
7599 [BZ #15380]
7600 * stdlib/random.c (__initstate): Return NULL if
7601 __initstate fails.
7602
f1a24198 7603 [BZ #15086]
b1a36ceb
AJ
7604 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7605 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7606 RES_SNGLKUPREOP.
7607
7e7b6f36
AZ
76082013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7609
7610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7611
4d14f449
JM
76122013-04-29 Joseph Myers <joseph@codesourcery.com>
7613
7614 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7615 of individual tests.
7616 (casin_test): Likewise.
7617 (casinh_test): Likewise.
7618
5b4217d7
JM
76192013-04-27 Joseph Myers <joseph@codesourcery.com>
7620
7621 [BZ #15409]
7622 * math/s_catan.c (__catan): Handle arguments with large real or
7623 imaginary part separately without squaring.
7624 * math/s_catanf.c (__catanf): Likewise.
7625 * math/s_catanh.c (__catanh): Likewise.
7626 * math/s_catanhf.c (__catanhf): Likewise.
7627 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7628 and redefine.
7629 (__catanhl): Handle arguments with large real or imaginary part
7630 separately without squaring.
7631 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7632 and redefine.
7633 (__catanl): Handle arguments with large real or imaginary part
7634 separately without squaring.
7635 * math/libm-test.inc (catan_test): Add more tests.
7636 (catanh_test): Likewise.
7637 * sysdeps/i386/fpu/libm-test-ulps: Update.
7638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7639
4220c3ef
AJ
76402013-04-27 Andreas Jaeger <aj@suse.de>
7641
7642 [BZ #15007]
7643 * stdlib/stdlib.h: Update guards for qecvt.
7644 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7645 <stdlib.h>.
7646
4721b2d1
AM
76472013-04-27 Allan McRae <allan@archlinux.org>
7648
7649 * sysdeps/i386/fpu/libm-test-ulps: Update.
7650
f0302940
JM
76512013-04-26 Joseph Myers <joseph@codesourcery.com>
7652
9457fd95
JM
7653 [BZ #15406]
7654 * math/s_catan.c: Include <float.h>.
7655 (__catan): Ensure underflow exception occurs for underflowed
7656 result.
7657 * math/s_catanf.c: Include <float.h>.
7658 (__catanf): Ensure underflow exception occurs for underflowed
7659 result.
7660 * math/s_catanh.c: Include <float.h>.
7661 (__catanh): Ensure underflow exception occurs for underflowed
7662 result.
7663 * math/s_catanhf.c: Include <float.h>.
7664 (__catanhf): Ensure underflow exception occurs for underflowed
7665 result.
7666 * math/s_catanhl.c: Include <float.h>.
7667 (__catanhl): Ensure underflow exception occurs for underflowed
7668 result.
7669 * math/s_catanl.c: Include <float.h>.
7670 (__catanl): Ensure underflow exception occurs for underflowed
7671 result.
7672 * math/libm-test.inc (catan_test): Add more tests.
7673 (catanh_test): Likewise.
7674
f0302940
JM
7675 [BZ #15405]
7676 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7677 underflowed result.
7678 * math/s_ccoshf.c (__ccoshf): Likewise.
7679 * math/s_ccoshl.c (__ccoshl): Likewise.
7680 * math/s_csin.c (__csin): Likewise.
7681 * math/s_csinf.c (__csinf): Likewise.
7682 * math/s_csinh.c (__csinh): Likewise.
7683 * math/s_csinhf.c (__csinhf): Likewise.
7684 * math/s_csinhl.c (__csinhl): Likewise.
7685 * math/s_csinl.c (__csinl): Likewise.
7686 * math/libm-test.inc (ccos_test): Add more tests.
7687 (ccosh_test): Likewise.
7688 (csin_test): Likewise.
7689 (csinh_test): Likewise.
7690
aa630f59
AZ
76912013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7692
7693 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7694 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7695 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7696 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7697 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7698 powerpc/power5+/fpu folders.
7699 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7700
7701
1b835983
MT
77022013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7703
7704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7705
73709b26
JM
77062013-04-25 Joseph Myers <joseph@codesourcery.com>
7707
7708 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7709 additions to variable.
7710 [$(config-machine) = x86_64] (modules-names): Likewise.
7711 ($(objpfx)tst-audit3): Remove dependency.
7712 ($(objpfx)tst-audit3.out): Likewise.
7713 ($(objpfx)tst-audit4): Likewise.
7714 ($(objpfx)tst-audit4.out): Likewise.
7715 ($(objpfx)tst-audit5): Likewise.
7716 ($(objpfx)tst-audit5.out): Likewise.
7717 ($(objpfx)tst-audit6): Likewise.
7718 ($(objpfx)tst-audit6.out): Likewise.
7719 ($(objpfx)tst-audit7): Likewise.
7720 ($(objpfx)tst-audit7.out): Likewise.
7721 (tst-audit3-ENV): Remove variable.
7722 (tst-audit4-ENV): Likewise.
7723 (tst-audit5-ENV): Likewise.
7724 (tst-audit6-ENV): Likewise.
7725 (tst-audit7-ENV): Likewise.
7726 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7727 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7728 addition to variable.
7729 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7730 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7731 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7732 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7733 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7734 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7735 tst-audit3, tst-audit4 and tst-audit5.
7736 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7737 tst-audit6 and tst-audit7.
7738 [$(subdir) = elf] (modules-names): Add audit modules for those
7739 tests.
7740 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7741 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7742 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7743 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7744 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7745 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7746 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7747 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7748 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7749 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7750 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7751 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7752 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7753 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7754 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7755 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7756 Likewise.
7757 [$(subdir) = elf && $(config-cflags-avx) = yes]
7758 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7759 [$(subdir) = elf && $(config-cflags-avx) = yes]
7760 (CFLAGS-tst-auditmod4a.c): Likewise.
7761 [$(subdir) = elf && $(config-cflags-avx) = yes]
7762 (CFLAGS-tst-auditmod4b.c): Likewise.
7763 [$(subdir) = elf && $(config-cflags-avx) = yes]
7764 (CFLAGS-tst-auditmod6b.c): Likewise.
7765 [$(subdir) = elf && $(config-cflags-avx) = yes]
7766 (CFLAGS-tst-auditmod6c.c): Likewise.
7767 [$(subdir) = elf && $(config-cflags-avx) = yes]
7768 (CFLAGS-tst-auditmod7b.c): Likewise.
7769 * elf/tst-audit3.c: Move to ...
7770 * sysdeps/x86_64/tst-audit3.c: ... here.
7771 * elf/tst-audit4.c: Move to ...
7772 * sysdeps/x86_64/tst-audit4.c: ... here.
7773 * elf/tst-audit5.c: Move to ...
7774 * sysdeps/x86_64/tst-audit5.c: ... here.
7775 * elf/tst-audit6.c: Move to ...
7776 * sysdeps/x86_64/tst-audit6.c: ... here.
7777 * elf/tst-audit7.c: Move to ...
7778 * sysdeps/x86_64/tst-audit7.c: ... here.
7779 * elf/tst-auditmod3a.c: Move to ...
7780 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7781 * elf/tst-auditmod3b.c: Move to ...
7782 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7783 * elf/tst-auditmod4a.c: Move to ...
7784 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7785 * elf/tst-auditmod4b.c: Move to ...
7786 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7787 * elf/tst-auditmod5a.c: Move to ...
7788 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7789 * elf/tst-auditmod5b.c: Move to ...
7790 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7791 * elf/tst-auditmod6a.c: Move to ...
7792 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7793 * elf/tst-auditmod6b.c: Move to ...
7794 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7795 * elf/tst-auditmod6c.c: Move to ...
7796 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7797 * elf/tst-auditmod7a.c: Move to ...
7798 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7799 * elf/tst-auditmod7b.c: Move to ...
7800 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7801
1ef74943
PP
78022013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7803
7804 [BZ #15366]
7805 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7806 define unconditionally.
7807 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7808 define unconditionally.
7809 (INT8_C, INT16_C, etc.): Likewise.
7810
93fd48c5
MR
78112013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7812
ae9552cf
MR
7813 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7814 __ehdr_start with hidden visibility.
7815
93fd48c5
MR
7816 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7817
418601aa
CD
78182013-04-24 Carlos O'Donell <carlos@redhat.com>
7819
7820 * math/libm-test.inc (cos_test): Use accurate hex constants.
7821 (sincost_test): Likewise.
7822
2f38fbfe
JM
78232013-04-24 Joseph Myers <joseph@codesourcery.com>
7824
5e221800
JM
7825 * math/libm-test.inc (catan_test): Add more tests.
7826 (catanh_test): Likewise.
7827
77f143fd
JM
7828 * math/s_catanf.c (__catanf): Use suffixed floating-point
7829 constants.
7830 * math/s_catanhf.c (__catanhf): Likewise.
7831 * math/s_catanhl.c (__catanhl): Likewise.
7832 * math/s_catanl.c (__catanl): Likewise.
7833
2f38fbfe
JM
7834 [BZ #15394]
7835 * math/s_catan.c (__catan): Calculate imaginary part of result
7836 with log1p not log unless computing log of number close to 0.
7837 * math/s_catanf.c (__catanf): Likewise.
7838 * math/s_catanl.c (__catanl): Likewise.
7839 * math/s_catanh.c (__catanh): Calculate real part of result with
7840 log1p not log unless computing log of number close to 0.
7841 * math/s_catanhf.c (__catanhf): Likewise.
7842 * math/s_catanhl.c (__catanhl): Likewise.
7843 * math/libm-test.inc (catan_test): Add more tests.
7844 (catanh_test): Likewise.
7845 * sysdeps/i386/fpu/libm-test-ulps: Update.
7846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7847
45d69176
SP
78482013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7849
7850 * benchtests/Makefile: Mention files in which fast and slow
7851 paths of math functions are implemented.
7852
87f51853
RM
78532013-04-23 Roland McGrath <roland@hack.frob.com>
7854
7855 * sysdeps/posix/timespec_get.c: New file.
7856
3c026539
AZ
78572013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7858
7859 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7860 POWER.
7861 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7862 for POWER.
7863 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7864 powerpc/power5/fpu folders.
7865 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7866 * benchtests/Makefile: Add modf testcase.
7867 * benchtests/bench-modf.c: New file: Benchmark test for mo
7868
ff491d14
SP
78692013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7870
7871 [BZ #14888]
7872 * time/Makefile (tests): Add tst-strptime-whitespace.
7873 * time/strptime_l.c (get_number): Use ISSPACE.
7874 (__strptime_internal): Likewise.
7875 * time/tst-strptime-whitespace.c: New test case.
7876
7ed3f4e8
AS
78772013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7878
7879 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7880 member.
7881 (_nss_files_init): Set it here.
7882
5c95f7b6
HC
78832013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7884
7885 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7886 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7887 unsigned.
7888
d34c9158
JBG
78892013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7890
7891 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7892
2169712d
SP
78932013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7894
7895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7896 size just once.
7897
29c5de99
DM
78982013-04-21 David S. Miller <davem@davemloft.net>
7899
7900 * po/ru.po: Update Russion translation from translation project.
7901
ccdad15d
AC
79022013-04-17 Adam Conrad <adconrad@0c3.net>
7903
7904 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7905 and setfsgid.
7906
0f122b8d
CD
79072013-04-17 Carlos O'Donell <carlos@redhat.com>
7908
5c5b07da 7909 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7910 * configure: Regenerate.
5c5b07da 7911 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7912 Add example to error message.
7913 * sysdeps/i386/configure: Regenerate.
7914
037714dd
SP
79152013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7916
7917 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7918 slowtan.
7919 * benchtests/cos-inputs: New file.
7920 * benchtests/slowcos-inputs: New file.
7921 * benchtests/slowcos.c: New file.
7922 * benchtests/slowtan-inputs: New file.
7923 * benchtests/slowtan.c: New file.
7924 * benchtests/tan-inputs: New file.
7925
e913141d
RM
79262013-04-16 Roland McGrath <roland@hack.frob.com>
7927
7928 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7929 considered kosher.
7930
a2964074
SP
79312013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7932
4856bcd2
SP
7933 * benchtests/Makefile: Include cppflags-iterator.mk to add
7934 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7935
a2964074
SP
7936 * Makefile.in (bench-clean): New target.
7937 * benchtests/Makefile (bench-clean): Likewise.
7938
9fbf9aca
DH
79392013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7940
7941 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7942
207d1e2a
TS
79432013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7944
7945 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7946
306dfba9
AS
79472013-04-15 Andreas Schwab <schwab@suse.de>
7948
7949 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7950 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7951 * nscd/pwdcache.c (cache_addpw): Likewise.
7952 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7953 more than recsize.
7954
206a6699
SP
79552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7956
7957 * benchtests/Makefile (bench): Write all output to
7958 bench-out.tmp together.
7959
0582f6b3
AS
79602013-04-15 Andreas Schwab <schwab@suse.de>
7961
7962 * nscd/nscd.c (main): Don't fork again after closing files.
7963
acb4325f
SP
79642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7965
5cb26d0a
SP
7966 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7967
acb4325f
SP
7968 * benchtests/Rules (bench-deps): Collect dependencies into a
7969 single variable. Add Makefile to dependencies.
7970 ($(objpfx)bench-%.c): Depend on bench-deps.
7971
47792506
RM
79722013-04-12 Roland McGrath <roland@hack.frob.com>
7973 Xavier Roche <roche+kml2@exalead.com>
7974
7975 [BZ #15361]
7976 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7977 just that it's a file descriptor.
7978 * manual/llio.texi (Synchronizing AIO Operations): Update description
7979 for EBADF error from aio_fsync.
7980
8fc1bee5
SP
79812013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7982
7983 * Rules (bench): Move target definition...
7984 * benchtests/Makefile: ... here.
7985
aba5e333
CD
79862013-04-11 Carlos O'Donell <carlos@redhat.com>
7987
7988 * math/libm-test.inc (cos_test): Fix PI/2 test.
7989 (sincos_test): Likewise.
7990 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7991 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7992
273cdee8
AS
79932013-04-11 Andreas Schwab <schwab@suse.de>
7994
6ecec3b6
AS
7995 [BZ #13988]
7996 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7997 accept exponent character only when digits were seen.
7998 * stdio-common/Makefile (tests): Add bug26.
7999 * stdio-common/bug26.c: New file.
8000
273cdee8
AS
8001 [BZ #14293]
8002 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8003 non-freeable.
8004
8da491f5
SP
80052013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8006
01dc6df9
SP
8007 * Makeconfig (rtld-prefix): Define built linker prefix.
8008 * Rules (run-bench): Use it.
8009 * math/Makefile (run-regen-ulps): Likewise.
8010
8da491f5
SP
8011 * Rules (bench): Remove eval.
8012
abe7f530
SP
80132013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8014 Roland McGrath <roland@hack.frob.com>
8015 Ondrej Bilka <neleai@seznam.cz>
8016
8017 [BZ #15346]
8018 * time/getdate.c: Include ctype.h and alloca.h.
8019 (__getdate_r): Trim leading and trailing spaces of input.
8020 * time/tst-getdate.c (tests): Add tests with leading and
8021 trailing spaces.
8022
61c23e62
RM
80232013-04-08 Roland McGrath <roland@hack.frob.com>
8024
8025 [BZ #14280]
8026 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8027 when computing value.
8028
7208a313
CD
80292013-04-06 Carlos O'Donell <carlos@redhat.com>
8030
085b2d41
CD
8031 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8032 Use testrun.sh to run libm tests.
8033
7208a313
CD
8034 [BZ #15309]
8035 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8036
872c0acd
MM
80372013-04-06 Marko Myllynen <myllynen@redhat.com>
8038
8039 [BZ #15264]
8040 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8041
26510bdd
CD
80422013-04-06 Carlos O'Donell <carlos@redhat.com>
8043
8044 * Makefile.in (regen-ulps): New target.
8045 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8046 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8047 [ifneq (no,$(PERL)] (regen-ulps): New target.
8048 [ifeq (no,$(PERL)] (regen-ulps): New target.
8049 * math/libm-test.inc (ulps_file_name): Define.
8050 (output_dir): New variable.
8051 (options): Add "output-dir" option.
8052 (parse_opt): Handle 'o' case.
8053 (main): If output_dir is non-NULL use it as a prefix
8054 otherwise use "".
8055 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8056
a01f19c8
CD
80572013-04-06 Carlos O'Donell <carlos@redhat.com>
8058
8059 [BZ #10060, #10062]
8060 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8061 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8062 fail configure if __sync_val_compare_and_swap is not inlined.
8063 * sysdeps/i386/configure: Regenerate.
8064 * configure.in: Build for i686 when configured for i386.
8065 * configure: Regenerate.
8066 * README: Remove i386 reference.
8067
b7a329a5
CD
80682013-04-06 Carlos O'Donell <carlos@redhat.com>
8069
8070 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8071 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8072
bf0f50df
TS
80732013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8074
ee091edf
TS
8075 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8076 (lmsnanval): New variables.
8077 (F): Add conversion tests.
8078 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8079 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8080
a8b792d6
TS
8081 * stdio-common/tstdiomisc.c (F): Properly collect individual
8082 tests' results.
8083
a1cbf437
TS
8084 [BZ #14686, #15336]
8085 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8086 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8087 Instead, use input NaN values or generate a qNaN by arithmetic
8088 operation. Also fix bugs to comply with the standard.
8089 * math/libm-test.inc (remainder_test): Add more tests.
8090
8b43a0c9
TS
8091 [BZ #15335, #15342]
8092 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8094 input NaN values or generate a qNaN by arithmetic operation.
8095
d91da4ce
TS
8096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8097 unreachable code.
8098
bf0f50df
TS
8099 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8100 definitions.
8101
05e166c8
JM
81022013-04-03 Joseph Myers <joseph@codesourcery.com>
8103
8104 [BZ #14478]
8105 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8106 underflowed result.
8107 * math/s_cexpf.c (__cexpf): Likewise.
8108 * math/s_cexpl.c (__cexpl): Likewise.
8109 * math/libm-test.inc (cexp_test): Add more tests.
8110
1cef1b19
AS
81112013-04-03 Andreas Schwab <schwab@suse.de>
8112
8113 [BZ #15330]
8114 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8115 order arrays from heap if bigger than alloca cutoff.
8116
74d87055
TS
81172013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8118
8119 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8120 (SNAN_TESTS_double): Refer to GCC PR56831.
8121 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8122 GCC PR56828.
8123
d755bba4
SP
81242013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8125
90d5d5bb
SP
8126 * Rules (bench): Move bench.out after the run is complete.
8127
73e0cd5d
SP
8128 * Rules (bench): Echo currently running benchmark.
8129
64aabd4b
SP
8130 * benchtests/Makefile (bench): Add atan and slowatan.
8131 * benchtests/atan-inputs: New file.
8132 * benchtests/slowatan-inputs: New file.
8133 * benchtests/slowatan.c: New file.
8134
c871eccd
SP
8135 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8137 its value.
8138
d755bba4
SP
8139 [BZ #15305]
8140 * sysdeps/unix/sysv/linux/kernel-features.h
8141 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8142 __ASSUME_XFS_RESTRICTED_CHOWN.
8143 * sysdeps/unix/sysv/linux/pathconf.c
8144 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8145 Save and restore errno.
8146
52ce4860
JM
81472013-04-02 Joseph Myers <joseph@codesourcery.com>
8148
8149 [BZ #15327]
8150 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8151 arguments using __kernel_casinh.
8152 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8153 arguments using __kernel_casinhf.
8154 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8155 arguments using __kernel_casinhl.
8156 * math/libm-test.inc (cacosh_test): Add more tests.
8157 * sysdeps/i386/fpu/libm-test-ulps: Update.
8158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8159
81f311c2
SP
81602013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8161
e7906a47
SP
8162 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8164
92e3664b
SP
8165 * bench/Makefile (bench): Add sin and slowsin.
8166 * benchtests/sin-inputs: New file.
8167 * benchtests/slowsin-inputs: New file.
8168 * benchtests/slowsin.c: New file.
8169
81f311c2
SP
8170 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8171 (bench): Add slowexp and slowpow.
8172 (exp-ITER): Increase iterations.
8173 (pow-ITER): Likewise.
8174 * benchtests/exp-inputs: Change input.
8175 * benchtests/pow-inputs: Likewise.
8176 * benchtests/slowexp-inputs: New file.
8177 * benchtests/slowexp.c: New file.
8178 * benchtests/slowpow-inputs: New file.
8179 * benchtests/slowpow.c: New file.
8180
ab0f1aa9
AZ
81812013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182
8183 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8184 instructions.
8185 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8186 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8187 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8188 * benchtests/Makefile: Add rint benchtest.
8189 * benchtests/rint-inputs: Input for rint benchtest.
8190
57267616
TS
81912013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8192
8193 * Versions.def (libm): Add GLIBC_2.18.
8194 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8195 hidden libm prototypes.
8196 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8197 * math/Makefile (libm-calls): Add s_issignaling.
8198 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8199 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8200 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8201 declaration.
8202 * math/math.h [__USE_GNU] (issignaling): New macro.
8203 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8204 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8206 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8209 * manual/arith.texi (issignaling): New section.
8210 * manual/libm-err-tab.pl (@all_functions): Update comment.
8211 * math/gen-libm-test.pl (parse_args): Apply special handling for
8212 issignaling.
8213 * math/libm-test.inc (print_float, issignaling_test): New
8214 functions.
8215 (check_float_internal): Add issignaling checks.
8216 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8217 default definition.
8218 * sysdeps/powerpc/math-tests.h: New file.
8219 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8220 tests.
8221 * math/test-snan.c (TEST_FUNC): Likewise.
8222
6142896d
DM
82232013-03-30 David S. Miller <davem@davemloft.net>
8224
8225 * po/de.po: Update from translation team.
8226
ccc8cadf
JM
82272013-03-30 Joseph Myers <joseph@codesourcery.com>
8228
8229 [BZ #10357]
8230 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8231 imaginary part less than 1.0 and real part less than 0.5
8232 specially.
8233 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8234 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8235 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8236 (cacos_test): Add more tests.
8237 (casin_test): Likewise.
8238 (casinh_test): Likewise.
8239 * sysdeps/i386/fpu/libm-test-ulps: Update.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241
0f6a8d4b
SP
82422013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8243
0d1029de
SP
8244 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8245 ONE with its value.
8246
c2d94018
SP
8247 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8248 (__pow_mp): Replace ONE and MONE with their values.
8249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8251 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8252 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8253 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8254 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8255
27ec37f1
SP
8256 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8257
a64d7e0e
SP
8258 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8259 (__pow_mp): Replace ZERO and MZERO with their values.
8260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8261 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8262 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8264 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8265 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8266 (__sqr): Likewise.
8267
d26dd3eb
SP
8268 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8269
0f6a8d4b
SP
8270 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8271
e57b0c61
RM
82722013-03-28 Roland McGrath <roland@hack.frob.com>
8273
8274 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8275 Declare with __attribute__ ((weak)).
8276 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8277 Call __call_tls_dtors only if it's not NULL.
8278
356b3480
RM
82792013-03-28 Roland McGrath <roland@hack.frob.com>
8280
288f7d79
RM
8281 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8282 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8283 magic __ehdr_start linker symbol if it's defined.
8284 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8285 them up here if it was already done.
8286
dc0a0263
RM
8287 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8288 (_dl_aux_init): Use const in cast when setting it.
8289 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8290 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8291 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8292
3d3436ae
RM
8293 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8294 Declare them here.
8295 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8296 * csu/libc-tls.c: Nor here.
8297 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8298
356b3480
RM
8299 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8300 (__libc_message): Never call vsyslog.
8301
b0f1246a
AM
83022013-03-28 Alan Modra <amodra@gmail.com>
8303
8304 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8305 Define as empty.
8306 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8307 Likewise.
8308
fbbe2b9a
AZ
83092013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8310
8311 [BZ #15214]
8312 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8313 underflow.
8314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8315
1728ab37
SP
83162013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
7a86be6e
SP
8318 [BZ #15304]
8319 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8320 Don't add gid passed as argument.
8321
1728ab37
SP
8322 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8323
3a7182a1
JM
83242013-03-27 Joseph Myers <joseph@codesourcery.com>
8325
8326 [BZ #15307]
8327 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8328 imaginary part between 1.0 and 1.5 and real part less than 0.5
8329 specially.
8330 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8331 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8332 * math/libm-test.inc (cacos_test): Add more tests.
8333 (casin_test): Likewise.
8334 (casinh_test): Likewise.
8335 * sysdeps/i386/fpu/libm-test-ulps: Update.
8336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8337
6f2e90e7
SP
83382013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8339
5739f705
SP
8340 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8341 constants.
8342 (norm): Likewise.
8343 (denorm): Likewise.
8344 (__dbl_mp): Likewise.
8345 (add_magnitudes): Likewise.
8346 (sub_magnitudes): Likewise.
8347 (__add): Likewise.
8348 (__sub): Likewise.
8349 (__mul): Likewise.
8350 (__sqr): Likewise.
8351 (__inv): Likewise.
8352 (__dvd): Likewise.
8353
e375e83d
SP
8354 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8355 commented code.
8356 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8357 (__dubcos): Likewise.
8358 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8359 (__ieee754_acos): Likewise.
8360 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8361 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8362 (__exp1): Likewise.
8363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8365 (log1): Likewise.
8366 (my_log2): Likewise.
8367 (checkint): Likewise.
8368 * sysdeps/ieee754/dbl-64/e_remainder.c
8369 (__ieee754_remainder): Likewise.
8370 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8372 (bsloww): Likewise.
8373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8374
6f2e90e7
SP
8375 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8376 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8377 MANTISSA_STORE_T to store computations on mantissa. Use
8378 macros for rounding and division.
8379 (denorm): Likewise.
8380 (__dbl_mp): Likewise.
8381 (add_magnitudes): Likewise.
8382 (sub_magnitudes): Likewise.
8383 (__mul): Likewise.
8384 (__sqr): Likewise.
8385 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8386 powers of two in terms of TWOPOW macro.
8387 (mp_no): Make type of mantissa as MANTISSA_T.
8388 [!RADIXI]: Define RADIXI.
8389 [!TWO52]: Define TWO52.
8390 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8391
fce14d4e
AZ
83922013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8393
8394 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8395 llroundl symbol when building for PPC32.
8396
9ad027fb
MW
83972013-03-24 Mark H Weaver <mhw@netris.org>
8398
8399 * manual/arith.texi (Normalization Functions): Fix prototypes for
8400 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8401
e42a38dd
AZ
84022013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8403
8404 [BZ #13889]
8405 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8406 high value to check if expl overflow.
8407 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8408 to check for underflow and overflow.
8409 * math/libm-test.inc: Add exp test.
8410
2e0fb521
DL
84112013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8412
8413 [BZ #11120]
8414 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8415 with NOT_IN_libc.
8416
b5784d95
AZ
84172013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8418
8419 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8420 symbol.
8421
5aa4a1a1
TS
84222013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8423
bdef0be7
TS
8424 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8425 wrap blocks consisting of several statements.
8426
5aa4a1a1
TS
8427 * sysdeps/generic/math-tests.h: New file.
8428 * sysdeps/i386/fpu/math-tests.h: Likewise.
8429 * math/test-snan.c: Include it.
8430 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8431
98c48fe5
JM
84322013-03-21 Joseph Myers <joseph@codesourcery.com>
8433
8434 [BZ #15285]
8435 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8436 (__ieee754_j0l): Do not improve calculations using cos of twice
8437 input for inputs above LDBL_MAX / 2.0L.
8438 (__ieee754_y0l): Likewise.
8439 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8440 (__ieee754_j1l): Do not improve calculations using cos of twice
8441 input for inputs above LDBL_MAX / 2.0L.
8442 (__ieee754_y1l): Likewise.
8443 * math/libm-test.inc (j0_test): Add another test.
8444 (j1_test): Likewise.
8445 (y0_test): Likewise.
8446 (y1_test): Likewise.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448
3775a8bc
SP
84492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8450
8451 * Rules ($(objpfx)bench-%.c): Include code from a C source
8452 file.
8453
0a1b2ae6
JM
84542013-03-21 Joseph Myers <joseph@codesourcery.com>
8455
8456 [BZ #15287]
8457 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8458 imaginary part 1.0 and real part less than 0.5 specially.
8459 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8460 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8461 * math/libm-test.inc (cacos_test): Add more tests.
8462 (casin_test): Likewise.
8463 (casinh_test): Likewise.
8464 * sysdeps/i386/fpu/libm-test-ulps: Update.
8465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8466
b33d4ce4
SP
84672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8468
8469 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8470 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8471
bef0b507
JM
84722013-03-20 Joseph Myers <joseph@codesourcery.com>
8473
8474 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8475 * config.make.in (config-cflags-sse4): Remove variable.
8476 (config-cflags-avx): Likewise.
8477 (config-cflags-sse2avx): Likewise.
8478 (config-cflags-novzeroupper): Likewise.
8479 (config-asflags-i686): Likewise.
8480 (have-mfma4): Likewise.
8481 (have-as-vis3): Likewise.
8482 (MIG): Likewise.
8483 * configure.in (MIG): Do not AC_SUBST.
8484 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8485 (libc_cv_cc_sse4): Do not AC_SUBST.
8486 (libc_cv_cc_avx): Likewise.
8487 (libc_cv_cc_sse2avx): Likewise.
8488 (libc_cv_cc_novzeroupper): Likewise.
8489 (libc_cv_cc_fma4): Likewise.
8490 (libc_cv_as_i686): Likewise.
8491 (libc_cv_sparc_as_vis3): Likewise.
8492 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8493 LIBC_CONFIG_VAR.
8494 (config-asflags-i686): Likewise.
8495 (config-cflags-avx): Likewise.
8496 (config-cflags-sse2avx): Likewise.
8497 (have-mfma4): Likewise.
8498 (config-cflags-novzeroupper): Likewise.
8499 * sysdeps/mach/configure.in (MIG): Likewise.
8500 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8501 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8502 LIBC_CONFIG_VAR.
8503 (config-cflags-avx): Likewise.
8504 (config-cflags-sse2avx): Likewise.
8505 (have-mfma4): Likewise.
8506 (config-cflags-novzeroupper): Likewise.
8507 * configure: Regenerated.
8508 * sysdeps/i386/configure: Likewise.
8509 * sysdeps/mach/configure: Likewise.
8510 * sysdeps/sparc/configure: Likewise.
8511 * sysdeps/x86_64/configure: Likewise.
8512
912cc4b3
RM
85132013-03-20 Roland McGrath <roland@hack.frob.com>
8514
8515 [BZ #14812]
8516 * locale/programs/localedef.c (options): Put N_ translation marker
8517 on argument names, not just descriptions.
8518
04eed2b0
MS
85192013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8520
8521 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8522
a065ceff
OB
85232013-03-20 Ondřej Bílka <neleai@seznam.cz>
8524
9bb2a810 8525 [BZ #14176]
a065ceff
OB
8526 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8527
a600e5ce
RM
85282013-03-19 Roland McGrath <roland@hack.frob.com>
8529
8530 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8531 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8532 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8533 [!BEFORE_ABORT] (before_abort): New function.
8534 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8535 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8536 (writev_for_fatal): New function.
8537 (WRITEV_FOR_FATAL): New macro; call that.
8538 (backtrace_and_maps): New function.
8539 (BEFORE_ABORT): New macro; call that.
8540 (struct str_list): Type removed.
8541 (__libc_message, __libc_fatal): Functions removed.
8542 Include <sysdeps/posix/libc_fatal.c> instead.
8543
6b18bea6
JM
85442013-03-19 Joseph Myers <joseph@codesourcery.com>
8545
8546 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8547 constants.
8548 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8549 double constants.
8550
aaa8cb4b
AS
85512013-03-19 Andreas Schwab <schwab@suse.de>
8552
44673770
AS
8553 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8554 * sysdeps/gnu/configure: Regenerate.
8555
aaa8cb4b
AS
8556 * configure.in: Substitute libc_cv_rtlddir.
8557 * configure: Regenerate.
8558 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8559 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8560 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8561 * elf/Makefile (install-others, CFLAGS-interp.c)
8562 (ldso_install, common-ldd-rewrite): Likewise.
8563 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8564 $(inst_slibdir)/$(rtld-installed-name).
8565 * scripts/rellns-sh: Add -p option.
8566 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8567 for source.
8568
d3cfc668
SP
85692013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8570
8571 * manual/nptl.texi: Renamed to ...
8572 * manual/threads.texi: ... this.
8573 * manual/Makefile (chapters): Update.
8574
0e2b9cdd
RM
85752013-03-18 Roland McGrath <roland@hack.frob.com>
8576
8577 [BZ #14812]
8578 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8579 on argument names, not just descriptions.
0e2b9cdd
RM
8580 * malloc/memusagestat.c (options): Likewise.
8581 * nss/getent.c (options): Likewise.
63270c24
RM
8582
85832013-03-18 Benno Schulenberg <bensberg@justemail.net>
8584
8585 [BZ #14812]
8586 * iconv/iconv_prog.c (options): Put N_ translation marker
8587 on argument names, not just descriptions.
8588 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8589
b2e1393c
OB
85902013-03-18 Ondrej Bilka <neleai@seznam.cz>
8591
8592 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8593 implementation which is faster on all x86_64 architectures.
8594 Tested on AMD, Intel Nehalem, SNB, IVB.
8595 * sysdeps/x86_64/strnlen.S: Likewise.
8596
8597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8598 Remove all multiarch strlen and strnlen versions.
8599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8600 Remove strlen and strnlen related parts.
8601
8602 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8603 Inline strlen part.
8604 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8605
8606 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8607 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8608 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8609 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8610 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8611 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8612
ec4ff04d
CD
86132013-03-17 Carlos O'Donell <carlos@redhat.com>
8614
8615 * manual/memory.texi (Malloc Tunable Parameters):
8616 Sort parameters alphabetically. Add comments for missing entries.
8617
cd18e90a
DM
86182013-03-17 David S. Miller <davem@davemloft.net>
8619
8620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8621
2a185d32
JM
86222013-03-16 Joseph Myers <joseph@codesourcery.com>
8623
d2f9799e
JM
8624 [BZ #15283]
8625 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8626 for arguments at most half maximum finite value.
8627 * math/libm-test.inc (j0_test): Add more tests.
8628 (j1_test): Likewise.
8629 (y0_test): Likewise.
8630 (y1_test): Likewise.
8631 * sysdeps/i386/fpu/libm-test-ulps: Update.
8632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8633
2a185d32
JM
8634 [BZ #14155]
8635 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8636 1 / x and functions P and Q for arguments above 0x1p256L.
8637 (__ieee754_y0l): Likewise.
8638 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8639 (__ieee754_y1l): Likewise.
8640 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8641 (j1_test): Likewise.
8642 (y0_test): Likewise.
8643 (y1_test): Likewise.
8644
6cbec759
TS
86452013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8646
8647 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8648 variable.
8649
bc16e260
RM
86502013-03-15 Roland McGrath <roland@hack.frob.com>
8651
aefc9b8c
RM
8652 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8653 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8654 zero since it's initialized to EXEC_PAGESIZE.
8655
bc16e260
RM
8656 * sysdeps/unix/sysv/linux/ldsodefs.h
8657 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8658 * sysdeps/generic/ldsodefs.h: ... here.
8659
a57da955
TS
86602013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8661
af00a34d
TS
8662 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8663
495ded2c
TS
8664 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8665 math/test-snan.c.
8666 * math/test-snan.c: Renamed from
8667 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8668 * math/Makefile (tests): Add test-snan.
8669 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8670 test-powerpc-snan.
8671
777b0332
TS
8672 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8673 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8674 functions.
8675 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8676 __builtin_nan family of functions.
8677 * math/libm-test.inc (initialize): Initialize qnan_value with
8678 __builtin_nan family of functions.
8679 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8680 Remove variables.
8681 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8682 Remove functions.
8683 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8684 storage class. Initialize qNaN_var and sNaN_var with
8685 __builtin_nan and __builtin_nans families of functions,
8686 respectively.
8687
64d063b8
TS
8688 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8689 (sqrt_test): Remove duplicate test with qNaN input.
8690 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8691 (round_test, signbit_test, significand_test): Note missing +/-Inf
8692 as well as qNaN tests.
8693
67e971f1
TS
8694 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8695 qNaN_var. Fix a few strings, too.
8696 * math/libm-test.inc (nan_value): Rename to qnan_value.
8697 * math/gen-libm-test.pl (%beautify): Adjust to that.
8698 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8699 * math/test-misc.c (main): Likewise.
8700 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8701 to __qnan_bytes, and __qnan_union, respectively.
8702 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8703 Likewise.
8704 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8705 and lqnanval, respectively.
8706 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8707 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8708 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8709 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8710
64487e12
TS
8711 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8712 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8713 doubles.
8714
e015e27b
TS
8715 * math/test-misc.c (main): Fix copy'n'pastos.
8716 * misc/tst-efgcvt.c (special): Likewise.
8717
a57da955
TS
8718 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8719 Remove declarations.
8720
1e380345
SP
87212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8722
8723 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8724 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8725 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8726 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8727
ef26eece
AZ
87282013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8729
8730 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8731 macro to return vdso values correctly in IFUNC implementations.
8732 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8733 Optimization by using IFUNC.
8734
8cfdb7e0
SP
87352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8736 Richard Henderson <rth@redhat.com>
8737 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8738
8739 * Makefile.in (bench): New target.
8740 * NEWS: Mention the benchmark framework.
8741 * Rules (bench): Likewise.
8742 (binaries-bench): Generate binaries for functions to
8743 benchmark.
8744 * benchtests/Makefile: New makefile for benchmark tests.
8745 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8746 programs.
8747 * benchtests/exp-inputs: New input file for EXP function.
8748 * benchtests/pow-inputs: New input file for POW function.
8749 * scripts/bench.pl: New script to generate source files for
8750 benchmark programs.
8751
bcda9880
SP
87522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8753
d22ca8cd
SP
8754 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8755 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8756 computations on mantissa. Use macros for rounding and
8757 division.
8758 (denorm): Likewise.
8759 (__dbl_mp): Likewise.
8760 (add_magnitudes): Likewise.
8761 (sub_magnitudes): Likewise.
8762 (__mul): Likewise.
8763 (__sqr): Likewise.
8764 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8765 powers of two in terms of TWOPOW macro.
8766 (mp_no): Make type of mantissa as MANTISSA_T.
8767 [!RADIXI]: Define RADIXI.
8768 [!TWO52]: Define TWO52.
8769 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8770
bcda9880
SP
8771 * manual/nptl.texi (cindex): Modify threads to pthreads.
8772
06d5adfb
JM
87732013-03-15 Joseph Myers <joseph@codesourcery.com>
8774
8775 * sysdeps/x86_64/preconfigure: Regenerated.
8776
41c7328e
JM
87772013-03-14 Joseph Myers <joseph@codesourcery.com>
8778
8779 [BZ #14155]
8780 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8781 0x1p28 and above.
8782 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8783 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8784 0x1p28 and above.
8785 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8786 * math/libm-test.inc (j0_test): Do not allow one spurious
8787 underflow exception.
8788 (y1_test): Likewise.
8789
e25cfa60
SP
87902013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8791
0409959c
SP
8792 * manual/Makefile (chapters): Add nptl.
8793 * manual/debug.texi (Debugging Support): Add link to Threads
8794 chapter.
8795 * manual/nptl.texi: New file.
8796
e25cfa60
SP
8797 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8798
58a1335e
PB
87992013-03-14 Petr Baudis <pasky@ucw.cz>
8800
8801 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8802 for non-NULL pointer before the memory validity test. Pointed
8803 out by Holger Brunck <holger.brunck@keymile.com>.
8804
9dc7c64f
AS
88052013-03-13 Andreas Schwab <schwab@suse.de>
8806
8807 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8808 instead of .os.
8809
54206aa6
JM
88102013-03-13 Joseph Myers <joseph@codesourcery.com>
8811
8812 * timezone/zic.c: Update from tzcode 2013b.
8813
e98cdb38
CD
88142013-03-12 Carlos O'Donell <carlos@redhat.com>
8815
8816 * manual/install.texi (Configuring and compiling):
8817 Mention i686 and i586.
8818 * INSTALL: Regenerate.
8819
9967e003
RM
88202013-03-12 Roland McGrath <roland@hack.frob.com>
8821
8822 * sysdeps/init_array/elf-init.c: New file.
8823 * csu/elf-init.c
8824 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8825 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8826
8827 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8828 __gmon_start__ as global, but as static with a .preinit_array pointer.
8829 * sysdeps/init_array/gmon-start.c: New file. Use that.
8830 * sysdeps/init_array/crti.S: New file, empty except for comments.
8831 * sysdeps/init_array/crtn.S: Likewise.
8832
e6b5a293 88332013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8834
8835 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8836 definining bcopy.
80f844c9
OB
8837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8838 Remove Prefer_SSE_for_memop.
8839 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8840 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8841 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8843 memset-x86-64.
80f844c9 8844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8845 Remove bzero, memset ifunc support.
80f844c9
OB
8846 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8847 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8848 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8849 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8850
fb6b0fcb
AS
88512013-03-11 Andreas Schwab <schwab@suse.de>
8852
8853 [BZ #15234]
8854 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8855 by SHLIB_COMPAT.
8856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8857 (GLIBC_2.16): Remove pthread_atfork.
8858
3e6bd4b1
PP
88592013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8860
8861 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8862 (ptestcases.h): Likewise.
8863
222d7f00
RM
88642013-03-08 Roland McGrath <roland@hack.frob.com>
8865
8866 * Makeconfig ($(common-objpfx)config.status): Depend on
8867 sysdeps/*/preconfigure{,.in} too.
8868
1ba4f030
JM
88692013-03-08 Joseph Myers <joseph@codesourcery.com>
8870
a222d91a
JM
8871 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8872 (__free_hook): Use void * instead of __malloc_ptr_t.
8873 (__malloc_hook): Likewise.
8874 (__realloc_hook): Likewise.
8875 (__memalign_hook): Likewise.
8876 (__after_morecore_hook): Likewise.
8877 * malloc/arena.c (save_malloc_hook): Likewise.
8878 (save_free_hook): Likewise.
8879 * malloc/hooks.c (malloc_hook_ini): Likewise.
8880 (realloc_hook_ini): Likewise.
8881 (memalign_hook_ini): Likewise.
8882 * malloc/malloc.c (malloc_hook_ini): Likewise.
8883 (realloc_hook_ini): Likewise.
8884 (memalign_hook_ini): Likewise.
8885 (__free_hook): Likewise.
8886 (__malloc_hook): Likewise.
8887 (__realloc_hook): Likewise.
8888 (__memalign_hook): Likewise.
8889 (__libc_malloc): Likewise.
8890 (__libc_free): Likewise.
8891 (__libc_realloc): Likewise.
8892 (__libc_memalign): Likewise.
8893 (__libc_valloc): Likewise.
8894 (__libc_pvalloc): Likewise.
8895 (__libc_calloc): Likewise.
8896 (__posix_memalign): Likewise.
8897 * malloc/morecore.c (__sbrk): Likewise.
8898 (__default_morecore): Likewise.
8899
5cc45e10
JM
8900 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8901
dd54b864
JM
8902 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8903 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8904 __malloc_ptrdiff_t.
8905
1ba4f030
JM
8906 * malloc/malloc.h (__malloc_size_t): Remove macro.
8907 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8908 __malloc_size_t.
8909 (old_memalign_hook): Likewise.
8910 (old_realloc_hook): Likewise.
8911 (struct hdr): Likewise.
8912 (flood): Likewise.
8913 (mallochook): Likewise.
8914 (memalignhook): Likewise.
8915 (reallochook): Likewise.
8916 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8917 (tr_old_realloc_hook): Likewise.
8918 (tr_old_memalign_hook): Likewise.
8919 (tr_mallochook): Likewise.
8920 (tr_reallochook): Likewise.
8921 (tr_memalignhook): Likewise.
8922
edf66e57
AZ
89232013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8924
8925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8926 default_ldbl_pack and using as default implementation.
8927 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8928 implementation.
8929 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8930 redundant definition.
8931 (ldbl_insert_mantissa): Likewise.
8932 (ldbl_canonicalize): Likewise.
8933 (ldbl_nearbyint): Likewise.
8934 (ldbl_pack): Rename to ldbl_pack_ppc.
8935 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8936 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8937 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8938
6d9145d8
SP
89392013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8940
8941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8942 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8943 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8944 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8946 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8947 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8948 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8949
4dd4e157
AJ
89502013-03-07 Andreas Jaeger <aj@suse.de>
8951
8952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8953 bits/mman-linux.h.
8954
adbb8027
SP
89552013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8956
ce544b5b
SP
8957 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8958 Include mpa.h and declare __MPEXP.
8959 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8960 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8961 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8962 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8963 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8964 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8965 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8966
4cc149fd
SP
8967 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8968 (__slowpow): Use long double EXPL and LOGL functions to
8969 compute POW.
8970 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8971 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8972 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8973 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8974 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8975 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8976
e6ebd4a7
SP
8977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8978 intermediate variable to calculate exponent.
8979 (__sqr): Likewise.
8980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8981 Likewise.
8982 (__sqr): Likewise.
8983
82a9811d
SP
8984 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8985 [!NO__SQR]: Define __sqr.
8986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8987 and NO__SQR. Remove all code except __mul and __sqr. Include
8988 sysdeps/ieee754/dbl-64/mpa.c.
8989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8990
adbb8027
SP
8991 [BZ #12723]
8992 * posix/Makefile (tests): Add tst-pathconf.
8993 * posix/tst-pathconf.c: New test case.
8994 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8995 _PC_PIPE_BUF.
8996 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8997
39120df9
PF
89982013-03-06 Patsy Franklin <pfrankli@redhat.com>
8999
9000 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9001
67525cb8
AJ
90022013-03-06 Andreas Jaeger <aj@suse.de>
9003
664a9ce4
AJ
9004 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9005 definition via __MAP_ANONYMOUS.
9006
8e39047d
AJ
9007 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9008 it's not part of Linux headers.
9009
67525cb8
AJ
9010 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9011 (MAP_HUGE_MASK): Define.
9012
9013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9014 Define.
9015 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9016 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9017 Define.
9018 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9019 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9020 Define.
9021 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9023 Define.
9024 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9025
9026 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9027 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9028 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9029 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9030 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9031 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9032
9033 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9034 Handle f2fs.
9035
9036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9037 Handle f2fs and efivarfs.
9038
9039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9040 f2fs.
9041
9042 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9043 (EFIVARFS_MAGIC): Add.
9044 (F2FS_LINK_MAX): Add.
9045
e1b42695
PP
90462013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9047
9048 * stdio-common/vfprintf.c: Replace __builtin_expect with
9049 __glibc_unlikely.
9050
2d67d91a
JM
90512013-03-06 Joseph Myers <joseph@codesourcery.com>
9052
9053 [BZ #13550]
9054 * sysdeps/generic/bp-sym.h: Remove file.
9055 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9056 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9057 <bp-sym.h> and <bp-asm.h>.
9058 (__longjmp): Don't use BP_SYM.
9059 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9060 and <bp-asm.h>.
9061 (memcpy): Don't use BP_SYM.
9062 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9063 <bp-sym.h> and <bp-asm.h>.
9064 (memcpy): Don't use BP_SYM.
9065 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9066 <bp-asm.h>.
9067 (memcpy): Don't use BP_SYM.
9068 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9069 <bp-asm.h>.
9070 (memset): Don't use BP_SYM.
9071 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9072 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9073 (__bzero): Don't use BP_SYM.
9074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9076 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9077 <bp-sym.h> and <bp-asm.h>.
9078 (memcmp): Don't use BP_SYM. Remove comment about bounded
9079 pointers.
9080 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9081 <bp-sym.h> and <bp-asm.h>.
9082 (memcpy): Don't use BP_SYM.
9083 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9084 <bp-sym.h> and <bp-asm.h>.
9085 (memset): Don't use BP_SYM.
9086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9088 (__bzero): Don't use BP_SYM.
9089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9091 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9092 <bp-sym.h> and <bp-asm.h>.
9093 (strncmp): Don't use BP_SYM. Remove comment about bounded
9094 pointers.
9095 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9096 <bp-sym.h> and <bp-asm.h>.
9097 (memcpy): Don't use BP_SYM.
9098 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9099 <bp-sym.h> and <bp-asm.h>.
9100 (memset): Don't use BP_SYM.
9101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9103 (__bzero): Don't use BP_SYM.
9104 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9105 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9106 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9107 <bp-sym.h> and <bp-asm.h>.
9108 (__memchr): Don't use BP_SYM.
9109 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9110 <bp-sym.h> and <bp-asm.h>.
9111 (memcmp): Don't use BP_SYM. Remove comment about bounded
9112 pointers.
9113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9114 <bp-sym.h> and <bp-asm.h>.
9115 (memcpy): Don't use BP_SYM.
9116 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9117 <bp-sym.h> and <bp-asm.h>.
9118 (__mempcpy): Don't use BP_SYM.
9119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9120 <bp-sym.h> and <bp-asm.h>.
9121 (__memrchr): Don't use BP_SYM.
9122 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9123 <bp-sym.h> and <bp-asm.h>.
9124 (memset): Don't use BP_SYM.
9125 (__bzero): Likewise.
9126 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9127 <bp-sym.h> and <bp-asm.h>.
9128 (__rawmemchr): Don't use BP_SYM.
9129 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9130 <bp-sym.h> and <bp-asm.h>.
9131 (__STRCMP): Don't use BP_SYM.
9132 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9133 <bp-sym.h> and <bp-asm.h>.
9134 (strchr): Don't use BP_SYM.
9135 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9136 <bp-sym.h> and <bp-asm.h>.
9137 (__strchrnul): Don't use BP_SYM.
9138 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9139 <bp-sym.h> and <bp-asm.h>.
9140 (strlen): Don't use BP_SYM.
9141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9142 <bp-sym.h> and <bp-asm.h>.
9143 (strncmp): Don't use BP_SYM. Remove comment about bounded
9144 pointers.
9145 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9146 <bp-sym.h> and <bp-asm.h>.
9147 (__strnlen): Don't use BP_SYM.
9148 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9149 <bp-sym.h> and <bp-asm.h>.
9150 (__GI__setjmp): Don't use BP_SYM.
9151 (_setjmp): Likewise.
9152 (__sigsetjmp): Likewise.
9153 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9154 (L(start_addresses)): Don't use BP_SYM.
9155 (_start): Likewise.
9156 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9157 <bp-asm.h>.
9158 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9159 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9160 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9161 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9162 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9163 <bp-asm.h>.
9164 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9165 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9166 about bounded pointers.
9167 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9168 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9169 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9170 <bp-asm.h>.
9171 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9172 about bounded pointers. Remove GKM FIXME comments.
9173 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9174 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9175 <bp-asm.h>.
9176 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9177 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9178 Remove GKM FIXME comments.
9179 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9180 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9181 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9182 <bp-asm.h>.
9183 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9184 about bounded pointers. Remove GKM FIXME comment.
9185 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9186 and <bp-asm.h>.
9187 (strncmp): Don't use BP_SYM. Remove comment about bounded
9188 pointers.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9190 <bp-sym.h> and <bp-asm.h>.
9191 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9193 <bp-sym.h> and <bp-asm.h>.
9194 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9195 comment.
9196
cdcf361f
PP
91972013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9198
9199 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9200 call free(NULL).
9201
3c4a2b15
DM
92022013-03-05 David S. Miller <davem@davemloft.net>
9203
9204 * po/es.po: Update from translation team.
9205
cdcf361f 92062013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9207
9208 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9209 <bits/mman-linux.h>.
9210 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9211 is fine.
9212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9213 <bits/mman-linux.h> to end of file.
9214 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9215 is fine.
9216 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9217 <bits/mman-linux.h> to end of file.
9218 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9219 is fine.
9220 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9221 <bits/mman-linux.h> to end of file.
9222
9223 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9224 (MCL_CURRENT, MCL_FUTURE): Define here.
9225
5f67c04f
AK
92262013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9227
8a4473cc 9228 [BZ #15232]
5f67c04f
AK
9229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9230 attribute_hidden.
9231 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9232
c3e94a95
AK
92332013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9234
9235 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9236 fourth parameter needed for rt_sigprocmask syscall.
9237 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9238 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9239 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9240 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9241 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9242 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9243
cfb6382a
JM
92442013-03-04 Joseph Myers <joseph@codesourcery.com>
9245
9246 [BZ #13550]
9247 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9248 comment about bounded pointers.
9249 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9250 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9251
539d8e01
AJ
92522013-03-04 Andreas Jaeger <aj@suse.de>
9253
9254 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9255 common definitions.
9256
9257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9258 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9259 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9260 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9263
2e167a70 92642013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9265
9266 [BZ #15055]
9267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9268 __ieee754_sqrl instead of __sqrl.
9269
68508633
JM
92702013-03-01 Joseph Myers <joseph@codesourcery.com>
9271
9272 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9273 * sysdeps/powerpc/fpu_control.h: ... here.
9274 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9275 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9276 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9277 * sysdeps/powerpc/bits/mathinline.h: ... here.
9278
7775448e
RM
92792013-03-01 Roland McGrath <roland@hack.frob.com>
9280
9281 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9282 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9283 to just [NEED_DL_SYSINFO_DSO].
9284 * elf/dl-support.c: Likewise.
9285 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9286 * elf/rtld.c (dl_main): Likewise.
9287 * elf/setup-vdso.h (setup_vdso): Likewise.
9288 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9289 * sysdeps/unix/sysv/linux/dl-sysdep.c
9290 (_dl_discover_osversion): Likewise.
9291
4e9b5995
CD
92922013-03-01 Carlos O'Donell <carlos@redhat.com>
9293
9294 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9295 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9296
e23872c8
SP
92972013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9298
e5c74c63
SP
9299 * NEWS: Mention libm performance improvements and non-x86 PI
9300 futex support.
9301
e23872c8
SP
9302 * csu/libc-start.c (__pthread_initialize_minimal): Change
9303 function arguments.
9304 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9305
b5510883
JM
93062013-02-28 Joseph Myers <joseph@codesourcery.com>
9307
9308 [BZ #13550]
9309 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9310 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9311 <bp-sym.h> and <bp-asm.h>.
9312 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9313 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9314 and <bp-asm.h>.
9315 (memcpy): Don't use BP_SYM.
9316 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9317 <bp-asm.h>.
9318 (__mpn_add_n): Don't use BP_SYM.
9319 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9320 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9321 and <bp-asm.h>.
9322 (__mpn_addmul_1): Don't use BP_SYM.
9323 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9324 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9325 <bp-sym.h>.
9326 (_setjmp): Don't use BP_SYM.
9327 (__novmx_setjmp): Likewise.
9328 (__GI__setjmp): Likewise.
9329 (__vmx_setjmp): Likewise.
9330 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9331 <bp-sym.h>.
9332 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9333 (__bzero): Don't use BP_SYM.
9334 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9335 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9336 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9337 <bp-sym.h> and <bp-asm.h>.
9338 (memcpy): Don't use BP_SYM.
9339 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9340 <bp-sym.h> and <bp-asm.h>.
9341 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9342 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9343 <bp-sym.h> and <bp-asm.h>.
9344 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9345 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9346 <bp-asm.h>.
9347 (__mpn_lshift): Don't use BP_SYM.
9348 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9349 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9350 <bp-asm.h>.
9351 (memset): Don't use BP_SYM.
9352 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9353 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9354 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9355 <bp-asm.h>.
9356 (__mpn_mul_1): Don't use BP_SYM.
9357 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9359 <bp-sym.h> and <bp-asm.h>.
9360 (memcmp): Don't use BP_SYM.
9361 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9362 <bp-sym.h> and <bp-asm.h>.
9363 (memcpy): Don't use BP_SYM.
9364 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9365 <bp-sym.h> and <bp-asm.h>.
9366 (memset): Don't use BP_SYM.
9367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9368 <bp-sym.h> and <bp-asm.h>.
9369 (strncmp): Don't use BP_SYM.
9370 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9371 <bp-sym.h> and <bp-asm.h>.
9372 (memcpy): Don't use BP_SYM.
9373 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9374 <bp-sym.h> and <bp-asm.h>.
9375 (memset): Don't use BP_SYM.
9376 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9377 <bp-sym.h> and <bp-asm.h>.
9378 (__memchr): Don't use BP_SYM.
9379 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9380 <bp-sym.h> and <bp-asm.h>.
9381 (memcmp): Don't use BP_SYM.
9382 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9383 <bp-sym.h> and <bp-asm.h>.
9384 (memcpy): Don't use BP_SYM.
9385 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9386 <bp-sym.h> and <bp-asm.h>.
9387 (__mempcpy): Don't use BP_SYM.
9388 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9389 <bp-sym.h> and <bp-asm.h>.
9390 (__memrchr): Don't use BP_SYM.
9391 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9392 <bp-sym.h> and <bp-asm.h>.
9393 (memset): Don't use BP_SYM.
9394 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9395 <bp-sym.h> and <bp-asm.h>.
9396 (__rawmemchr): Don't use BP_SYM.
9397 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9398 <bp-sym.h> and <bp-asm.h>.
9399 (__STRCMP): Don't use BP_SYM.
9400 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9401 <bp-sym.h> and <bp-asm.h>.
9402 (strchr): Don't use BP_SYM.
9403 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9404 <bp-sym.h> and <bp-asm.h>.
9405 (__strchrnul): Don't use BP_SYM.
9406 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9407 <bp-sym.h> and <bp-asm.h>.
9408 (strlen): Don't use BP_SYM.
9409 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9410 <bp-sym.h> and <bp-asm.h>.
9411 (strncmp): Don't use BP_SYM.
9412 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9413 <bp-sym.h> and <bp-asm.h>.
9414 (__strnlen): Don't use BP_SYM.
9415 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9416 <bp-asm.h>.
9417 (__mpn_rshift): Don't use BP_SYM.
9418 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9419 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9420 <bp-sym.h> and <bp-asm.h>.
9421 (__sigsetjmp): Don't use BP_SYM.
9422 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9423 (L(start_addresses)): Don't use BP_SYM.
9424 (_start): Likewise.
9425 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9426 <bp-asm.h>.
9427 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9428 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9429 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9430 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9431 <bp-asm.h>.
9432 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9433 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9434 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9435 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9436 <bp-asm.h>.
9437 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9438 comments.
9439 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9440 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9441 <bp-asm.h>.
9442 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9443 FIXME comments.
9444 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9445 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9446 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9447 <bp-asm.h>.
9448 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9449 comment.
9450 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9451 and <bp-asm.h>.
9452 (strncmp): Don't use BP_SYM,
9453 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9454 <bp-asm.h>.
9455 (__mpn_sub_n): Don't use BP_SYM.
9456 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9457 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9458 and <bp-asm.h>.
9459 (__mpn_submul_1): Don't use BP_SYM.
9460 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9462 <bp-sym.h> and <bp-asm.h>.
9463 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9465 <bp-sym.h> and <bp-asm.h>.
9466 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9467 comment.
9468
8d19fe64
SP
94692013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9470
9471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9472 Use ZK to minimize writes to Z.
9473 (sub_magnitudes): Simplify code a bit.
9474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9475 Use ZK to minimize writes to Z.
9476 (sub_magnitudes): Simplify code a bit.
9477
85bd816a
RM
94782013-02-27 Roland McGrath <roland@hack.frob.com>
9479
9480 * csu/gmon-start.c: Add special exception to license text.
9481
b5977bf2
RH
94822013-02-27 Richard Henderson <rth@redhat.com>
9483
9484 * scripts/config.guess: Update from config.git.
9485 * scripts/config.sub: Likewise.
9486
11d6e2f2
SP
94872013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9488
09c14ed2
SP
9489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9490
a688864e
SP
9491 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9492
6295157a
SP
9493 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9494
b8de2202
SP
9495 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9496
11d6e2f2
SP
9497 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9498
7e80ddb8
RM
94992013-02-26 Roland McGrath <roland@hack.frob.com>
9500
9501 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9502 [$(build-shared = yes].
7e80ddb8 9503
7da6d9ed
SP
95042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9505
45f05884
SP
9506 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9507 (__mul): Reduce iterations for calculating mantissa.
9508
2236d359
SP
9509 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9510 MPTWO.
9511 (__mpranred): Likewise.
9512
7da6d9ed
SP
9513 [BZ #15160]
9514 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9515 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9516
b7688c42
PE
95172013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9518
9519 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9520 Define __attribute__.
9521
53a5c423
SP
95222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9523
9524 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9525 unused.
9526 * posix/regex_internal.h (__attribute): Remove.
9527 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9528 (re_string_context_at): Likewise.
9529 (bitset_not): Use __attribute__ and mark function as possibly
9530 unused.
9531 (bitset_merge): Likewise.
9532 (bitset_mask): Likewise.
9533 (re_string_char_size_at): Likewise.
9534 (re_string_wchar_at): Likewise.
9535 (re_string_elem_size_at): Likewise.
9536
60f5a8b5
SP
95372013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9538
2a983a2e
SP
9539 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9540 code.
9541 (cc32): Likewise.
9542
e69804d1
SP
9543 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9544 (__acr): Likewise.
9545 (__cpy): Likewise.
9546 (norm): Likewise.
9547 (denorm): Likewise.
9548 (__dbl_mp): Likewise.
9549 (add_magnitudes): Likewise.
9550 (sub_magnitudes): Likewise.
9551 (__mul): Likewise.
9552 (__inv): Likewise.
9553
2f22a1e8
SP
9554 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9555 style.
9556
8930ddc7
SP
9557 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9558 style.
9559
dc60cb11
SP
9560 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9561 code.
9562
60f5a8b5
SP
9563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9564 up changes with default code.
9565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9566 Likewise.
9567
b4d1fd33
AM
95682013-02-24 Allan McRae <allan@archlinux.org>
9569
faf6f8bc
AM
9570 * manual/socket.texi (The Internet Namespace): Order menu items
9571 to match that in the file.
9572
b4d1fd33
AM
9573 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9574 node listing of the info page menu.
9575
2366713d
JM
95762013-02-21 Joseph Myers <joseph@codesourcery.com>
9577
9578 [BZ #13550]
9579 * sysdeps/i386/bp-asm.h: Remove file.
9580 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9581 (PARMS): Do not use macros from bp-asm.h.
9582 (S1): Likewise.
9583 (S2): Likewise.
9584 (SIZE): Likewise.
9585 (__mpn_add_n): Do not use BP_SYM
9586 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9587 "bp-asm.h".
9588 (PARMS): Do not use macros from bp-asm.h.
9589 (S1): Likewise.
9590 (SIZE): Likewise.
9591 (__mpn_addmul_1): Do not use BP_SYM
9592 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9593 "bp-asm.h".
9594 (PARMS): Do not use macros from bp-asm.h.
9595 (SIGMSK): Likewise.
9596 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
9603 "bp-asm.h".
9604 (PARMS): Do not use macros from bp-asm.h.
9605 (__frexp): Do not use BP_SYM.
9606 (frexp): Likewise.
9607 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9608 "bp-asm.h".
9609 (PARMS): Do not use macros from bp-asm.h.
9610 (__frexpf): Do not use BP_SYM.
9611 (frexpf): Likewise.
9612 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9613 "bp-asm.h".
9614 (PARMS): Do not use macros from bp-asm.h.
9615 (__frexpl): Do not use BP_SYM.
9616 (frexpl): Likewise.
9617 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9618 "bp-asm.h".
9619 (PARMS): Do not use macros from bp-asm.h.
9620 (__remquo): Do not use BP_SYM.
9621 (remquo): Likewise.
9622 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9623 "bp-asm.h".
9624 (PARMS): Do not use macros from bp-asm.h.
9625 (__remquof): Do not use BP_SYM.
9626 (remquof): Likewise.
9627 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9628 "bp-asm.h".
9629 (PARMS): Do not use macros from bp-asm.h.
9630 (__remquol): Do not use BP_SYM.
9631 (remquol): Likewise.
9632 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9633 "bp-asm.h".
9634 (PARMS): Do not use macros from bp-asm.h.
9635 (DEST): Likewise.
9636 (SRC): Likewise.
9637 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9638 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9639 "bp-asm.h".
9640 (PARMS): Do not use macros from bp-asm.h.
9641 (strlen): Do not use BP_SYM.
9642 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9643 "bp-asm.h".
9644 (PARMS): Do not use macros from bp-asm.h.
9645 (S1): Likewise.
9646 (S2): Likewise.
9647 (SIZE): Likewise.
9648 (__mpn_add_n): Do not use BP_SYM.
9649 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9650 "bp-asm.h".
9651 (PARMS): Do not use macros from bp-asm.h.
9652 (S1): Likewise.
9653 (SIZE): Likewise.
9654 (__mpn_addmul_1): Do not use BP_SYM.
9655 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9656 weak_alias.
9657 (bzero): Likewise.
9658 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9659 "bp-asm.h".
9660 (PARMS): Do not use macros from bp-asm.h.
9661 (S): Likewise.
9662 (SIZE): Likewise.
9663 (__mpn_lshift): Do not use BP_SYM.
9664 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9665 "bp-asm.h".
9666 (PARMS): Do not use macros from bp-asm.h.
9667 (DEST): Likewise.
9668 (SRC): Likewise.
9669 (LEN): Likewise.
9670 (memcpy): Likewise. Do not use BP_SYM.
9671 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9672 libc_hidden_def and weak_alias.
9673 (mempcpy): Do not use BP_SYM in weak_alias.
9674 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9675 "bp-asm.h".
9676 (PARMS): Do not use macros from bp-asm.h.
9677 (DEST): Likewise.
9678 (LEN): Likewise.
9679 [!BZERO_P] (CHR): Likewise.
9680 (memset): Likewise. Do not use BP_SYM.
9681 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9682 "bp-asm.h".
9683 (PARMS): Do not use macros from bp-asm.h.
9684 (S1): Likewise.
9685 (SIZE): Likewise.
9686 (__mpn_mul_1): Do not use BP_SYM.
9687 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9688 "bp-asm.h".
9689 (PARMS): Do not use macros from bp-asm.h.
9690 (S): Likewise.
9691 (SIZE): Likewise.
9692 (__mpn_rshift): Do not use BP_SYM.
9693 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9694 "bp-asm.h".
9695 (PARMS): Do not use macros from bp-asm.h.
9696 (STR): Likewise.
9697 (CHR): Likewise.
9698 (strchr): Likewise. Do not use BP_SYM.
9699 (index): Do not use BP_SYM in weak_alias.
9700 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9701 "bp-asm.h".
9702 (PARMS): Do not use macros from bp-asm.h.
9703 (DEST): Likewise.
9704 (SRC): Likewise.
9705 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9706 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9707 "bp-asm.h".
9708 (PARMS): Do not use macros from bp-asm.h.
9709 (strlen): Do not use BP_SYM.
9710 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9711 "bp-asm.h".
9712 (PARMS): Do not use macros from bp-asm.h.
9713 (S1): Likewise.
9714 (S2): Likewise.
9715 (SIZE): Likewise.
9716 (__mpn_sub_n): Do not use BP_SYM.
9717 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9718 "bp-asm.h".
9719 (PARMS): Do not use macros from bp-asm.h.
9720 (S1): Likewise.
9721 (SIZE): Likewise.
9722 (__mpn_submul_1): Do not use BP_SYM.
9723 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9724 "bp-asm.h".
9725 (PARMS): Do not use macros from bp-asm.h.
9726 (S1): Likewise.
9727 (S2): Likewise.
9728 (SIZE): Likewise.
9729 (__mpn_add_n): Do not use BP_SYM.
9730 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9731 weak_alias.
9732 (bzero): Likewise.
9733 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9734 "bp-asm.h".
9735 (PARMS): Do not use macros from bp-asm.h.
9736 (BLK2): Likewise.
9737 (LEN): Likewise.
9738 (memcmp): Do not use BP_SYM.
9739 (bcmp): Do not use BP_SYM in weak_alias.
9740 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9741 "bp-asm.h".
9742 (PARMS): Do not use macros from bp-asm.h.
9743 (DEST): Likewise.
9744 (SRC): Likewise.
9745 (LEN): Likewise.
9746 (memcpy): Likewise. Do not use BP_SYM.
9747 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9748 "bp-asm.h".
9749 (PARMS): Do not use macros from bp-asm.h.
9750 (DEST): Likewise.
9751 (SRC): Likewise.
9752 (LEN): Likewise.
9753 (memmove): Likewise. Do not use BP_SYM.
9754 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9755 "bp-asm.h".
9756 (PARMS): Do not use macros from bp-asm.h.
9757 (DEST): Likewise.
9758 (SRC): Likewise.
9759 (LEN): Likewise.
9760 (__mempcpy): Likewise. Do not use BP_SYM.
9761 (mempcpy): Do not use BP_SYM in weak_alias.
9762 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9763 "bp-asm.h".
9764 (PARMS): Do not use macros from bp-asm.h.
9765 (DEST): Likewise.
9766 (LEN): Likewise.
9767 [!BZERO_P] (CHR): Likewise.
9768 (memset): Likewise. Do not use BP_SYM.
9769 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9770 "bp-asm.h".
9771 (PARMS): Do not use macros from bp-asm.h.
9772 (STR2): Likewise.
9773 (strcmp): Do not use BP_SYM.
9774 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9775 "bp-asm.h".
9776 (PARMS): Do not use macros from bp-asm.h.
9777 (STR): Likewise.
9778 (DELIM): Likewise.
9779 [USE_AS_STRTOK_R] (SAVE): Likewise.
9780 (FUNCTION): Likewise. Do not use BP_SYM.
9781 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9782 aliases.
9783 (strtok_r): Likewise.
9784 (__GI___strtok_r): Likewise.
9785 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9786 (PARMS): Do not use macros from bp-asm.h.
9787 (S): Likewise.
9788 (SIZE): Likewise.
9789 (__mpn_lshift): Do not use BP_SYM.
9790 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9791 (PARMS): Do not use macros from bp-asm.h.
9792 (STR): Likewise.
9793 (CHR): Likewise.
9794 (__memchr): Do not use BP_SYM.
9795 (memchr): Do not use BP_SYM in weak_alias.
9796 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9797 (PARMS): Do not use macros from bp-asm.h.
9798 (BLK2): Likewise.
9799 (LEN): Likewise.
9800 (memcmp): Do not use BP_SYM.
9801 (bcmp): Do not use BP_SYM in weak_alias.
9802 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9803 (PARMS): Do not use macros from bp-asm.h.
9804 (S1): Likewise.
9805 (SIZE): Likewise.
9806 (__mpn_mul_1): Do not use BP_SYM.
9807 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9808 "bp-asm.h".
9809 (PARMS): Do not use macros from bp-asm.h.
9810 (STR): Likewise.
9811 (CHR): Likewise.
9812 (__rawmemchr): Do not use BP_SYM.
9813 (rawmemchr): Do not use BP_SYM in weak_alias.
9814 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9815 (PARMS): Do not use macros from bp-asm.h.
9816 (S): Likewise.
9817 (SIZE): Likewise.
9818 (__mpn_rshift): Do not use BP_SYM.
9819 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9820 (PARMS): Do not use macros from bp-asm.h.
9821 (SIGMSK): Likewise.
9822 (__sigsetjmp): Likewise. Do not use BP_SYM.
9823 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9824 (_start): Do not use BP_SYM.
9825 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9826 (PARMS): Do not use macros from bp-asm.h.
9827 (DEST): Likewise.
9828 (SRC): Likewise.
9829 (__stpcpy): Likewise. Do not use BP_SYM.
9830 (stpcpy): Do not use BP_SYM in weak_alias.
9831 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9832 "bp-asm.h".
9833 (PARMS): Do not use macros from bp-asm.h.
9834 (DEST): Likewise.
9835 (SRC): Likewise.
9836 (LEN): Likewise.
9837 (__stpncpy): Likewise. Do not use BP_SYM.
9838 (stpncpy): Do not use BP_SYM in weak_alias.
9839 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9840 (PARMS): Do not use macros from bp-asm.h.
9841 (STR): Likewise.
9842 (CHR): Likewise.
9843 (strchr): Likewise. Do not use BP_SYM.
9844 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9845 "bp-asm.h".
9846 (PARMS): Do not use macros from bp-asm.h.
9847 (STR): Likewise.
9848 (CHR): Likewise.
9849 (__strchrnul): Likewise. Do not use BP_SYM.
9850 (strchrnul): Do not use BP_SYM in weak_alias.
9851 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9852 "bp-asm.h".
9853 (PARMS): Do not use macros from bp-asm.h.
9854 (STOP): Likewise.
9855 (strcspn): Do not use BP_SYM.
9856 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9857 "bp-asm.h".
9858 (PARMS): Do not use macros from bp-asm.h.
9859 (STR): Likewise.
9860 (STOP): Likewise.
9861 (strpbrk): Likewise. Do not use BP_SYM.
9862 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9863 "bp-asm.h".
9864 (PARMS): Do not use macros from bp-asm.h.
9865 (STR): Likewise.
9866 (CHR): Likewise.
9867 (strrchr): Likewise. Do not use BP_SYM.
9868 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9869 (PARMS): Do not use macros from bp-asm.h.
9870 (SKIP): Likewise.
9871 (strspn): Do not use BP_SYM.
9872 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9873 (PARMS): Do not use macros from bp-asm.h.
9874 (STR): Likewise.
9875 (DELIM): Likewise.
9876 (SAVE): Likewise.
9877 (FUNCTION): Likewise. Do not use BP_SYM.
9878 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9879 aliases.
9880 (strtok_r): Likewise.
9881 (__GI___strtok_r): Likewise.
9882 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9883 (PARMS): Do not use macros from bp-asm.h.
9884 (S1): Likewise.
9885 (S2): Likewise.
9886 (SIZE): Likewise.
9887 (__mpn_sub_n): Do not use BP_SYM.
9888 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9889 "bp-asm.h".
9890 (PARMS): Do not use macros from bp-asm.h.
9891 (S1): Likewise.
9892 (SIZE): Likewise.
9893 (__mpn_submul_1): Do not use BP_SYM.
9894 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9895 <bp-sym.h>.
9896 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9897 and <bp-asm.h>.
9898 (PARMS): Do not use macros from bp-asm.h.
9899 (FLAGS): Likewise.
9900 (PTID): Likewise.
9901 (TLS): Likewise.
9902 (CTID): Likewise.
9903 (__clone): Do not use BP_SYM.
9904 (clone): Do not use BP_SYM in weak_alias.
9905 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9906 and <bp-asm.h>.
9907 (PARMS): Do not use macros from bp-asm.h.
9908 (LEN): Likewise.
9909 (__mmap64): Do not use BP_SYM.
9910 (mmap64): Do not use BP_SYM in weak_alias.
9911 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9912 <bp-sym.h> and <bp-asm.h>.
9913 (PARMS): Do not use macros from bp-asm.h.
9914 (__posix_fadvise64_l64): Do not use BP_SYM.
9915 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9916 (PARMS): Do not use macros from bp-asm.h.
9917 (NSOPS): Likewise.
9918 (semtimedop): Do not use BP_SYM.
9919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9920 and <bp-asm.h>.
9921
582a3cff
AM
99222013-02-21 Allan McRae <allan@archlinux.org>
9923
9924 * manual/message.texi (Charset conversion in gettext):
9925 Move @end statement to beginning of line.
9926
bab8a695
SP
99272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9928
80945231
SP
9929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9930 static.
9931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9932 Likewise.
9933
bab8a695
SP
9934 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9935 (denorm): Likewise.
9936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9938
e21d7aa7
AK
99392013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9940
9941 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9942 tail-call to the resolved function if pltexit isn't needed.
9943
4c7a4263
SP
99442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9945
9946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9947 or Y being zero as being unlikely.
9948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9949 Likewise.
9950
41f49342
CD
99512013-02-20 Carlos O'Donell <carlos@redhat.com>
9952
9953 * manual/nss.texi (System Databases and Name Service Switch):
9954 Remove frobnicate @pxref.
9955
50022a93
TS
99562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9957
9958 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9959 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9960
08cbd996
PM
99612013-02-20 Petr Machata <pmachata@redhat.com>
9962
9963 * elf/elf.h (R_ARM_TARGET1): New macro.
9964 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9965 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9966 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9967 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9968 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9969 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9970 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9971 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9972 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9973 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9974 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9975 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9976 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9977 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9978 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9979 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9980 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9981 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9982 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9983 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9984 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9985 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9986 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9987 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9988 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9989 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9990 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9991 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9992 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9993 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9994 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9995 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9996 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9997 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9998 (R_ARM_THM_GOT_BREL12): Likewise.
9999 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10000 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10001 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10002 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10003 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10004 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10005 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10006 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10007 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10008
c7b275d6
TS
100092013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10010
10011 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10012 __attribute_used__ to __attribute__ ((unused)).
10013
20cd7fb3
SP
100142013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10015
10016 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10017 powerpc mpa.c.
10018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10019 comment formatting.
10020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10021
92945b52
JM
100222013-02-19 Joseph Myers <joseph@codesourcery.com>
10023
10024 [BZ #13550]
10025 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10026 Remove macro.
10027 (ENTER): Remove both macro definitions.
10028 (LEAVE): Likewise.
10029 (CHECK_BOUNDS_LOW): Likewise.
10030 (CHECK_BOUNDS_HIGH): Likewise.
10031 (CHECK_BOUNDS_BOTH): Likewise.
10032 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10033 (RETURN_BOUNDED_POINTER): Likewise.
10034 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10035 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10036 (POP_ERRNO_LOCATION_RETURN): Likewise.
10037 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10038 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10039 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10040 macros.
10041 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10042 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10043 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10044 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10045 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10046 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10047 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10048 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10049 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10050 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10051 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10052 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10053 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10054 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10055 removed macros.
10056 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10057 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10058 macros.
10059 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10060 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10061 * sysdeps/i386/i586/memset.S (memset): Likewise.
10062 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10063 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10064 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10065 macros.
10066 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10067 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10068 Change uses of L(2) to L(out).
10069 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10070 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10071 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10072 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10073 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10074 removed macros.
10075 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10076 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10077 macros.
10078 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10079 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10080 (RETURN): Do not use macro LEAVE.
10081 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10082 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10083 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10084 * sysdeps/i386/i686/memset.S (memset): Likewise.
10085 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10086 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10087 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10088 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10089 Likewise.
10090 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10091 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10092 L(1_2) and L(1_3) into L(1).
10093 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10094 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10095 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10096 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10097 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10098 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10099 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10100 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10101 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10102 macros.
10103 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10104 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10105 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10106 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10107 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10108 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10109 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10110 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10111 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10112 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10113 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10114 * sysdeps/i386/strspn.S (strspn): Likewise.
10115 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10116 conditional code.
10117 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10118 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10119 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10120 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10121 L(1_3) into L(1_1).
10122 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10123 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10124 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10125 macros.
10126 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10127
2389741a
JJ
101282013-02-19 Jakub Jelinek <jakub@redhat.com>
10129
10130 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10131 macro.
10132
2016b3cd
SP
101332013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10134
e4f22324
SP
10135 * math/atest-exp.c (exp_mpn): Remove ROUND.
10136 * math/atest-exp2.c (exp_mpn): Likewise.
10137 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10138
2016b3cd
SP
10139 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10140 * stdlib/tst-tls-atexit-lib.c: Likewise.
10141 * stdlib/tst-tls-atexit.c: Likewise.
10142
4be9b544
MF
101432013-02-18 Mike Frysinger <vapier@gentoo.org>
10144
10145 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10146 and __attribute_alloc_size__.
10147
2f62b9ee
MF
101482013-02-18 Mike Frysinger <vapier@gentoo.org>
10149
10150 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10151 __attribute_alloc_size__.
10152 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10153 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10154
6ff444c4
MF
101552013-02-18 Mike Frysinger <vapier@gentoo.org>
10156
10157 * include/programs/xmalloc.h: New file.
10158 * catgets/gencat.c: Include it.
10159 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10160 * elf/pldd.c: Likewise.
10161 * iconv/iconv_charmap.c: Likewise.
10162 * iconv/iconvconfig.c: Likewise.
10163 * iconv/strtab.c: Likewise.
10164 * locale/programs/locale.c: Likewise.
10165 * locale/programs/localedef.h: Likewise.
10166 * locale/programs/simple-hash.c: Likewise.
10167 * nscd/nscd.h: Likewise.
10168 * nss/makedb.c: Likewise.
10169 * sysdeps/generic/ldconfig.h: Likewise.
10170
be179c8a
SP
101712013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10172
ba384f6e
SP
10173 * Versions.def: Add GLIBC_2.18.
10174 * include/link.h (struct link_map): New member l_tls_dtor_count.
10175 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10176 (__call_tls_dtors): Likewise.
10177 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10178 __cxa_thread_atexit_impl.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10180 Likewise.
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10182 Likewise.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10184 Likewise.
10185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10186 Likewise.
10187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10189 Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10191 Likewise.
10192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10194 Likewise.
10195 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10196 (tests): Add test case tst-tls-atexit.
10197 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10198 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10199 (GLIBC_PRIVATE): Add __call_tls_dtors.
10200 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10201 for libstdc++.
10202 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10203 * stdlib/tst-tls-atexit.c: New test case.
10204 * stdlib/tst-tls-atexit-lib.c: New test case.
10205
ffaa74cf 10206 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10207
be179c8a
SP
10208 * elf/Versions (ld): Add _dl_find_dso_for_object.
10209 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10210 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10211 (dl_open_worker): Use _dl_find_dso_for_object.
10212 * elf/dl-sym.c (do_sym): Likewise.
10213 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10214
f78b5caa
AK
102152013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10216
10217 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10218 Syntactic changes only.
10219 (_dl_runtime_profile): Do a tail-call to the resolved function.
10220
29691210
JM
102212013-02-17 Joseph Myers <joseph@codesourcery.com>
10222
10223 [BZ #13550]
10224 * sysdeps/x86_64/bp-asm.h: Remove file.
10225 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10226 <bp-sym.h> and <bp-asm.h>.
10227 (__clone): Do not use BP_SYM.
10228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10229 <bp-sym.h> and <bp-asm.h>.
10230 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10231 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10232 "bp-asm.h".
10233 (_setjmp): Do not use BP_SYM.
10234 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10235 "bp-asm.h".
10236 (setjmp): Do not use BP_SYM.
10237 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10238 libc_hidden_def.
10239 (mempcpy): Do not use BP_SYM in weak_alias.
10240 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10241 "bp-asm.h".
10242 (strchr): Do not use BP_SYM.
10243 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10244 "bp-asm.h".
10245 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10246 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10247 (_start): Do not use BP_SYM.
10248 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10249 "bp-asm.h".
10250 (strcat): Do not use BP_SYM.
10251 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10252 "bp-asm.h".
10253 (STRCMP): Do not use BP_SYM.
10254 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10255 "bp-asm.h".
10256 (STRCPY): Do not use BP_SYM.
10257 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10258 "bp-asm.h".
10259 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10260 "bp-asm.h".
10261 (FUNCTION): Do not use BP_SYM.
10262 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10263 weak_alias.
10264 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10265
f238fd19
AJ
102662013-02-17 Andreas Jaeger <aj@suse.de>
10267
10268 * time/Versions: Sort entries.
10269 * string/Versions: Likewise.
10270 * resolv/Versions: Likewise.
10271 * posix/Versions: Likewise.
10272 * iconv/Versions: Likewise.
10273 * elf/Versions: Likewise.
10274 * wcsmbs/Versions: Likewise.
10275
bd07f23c 102762013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10277
22af19f9
SP
10278 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10279 loop termination condition.
10280
4709fe76
SP
10281 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10282 variable to calculate EZ.
10283 (__sqr): Likewise.
2d0e0f29
SP
10284
10285 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10286 the lower precision input.
10287
daaa7713
JM
102882013-02-15 Joseph Myers <joseph@codesourcery.com>
10289
10290 [BZ #13550]
10291 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10292 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10293 (run-via-rtld-prefix): Do not handle %-bp tests.
10294 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10295 (all-object-suffixes): Remove .ob.
10296 (bppfx): Remove variable.
10297 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10298 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10299 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10300 [$(build-bounded) = yes] (libtype.ob): Likewise.
10301 * Makerules (elide-routines.ob): Remove variable.
10302 (do-tests-clean): Do not handle *-bp.out.
10303 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10304 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10305 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10306 (tests): Do not include $(tests-bp.out).
10307 (xtests): Do not include $(xtests-bp.out).
10308 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10309 [$(build-bounded) = yes] ($(addprefix
10310 $(objpfx),$(binaries-bounded))): Remove rule.
10311 ($(objpfx)%-bp.out): Remove rule.
10312 * config.make.in (build-bounded): Remove variable.
10313 * crypt/Makefile [$(build-bounded) = yes]
10314 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10315 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10316 append to variable.
10317 [$(build-bounded) = yes] (install-lib): Likewise.
10318 [$(build-bounded) = yes] (generated): Likewise.
10319 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10320 Remove rule.
10321 * intl/Makefile [$(build-bounded) = yes]
10322 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10323 * math/Makefile [$(build-bounded) = yes]
10324 ($(tests:%=$(objpfx)%-bp): Likewise.
10325 * misc/Makefile [$(build-bounded) = yes]
10326 ($(objpfx)tst-tsearch-bp): Likewise.
10327 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10328 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10329 Remove dependency.
10330 * string/Makefile (o-objects.ob): Remove variable.
10331 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10332 (CFLAGS-.ob): Remove variable.
10333 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10335 both definitions of variable.
10336 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10337 (ASFLAGS-.ob): Remove variable.
10338
e97ed6dd
JM
103392013-02-14 Joseph Myers <joseph@codesourcery.com>
10340
2bdd4ca6
JM
10341 [BZ #13550]
10342 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10343 Remove __BOUNDED_POINTERS__ from condition.
10344 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10345 * string/bits/string2.h [!__NO_STRING_INLINES &&
10346 !__BOUNDED_POINTERS__]: Likewise.
10347 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10348 Likewise.
10349 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10350 Remove conditional code.
10351 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10352 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10353 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10354 condition.
10355
e97ed6dd
JM
10356 [BZ #13550]
10357 * csu/libc-start.c: Do not include <bp-sym.h>.
10358 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10359 * elf/dl-open.c: Do not include <bp-sym.h>.
10360 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10361 * math/fegetenv.c: Do not include <bp-sym.h>.
10362 (fegetenv): Do not use BP_SYM in versioned symbols.
10363 * nptl/sysdeps/pthread/bits/libc-lockP.h
10364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10365 <bp-sym.h>.
10366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10367 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10369 (__pthread_mutex_destroy): Likewise.
10370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10371 (__pthread_mutex_lock): Likewise.
10372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10373 (__pthread_mutex_trylock): Likewise.
10374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10375 (__pthread_mutex_unlock): Likewise.
10376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10377 (__pthread_mutexattr_init): Likewise.
10378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10379 (__pthread_mutexattr_destroy): Likewise.
10380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10381 (__pthread_mutexattr_settype): Likewise.
10382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10383 (__pthread_rwlock_init): Likewise.
10384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10385 (__pthread_rwlock_destroy): Likewise.
10386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10387 (__pthread_rwlock_rdlock): Likewise.
10388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10389 (__pthread_rwlock_tryrdlock): Likewise.
10390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10391 (__pthread_rwlock_wrlock): Likewise.
10392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10393 (__pthread_rwlock_trywrlock): Likewise.
10394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10395 (__pthread_rwlock_unlock): Likewise.
10396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10397 (__pthread_key_create): Likewise.
10398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10399 (__pthread_setspecific): Likewise.
10400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10401 (__pthread_getspecific): Likewise.
10402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10403 Likewise.
10404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10405 (_pthread_cleanup_push_defer): Likewise.
10406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10407 (_pthread_cleanup_pop_restore): Likewise.
10408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10409 (pthread_setcancelstate): Likewise.
10410 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10411 <bp-sym.h>.
10412 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10413 (memchr): Do not use BP_SYM in weak_alias.
10414 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10415 (fegetenv): Do not use BP_SYM in versioned symbols.
10416 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10417 (fesetenv): Do not use BP_SYM in versioned symbols.
10418 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10419 (feupdateenv): Do not use BP_SYM in versioned symbols.
10420 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10421 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10422 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10423 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10424 (open64): Do not use BP_SYM in weak_alias.
10425 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10426 (fegetenv): Do not use BP_SYM in versioned symbols.
10427 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10428 (fesetenv): Do not use BP_SYM in versioned symbols.
10429 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10430 (feupdateenv): Do not use BP_SYM in versioned symbols.
10431 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10432 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10433 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10434 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10435 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10436 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10437 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10438 <bp-sym.h>.
10439 (__libc_start_main): Do not use BP_SYM.
10440
d6752ccd
SP
104412013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10442
cb57ce60
SP
10443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10444 redundant return line.
10445 (norm): Likewise.
10446 (denorm): Likewise.
10447 (dbl_mp): Likewise.
10448 (sub_magnitudes): Likewise.
10449 (__add): Likewise.
10450 (__sub): Likewise.
10451 (__mul): Likewise.
10452 (__inv): Likewise.
10453 (__dvd): Likewise.
10454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10455 (norm): Likewise.
10456 (denorm): Likewise.
10457 (dbl_mp): Likewise.
10458 (sub_magnitudes): Likewise.
10459 (__add): Likewise.
10460 (__sub): Likewise.
10461 (__mul): Likewise.
10462 (__inv): Likewise.
10463 (__dvd): Likewise.
10464
f414520d
SP
10465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10466 instead of __mul.
10467 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10468 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10469 (cc32): Likewise.
10470
d6752ccd
SP
10471 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10472 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10474 of __mul for squares.
10475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10476 function
10477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10478 Likewise.
10479 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10481
70d9946a
JM
104822013-02-13 Joseph Myers <joseph@codesourcery.com>
10483
10484 [BZ #13550]
10485 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10486 code.
10487 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10488 prototype or function definition. Rename ubp_* variables and
10489 parameters. Remove argv definitions conditional on
10490 [__BOUNDED_POINTERS__].
10491 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10492 * elf/dl-runtime.c (_dl_fixup): Likewise.
10493 * include/set-hooks.h (RUN_HOOK): Likewise.
10494 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10495 definition.
10496 * string/strcpy.c (strcpy): Do not use __unbounded.
10497 * sysdeps/generic/frame.h (struct layout): Likewise.
10498 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10499 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10500 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10501 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10502 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10503 (__backtrace): Likewise.
10504 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10505 use __ptrvalue.
10506 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10507 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10508 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10509 Likewise.
10510 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10511 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10512 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10513 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10514 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10515 Do not use __unbounded.
10516 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10517 Rename __unboundedrlimits parameter to rlimits in prototype.
10518 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10519 Do not use __unbounded.
10520 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10521 not use __ptrvalue.
10522 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10523 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10524 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10525 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10526 __ptrvalue or __unbounded.
10527 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10528 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10529 use __unbounded.
10530 (__new_msgctl): Do not use __ptrvalue.
10531 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10532 __unbounded.
10533 (__libc_msgrcv): Do not use __ptrvalue.
10534 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10535 startup_info): Do not use __unbounded.
10536 (__libc_start_main): Likewise. Rename ubp_* variables and
10537 parameters. Remove argv definitions conditional on
10538 [__BOUNDED_POINTERS__].
10539 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10540 __ptrvalue.
10541 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10542 use __unbounded.
10543 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10544 or __ptrvalue.
10545 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10546 use __unbounded.
10547 (__new_shmctl): Do not use __ptrvalue.
10548 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10549 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10550 Likewise.
10551 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10552 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10553 (__libc_sigaction): Likewise.
10554 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10555 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10556 Likewise.
10557 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10558
cc7834d6
OB
105592013-02-13 Ondřej Bílka <neleai@seznam.cz>
10560
ffb1ec7b 10561 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10562
10563 * string/mempcpy.c: Implement by calling memcpy.
10564
bdf02814
SP
105652013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10566
c2af38aa
SP
10567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10568
4e92d59e
SP
10569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10570 evaluation.
10571
909279a5
SP
10572 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10573 values in the mantissa.
10574
bdf02814
SP
10575 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10576 minimize writes to Z.
10577 (sub_magnitudes): Simplify code a bit.
10578
cd525923
RM
105792013-02-12 Roland McGrath <roland@hack.frob.com>
10580
10581 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10582 from the message. The linker prefixes all warnings with that already.
10583
7e2f0d2d
AS
105842013-02-12 Andreas Schwab <schwab@suse.de>
10585
a445af0b
AS
10586 [BZ #15078]
10587 * posix/regexec.c (extend_buffers): Add parameter min_len.
10588 (check_matching): Pass minimum needed length.
10589 (clean_state_log_if_needed): Likewise.
10590 (get_subexp): Likewise.
10591 * posix/Makefile (tests): Add bug-regex34.
10592 (bug-regex34-ENV): Define.
10593 * posix/bug-regex34.c: New file.
10594
7e2f0d2d
AS
10595 [BZ #11561]
10596 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10597 elements compare against the byte sequence of it, not its name.
10598 * posix/Makefile (tests): Add bug-regex35.
10599 (bug-regex35-ENV): Define.
10600 * posix/bug-regex35.c: New file.
10601
a175b684
TV
106022013-02-11 Tom de Vries <tom@codesourcery.com>
10603
10604 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10605 comment.
10606 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10607 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10608 (CHECK_EOL): Add undef.
10609
310998fe 106102013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10611
10612 * bits/stdlib-bsearch.h: New file.
10613 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10614 * stdlib/stdlib.h: Likewise.
41eda41d 10615
8ded91fb
RM
106162013-02-11 Roland McGrath <roland@hack.frob.com>
10617
10618 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10619 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10620 declaration.
10621 * manual/search.texi (Array Search Function): Add missing const in
10622 lfind prototype.
10623 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10624 declaration to use rlim_t.
10625 (Basic Scheduling Functions): Remove erroneous const from
10626 sched_getparam prototype. Remove erroneous * from
10627 sched_get_priority_max and sched_get_priority_min prototypes.
10628 (Resource Usage): Fix summary @comment on vtimes to refer to
10629 sys/vtimes.h rather than vtimes.h.
10630 Add missing *s in vtimes prototype.
10631 (Limits on Resources): Fix ulimit prototype to return long int.
10632 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10633 prototypes to use long int rather than double.
10634 (BSD Random): Fix initstate and setstate to use char *, not void *.
10635 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10636 prototype to make second argument 'struct aiocb64 *const[]'.
10637 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10638 (Status of AIO Operations): Remove erroneous const in aio_return and
10639 aio_return64 prototypes.
10640 (Synchronizing I/O): Fix sync prototype to return void.
10641 * manual/startup.texi (Suboptions): Remove an erroneous const in
10642 getsubopt prototype.
10643 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10644 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10645 use size_t rather than int.
10646 (Scanning All Users): Likewise for getpwent_r.
10647 (Setting Groups): Add missing const to setgroups prototype.
10648 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10649 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10650 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10651 'const void *' rather than 'const char *'.
10652 (Host Address Functions): Likewise for inet_ntop.
10653 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10654 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10655 ssize_t for return value.
10656 (Sending Data): Likewise for send, sendto, sendmsg.
10657 (Socket Option Functions): Add a missing const in setsockopt prototype.
10658 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10659 use wchar_t for the argument.
10660 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10661 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10662 take no arguments.
10663 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10664 double/float/long double for second argument.
10665 Fix return types of significand, significandf, significandl.
10666 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10667 argument in fchmod prototype.
10668 (File Owner): Use uid_t and gid_t in fchown prototype.
10669 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10670 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10671 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10672 use 'const struct dirent **' as argument types to CMP function pointer
10673 argument.
10674 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10675 (File Times): Fix summary magic @comment for struct utimbuf and utime
10676 to refer to utime.h, not time.h.
10677 * manual/string.texi (Argz Functions): Add missing const in
10678 argz_extract and argz_next prototypes.
10679 (Finding Tokens in a String): Likewise for basename.
10680 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10681 (Copying and Concatenation): Fix typo in wmemmove prototype.
10682 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10683 (Signal Stack): Remove erroneous const in sigstack prototype.
10684 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10685 prototype.
10686 (Simple Calendar Time): Likewise for stime.
10687 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10688 prototype.
10689 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10690 say sys/sysctl.h instead.
10691 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10692 and vsyslog prototypes.
10693
fe77fe6d
TV
106942013-02-11 Tom de Vries <tom@codesourcery.com>
10695
10696 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10697 Remove.
10698
3a09b620
RM
106992013-02-11 Roland McGrath <roland@hack.frob.com>
10700
10701 * misc/sys/mman.h: Fix typo in mremap comment.
10702
550a0b89
RM
107032013-02-08 Roland McGrath <roland@hack.frob.com>
10704
10705 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10706 the '\0' terminator.
10707
a2da1673
JM
107082013-02-08 Joseph Myers <joseph@codesourcery.com>
10709
10710 [BZ #13550]
10711 * debug/segfault.c: Don't include <bp-checks.h>.
10712 * sysdeps/generic/bp-checks.h: Remove file.
10713 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10714 (__GETDENTS): Don't use CHECK_N.
10715 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10716 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10717 (__getgroups): Don't use CHECK_N.
10718 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10719 (setgroups): Don't use CHECK_N.
10720 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10721 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10722 (__libc_msgrcv): Don't use CHECK_N.
10723 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10724 (__libc_msgsnd): Don't use CHECK_N.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10726 <bp-checks.h>.
10727 (__libc_pread): Don't use CHECK_N.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10729 include <bp-checks.h>.
10730 (__libc_pread64): Don't use CHECK_N.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10732 include <bp-checks.h>.
10733 (__libc_pwrite): Don't use CHECK_N.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10735 include <bp-checks.h>.
10736 (__libc_pwrite64): Don't use CHECK_N.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10738 <bp-checks.h>.
10739 (__libc_pread): Don't use CHECK_N.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10741 include <bp-checks.h>.
10742 (__libc_pread64): Don't use CHECK_N.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10744 include <bp-checks.h>.
10745 (__libc_pwrite): Don't use CHECK_N.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10747 include <bp-checks.h>.
10748 (__libc_pwrite64): Don't use CHECK_N.
10749 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10750 (do_pread): Don't use CHECK_N.
10751 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10752 (do_pread64): Don't use CHECK_N.
10753 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10754 (do_pwrite): Don't use CHECK_N.
10755 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10756 (do_pwrite64): Don't use CHECK_N.
10757 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10758 (__libc_readv): Don't use CHECK_N.
10759 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10760 (semop): Don't use CHECK_N.
10761 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10762 <bp-checks.h>.
10763 (semtimedop): Don't use CHECK_N.
10764 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10765 (__libc_pread): Don't use CHECK_N.
10766 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10767 <bp-checks.h>.
10768 (__libc_pread64): Don't use CHECK_N.
10769 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10770 <bp-checks.h>.
10771 (__libc_pwrite): Don't use CHECK_N.
10772 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10773 <bp-checks.h>.
10774 (__libc_pwrite64): Don't use CHECK_N.
10775 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10776 <bp-checks.h>.
10777 (__libc_msgrcv): Don't use CHECK_N.
10778 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10779 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10780 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10781 (__libc_writev): Don't use CHECK_N.
10782
b84660a8
RM
107832013-02-08 Roland McGrath <roland@hack.frob.com>
10784
7f3e75f8
RM
10785 * string/strcpy.c: Removed unused variable.
10786
b84660a8
RM
10787 * Makeconfig (+sysdep-includes): Define with := rather than =.
10788 Use an existing include/ subdir of each sysdeps dir before it.
10789
471514d3
CD
107902013-02-08 Carlos O'Donell <carlos@redhat.com>
10791
10792 * nscd/connection.c (register_traced_file): Comment function.
10793 [HAVE_INOTIFY] (union __inev): Define.
10794 [HAVE_INOTIFY] (inotify_check_files): New function.
10795 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10796 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10797 clear_db_cache.
10798 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10799
b2d3c3be
CD
108002013-02-08 Carlos O'Donell <carlos@redhat.com>
10801
10802 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10803 loaded if not already and that a failure is permanent.
10804
b39949d2
CD
108052013-02-08 Carlos O'Donell <carlos@redhat.com>
10806
ddacd1db 10807 [BZ #15006]
b39949d2
CD
10808 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10809 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10810
b2c9eff4
JM
108112013-02-08 Joseph Myers <joseph@codesourcery.com>
10812
f3aae3f3
JM
10813 [BZ #13550]
10814 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10815 (CHECK_1_NULL_OK): Likewise.
10816 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10817 (__fxstat): Do not use CHECK_1.
10818 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10819 <bp-checks.h>.
10820 (___fxstat64): Do not use CHECK_1.
10821 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10822 <bp-checks.h>.
10823 (__fxstatat): Do not use CHECK_1.
10824 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10825 <bp-checks.h>.
10826 (__fxstatat64): Do not use CHECK_1.
10827 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10828 <bp-checks.h>.
10829 (__fxstat): Do not use CHECK_1.
10830 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10831 <bp-checks.h>.
10832 (__fxstatat): Do not use CHECK_1.
10833 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10834 <bp-checks.h>.
10835 (__getresgid): Do not use CHECK_1.
10836 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10837 <bp-checks.h>.
10838 (__getresuid): Do not use CHECK_1.
10839 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10840 <bp-checks.h>.
10841 (__lxstat): Do not use CHECK_1.
10842 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10843 <bp-checks.h>.
10844 (__old_msgctl): Do not use CHECK_1.
10845 (__new_msgctl): Likewise.
10846 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10847 <bp-checks.h>.
10848 (__new_setrlimit): Do not use CHECK_1.
10849 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10850 <bp-checks.h>.
10851 (__old_shmctl): Do not use CHECK_1.
10852 (__new_shmctl): Likewise.
10853 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10854 <bp-checks.h>.
10855 (__xstat): Do not use CHECK_1.
10856 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10857 (__lxstat): Do not use CHECK_1.
10858 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10859 <bp-checks.h>.
10860 (___lxstat64): Do not use CHECK_1.
10861 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10862 (__old_msgctl): Do not use CHECK_1.
10863 (__new_msgctl): Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10865 <bp-checks.h>.
10866 (__gettimeofday): Do not use CHECK_1.
10867 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10868 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10869 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10870 <bp-checks.h>.
10871 (__gettimeofday): Do not use CHECK_1.
10872 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10873 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10874 (__new_shmctl): Do not use CHECK_1.
10875 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10876 <bp-checks.h>.
10877 (do_sigtimedwait): Do not use CHECK_1.
10878 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10879 <bp-checks.h>.
10880 (do_sigwaitinfo): Do not use CHECK_1.
10881 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10882 <bp-checks.h>.
10883 (msgctl): Do not use CHECK_1.
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10885 <bp-checks.h>.
10886 (shmctl): Do not use CHECK_1.
10887 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10888 (ustat): Do not use CHECK_1.
10889 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10890 <bp-checks.h>.
10891 (__fxstat): Do not use CHECK_1.
10892 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10893 <bp-checks.h>.
10894 (__fxstatat): Do not use CHECK_1.
10895 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10896 <bp-checks.h>.
10897 (__lxstat): Do not use CHECK_1.
10898 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10899 <bp-checks.h>.
10900 (__xstat): Do not use CHECK_1.
10901 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10902 (__xstat): Do not use CHECK_1.
10903 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10904 (___xstat64): Do not use CHECK_1.
10905
b2c9eff4
JM
10906 [BZ #13550]
10907 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10908 definitions.
10909 (CHECK_BOUNDS_HIGH): Likewise.
10910 * string/strcpy.c: Do not include <bp-checks.h>.
10911 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10912
f1d70dad
RM
109132013-02-07 Roland McGrath <roland@hack.frob.com>
10914
10915 * nscd/nscd-client.h (__nscd_drop_map_ref):
10916 Add __attribute__ ((unused)).
10917 * nis/nss-nisplus.h (niserr2nss): Likewise.
10918
10919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10920 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10921
10922 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10923 Remove inline keyword.
10924 * include/rounding-mode.h (round_away): Likewise.
10925 * libio/wfileops.c (adjust_wide_data): Likewise.
10926 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10927 (__m128i_strloadu_tolower): Likewise.
10928 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10929 (__m128i_strloadu_tolower): Likewise.
10930 * time/mktime.c (ydhms_diff): Likewise.
10931 * locale/elem-hash.h (elem_hash): Likewise.
10932 * locale/setlocale.c (setdata): Likewise.
10933 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10934 (re_string_wchar_at): Likewise.
10935 (bitset_not, bitset_merge, bitset_mask): Likewise.
10936 [!(__GNUC__ > 3)] (inline): Remove macro.
10937 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10938 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10939 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10940 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10941 * string/memcmp.c (memcmp_bytes): Likewise.
10942 * locale/programs/locarchive.c (compute_hashval): Likewise.
10943 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10944 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10945 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10946 * nss/getent.c (print_rpc, print_protocols): Likewise.
10947 (print_passwd, print_group, print_aliases): Likewise.
10948 * nis/nss-nisplus.h (niserr2nss): Likewise.
10949 * nscd/connections.c (restart_p): Likewise.
10950 Change return type to bool.
10951
eab55bfb
RM
109522013-02-05 Roland McGrath <roland@hack.frob.com>
10953
7bd642f5
RM
10954 * Makeconfig (all-Depend-files): Add existing
10955 $(sorted-subdirs:=/Depend) files.
10956 (all-subdirs): Remove nss.
10957 * sysdeps/unix/inet/Subdirs: Add it here instead.
10958 * hesiod/Depend: New file.
10959
573c29b2
RM
10960 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10961 instead of calling alloca.
10962
b2e25af0
RM
10963 * io/lseek.c (__lseek): Rename to __libc_lseek.
10964 Define __lseek as an alias.
10965
eab55bfb
RM
10966 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10967
9a0d1941
CD
109682013-02-04 Carlos O'Donell <carlos@redhat.com>
10969
10970 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10971 else clause and remove check for non-standard endianness.
10972
b83bbec4
DM
109732013-02-04 David S. Miller <davem@davemloft.net>
10974
10975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10976
6277fdab
JM
109772013-02-04 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #13550]
10980 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10981 (__ubp_memchr): Remove prototype.
10982 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10983 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10984 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10985 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10986 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10987 Remove alias.
10988 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10989 (__ubp_memchr): Likewise.
10990 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10991 (__ubp_memchr): Likewise.
10992 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10993 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10994 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10995 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10996 CHECK_STRING.
10997 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10998 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10999 (__getcwd): Do not use CHECK_STRING.
11000 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11001 <bp-checks.h>.
11002 (__real_chown): Do not use CHECK_STRING.
11003 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11004 <bp-checks.h>.
11005 (fchownat): Do not use CHECK_STRING.
11006 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11007 CHECK_STRING.
11008 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11009 <bp-checks.h>.
11010 (__lchown): Do not use CHECK_STRING.
11011 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11012 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11013 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11014 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11016 include <bp-checks.h>.
11017 (truncate64): Do not use CHECK_STRING.
11018 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11019 <bp-checks.h>.
11020 (__real_chown): Do not use CHECK_STRING.
11021 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11022 <bp-checks.h>.
11023 (__lchown): Do not use CHECK_STRING.
11024 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11025 <bp-checks.h>.
11026 (__chown): Do not use CHECK_STRING.
11027 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11028 <bp-checks.h>.
11029 (truncate64): Do not use CHECK_STRING.
11030 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11031 Likewise.
11032 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11033 (__xmknod): Do not use CHECK_STRING.
11034 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11035 <bp-checks.h>.
11036 (__xmknodat): Do not use CHECK_STRING.
11037 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11038 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11039
903ae060
AS
110402013-02-04 Andreas Schwab <schwab@suse.de>
11041
11042 [BZ #14142]
11043 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11044 * include/netdb.h: Likewise for h_errno.
11045 * elf/tst-stackguard1.c: Include <tls.h>.
11046
542f9466
JK
110472013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11048
11049 * elf/link.h (struct link_map): Extend the l_addr comment.
11050 * include/link.h (struct link_map): Likewise.
11051
e782a927
JM
110522013-02-01 Joseph Myers <joseph@codesourcery.com>
11053
11054 [BZ #13550]
11055 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11056 (BOUNDED_1): Remove macro.
11057 * debug/backtrace.c: Don't include <bp-checks.h>.
11058 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11059 (__backtrace): Likewise.
11060 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11061 <bp-checks.h>.
11062 (__backtrace): Don't use BOUNDED_1.
11063 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11064 <bp-checks.h>.
11065 (__backtrace): Don't use BOUNDED_1.
11066 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11067 (__backtrace): Don't use BOUNDED_1.
11068 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11069 (shmat): Don't use BOUNDED_N.
11070
8cf28c5e
JM
110712013-01-31 Joseph Myers <joseph@codesourcery.com>
11072
3a7ac8a0
JM
11073 [BZ #13550]
11074 * sysdeps/generic/bp-start.h: Remove file.
11075 * csu/libc-start.c: Don't include <bp-start.h>.
11076 (LIBC_START_MAIN): Set up __environ directly instead of using
11077 INIT_ARGV_and_ENVIRON.
11078 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11079 <bp-start.h>.
11080
f3499f95
JM
11081 [BZ #13550]
11082 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11083 definitions.
11084 (CHECK_FCNTL): Likewise.
11085 (CHECK_N_PAGES): Likewise.
11086
32a45bea
JM
11087 [BZ #13550]
11088 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11089 definitions.
11090 (CHECK_SIGSET_NULL_OK): Likewise.
11091 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11092 <bp-checks.h>.
11093 (sigpending): Don't use CHECK_SIGSET.
11094 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11095 <bp-checks.h>.
11096 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11097 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11098 <bp-checks.h>.
11099 (do_sigsuspend): Don't use CHECK_SIGSET.
11100 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11101 use CHECK_SIGSET.
11102 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11103 (do_sigwait): Don't use CHECK_SIGSET.
11104 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11105 use CHECK_SIGSET.
11106 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11107 include <bp-checks.h>.
11108 (sigpending): Don't use CHECK_SIGSET.
11109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11110 include <bp-checks.h>.
11111 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11112 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11113 <bp-checks.h>.
11114 (sigpending): Don't use CHECK_SIGSET.
11115 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11116 <bp-checks.h>.
11117 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11118
2e8a5c8c
JM
11119 [BZ #13550]
11120 * sysdeps/generic/bp-semctl.h: Remove file.
11121 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11122 <bp-checks.h> and <bp-semctl.h>.
11123 (__old_semctl): Don't use CHECK_SEMCTL.
11124 (__new_semctl): Likewise.
11125 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11126 and <bp-semctl.h>.
11127 (__old_semctl): Don't use CHECK_SEMCTL.
11128 (__new_semctl): Likewise.
11129 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11130 <bp-checks.h> and <bp-semctl.h>.
11131 (__old_semctl): Don't use CHECK_SEMCTL.
11132 (__new_semctl): Likewise.
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11134 <bp-checks.h> and <bp-semctl.h>.
11135 (semctl): Don't use CHECK_SEMCTL.
11136
c2d54929
JM
11137 [BZ #13550]
11138 * Makerules (elide-bp-thunks): Remove variable.
11139 (elide-routines.oS): Don't use $(elide-bp-thunks).
11140 (elide-routines.os): Likewise.
11141 (elide-routines.o): Likewise.
11142 (elide-routines.op): Likewise.
11143 (elide-routines.og): Likewise.
11144 (objects): Don't use $(bp-thunks).
11145 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11146 include.
11147 (common-generated): Do not add s-proto-bp.d.
11148 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11149 (int): Likewise.
11150 (typ): Likewise.
11151 Do not generate makefile rules for bounded-pointer thunks.
11152 * sysdeps/generic/bp-thunks.h: Remove file.
11153 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11154 * sysdeps/unix/s-proto-bp.S: Likewise.
11155
8cf28c5e
JM
11156 [BZ #15062]
11157 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11158 parts of result separately when argument is not close to line from
11159 -i to i and one part of argument is small.
11160 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11161 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11162 * math/libm-test.inc (cacos_test): Add more tests.
11163 (casin_test): Likewise.
11164 (casinh_test): Likewise.
11165 * sysdeps/i386/fpu/libm-test-ulps: Update.
11166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11167
c4e33b8d
DM
111682013-01-31 David S. Miller <davem@davemloft.net>
11169
11170 * po/de.po: Update from translation team.
11171
3b60b421
MK
111722013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11173
11174 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11175
bb931195
TS
111762013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11177
b5a5da23
TS
11178 * configure.in (_AC_PROG_CC_C89): New definition.
11179 * configure: Regenerate.
11180
bb931195
TS
11181 * configure.in (AC_PROG_CPP): New definition.
11182 * configure: Regenerate.
11183
8c53a12c
JM
111842013-01-23 Joseph Myers <joseph@codesourcery.com>
11185
11186 * debug/tst-backtrace.h: New file.
11187 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11188 (ret): Remove variable.
11189 (x): Likewise.
11190 (FAIL): Remove macro.
11191 (NO_INLINE): Likewise.
11192 (fn1): Use match function instead of strstr.
11193 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11194 (ret): Remove variable.
11195 (x): Likewise.
11196 (FAIL): Remove macro.
11197 (NO_INLINE): Likewise.
11198 (fn): Use match function instead of strstr.
11199 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11200 (ret): Remove variable.
11201 (x): Likewise.
11202 (FAIL): Remove macro.
11203 (NO_INLINE): Likewise.
11204 (handle_signal): Use match function instead of strstr.
11205 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11206 (ret): Remove variable.
11207 (x): Likewise.
11208 (FAIL): Remove macro.
11209 (NO_INLINE): Likewise.
11210 (handle_signal): Use match function instead of strstr.
11211
4858fa2a
RM
112122013-01-23 Roland McGrath <roland@hack.frob.com>
11213
11214 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11215
bae8e7f5
DM
112162013-01-23 David S. Miller <davem@davemloft.net>
11217
11218 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11219 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11220 argument of CAS if possible.
11221 * sysdeps/sparc/sparc64/bits/atomic.h
11222 (__arch_compare_and_exchange_val_32_acq): Likewise.
11223 (__arch_compare_and_exchange_val_64_acq): Likewise.
11224
9cbbc4ae
PT
112252013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11226
11227 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11228 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11229 Include <limits.h>.
67b3f58c 11230 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11231
5655a0b5
AC
112322013-01-23 Adam Conrad <adconrad@0c3.net>
11233
11234 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11235 (LDFLAGS-tst-array5): Likewise.
11236
052aff95
JM
112372013-01-23 Joseph Myers <joseph@codesourcery.com>
11238
11239 [BZ #15036]
11240 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11241 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11242 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11243 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11244
7c1e01aa
DM
112452013-01-21 David S. Miller <davem@davemloft.net>
11246
11247 * sysdeps/sparc/backtrace.c: New file.
11248 * sysdeps/sparc/sparc32/backtrace.h: New file.
11249 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11250 * sysdeps/sparc/sparc64/backtrace.h: New file.
11251 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11252 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11253 -funwind-tables.
11254
ab087e0a
AS
112552013-01-21 Andreas Schwab <schwab@suse.de>
11256
11257 [BZ #15020]
11258 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11259 closed its stdout.
11260
ed689c2f
AS
112612013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11262
11263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11264 "mpa2.h".
11265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11266
31d470ac
JM
112672013-01-18 Joseph Myers <joseph@codesourcery.com>
11268 Mark Mitchell <mark@codesourcery.com>
11269 Tom de Vries <tom@codesourcery.com>
11270 Paul Pluzhnikov <ppluzhnikov@google.com>
11271
11272 * debug/tst-backtrace2.c: New file.
11273 * debug/tst-backtrace3.c: Likewise.
11274 * debug/tst-backtrace4.c: Likewise.
11275 * debug/tst-backtrace5.c: Likewise.
11276 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11277 (CFLAGS-tst-backtrace3.c): Likewise.
11278 (CFLAGS-tst-backtrace4.c): Likewise.
11279 (CFLAGS-tst-backtrace5.c): Likewise.
11280 (LDFLAGS-tst-backtrace2): Likewise.
11281 (LDFLAGS-tst-backtrace3): Likewise.
11282 (LDFLAGS-tst-backtrace4): Likewise.
11283 (LDFLAGS-tst-backtrace5): Likewise.
11284 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11285 tst-backtrace4 and tst-backtrace5.
11286
90567f30 112872013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11288 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11289
11290 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11291 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11292 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11293 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11295 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11296 "+r" and remove output regs list as redundant. Add explicit inline
11297 asm to specify register of return val to work around compiler codegen
11298 bug. Remove (int) cast on return value. Add return type parameter to
11299 use in macro so that this macro does not truncate return value for
11300 64-bit values.
11301 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11302 pass to INTERNAL_VSYSCALL_NCS.
11303 (INLINE_VSYSCALL): Add 'long int' as return type to
11304 INTERNAL_VSYSCALL_NCS macro invocation.
11305 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11306 INTERNAL_VSYSCALL_NCS macro invocation.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11308
d3b9ea61
SP
113092013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11310
0b57daeb
SP
11311 [BZ #14496]
11312 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11313 Fix application of SIMD FP exception mask.
11314
caa99d06
SP
11315 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11316 mp_no from a power of two.
11317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11318 __mpexp_twomm1. Use __pow_mp.
11319
d3b9ea61
SP
11320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11321 multiplication.
11322
1dbaee3c
DM
113232013-01-17 David S. Miller <davem@davemloft.net>
11324
11325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11326
728d7b43
JM
113272013-01-17 Joseph Myers <joseph@codesourcery.com>
11328
11329 [BZ #15023]
11330 * include/complex.h: Condition contents on [!_COMPLEX_H].
11331 (__kernel_casinhf): New prototype.
11332 (__kernel_casinh): Likewise.
11333 (__kernel_casinhl): Likewise.
11334 * math/Makefile (libm_calls): Add k_casinh.
11335 * math/k_casinh.c: New file.
11336 * math/k_casinhf.c: Likewise.
11337 * math/k_casinhl.c: Likewise.
11338 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11339 finite nonzero arguments.
11340 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11341 finite nonzero arguments.
11342 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11343 finite nonzero arguments.
11344 * math/s_casinh.c: Do not include <float.h>.
11345 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11346 * math/s_casinhf.c: Do not include <float.h>.
11347 (__casinhf): Move code for finite nonzero arguments to
11348 k_casinhf.c.
11349 * math/s_casinhl.c: Do not include <float.h>.
11350 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11351 redefine.
11352 (__casinhl): Move code for finite nonzero arguments to
11353 k_casinhl.c.
11354 * math/libm-test.inc (cacos_test): Add more tests.
11355 * sysdeps/i386/fpu/libm-test-ulps: Update.
11356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11357
2a26ef3a
PT
113582013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11359
11360 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11361 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11362 [!HAVE_MREMAP]: Remove [defined linux] case.
11363 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11364
a897655d
SP
113652013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11366
11367 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11368
881ebe89 113692013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11370
11371 * elf/elf.h (R_386_SIZE32): New relocation.
11372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11373 R_386_SIZE32.
11374 (elf_machine_rela): Likewise.
11375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11376 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11377
59981e9b
JM
113782013-01-17 Joseph Myers <joseph@codesourcery.com>
11379
11380 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11381 (FP_FAST_FMA): Do not define.
11382 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11383 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11384 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11385 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11386 !_SOFT_FLOAT]: Likewise.
11387 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11388 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11389 value.
11390 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11391 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11392 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11393 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11394 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11395 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11396 file.
11397
cfa8054f
AS
113982013-01-16 Andreas Schwab <schwab@suse.de>
11399
11400 [BZ #14327]
11401 * include/stdlib.h (__mktemp): Add declaration.
11402 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11403 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11404
dd930cc5
SP
114052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11406
881ebe89
SP
11407 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11408 definitions.
11409 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11410 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11411 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11412 definitions here.
11413 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11414 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11415 definitions.
11416 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11417 and ONE.
11418 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11419 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11420 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11421 definitions.
11422 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11423 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11424 definitions.
11425 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11426
dd930cc5
SP
11427 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11428
c19a9f89
DM
114292013-01-15 David S. Miller <davem@davemloft.net>
11430
1aa61767
DM
11431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11432 trunc{,f} to libm-sysdep_routes.
11433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11435 file.
11436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11438 file.
11439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11440 file.
11441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11443 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11444 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11445 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11446 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11447 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11448 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11449
c42d5e98
DM
11450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11451 nearbyint{,f} to libm-sysdep_routes.
11452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11454 New file.
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11456 file.
11457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11458 New file.
11459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11460 file.
11461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11463 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11464 file.
11465 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11466 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11467 file.
11468 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11469 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11470 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11471
c19a9f89
DM
11472 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11473 libc_feholdexcept and libc_fesetenv.
11474
357679d2
MF
114752013-01-15 Mike Frysinger <vapier@gentoo.org>
11476
11477 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11478
65a82e3d
DM
114792013-01-14 David S. Miller <davem@davemloft.net>
11480
8b954ab9
DM
11481 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11482 (SPARC_ASM_VIS2_IFUNC): Likewise.
11483 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11485 use of 'siam' instruction.
11486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11487 Likewise.
11488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11489 Likewise.
11490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11491 Likewise.
11492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11497 file.
11498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11499 file.
11500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11501 file.
11502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11503 file.
11504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11509 new VIS2 routines.
11510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11513 Likewise.
11514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11519 routines to libm-sysdep_routines.
11520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11521
65a82e3d
DM
11522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11523 fdim/fdimf to libm-sysdep_routines.
11524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11525 file.
11526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11528 file.
11529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11532 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11533 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11534 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11535 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11536
e34ab705
SP
115372013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11538
2a91b573
SP
11539 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11540 to optimize copies.
11541
1066a534
SP
11542 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11545
e34ab705
SP
11546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11547 local variable MPTWO.
11548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11549 Likewise.
11550
aba5e596
MF
115512013-01-13 Mike Frysinger <vapier@gentoo.org>
11552
11553 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11554 GLOB_NOESCAPE.
11555
e557e9e5
MF
115562013-01-13 Mike Frysinger <vapier@gentoo.org>
11557
11558 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11559
0428cec9
MF
115602013-01-13 Mike Frysinger <vapier@gentoo.org>
11561
11562 * manual/pattern.texi (glob_t): Document gl_flags.
11563 (glob64_t): Likewise.
11564
8794a964
DM
115652013-01-11 David S. Miller <davem@davemloft.net>
11566
66438c3f
RM
11567 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11568 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11569 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11570 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11571 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11572 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11573 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11574 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11575 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11576 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11577 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11578 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11579 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11580
4ae4244d
DM
11581 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11582 sparc V9 rather than using V8 code.
11583 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11584 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11585
8794a964
DM
11586 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11587 Move to...
11588 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11589 Here.
11590
6270516e
RM
115912013-01-11 Roland McGrath <roland@hack.frob.com>
11592
11593 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11594 not in the main loop.
11595 * configure: Regenerated.
11596
6a57d931
JM
115972013-01-11 Joseph Myers <joseph@codesourcery.com>
11598
11599 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11600 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11601 to just #else.
11602 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11603 [!__GLIBC_HAVE_LONG_LONG] case.
11604 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11605 condition to just #else.
11606 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11607 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11608 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11609 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11610 unconditional.
11611 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11612 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11613 #elif condition to just #else.
11614 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11615 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11616 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11617 #elif condition to just #else.
11618
0e8529e9
SE
116192013-01-11 Steve Ellcey <sellcey@mips.com>
11620
11621 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11622 (EF_MIPS_ARCH_64): Fix value.
11623 (EF_MIPS_ARCH_32R2): New.
11624 (EF_MIPS_ARCH_64R2): New.
11625
740b3dbe
L
116262013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 * Makeconfig (+link-pie-before-libc): New.
11629 (+link-pie-after-libc): Likewise.
11630 (+link-pie-tests): Likewise.
11631 (+link-pie): Rewritten.
11632 (link-before-libc): Remove $(config-LDFLAGS).
11633 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11634 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11635 (config-LDFLAGS): Renamed to ...
11636 (rtld-LDFLAGS): This.
11637 (rtld-tests-LDFLAGS): New macro.
11638 (link-libc-rpath-link): Likewise.
11639 (link-libc-tests-rpath-link): Likewise.
11640 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11641 (link-libc): Prepand $(link-libc-rpath-link).
11642 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11643 (test-program-prefix): New macro.
11644 (test-via-rtld-prefix): Likewise.
11645 (test-program-cmd): Likewise.
11646 (host-test-program-cmd): Likewise.
11647 * Makefile ($(common-objpfx)testrun.sh): Replace
11648 $(run-program-prefix) with $(test-program-prefix).
11649 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11650 $(rtld-LDFLAGS).
11651 ($(common-objpfx)shlib.lds): Likewise.
11652 (build-module-helper): Likewise.
11653 ($(common-objpfx)format.lds): Likewise.
11654 * Rules (binaries-pie-tests): New.
11655 (binaries-pie-notests): Likewise.
11656 (binaries-pie): Rewritten.
11657 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11658 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11659 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11660 (make-test-out): Replace $(host-built-program-cmd) with
11661 $(host-test-program-cmd).
11662 * config.make.in (build-hardcoded-path-in-tests): New variable.
11663 * configure.in (--enable-hardcoded-path-in-tests): New configure
11664 option.
11665 (hardcoded_path_in_tests): New AC_SUBST.
11666 * configure: Regenerated.
11667 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11668 $(built-program-cmd) with $(test-program-cmd).
11669 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11670 (test_program_cmd): This.
11671 * elf/Makefile ($(objpfx)order.out): Run test with
11672 $(test-program-prefix).
11673 ($(objpfx)order2.out): Likewise.
11674 ($(objpfx)tst-initorder.out): Likewise.
11675 ($(objpfx)tst-initorder2.out): Likewise.
11676 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11677 $(test-program-cmd).
11678 ($(objpfx)tst-array1-static.out): Likewise.
11679 ($(objpfx)tst-array2.out): Likewise.
11680 ($(objpfx)tst-array3.out): Likewise.
11681 ($(objpfx)tst-array4.out): Likewise.
11682 ($(objpfx)tst-array5.out): Likewise.
11683 ($(objpfx)tst-array5-static.out): Likewise.
11684 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11685 $(test-program-cmd).
11686 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11687 $(run-program-prefix) with $(test-program-prefix).
11688 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11689 (test_program_prefix): This.
11690 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11691 $(run-program-prefix) with $(test-program-prefix).
11692 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11693 (test_program_prefix): This.
11694 * iconvdata/tst-tables.sh: Likewise.
11695 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11696 $(run-program-prefix) with $(test-program-prefix).
11697 ($(objpfx)tst-translit.out): Likewise.
11698 ($(objpfx)tst-gettext2.out): Likewise.
11699 ($(objpfx)tst-gettext4.out): Likewise.
11700 ($(objpfx)tst-gettext6.out): Likewise.
11701 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11702 (test_program_prefix): This.
11703 * intl/tst-gettext2.sh: Likewise.
11704 * intl/tst-gettext4.sh Likewise.
11705 * intl/tst-gettext6.sh: Likewise.
11706 * intl/tst-translit.sh: Likewise.
11707 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11708 with $(test-program-cmd).
11709 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11710 $(run-program-prefix) with $(test-program-prefix).
11711 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11712 (test_program_prefix): This.
11713 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11714 $(run-program-prefix) with $(test-program-prefix).
11715 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11716 (test_program_prefix): This.
11717 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11718 * posix/Makefile ($(objpfx)globtest.out): Replace
11719 $(run-via-rtld-prefix) and $(test-wrapper) with
11720 $(test-program-prefix) and $(test-via-rtld-prefix).
11721 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11722 $(test-program-prefix).
11723 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11724 $(host-test-program-cmd).
11725 (tst-spawn-ARGS): Likewise.
11726 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11727 $(test-program-prefix).
11728 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11729 (test_via_rtld_prefix): This.
11730 (test_wrapper): Renamed to ...
11731 (test_program_prefix): This.
11732 (run_program_prefix): Replaced by test_program_prefix.
11733 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11734 (test_program_prefix): This.
11735 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11736 with $(host-test-program-cmd).
11737 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11738 $(run-program-prefix) with $(test-program-prefix).
11739 ($(objpfx)tst-printf.out): Likewise.
11740 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11741 $(test-program-cmd).
11742 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11743 (test_program_prefix): This.
11744 * stdio-common/tst-unbputc.sh: Likewise.
11745 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11746 $(run-program-prefix) with $(test-program-prefix).
11747 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11748 (test_program_prefix): This.
11749 * string/Makefile ($(objpfx)tst-svc.out): Replace
11750 $(built-program-cmd) with $(test-program-cmd).
11751
c6fe55cf
AJ
117522013-01-11 Andreas Jaeger <aj@suse.de>
11753
11754 [BZ #15003]
11755 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11756 value. Sync with Linux 3.7.
11757
9e6919c8
DM
117582013-01-10 David S. Miller <davem@davemloft.net>
11759
11760 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11761 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11762 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11763
1c9f1a02
RM
117642013-01-10 Roland McGrath <roland@hack.frob.com>
11765
11766 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11767 never set.
11768 * configure: Regenerated.
11769
b9de2dde
DM
117702013-01-10 David S. Miller <davem@davemloft.net>
11771
11772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11773 sparc V9 rather than using V8 code.
11774 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11775 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11776
e7f68ef4
RM
117772013-01-10 Roland McGrath <roland@hack.frob.com>
11778
11779 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11780 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11781 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11782 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11783 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11784 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11785 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11786 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11787 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11788 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11789 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11790 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11791 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11792 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11793 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11794 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11795 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11796 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11797 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11798 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11799 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11800 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11801 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11802 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11803 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11804 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11805 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11806
5a47cc9c
DM
118072013-01-10 David S. Miller <davem@davemloft.net>
11808
11809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11810
4cf8f209
L
118112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * posix/Makefile (tests-static): New variable.
11814 (tests): Add $(tests-static).
11815 (tst-exec-static-ARGS): New variable.
11816 (tst-spawn-static-ARGS): Likewise.
11817 * posix/tst-exec-static.c: New file.
11818 * posix/tst-spawn-static.c: Likewise.
11819 * posix/tst-exec.c: Support run directly.
11820 * posix/tst-spawn.c: Likewise.
11821
fed0faa1
JM
118222013-01-10 Joseph Myers <joseph@codesourcery.com>
11823
828beb13
JM
11824 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11825 long.
11826 * math/bits/mathcalls.h (llrint): Likewise.
11827 (llround): Likewise.
11828 * stdlib/stdlib.h (struct drand48_data): Likewise.
11829 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11830 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11832 Likewise.
11833 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11834 Likewise.
11835 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11836 (elf_greg_t): Likewise.
11837 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11838 (__jmp_buf): Likewise.
11839 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11840 definitions.
11841 (llrint): Likewise, for all definitions.
11842 (llrintl): Likewise.
11843
fed0faa1
JM
11844 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11845 Remove [__GNUC__] condition.
11846 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11847 condition to just [__USE_ISOC99].
11848 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11849
1a20cb20
L
118502013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11851
11852 [BZ #14200]
11853 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11854 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11855 defined.
11856 (_POSIX_V6_ILP32_OFF32): Likewise.
11857 (_XBS5_ILP32_OFF32): Likewise.
11858 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11859 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11860
751b85f7
SP
118612013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11862
7490eb81
SP
11863 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11864
751b85f7
SP
11865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11866 doubles __mpexp_twomm1. Adjust usage.
11867 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11868 Remove.
11869
988197f0
AS
118702013-01-10 Andreas Schwab <schwab@suse.de>
11871
11872 [BZ #14964]
11873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11874 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11875
e83d7298
DM
118762013-01-09 David S. Miller <davem@davemloft.net>
11877
034ed64b 11878 [BZ #15003]
e83d7298
DM
11879 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11880 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11881 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11882 TCP_FASTOPEN): Define.
11883 (tcp_repair_opt): New structure.
11884 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11885 enum values.
11886 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11887 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11888 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11889 (tcp_cookie_transactions): New structure.
11890
d5e0b9bd
AB
118912013-01-09 Anton Blanchard <anton@samba.org>
11892
11893 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11894 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11895 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11896 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11897
0c07e3ea
JM
118982013-01-09 Joseph Myers <joseph@codesourcery.com>
11899
11900 * include/features.h (__USE_ANSI): Remove.
11901
232f7002
RM
119022013-01-09 Roland McGrath <roland@hack.frob.com>
11903
ad98e30c
RM
11904 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11905
232f7002
RM
11906 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11907
950c99ca
SP
119082013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11909
b5792741
SP
11910 * sysdeps/s390/fpu/libm-test-ulps: Update.
11911
47cf2278
SP
11912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11913
950c99ca
SP
11914 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11915 (__acr): Likewise.
11916 (__cpy): Likewise.
11917 (norm): Likewise.
11918 (denorm): Likewise.
11919 (__mp_dbl): Likewise.
11920 (__dbl_mp): Likewise.
11921 (add_magnitudes): Likewise.
11922 (sub_magnitudes): Likewise.
11923 (__add): Likewise.
11924 (__sub): Likewise.
11925 (__mul): Likewise.
11926 (__inv): Likewise.
11927 (__dvd): Likewise.
11928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11929 (__acr): Likewise.
11930 (__cpy): Likewise.
11931 (norm): Likewise.
11932 (denorm): Likewise.
11933 (__mp_dbl): Likewise.
11934 (__dbl_mp): Likewise.
11935 (add_magnitudes): Likewise.
11936 (sub_magnitudes): Likewise.
11937 (__add): Likewise.
11938 (__sub): Likewise.
11939 (__mul): Likewise.
11940 (__inv): Likewise.
11941 (__dvd): Likewise.
11942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11943 (__acr): Likewise.
11944 (__cpy): Likewise.
11945 (norm): Likewise.
11946 (denorm): Likewise.
11947 (__mp_dbl): Likewise.
11948 (__dbl_mp): Likewise.
11949 (add_magnitudes): Likewise.
11950 (sub_magnitudes): Likewise.
11951 (__add): Likewise.
11952 (__sub): Likewise.
11953 (__mul): Likewise.
11954 (__inv): Likewise.
11955 (__dvd): Likewise.
11956
eede9df9
JM
119572013-01-08 Joseph Myers <joseph@codesourcery.com>
11958
11959 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11960 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11961 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11962 2 && __USE_EXTERN_INLINES]: Likewise.
11963
c40ea3d9
AJ
119642013-01-08 Andreas Jaeger <aj@suse.de>
11965
11966 [BZ# 14985]
11967 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11968 Remove.
11969 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11970 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11971
2ccdea26
AB
119722013-01-07 Anton Blanchard <anton@samba.org>
11973
11974 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11975 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11976 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11977 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11978 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11979 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11980 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11981 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11984 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11987 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11988 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11989 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11990 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11993 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11994 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11995 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11997 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11998 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11999 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12000 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12001 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12002 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12003 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12004 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12006 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12007 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12008 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12009 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12010 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12012 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12013 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12014 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12017
a9708fed
JM
120182013-01-07 Joseph Myers <joseph@codesourcery.com>
12019
375607b9
JM
12020 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12021 (__MALLOC_PMT): Likewise.
12022 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12023 [__GNUC__], only on [_LIBC].
12024 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12025 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12026 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12027 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12028 forward declaration.
12029 (realloc_hook_ini): Likewise.
12030 (memalign_hook_ini): Likewise.
12031 (__libc_memalign): Do not use __MALLOC_PMT in variable
12032 declaration.
12033 (__libc_valloc): Likewise.
12034 (__libc_pvalloc): Likewise.
12035 (__libc_calloc): Likewise.
12036 (__posix_memalign): Likewise.
12037
a9708fed
JM
12038 [BZ #14996]
12039 * math/s_casinh.c: Include <float.h>.
12040 (__casinh): Do not do computation with squaring and square root
12041 for large arguments.
12042 * math/s_casinhf.c: Include <float.h>.
12043 (__casinhf): Do not do computation with squaring and square root
12044 for large arguments.
12045 * math/s_casinhl.c: Include <float.h>.
12046 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12047 (__casinhl): Do not do computation with squaring and square root
12048 for large arguments.
12049 * math/libm-test.inc (casin_test): Add more tests.
12050 (casinh_test): Likewise.
12051 * sysdeps/i386/fpu/libm-test-ulps: Update.
12052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12053
afec409a
L
120542013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12055
12056 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12057 (__x86_64_raw_data_cache_size): Likewise.
12058 (__x86_64_data_cache_size_half): Likewise.
12059 (__x86_64_raw_data_cache_size_half): Likewise.
12060 (__x86_64_shared_cache_size): Likewise.
12061 (__x86_64_raw_shared_cache_size): Likewise.
12062 (__x86_64_shared_cache_size_half): Likewise.
12063 (__x86_64_raw_shared_cache_size_half): Likewise.
12064 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12065 to ...
12066 (__x86_data_cache_size): This.
12067 (__x86_64_raw_data_cache_size): Renamed to ...
12068 (__x86_raw_data_cache_size): This.
12069 (__x86_64_data_cache_size_half): Renamed to ...
12070 (__x86_data_cache_size_half): This.
12071 (__x86_64_raw_data_cache_size_half): Renamed to ...
12072 (__x86_raw_data_cache_size_half): This.
12073 (__x86_64_shared_cache_size): Renamed to ...
12074 (__x86_shared_cache_size): This.
12075 (__x86_64_raw_shared_cache_size): Renamed to ...
12076 (__x86_raw_shared_cache_size): This.
12077 (__x86_64_shared_cache_size_half): Renamed to ...
12078 (__x86_shared_cache_size_half): This.
12079 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12080 (__x86_raw_shared_cache_size_half): This.
12081 * sysdeps/x86_64/memcpy.S: Updated.
12082 * sysdeps/x86_64/memset.S: Likewise.
12083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12086
0b3986d0
DM
120872013-01-04 David S. Miller <davem@davemloft.net>
12088
12089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12090
e47686e9
AS
120912013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12092
d643bac1
AS
12093 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12094 1 to avoid redefinition warning.
12095 (__USE_GNU): Don't define.
12096 (init_signaling_nan): Protoize.
12097
e47686e9
AS
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12099
b18decba
SP
121002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12101
fffb407f
SP
12102 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12104 (__cpymn): Likewise.
12105 (norm): Remove commented code.
12106 (denorm): Likewise.
12107 (__mp_dbl): Likewise.
12108 (__inv): Likewise.
12109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12110 (__cpymn): Likewise.
12111 (norm): Remove commented code.
12112 (denorm): Likewise.
12113 (__mp_dbl): Likewise.
12114 (__inv): Likewise.
12115
b18decba
SP
12116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12117 mp_no value for 1.0 and 2.0.
12118 (norm): Use RADIXI instead of radixi.d.
12119 (denorm): Likewise.
12120 (__mul): Use 0.0 instead of zero.d.
12121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12122 mp_no value for 1.0 and 2.0.
12123 (norm): Use RADIXI instead of radixi.d.
12124 (denorm): Likewise.
12125 (__mul): Use 0.0 instead of zero.d.
12126
cdc1c96f
JM
121272013-01-04 Joseph Myers <joseph@codesourcery.com>
12128
12129 [BZ #14994]
12130 * math/s_casinh.c (__casinh): Reduce finite argument to first
12131 quadrant then set signs of results at the end.
12132 * math/s_casinhf.c (__casinhf): Likewise.
12133 * math/s_casinhl.c (__casinhl): Likewise.
12134 * math/libm-test.inc (casin_test): Add more tests.
12135 (casinh_test): Likewise.
12136 * sysdeps/i386/fpu/libm-test-ulps: Update.
12137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12138
302913e1
SP
121392013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12140
6420d207
SP
12141 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12142
a9e48ab4
SP
12143 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12144
b7837264
SP
12145 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12146 declarations.
12147 (denorm): Likewise.
12148 (__mp_dbl): Likewise.
12149 (__inv): Likewise.
12150
f8af25d2
SP
12151 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12152 and adjust the header comment.
12153
302913e1
SP
12154 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12155 variable name from declaration.
12156
5d7dd1ca
L
121572013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12158
12159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12160 Initialize COMMON_CPUID_INDEX_7 element.
12161 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12162 (CPUID_RTM): Likewise.
12163 (HAS_RTM): Likewise.
12164 (COMMON_CPUID_INDEX_7): New enum.
12165
2f5f40f4
AS
121662013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12167
12168 [BZ #14981]
12169 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12170 size is zero, record memory as freed.
12171
4056f4a0
AJ
121722013-01-03 Andreas Jaeger <aj@suse.de>
12173
12174 * po/ia.po: Add new Interlingua translation.
12175
ab15736f 121762012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12177
12178 * locale/programs/localedef.c: Fix description of '--posix' flag.
12179
568035b7
JM
121802013-01-02 Joseph Myers <joseph@codesourcery.com>
12181
e6898b8d
JM
12182 * NEWS: Update dates in second copyright notice.
12183 * README: Update copyright dates in example.
12184 * manual/libc.texinfo: Update copyright dates.
12185 * scripts/test-installation.pl: Update copyright date in --version
12186 output.
12187
0e2f9562
JM
12188 * hurd/ctty-input.c: Fix copyright notice formatting.
12189 * hurd/ctty-output.c: Likewise.
12190 * hurd/dtable.c: Likewise.
12191 * hurd/hurd-raise.c: Likewise.
12192 * hurd/hurdprio.c: Likewise.
12193 * hurd/msgportdemux.c: Likewise.
12194 * misc/sys/file.h: Likewise.
12195 * misc/sys/ioctl.h: Likewise.
12196 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12197 * sysdeps/mach/hurd/chdir.c: Likewise.
12198 * sysdeps/mach/hurd/fchdir.c: Likewise.
12199 * sysdeps/mach/hurd/rename.c: Likewise.
12200 * sysdeps/mach/hurd/rmdir.c: Likewise.
12201 * sysdeps/mach/hurd/seekdir.c: Likewise.
12202 * sysdeps/mach/hurd/setsid.c: Likewise.
12203 * sysdeps/posix/wait3.c: Likewise.
12204
568035b7
JM
12205 * All files with FSF copyright notices: Update copyright dates
12206 using scripts/update-copyrights.
12207 * intl/plural.c: Regenerated.
12208 * locale/programs/charmap-kw.h: Likewise.
12209 * locale/programs/locfile-kw.h: Likewise.
12210
da08f647
SP
122112013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12212
0f5477af
SP
12213 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12214 four values.
12215
44e0d4c2
SP
12216 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12217 calculation loop and add branch prediction.
12218
4d55b4e5
SP
12219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12220 check access beyond bounds of m1np.
12221
da08f647
SP
12222 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12223 MPTWO.
12224 (__inv): Remove local variable MPTWO to use the global
12225 constant.
12226 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12227 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12228 variable MPTWO.
12229 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12230 MP3HALFS static const.
12231
8e051029
DM
122322013-01-01 David S. Miller <davem@davemloft.net>
12233
12234 * po/ca.po: Update from translation team.
12235
f4cf5f2d
JM
122362013-01-01 Joseph Myers <joseph@codesourcery.com>
12237
12238 * scripts/update-copyrights: New file.
12239 * Makeconfig: Reformat copyright notice.
12240 * ctype/ctype.h: Likewise.
12241 * debug/swprintf_chk.c: Likewise.
12242 * elf/dl-cache.c: Likewise.
12243 * elf/dl-debug.c: Likewise.
12244 * elf/dl-object.c: Likewise.
12245 * grp/initgroups.c: Likewise.
12246 * hurd/Makefile: Likewise.
12247 * hurd/hurd/signal.h: Likewise.
12248 * hurd/hurdfault.c: Likewise.
12249 * hurd/hurdioctl.c: Likewise.
12250 * hurd/hurdlookup.c: Likewise.
12251 * hurd/intr-msg.c: Likewise.
12252 * iconv/gconv_open.c: Likewise.
12253 * libio/swprintf.c: Likewise.
12254 * locale/lc-ctype.c: Likewise.
12255 * locale/nl_langinfo.c: Likewise.
12256 * mach/Machrules: Likewise.
12257 * mach/Makefile: Likewise.
12258 * malloc/obstack.h: Likewise.
12259 * manual/Makefile: Likewise.
12260 * manual/tsort.awk: Likewise.
12261 * misc/bits/stab.def: Likewise.
12262 * nis/nis_print_group_entry.c: Likewise.
12263 * nis/nis_table.c: Likewise.
12264 * nis/nss_compat/compat-pwd.c: Likewise.
12265 * nis/nss_compat/compat-spwd.c: Likewise.
12266 * po/Makefile: Likewise.
12267 * posix/fnmatch.c: Likewise.
12268 * posix/regex.h: Likewise.
12269 * resolv/Makefile: Likewise.
12270 * resolv/nss_dns/dns-network.c: Likewise.
12271 * resolv/res_hconf.c: Likewise.
12272 * scripts/gen-sorted.awk: Likewise.
12273 * soft-fp/soft-fp.h: Likewise.
12274 * stdio-common/printf.h: Likewise.
12275 * stdlib/monetary.h: Likewise.
12276 * stdlib/random.c: Likewise.
12277 * stdlib/random_r.c: Likewise.
12278 * sysdeps/generic/Makefile: Likewise.
12279 * sysdeps/gnu/Makefile: Likewise.
12280 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12308 * sysdeps/mach/hurd/errnos.awk: Likewise.
12309 * sysdeps/mach/hurd/fork.c: Likewise.
12310 * sysdeps/mach/hurd/getcwd.c: Likewise.
12311 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12312 * sysdeps/mach/hurd/mmap.c: Likewise.
12313 * sysdeps/mach/hurd/utimes.c: Likewise.
12314 * sysdeps/mach/hurd/xmknod.c: Likewise.
12315 * sysdeps/posix/profil.c: Likewise.
12316 * sysdeps/posix/readdir_r.c: Likewise.
12317 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12318 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12319 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12322 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12323 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12324 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12326 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12327 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12328 * sysdeps/pthread/lio_listio.c: Likewise.
12329 * sysdeps/sparc/dl-procinfo.h: Likewise.
12330 * sysdeps/unix/i386/sysdep.S: Likewise.
12331 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12332 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12333 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12334 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12336 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12337 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12338 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12339 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12340 * sysdeps/wordsize-32/divdi3.c: Likewise.
12341 * time/sys/time.h: Likewise.
12342 * wcsmbs/Makefile: Likewise.
12343
0549fbba
DM
123442013-01-01 David S. Miller <davem@davemloft.net>
12345
a141f1a7
DM
12346 * po/fr.po: Update from translation team.
12347
0549fbba
DM
12348 * catgets/gencat.c: Update copyright year.
12349 * csu/version.c: Likewise.
12350 * debug/catchsegv.sh: Likewise.
12351 * debug/pcprofiledump.c: Likewise.
12352 * debug/xtrace.sh: Likewise.
12353 * elf/ldconfig.c: Likewise.
12354 * elf/ldd.bash.in: Likewise.
12355 * elf/pldd.c: Likewise.
12356 * elf/sotruss.ksh: Likewise.
12357 * elf/sprof.c: Likewise.
12358 * iconv/iconv_prog.c: Likewise.
12359 * iconv/iconvconfig.c: Likewise.
12360 * locale/programs/locale.c: Likewise.
12361 * locale/programs/localedef.c: Likewise.
12362 * login/programs/pt_chown.c: Likewise.
12363 * malloc/memusage.sh: Likewise.
12364 * malloc/memusagestat.c: Likewise.
12365 * malloc/mtrace.pl: Likewise.
12366 * nscd/nscd.c: Likewise.
12367 * nss/getent.c: Likewise.
12368 * nss/makedb.c: Likewise.
12369 * posix/getconf.c: Likewise.
12370
18ea052c
SP
123712012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12372
12373 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12374 numbers.
12375
9c89fca6
MF
123762012-12-30 Mike Frysinger <vapier@gentoo.org>
12377
12378 * math/bits/mathcalls.h (modf): Use __nonnull.
12379
085ec079
SP
123802012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12381
12382 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12383 (split): Use macro CN instead of the bare value.
12384 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12385 could be used.
12386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12387 instead of the bare value.
12388 (power1): Likewise.
12389
6d9f97e1
SP
123902012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12391
d63f73be
SP
12392 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12393 __ATAN_TWOM.
12394 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12395
6d9f97e1
SP
12396 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12397 their values.
12398 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12399 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12400 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12401 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12402
4c4febf5
AJ
124032012-12-28 Andreas Jaeger <aj@suse.de>
12404
af5843ef
AJ
12405 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12406 values are from Linux 3.7.
12407
4c4febf5
AJ
12408 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12409 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12410
99136f82
SP
124112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12412
2f216c3c 12413 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12414 TRUE case.
12415
99136f82
SP
12416 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12417 (norm): Likewise.
12418 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12419 variables with preprocessor constants.
12420 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12421 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12422 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12423
7fffbdff
BH
124242012-12-27 Bruno Haible <bruno@clisp.org>
12425
12426 [BZ #14317]
12427 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12428 only if needed.
12429
b76eb5f0
SP
124302012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12431
31a7fe5c
SP
12432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12433 and use variable directly.
12434 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12435
b76eb5f0
SP
12436 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12437 MPONE.
12438 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12439 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12440 variable MPONE.
12441 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12443 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12444 include directive. Remove local variable MPONE.
12445 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12446 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12447 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12448
2c8bfe7d
DM
124492012-12-25 David S. Miller <davem@davemloft.net>
12450
12451 * version.h (RELEASE): Set to "development".
12452 (VERSION): Set to "2.17.90".
12453 * NEWS: Add 2.18 section.
12454
147d03b0
DM
124552012-12-21 David S. Miller <davem@davemloft.net>
12456
12457 * po/hr.po: Update from translation team.
12458
a8ebb2b9
AK
124592012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12460
12461 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12462
95b4f1b6
SE
124632012-12-19 Steve Ellcey <sellcey@mips.com>
12464
b2d94007 12465 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12466
cedb2a90
MS
124672012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12468
12469 * manual/contrib.texi (Contributors): Spelling correction.
12470
bbf527d6
DM
124712012-12-15 David S. Miller <davem@davemloft.net>
12472
12473 * po/ru.po: Update from translation team.
12474
bc38c906
DM
124752012-12-13 David S. Miller <davem@davemloft.net>
12476
85429b1a
DM
12477 * NEWS: Mention IFUNC testsuite enhancements.
12478
d283e353
DM
12479 * po/pl.po: Update from translation team.
12480 * po/bg.po: Likewise.
12481
bc38c906
DM
12482 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12483 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12484
a181b0d7
DM
124852012-12-11 David S. Miller <davem@davemloft.net>
12486
4641d57e
DM
12487 * po/sv.po: Update from translation team.
12488
f7bc6495
DM
12489 * po/vi.po: Update from translation team.
12490
6fc9048f
DM
12491 * po/cs.po: Update from translation team.
12492
a181b0d7
DM
12493 * po/de.po: Update from translation team.
12494 * po/eo.po: Likewise.
12495 * po/nl.po: Likewise.
12496
f70bfe80
SP
124972012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12498
3c8b4190
SP
12499 [BZ #14246]
12500 * manual/argp.texi (Argp Helper Functions): Move node to follow
12501 Argp Parsing State.
12502
f70bfe80
SP
12503 [BZ #14872]
12504 * manual/conf.texi (Limits on File System Capacity): Mention if
12505 terminating null is included in the max size.
12506
188f0adf
AJ
125072012-12-10 Andreas Jaeger <aj@suse.de>
12508
12509 * po/cs.po: Update from translation team.
12510
56e7d3ad
SP
125112012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12512
12513 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12514 void pointer and cast to uintptr_t.
12515 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12516 path.
12517 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12518 * sysdeps/s390/s390-64/memset.S: Likewise.
12519
76f2d2ea 125202012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12521
12522 [BZ #14833]
12523 * menual/message.texi (Message Translation): Fix typos.
12524 (Helper programs for gettext): Likewise.
12525
67cbf9a2
AS
125262012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12527
12528 [BZ #14898]
12529 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12530 Change to -1.
12531
682d0e9a
DM
125322012-12-07 David S. Miller <davem@davemloft.net>
12533
12534 * po/libc.pot: Update.
12535
573cd484
RH
125362012-12-07 Richard Henderson <rth@redhat.com>
12537
7e9da188 12538 [BZ #10114]
573cd484
RH
12539 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12540 normal/normal case to before the switch.
12541 (_FP_DIV): Likewise.
12542
e933a943
MF
125432012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12544 Mike Frysinger <vapier@gentoo.org>
12545
12546 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12547 check for __NR_fadvise64_64.
12548
82123268
CM
125492012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12550
12551 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12552 0, not just to plain "0" as a statement.
12553 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12554 with cw.
12555
d9814526
JM
125562012-12-06 Joseph Myers <joseph@codesourcery.com>
12557
12558 * NEWS: Use sourceware.org in Bugzilla URL.
12559
7728c574
SP
125602012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12561
f16946dd
SP
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12563 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12564
5704bbcb
SP
12565 * stdio-common/tst-put-error.c (do_test): Add newline to the
12566 padded test to ensure flush.
12567
17aa0516
JL
125682012-12-05 Jeff Law <law@redhat.com>
12569
12570 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12571
363313b5
JM
125722012-12-05 Joseph Myers <joseph@codesourcery.com>
12573
effbd42a
JM
12574 * README: Don't refer to ports add-on as distributed separately.
12575 Mention AArch64 in list of systems supported in the ports add-on.
12576
87600365
JM
12577 * LICENSES: Add more non-FSF copyright and license notices.
12578
a0d7066a
JM
12579 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12580 ((unused)).
12581
66ca5a5b
JM
12582 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12583
363313b5
JM
12584 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12585 10000 as width of padded output.
12586
b37984ad
JM
125872012-12-04 Joseph Myers <joseph@codesourcery.com>
12588
9003570a
JM
12589 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12590
b37984ad
JM
12591 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12592 variable LX with __attribute__ ((unused)).
12593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12594 Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12598 with __attribute__ ((unused)).
12599
c8df52ec
DM
126002012-12-04 David S. Miller <davem@abraco.davemloft.net>
12601
12602 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12603
b3b099af
JM
126042012-12-04 Joseph Myers <joseph@codesourcery.com>
12605
c33aa6e3
JM
12606 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12607 (CFLAGS-nldbl-acos.c): New variable.
12608 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12609 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12610 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12611 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12612 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12613 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12614 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12615 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12616 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12617 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12618 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12619 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12620 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12621 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12622 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12623 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12624 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12625 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12626 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12627 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12628 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12629 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12630 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12631 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12632 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12633 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12634 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12635 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12636 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12637 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12638 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12639 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12640 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12641 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12642 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12643 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12644 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12645 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12646 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12647 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12648 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12653 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12654 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12655 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12656 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12657 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12658 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12659 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12660 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12661 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12662 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12663 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12664 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12665 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12666 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12667 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12668 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12669 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12670 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12671 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12672 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12673 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12674 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12675 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12676 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12677 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12678 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12679 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12680 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12681 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12682 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12683 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12684 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12685 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12686 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12687 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12688 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12689 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12690 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12691 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12692 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12693 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12694 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12695 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12696 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12697 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12698 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12699 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12700 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12701 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12702 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12703 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12704 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12705
20f0018d
JM
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12707 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12708
b3b099af
JM
12709 [BZ #14914]
12710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12711 whole low double instead of just low 47 bits when splitting values
12712 into two parts.
12713
029264d1
AM
127142012-12-03 Allan McRae <allan@archlinux.org>
12715
12716 * manual/stdio.texi (Predefined Printf Handlers): Remove
12717 @hsep and @vsep usage.
12718
c9d6789e
MF
127192012-12-03 Mike Frysinger <vapier@gentoo.org>
12720
12721 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12722 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12723
4b7634a5
JL
127242012-12-03 Jeff Law <law@redhat.com>
12725
12726 * time/sys/time.h (settimeofday): Do not mark TV argument
12727 as __nonnull.
12728
eb6cbd24
MF
127292012-12-01 Mike Frysinger <vapier@gentoo.org>
12730
12731 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12732 when currently writing and seek to current position when not.
12733 * libio/Makefile (tests): Remove bug-fclose1.
12734 * libio/bug-fclose1.c: Delete.
12735
f638872a
JM
127362012-12-01 Joseph Myers <joseph@codesourcery.com>
12737
12738 * manual/arith.texi (feenableexcept): Fix typo.
12739 (fedisableexcept): Likewise.
12740
48085d14
RM
127412012-11-30 Roland McGrath <roland@hack.frob.com>
12742
12743 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12744 second, differently-typed declaration, rather than a cast.
12745
1a538b9f
SP
127462012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12747
12748 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12749 * include/rpc/svc.h: ... here.
12750
d07f2ff1 127512012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12752
12753 [BZ #13013]
12754 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12755 depending n and resplen2 to catch cases where answer
12756 equals answerp2.
12757
c93ec1f0
CD
127582012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12759
12760 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12761 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12762
37db69de
MF
127632012-11-29 Mike Frysinger <vapier@gentoo.org>
12764
12765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12766
e10c4e4f
RM
127672012-11-29 Roland McGrath <roland@hack.frob.com>
12768
12769 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12770
2af1b328
JL
127712012-11-28 Jeff Law <law@redhat.com>
12772
12773 [BZ #13761]
12774 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12775 dataset_temporary. Track alloca usage into alloca_used.
12776 If dataset is large allocate and release it via malloc/free.
12777
111db5b1
FW
127782012-06-04 Florian Weimer <fweimer@redhat.com>
12779
f06cc227 12780 [BZ #14197]
111db5b1
FW
12781 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12782
dd694abd
DM
127832012-11-28 David S. Miller <davem@davemloft.net>
12784
12785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12786
9984dd01
JM
127872012-11-28 Joseph Myers <joseph@codesourcery.com>
12788
12789 [BZ #14803]
12790 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12791 of pi/2 rounded to nearest to 64 bits.
12792 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12793 nearest to 64 bits.
12794 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12795 bits.
12796
14bc93a9
JL
127972012-11-28 Jeff Law <law@redhat.com>
12798 Martin Osvald <mosvald@redhat.com>
12799
12800 [BZ #14889]
12801 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12802 * sunrpc/svc.c: Include time.h.
12803 (__svc_accept_failed): New function.
12804 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12805 any reason other than EINTR, call __svc_accept_failed.
12806 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12807 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12808
e3c6aa3a
AS
128092012-11-28 Andreas Schwab <schwab@suse.de>
12810
12811 * scripts/abilist.awk: Also handle indirect functions in .opd
12812 section.
12813
1bead169
JM
128142012-11-28 Joseph Myers <joseph@codesourcery.com>
12815
12816 [BZ #13881]
12817 * sysdeps/x86/fpu/powl_helper.c: New file.
12818 * sysdeps/x86/fpu/Makefile: Likewise.
12819 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12820 (p3): New object.
12821 (__ieee754_powl): Use __powl_helper for finite arguments except
12822 integer exponents below 8.
12823 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12824 (p3): New object.
12825 (__ieee754_powl): Use __powl_helper for finite arguments except
12826 integer exponents below 8.
12827 * math/libm-test.inc (pow_test): Add more tests and enable some
12828 previously disabled tests.
12829 * sysdeps/i386/fpu/libm-test-ulps: Update.
12830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12831
0817d63d
SP
128322012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12833 Carlos O'Donell <carlos_odonell@mentor.com>
12834
12835 * nss/makedb.c (is_prime): Assert that input is odd and greater
12836 than 4. Note that fact in a comment too.
12837 (next_prime): Add 4 to input.
12838
de2fd463
SP
128392012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12840
12841 [BZ #11741]
12842 * libio/Makefile (tests): Add test case tst-fwrite-error.
12843 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12844 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12845 * libio/tst-fwrite-error.c: New test case.
12846
c515fb51
L
128472012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12848
12849 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12850 before casting to void *.
12851 * include/libc-internal.h (__pointer_type): New macro.
12852 (__integer_if_pointer_type_sub): Likewise.
12853 (__integer_if_pointer_type): Likewise.
12854 (cast_to_integer): Likewise.
12855 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12856 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12857 before casting to atomic64_t.
12858 (atomic_exchange_acq): Likewise.
12859 (__arch_exchange_and_add_body): Likewise.
12860 (__arch_add_body): Likewise.
12861 (atomic_add_negative): Likewise.
12862 (atomic_add_zero): Likewise.
12863
4cf77aa9
JM
128642012-11-26 Joseph Myers <joseph@codesourcery.com>
12865
12866 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12867 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12868 (add_fdes): Likewise.
12869 (linear_search_fdes): Likewise.
12870 (binary_search_unencoded_fdes): Likewise.
12871
d260b3b4
AS
128722012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12873
12874 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12875
67060746
AC
128762012-11-24 Adam Conrad <adconrad@0c3.net>
12877
12878 * configure.in: Autodetect C++ header directories.
12879 * configure: Regenerated.
12880
800938a1
MF
128812012-11-23 Mike Frysinger <vapier@gentoo.org>
12882
12883 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12884
4e6e34e6
AS
128852012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12886
12887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12888
7c7feb47
JM
128892012-11-22 Joseph Myers <joseph@codesourcery.com>
12890
7184dcdf
JM
12891 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12892 LDBL_MANT_DIG == 106]: Disable some tests.
12893 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12894 Likewise.
12895 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12896 Likewise.
12897
0a42601f
JM
12898 [BZ #14871]
12899 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12900 input for small inputs. Return +/- pi/2 for large inputs.
12901 * math/libm-test.inc (atan_test): Add more tests.
12902
79c9b9fe
JM
12903 * sysdeps/generic/unwind-dw2-fde-glibc.c
12904 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12905 __attribute__ ((unused)).
12906
c60d3bf2
JM
12907 [BZ #14645]
12908 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12909 x * y if x and y are nonzero and z is zero.
12910
ef1e0867
JM
12911 [BZ #14811]
12912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12913 nonzero exponents with absolute value below 0x1p-117 to +/-
12914 0x1p-117.
12915
1468ded3
JM
12916 [BZ #14869]
12917 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12918 up arguments below 2**-450, not just those below 2**-500.
12919 * math/libm-test.inc (hypot_test): Add another test.
12920
8e27e3cc
JM
12921 [BZ #14868]
12922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12923 Return a+b for ratio over 2**120, not 2**60.
12924 * math/libm-test.inc (hypot_test): Add another test.
12925
c9c0279b
JM
12926 * math/libm-test.inc (clog_test): Use
12927 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12928 (clog10_test): Likewise.
12929
7c7feb47
JM
12930 [BZ #6778]
12931 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12932
fff1530e
AS
129332012-11-22 Andreas Schwab <schwab@suse.de>
12934
12935 * sysdeps/i386/fpu/libm-test-ulps: Update.
12936
94558d30
PT
129372012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12938
12939 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12940 printf output with newline.
12941
7e1be741
L
129422012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12943
6bfea974
L
12944 [BZ #14865]
12945 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12946 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12947 -z nodlopen, -z initfirst and -z execstack support.
12948 * configure: Regenerated.
12949
7e1be741
L
12950 * elf/elf.h (DF_1_NODIRECT): New macro.
12951 (DF_1_IGNMULDEF): Likewise.
12952 (DF_1_NOKSYMS): Likewise.
12953 (DF_1_NOHDR): Likewise.
12954 (DF_1_EDITED): Likewise.
12955 (DF_1_NORELOC): Likewise.
12956 (DF_1_SYMINTPOSE): Likewise.
12957 (DF_1_GLOBAUDIT): Likewise.
12958 (DF_1_SINGLETON): Likewise.
12959 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12960 DT_1_SUPPORTED_MASK bits.
12961 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12962
105ce2ce
CD
129632012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12964
12965 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12966
123be9de
TS
129672012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12968
d072f3f7
TS
12969 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12970 macro.
12971
123be9de
TS
12972 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12973 (sendmmsg): Move declarations...
12974 * socket/sys/socket.h: ... here.
12975 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12976 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12977 include it from...
12978 * socket/recvmmsg.c: ... this new file.
12979 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12980 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12981 definition of __sendmmsg hidden.
12982 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12983 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12984 Move ENOSYS stub into and include it from...
12985 * socket/sendmmsg.c: ... this new file.
12986 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12987 (sysdep_routines): Move recvmmsg and sendmmsg...
12988 * socket/Makefile (routines): ... here.
12989 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12990 (GLIBC_PRIVATE): Add __sendmmsg.
12991 * include/sys/socket.h (__sendmmsg): Add declarations.
12992 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12993 sendmmsg.
12994
cf9a5d18
JM
129952012-11-20 Joseph Myers <joseph@codesourcery.com>
12996
12997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12998 variable I1 with __attribute__ ((unused)).
12999 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13000
ecd4caf9
JM
130012012-11-19 Joseph Myers <joseph@codesourcery.com>
13002
be14d48f
JM
13003 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13004 DUMMY variables with __attribute__ ((unused)).
13005
ecd4caf9
JM
13006 * bits/byteswap.h: Include <bits/types.h>.
13007 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13008
986cab95
PT
130092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13010
13011 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13012 string_t. Do not manually set errno.
13013 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13014 length with __strnlen. Make sure to both set errno and return it on
13015 failure.
13016
6d33cc9d
DM
130172012-11-19 David S. Miller <davem@davemloft.net>
13018
13019 With help from Joseph Myers.
13020 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13021 very large arguments properly.
13022 * math/libm-test.inc (atan_test): New tests.
13023 (atan2_test): New tests.
13024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13026
ee663277
JM
130272012-11-19 Joseph Myers <joseph@codesourcery.com>
13028
877f2d8e
JM
13029 [BZ #14856]
13030 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13031 Define to 3.
13032
116fc08a
JM
13033 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13034 [POSIX] (EADDRNOTAVAIL): Likewise.
13035 [POSIX] (EAFNOSUPPORT): Likewise.
13036 [POSIX] (EALREADY): Likewise.
13037 [POSIX] (ECONNABORTED): Likewise.
13038 [POSIX] (ECONNREFUSED): Likewise.
13039 [POSIX] (ECONNRESET): Likewise.
13040 [POSIX] (EDESTADDRREQ): Likewise.
13041 [POSIX] (EDQUOT): Likewise.
13042 [POSIX] (EHOSTUNREACH): Likewise.
13043 [POSIX] (EIDRM): Likewise.
13044 [POSIX] (EISCONN): Likewise.
13045 [POSIX] (ELOOP): Likewise.
13046 [POSIX] (EMULTIHOP): Likewise.
13047 [POSIX] (ENETDOWN): Likewise.
13048 [POSIX] (ENETUNREACH): Likewise.
13049 [POSIX] (ENOBUFS): Likewise.
13050 [POSIX] (ENODATA): Likewise.
13051 [POSIX] (ENOLINK): Likewise.
13052 [POSIX] (ENOMSG): Likewise.
13053 [POSIX] (ENOPROTOOPT): Likewise.
13054 [POSIX] (ENOSR): Likewise.
13055 [POSIX] (ENOSTR): Likewise.
13056 [POSIX] (ENOTCONN): Likewise.
13057 [POSIX] (ENOTSOCK): Likewise.
13058 [POSIX] (EOPNOTSUPP): Likewise.
13059 [POSIX] (EOVERFLOW): Likewise.
13060 [POSIX] (EPROTO): Likewise.
13061 [POSIX] (EPROTONOSUPPORT): Likewise.
13062 [POSIX] (EPROTOTYPE): Likewise.
13063 [POSIX] (ESTALE): Likewise.
13064 [POSIX] (ETIME): Likewise.
13065 [POSIX] (ETXTBSY): Likewise.
13066 [POSIX] (EWOULDBLOCK): Likewise.
13067 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13068 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13069 [POSIX] (SEEK_CUR): Likewise.
13070 [POSIX] (SEEK_END): Likewise.
13071 [POSIX || UNIX98] (mode_t): Do not require.
13072 [POSIX] (off_t): Likewise.
13073 [POSIX] (pid_t): Likewise.
13074 [POSIX] (sys/stat.h): Do not allow header.
13075 [POSIX] (unistd.h): Likewise.
13076 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13077 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13078 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13079 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13080 require.
13081 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13082 sigevent): Specify elements.
13083 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13084 entry.
13085 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13086 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13087
a483863f
JM
13088 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13089 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13090 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13091 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13092 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13093 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13094 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13095 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13096 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13097 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13098 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13099 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13100 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13101 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13102 Likewise.
13103 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13104 Likewise.
13105 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13106 Likewise.
13107 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13108 Likewise.
13109 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13110 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13111 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13112 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13113 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13114 Specify lower bound on value.
13115 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13116 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13117 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13118 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13119 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13120 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13121 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13122 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13123 value.
13124 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13125 as optional.
13126 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13127 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13128 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13129 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13130 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13131 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13132 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13133 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13134 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13135 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13136 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13137 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13138 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13139 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13140 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13141 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13142 entry.
13143 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13144 optional.
13145 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13146 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13147 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13148 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13149 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13150 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13151 Likewise.
13152 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13153 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13154 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13155 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13156 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13157 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13158 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13159 as optional.
13160 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13161 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13162 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13163 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13164 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13165 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13166 specify as optional.
13167 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13168 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13169 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13170 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13171 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13172 [XPG3] (NL_LANGMAX): Likewise.
13173 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13174 [POSIX || XPG3] (NL_NMAX): Likewise.
13175 [POSIX || XPG3] (NL_SETMAX): Likewise.
13176 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13177 [XPG3] (NZERO): Likewise.
13178 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13179 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13180 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13181 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13182 (REG_ERANGE): Expect.
13183 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13184 optional-constant.
13185 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13186 Use (void) in prototype.
13187 [POSIX] (*_t): Allow.
13188 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13189 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13190 (WRDE_BADVAL): Expect.
13191
5ba924e3
JM
13192 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13193 expect.
13194 [XPG3 || XPG4] (O_RSYNC): Likewise.
13195 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13196 Likewise.
13197 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13198 [XPG3 || XPG4] (sigqueue): Likewise.
13199 [XPG3 || XPG4] (sigtimedwait): Likewise.
13200 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13201 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13202 [XPG3 || XPG4] (vsnprintf): Likewise.
13203 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13204 Likewise.
13205 [XPG3 || XPG4] (blksize_t): Likewise.
13206 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13207 Likewise.
13208 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13209 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13210 [XPG3 || XPG4] (struct itimerspec): Likewise.
13211 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13212 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13213 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13214 [XPG3 || XPG4] (clockid_t): Likewise.
13215 [XPG3 || XPG4] (timer_t): Likewise.
13216 [XPG3 || XPG4] (clock_getres): Likewise.
13217 [XPG3 || XPG4] (clock_gettime): Likewise.
13218 [XPG3 || XPG4] (clock_settime): Likewise.
13219 [XPG3 || XPG4] (nanosleep): Likewise.
13220 [XPG3 || XPG4] (timer_create): Likewise.
13221 [XPG3 || XPG4] (timer_delete): Likewise.
13222 [XPG3 || XPG4] (timer_gettime): Likewise.
13223 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13224 [XPG3 || XPG4] (timer_settime): Likewise.
13225 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13226 [XPG3 || XPG4] (getlogin_r): Likewise.
13227 [XPG3 || XPG4] (pread): Likewise.
13228 [XPG3 || XPG4] (pthread_atfork): Likewise.
13229 [XPG3 || XPG4] (pwrite): Likewise.
13230
ee663277
JM
13231 [BZ #14835]
13232 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13233 <bits/siginfo.h>.
13234
942caa16
PT
132352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13236
e19af380
PT
13237 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13238 finalizing MALLSTREAM.
13239
942caa16
PT
13240 * sysdeps/mach/hurd/syncfs.c: New file.
13241
cfde9b46
SP
132422012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13243
13244 [BZ #14719]
13245 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13246 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13247 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13248 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13249 (_nss_dns_gethostbyname4_r): Likewise.
13250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13251 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13252
f6da27e5
PH
132532012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13254
13255 [BZ #13763]
13256 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13257
6665d4a2
SM
132582012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13259
1f51ee92
SM
13260 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13261 * elf/cache.c (print_entry): Print ",AArch64" for
13262 FLAG_AARCH64_LIB64
13263
6665d4a2
SM
13264 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13265 * elf/cache.c (print_entry): Print ",hard-float" for
13266 FLAG_ARM_LIBHF.
13267
05b227bd
DM
132682012-11-18 David S. Miller <davem@davemloft.net>
13269
13270 With help from Joseph Myers.
13271 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13272 cutoff to 2**-13.
13273 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13274 cutoff to 2**-25.
13275 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13276 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13277 small.
13278 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13279 * math/libm-test.inc (y0_test): New tests.
13280 (y1_test): New tests.
13281 * sysdeps/i386/fpu/libm-test-ulps: Update.
13282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13284
786b0b67
AS
132852012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13286
13287 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13288 64-bit targets.
13289 * configure: Regenerated.
13290
8e18b86d
DM
132912012-11-17 David S. Miller <davem@davemloft.net>
13292
13293 [BZ #14811]
13294 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13295 nonzero exponents with absolute value below 0x1p-128 to +/-
13296 0x1p-128.
13297
531f1ae0
JM
132982012-11-17 Joseph Myers <joseph@codesourcery.com>
13299
12df29e2
JM
13300 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13301
150dc1a0
JM
13302 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13303
531f1ae0
JM
13304 * posix/getconf-speclist.c: New file.
13305 * posix/posix-envs.def: Likewise.
13306 * posix/confstr.c (START_ENV_GROUP): New macro.
13307 (END_ENV_GROUP): Likewise.
13308 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13309 (KNOWN_PRESENT_ENV_STRING): Likewise.
13310 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13311 (UNKNOWN_ENVIRONMENT): Likewise.
13312 (confstr): Include posix-envs.def instead of handling
13313 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13314 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13315 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13316 (END_ENV_GROUP): Likewise.
13317 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13318 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13319 (UNKNOWN_ENVIRONMENT): Likewise.
13320 (__sysconf): Include posix-envs.def instead of handling associated
13321 cases directly here.
13322 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13323 preprocessing getconf-speclist.c rather than running getconf or
13324 generating empty file.
13325
a93f9cbc
PT
133262012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13327
13328 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13329
d64d9f87
AL
133302012-11-16 Andrej Lajovic <natrij@gmail.com>
13331
13332 [BZ #14672]
13333 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13334
447885eb
DM
133352012-11-16 David S. Miller <davem@davemloft.net>
13336
13337 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13338 smaller than LDBL_EPSILON/2.0L, just return xm1.
13339
bcbf9830
L
133402012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13341
13342 * elf/tst-array1.c (init): Set constructor priority to 1000.
13343 (fini): Set destructor priority to 1000.
13344 * elf/tst-array2dep.c: Likewise.
13345
2b766585
SP
133462012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13347
13348 [BZ #11741]
13349 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13350 (_IO_new_file_xsputn): Also return EOF if none of the input
13351 data was written when overflow failed.
13352 * libio/iopadn.c (_IO_padn): Likewise.
13353 * libio/iowpadn.c (_IO_wpadn): Likewise.
13354 * stdio-common/tst-put-error.c: Add copyright notice.
13355 (do_test): Add case for printing padded string.
13356 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13357 _IO_padn returned error.
13358 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13359 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13360 return EOF.
13361
b1848fde
SP
133622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13363
13364 * libio/libioP.h: Add comment note that the references to C++
13365 bits are now obsolete.
13366
2fd89785
MS
133672012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13368
13369 * math/libm-test.inc (check_complex): Use asprintf.
13370
e3ea5409
JM
133712012-11-14 Joseph Myers <joseph@codesourcery.com>
13372
13373 * debug/pcprofiledump.c (print_version): Update copyright year.
13374 * malloc/memusagestat.c (print_version): Likewise.
13375
2e64d265
L
133762012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13377
13378 [BZ #14831]
13379 * elf/Makefile (tests): Add tst-audit8.
13380 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13381 ($(objpfx)tst-audit8.out): New target.
13382 (tst-audit8-ENV): New variable.
13383 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13384 audit if l_reloc_result is NULL.
13385 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13386 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13387 * elf/tst-audit8.c: New file.
13388
c485e4d2
MS
133892012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13390
13391 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13392 * misc/Makefile (CFLAGS-select.c): Define.
13393 * posix/Makefile (CFLAGS-pause.c): Define.
13394
3a0d900a
DM
133952012-11-13 David S. Miller <davem@davemloft.net>
13396
13397 * crypt/Makefile: Move test targets after toplevel Rules
13398 inclusion. Grab any necessary sysdep routines when linking.
13399 * crypt/md5.c (md5_process_block): Remove define, we will always
13400 name it __md5_process_block.
13401 (md5_finish_ctx): Update md5_process_block call.
13402 (md5_stream): Likewise.
13403 (md5_process_bytes): Likewise.
13404 (md5_process_block): Rename to __md5_process_block and move to ...
13405 * crypt/md5-block.c: ... here.
13406 * crypt/sha256.c (sha256_process_block): Move to ...
13407 * crypt/sha256-block.c: ... here.
13408 * crypt/sha512.c (sha512_process_block): Move to ...
13409 * crypt/sha512-block.c: ... here.
13410 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13411 path.
13412 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13413 * sysdeps/sparc/sparc64/multiarch/Makefile
13414 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13415 crypt subdir.
13416 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13417 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13418 multiarch changes.
13419 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13420 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13421 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13422 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13423 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13424 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13425 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13426 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13427 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13428 file.
13429 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13430 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13431 file.
13432 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13433
8ca89318
JM
134342012-11-13 Joseph Myers <joseph@codesourcery.com>
13435
e27d476a
JM
13436 * timezone/tzselect.ksh: Update from tzcode git revision
13437 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13438 * timezone/zdump.c: Likewise.
13439 * timezone/zic.c: Likewise.
13440 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13441 in TZVERSION setting, not $(PKGVERSION).
13442 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13443 REPORT_BUGS_TO settings.
13444
8ca89318
JM
13445 [BZ #14838]
13446 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13447 macro.
13448
47594329
MS
134492012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13450
13451 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13452 detection to immediately after _FP_ROUND().
13453 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13454 bits are 0.
13455
640ac3f1
DM
134562012-11-11 David S. Miller <davem@davemloft.net>
13457
13458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13459 inttypes.h
13460 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13461 __close rather than their public counterparts.
13462
3d2577bb
JM
134632012-11-10 Joseph Myers <joseph@codesourcery.com>
13464
13465 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13466 file.
13467 [UNIX98] (sem_timedwait): Do not expect.
13468 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13469 [XPG4 || UNIX98] (sockatmark): Do not expect.
13470 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13471 (clock_getcpuclockid): Do not expect.
13472 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13473 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13474 Do not expect.
13475 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13476 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13477 [UNIX98] (vwscanf): Likewise.
13478 [UNIX98] (vswscanf): Likewise.
13479
fb1ae1ee
JM
134802012-11-09 Joseph Myers <joseph@codesourcery.com>
13481
9ec6f8bd
JM
13482 * timezone/version.h: Remove file.
13483 * timezone/README: Do not refer to version.h.
13484 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13485 $(objpfx)version.h.
13486 ($(objpfx)zdump.o): Likewise.
c3f81911 13487 ($(objpfx)version.h): New target.
9ec6f8bd 13488
0aa8f8a1
JM
13489 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13490 2012i.
13491 * timezone/README: Don't mention modification to tzselect.ksh.
13492 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13493 work on unmodified tzselect.ksh. Substitute version numbers in
13494 tzselect.ksh.
13495
4e87147f
JM
13496 * Makefile (format-me): Remove.
13497 (INSTALL): Adjust indentation. Use commands directly instead of
13498 using $(format-me).
13499
8b748aed
JM
13500 * aclocal.m4 (ACX_PKGVERSION): New macro.
13501 (ACX_BUGURL): Likewise.
13502 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13503 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13504 (REPORT_BUGS_TO): Likewise.
13505 * configure: Regenerated.
13506 * config.h.in (PKGVERSION): New macro.
13507 (REPORT_BUGS_TO): Likewise.
13508 * config.make.in (PKGVERSION): New variable.
13509 (PKGVERSION_TEXI): Likewise.
13510 (REPORT_BUGS_TO): Likewise.
13511 (REPORT_BUGS_TEXI): Likewise.
13512 * Makefile (format-me): Use -I$(common-objpfx)manual.
13513 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13514 ($(common-objpfx)manual/%): New target.
13515 (manual/%): Remove target.
13516 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13517 (print_version): Use PKGVERSION.
13518 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13519 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13520 and REPORT_BUGS_TO.
13521 ($(objpfx)xtrace): Likewise.
13522 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13523 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13524 (print_version): Use PKGVERSION.
13525 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13526 (do_version): Use PKGVERSION.
13527 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13528 REPORT_BUGS_TO.
13529 (common-ldd-rewrite): Likewise.
13530 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13531 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13532 (print_version): Use PKGVERSION.
13533 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13534 * elf/pldd.c (argp_program_bug_address): Remove variable.
13535 (more_help): New function.
13536 (argp): Use more_help.
13537 (print_version): Use PKGVERSION.
13538 * elf/sln.c (main): Use PKGVERSION.
13539 (usage): Use REPORT_BUGS_TO.
13540 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13541 (top level): Use PKGVERSION.
13542 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13543 (print_version): Use PKGVERSION.
13544 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13545 (print_version): Use PKGVERSION.
13546 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13547 (print_version): Use PKGVERSION.
13548 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13549 (print_version): Use PKGVERSION.
13550 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13551 (print_version): Use PKGVERSION.
13552 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13553 (print_version): Use PKGVERSION.
13554 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13555 and BUGURL.
13556 ($(objpfx)memusage): Likewise.
13557 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13558 (do_version): Use PKGVERSION.
13559 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13560 (print_version): Use PKGVERSION.
13561 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13562 ($PKGVERSION): New variable.
13563 ($REPORT_BUGS_TO): Likewise.
13564 (usage): Use $REPORT_BUGS_TO.
13565 (top level): Use $PKGVERSION.
13566 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13567 ($(objpfx)pkgvers.texi): New rule.
13568 ($(objpfx)stamp-pkgvers): Likewise.
13569 * manual/install.texi: Include pkgvers.texi.
13570 (--with-pkgversion): Document new configure option.
13571 (--with-bugurl): Likewise.
13572 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13573 than necessarily for this particular distribution. Use
13574 REPORT_BUGS_TO for where to report bugs.
13575 * INSTALL: Regenerated.
13576 * manual/libc.texinfo: Include pkgvers.texi.
13577 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13578 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13579 (print_version): Use PKGVERSION.
13580 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13581 (print_version): Use PKGVERSION.
13582 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13583 (print_version): Use PKGVERSION.
13584 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13585 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13586 macro.
13587 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13588 (print_version): Use PKGVERSION.
13589 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13590 (print_version): Use PKGVERSION.
13591 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13592 and PKGVERSION.
13593
92e4b6a9
JM
13594 * timezone/checktab.awk: Update from tzcode 2012i.
13595 * timezone/ialloc.c: Likewise.
13596 * timezone/private.h: Likewise.
13597 * timezone/scheck.c: Likewise.
13598 * timezone/tzfile.h: Likewise.
13599 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13600 (TZVERSION): Hardcode tzcode version number.
13601 * timezone/zdump.c: Update from tzcode 2012i.
13602 * timezone/zic.c: Likewise.
13603 * timezone/version.h: New file.
13604 * timezone/README: Describe version.h. Update upstream location.
13605
9bde902c
JM
13606 [BZ #14824]
13607 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13608 (mktemp): Enable declaration.
13609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13613 Likewise.
13614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13615 Likewise.
13616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13617 Likewise.
13618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13619 Likewise.
13620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13621 Likewise.
13622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13623 Likewise.
13624
fb1ae1ee
JM
13625 [BZ #14821]
13626 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13627 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13628 for copies of such integer values.
13629 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13630 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13631
2c1adbcb
AJ
136322012-11-09 Andreas Jaeger <aj@suse.de>
13633
13634 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13635 definitions and declarations that are provided by
13636 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13637
d0f8457e
AK
136382012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13639
3a235abb 13640 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13641 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13642 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13643 definition.
13644
57241e26
MS
136452012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13646
13647 * elf/elf.h: Update comment before AArch64 relocations.
13648
60e8270d
DM
136492012-11-07 David S. Miller <davem@davemloft.net>
13650
13651 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13652 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13653 (__start_context): Declare.
13654 (__makecontext_ret): Delete.
13655 (__makecontext): Hook up __start_context instead of
13656 __makecontext_ret.
13657 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13658 (sysdep_routines): Add __start_context when in stdlib.
13659
0fbb0fbc
JM
136602012-11-07 Joseph Myers <joseph@codesourcery.com>
13661
13662 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13663 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13664 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13665 hardcoded "nm".
13666 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13667 (READELF): New variable. Use it instead of hardcoded "readelf".
13668
eb48db7e
L
136692012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13670
13671 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13672 * sysdeps/x86/Makefile: Here.
13673 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13674 * sysdeps/x86/tst-xmmymm.sh: This.
13675
05bcf62a
JM
136762012-11-07 Joseph Myers <joseph@codesourcery.com>
13677
c4b6cf53
JM
13678 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13679 expectations.
13680 [UNIX98] (pthread_barrier_t): Do not expect.
13681 [UNIX98] (pthread_barrierattr_t): Likewise.
13682 [UNIX98] (pthread_spinlock_t): Likewise.
13683 [UNIX98] (pthread_barrier_destroy): Likewise.
13684 [UNIX98] (pthread_barrier_init): Likewise.
13685 [UNIX98] (pthread_barrier_wait): Likewise.
13686 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13687 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13688 [UNIX98] (pthread_barrierattr_init): Likewise.
13689 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13690 [UNIX98] (pthread_getcpuclockid): Likewise.
13691 [UNIX98] (pthread_mutex_timedlock): Likewise.
13692 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13693 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13694 [UNIX98] (pthread_sigmask): Likewise.
13695 [UNIX98] (pthread_spin_destroy): Likewise.
13696 [UNIX98] (pthread_spin_init): Likewise.
13697 [UNIX98] (pthread_spin_lock): Likewise.
13698 [UNIX98] (pthread_spin_trylock): Likewise.
13699 [UNIX98] (pthread_spin_unlock): Likewise.
13700 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13701 Do not expect.
13702 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13704 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13705 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13706 [XPG3 || XPG4] (pthread_key_t): Likewise.
13707 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13708 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13709 [XPG3 || XPG4] (pthread_once_t): Likewise.
13710 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13711 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13713 [XPG3 || XPG4] (pthread_t): Likewise.
13714
cbe6e120
JM
13715 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13716 not expect.
13717 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13718
1b126443
JM
13719 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13720 Change function return type to int.
13721
b961a573
JM
13722 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13723 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13724 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13725 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13726 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13727 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13728 [!POSIX] (posix_madvise): Likewise.
13729 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13730 && !UNIX98].
13731 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13732 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13733 (mode_t): Likewise.
13734 (posix_mem_offset): Likewise.
13735 (posix_typed_mem_get_info): Likewise.
13736 (posix_typed_mem_open): Likewise.
13737
9e188909
JM
13738 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13739 Change condition to [XOPEN2K8].
13740
05bcf62a
JM
13741 * conform/conformtest.pl: Preprocess allow-header data with -x c
13742 instead of from stdin.
13743 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13744 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13745 [C99-based standards] (cerfc): Likewise.
13746 [C99-based standards] (cexp2): Likewise.
13747 [C99-based standards] (cexpm1): Likewise.
13748 [C99-based standards] (clog10): Likewise.
13749 [C99-based standards] (clog1p): Likewise.
13750 [C99-based standards] (clog2): Likewise.
13751 [C99-based standards] (clgamma): Likewise.
13752 [C99-based standards] (ctgamma): Likewise.
13753 [C99-based standards] (cerff): Likewise.
13754 [C99-based standards] (cerfcf): Likewise.
13755 [C99-based standards] (cexp2f): Likewise.
13756 [C99-based standards] (cexpm1f): Likewise.
13757 [C99-based standards] (clog10f): Likewise.
13758 [C99-based standards] (clog1pf): Likewise.
13759 [C99-based standards] (clog2f): Likewise.
13760 [C99-based standards] (clgammaf): Likewise.
13761 [C99-based standards] (ctgammaf): Likewise.
13762 [C99-based standards] (cerfl): Likewise.
13763 [C99-based standards] (cerfcl): Likewise.
13764 [C99-based standards] (cexp2l): Likewise.
13765 [C99-based standards] (cexpm1l): Likewise.
13766 [C99-based standards] (clog10l): Likewise.
13767 [C99-based standards] (clog1pl): Likewise.
13768 [C99-based standards] (clog2l): Likewise.
13769 [C99-based standards] (clgammal): Likewise.
13770 [C99-based standards] (ctgammal): Likewise.
13771 * conform/data/inttypes.h-data [C99-based standards]: Include
13772 stdint.h-data. Remove all expectations for stdint.h contents.
13773 [C99-based standards] (PRI*): Do not allow.
13774 [C99-based standards] (SCN*): Likewise.
13775 [C99-based standards] (*_t): Likewise.
13776 [C99-based-standards] (PRId8): Expect macro.
13777 [C99-based-standards] (PRIi8): Likewise.
13778 [C99-based-standards] (PRIo8): Likewise.
13779 [C99-based-standards] (PRIu8): Likewise.
13780 [C99-based-standards] (PRIx8): Likewise.
13781 [C99-based-standards] (PRIX8): Likewise.
13782 [C99-based-standards] (SCNd8): Likewise.
13783 [C99-based-standards] (SCNi8): Likewise.
13784 [C99-based-standards] (SCNo8): Likewise.
13785 [C99-based-standards] (SCNu8): Likewise.
13786 [C99-based-standards] (SCNx8): Likewise.
13787 [C99-based-standards] (PRIdLEAST8): Likewise.
13788 [C99-based-standards] (PRIiLEAST8): Likewise.
13789 [C99-based-standards] (PRIoLEAST8): Likewise.
13790 [C99-based-standards] (PRIuLEAST8): Likewise.
13791 [C99-based-standards] (PRIxLEAST8): Likewise.
13792 [C99-based-standards] (PRIXLEAST8): Likewise.
13793 [C99-based-standards] (SCNdLEAST8): Likewise.
13794 [C99-based-standards] (SCNiLEAST8): Likewise.
13795 [C99-based-standards] (SCNoLEAST8): Likewise.
13796 [C99-based-standards] (SCNuLEAST8): Likewise.
13797 [C99-based-standards] (SCNxLEAST8): Likewise.
13798 [C99-based-standards] (PRIdFAST8): Likewise.
13799 [C99-based-standards] (PRIiFAST8): Likewise.
13800 [C99-based-standards] (PRIoFAST8): Likewise.
13801 [C99-based-standards] (PRIuFAST8): Likewise.
13802 [C99-based-standards] (PRIxFAST8): Likewise.
13803 [C99-based-standards] (PRIXFAST8): Likewise.
13804 [C99-based-standards] (SCNdFAST8): Likewise.
13805 [C99-based-standards] (SCNiFAST8): Likewise.
13806 [C99-based-standards] (SCNoFAST8): Likewise.
13807 [C99-based-standards] (SCNuFAST8): Likewise.
13808 [C99-based-standards] (SCNxFAST8): Likewise.
13809 [C99-based-standards] (PRId16): Likewise.
13810 [C99-based-standards] (PRIi16): Likewise.
13811 [C99-based-standards] (PRIo16): Likewise.
13812 [C99-based-standards] (PRIu16): Likewise.
13813 [C99-based-standards] (PRIx16): Likewise.
13814 [C99-based-standards] (PRIX16): Likewise.
13815 [C99-based-standards] (SCNd16): Likewise.
13816 [C99-based-standards] (SCNi16): Likewise.
13817 [C99-based-standards] (SCNo16): Likewise.
13818 [C99-based-standards] (SCNu16): Likewise.
13819 [C99-based-standards] (SCNx16): Likewise.
13820 [C99-based-standards] (PRIdLEAST16): Likewise.
13821 [C99-based-standards] (PRIiLEAST16): Likewise.
13822 [C99-based-standards] (PRIoLEAST16): Likewise.
13823 [C99-based-standards] (PRIuLEAST16): Likewise.
13824 [C99-based-standards] (PRIxLEAST16): Likewise.
13825 [C99-based-standards] (PRIXLEAST16): Likewise.
13826 [C99-based-standards] (SCNdLEAST16): Likewise.
13827 [C99-based-standards] (SCNiLEAST16): Likewise.
13828 [C99-based-standards] (SCNoLEAST16): Likewise.
13829 [C99-based-standards] (SCNuLEAST16): Likewise.
13830 [C99-based-standards] (SCNxLEAST16): Likewise.
13831 [C99-based-standards] (PRIdFAST16): Likewise.
13832 [C99-based-standards] (PRIiFAST16): Likewise.
13833 [C99-based-standards] (PRIoFAST16): Likewise.
13834 [C99-based-standards] (PRIuFAST16): Likewise.
13835 [C99-based-standards] (PRIxFAST16): Likewise.
13836 [C99-based-standards] (PRIXFAST16): Likewise.
13837 [C99-based-standards] (SCNdFAST16): Likewise.
13838 [C99-based-standards] (SCNiFAST16): Likewise.
13839 [C99-based-standards] (SCNoFAST16): Likewise.
13840 [C99-based-standards] (SCNuFAST16): Likewise.
13841 [C99-based-standards] (SCNxFAST16): Likewise.
13842 [C99-based-standards] (PRId32): Likewise.
13843 [C99-based-standards] (PRIi32): Likewise.
13844 [C99-based-standards] (PRIo32): Likewise.
13845 [C99-based-standards] (PRIu32): Likewise.
13846 [C99-based-standards] (PRIx32): Likewise.
13847 [C99-based-standards] (PRIX32): Likewise.
13848 [C99-based-standards] (SCNd32): Likewise.
13849 [C99-based-standards] (SCNi32): Likewise.
13850 [C99-based-standards] (SCNo32): Likewise.
13851 [C99-based-standards] (SCNu32): Likewise.
13852 [C99-based-standards] (SCNx32): Likewise.
13853 [C99-based-standards] (PRIdLEAST32): Likewise.
13854 [C99-based-standards] (PRIiLEAST32): Likewise.
13855 [C99-based-standards] (PRIoLEAST32): Likewise.
13856 [C99-based-standards] (PRIuLEAST32): Likewise.
13857 [C99-based-standards] (PRIxLEAST32): Likewise.
13858 [C99-based-standards] (PRIXLEAST32): Likewise.
13859 [C99-based-standards] (SCNdLEAST32): Likewise.
13860 [C99-based-standards] (SCNiLEAST32): Likewise.
13861 [C99-based-standards] (SCNoLEAST32): Likewise.
13862 [C99-based-standards] (SCNuLEAST32): Likewise.
13863 [C99-based-standards] (SCNxLEAST32): Likewise.
13864 [C99-based-standards] (PRIdFAST32): Likewise.
13865 [C99-based-standards] (PRIiFAST32): Likewise.
13866 [C99-based-standards] (PRIoFAST32): Likewise.
13867 [C99-based-standards] (PRIuFAST32): Likewise.
13868 [C99-based-standards] (PRIxFAST32): Likewise.
13869 [C99-based-standards] (PRIXFAST32): Likewise.
13870 [C99-based-standards] (SCNdFAST32): Likewise.
13871 [C99-based-standards] (SCNiFAST32): Likewise.
13872 [C99-based-standards] (SCNoFAST32): Likewise.
13873 [C99-based-standards] (SCNuFAST32): Likewise.
13874 [C99-based-standards] (SCNxFAST32): Likewise.
13875 [C99-based-standards] (PRId64): Likewise.
13876 [C99-based-standards] (PRIi64): Likewise.
13877 [C99-based-standards] (PRIo64): Likewise.
13878 [C99-based-standards] (PRIu64): Likewise.
13879 [C99-based-standards] (PRIx64): Likewise.
13880 [C99-based-standards] (PRIX64): Likewise.
13881 [C99-based-standards] (SCNd64): Likewise.
13882 [C99-based-standards] (SCNi64): Likewise.
13883 [C99-based-standards] (SCNo64): Likewise.
13884 [C99-based-standards] (SCNu64): Likewise.
13885 [C99-based-standards] (SCNx64): Likewise.
13886 [C99-based-standards] (PRIdLEAST64): Likewise.
13887 [C99-based-standards] (PRIiLEAST64): Likewise.
13888 [C99-based-standards] (PRIoLEAST64): Likewise.
13889 [C99-based-standards] (PRIuLEAST64): Likewise.
13890 [C99-based-standards] (PRIxLEAST64): Likewise.
13891 [C99-based-standards] (PRIXLEAST64): Likewise.
13892 [C99-based-standards] (SCNdLEAST64): Likewise.
13893 [C99-based-standards] (SCNiLEAST64): Likewise.
13894 [C99-based-standards] (SCNoLEAST64): Likewise.
13895 [C99-based-standards] (SCNuLEAST64): Likewise.
13896 [C99-based-standards] (SCNxLEAST64): Likewise.
13897 [C99-based-standards] (PRIdFAST64): Likewise.
13898 [C99-based-standards] (PRIiFAST64): Likewise.
13899 [C99-based-standards] (PRIoFAST64): Likewise.
13900 [C99-based-standards] (PRIuFAST64): Likewise.
13901 [C99-based-standards] (PRIxFAST64): Likewise.
13902 [C99-based-standards] (PRIXFAST64): Likewise.
13903 [C99-based-standards] (SCNdFAST64): Likewise.
13904 [C99-based-standards] (SCNiFAST64): Likewise.
13905 [C99-based-standards] (SCNoFAST64): Likewise.
13906 [C99-based-standards] (SCNuFAST64): Likewise.
13907 [C99-based-standards] (SCNxFAST64): Likewise.
13908 [C99-based-standards] (PRIdMAX): Likewise.
13909 [C99-based-standards] (PRIiMAX): Likewise.
13910 [C99-based-standards] (PRIoMAX): Likewise.
13911 [C99-based-standards] (PRIuMAX): Likewise.
13912 [C99-based-standards] (PRIxMAX): Likewise.
13913 [C99-based-standards] (PRIXMAX): Likewise.
13914 [C99-based-standards] (SCNdMAX): Likewise.
13915 [C99-based-standards] (SCNiMAX): Likewise.
13916 [C99-based-standards] (SCNoMAX): Likewise.
13917 [C99-based-standards] (SCNuMAX): Likewise.
13918 [C99-based-standards] (SCNxMAX): Likewise.
13919 [C99-based-standards] (PRIdPTR): Likewise.
13920 [C99-based-standards] (PRIiPTR): Likewise.
13921 [C99-based-standards] (PRIoPTR): Likewise.
13922 [C99-based-standards] (PRIuPTR): Likewise.
13923 [C99-based-standards] (PRIxPTR): Likewise.
13924 [C99-based-standards] (PRIXPTR): Likewise.
13925 [C99-based-standards] (SCNdPTR): Likewise.
13926 [C99-based-standards] (SCNiPTR): Likewise.
13927 [C99-based-standards] (SCNoPTR): Likewise.
13928 [C99-based-standards] (SCNuPTR): Likewise.
13929 [C99-based-standards] (SCNxPTR): Likewise.
13930 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13931 allow.
13932 * conform/data/stdint.h-data: Update comments to clarify
13933 requirements.
13934 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13935 type.
13936 [C99-based standards] (INT8_MAX): Likewise.
13937 [C99-based standards] (INT16_MIN): Likewise.
13938 [C99-based standards] (INT16_MAX): Likewise.
13939 [C99-based standards] (INT32_MIN): Likewise.
13940 [C99-based standards] (INT32_MAX): Likewise.
13941 [C99-based standards] (INT64_MIN): Likewise.
13942 [C99-based standards] (INT64_MAX): Likewise.
13943 [C99-based standards] (UINT8_MAX): Likewise.
13944 [C99-based standards] (UINT16_MAX): Likewise.
13945 [C99-based standards] (UINT32_MAX): Likewise.
13946 [C99-based standards] (UINT64_MAX): Likewise.
13947 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13948 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13949 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13950 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13951 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13952 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13953 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13954 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13955 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13956 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13957 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13958 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13959 [C99-based standards] (INT_FAST8_MIN): Likewise.
13960 [C99-based standards] (INT_FAST8_MAX): Likewise.
13961 [C99-based standards] (INT_FAST16_MIN): Likewise.
13962 [C99-based standards] (INT_FAST16_MAX): Likewise.
13963 [C99-based standards] (INT_FAST32_MIN): Likewise.
13964 [C99-based standards] (INT_FAST32_MAX): Likewise.
13965 [C99-based standards] (INT_FAST64_MIN): Likewise.
13966 [C99-based standards] (INT_FAST64_MAX): Likewise.
13967 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13968 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13969 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13970 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13971 [C99-based standards] (INTPTR_MIN): Likewise.
13972 [C99-based standards] (INTPTR_MAX): Likewise.
13973 [C99-based standards] (UINTPTR_MAX): Likewise.
13974 [C99-based standards] (INTMAX_MIN): Likewise.
13975 [C99-based standards] (INTMAX_MAX): Likewise.
13976 [C99-based standards] (UINTMAX_MAX): Likewise.
13977 [C99-based standards] (PTRDIFF_MIN): Likewise.
13978 [C99-based standards] (PTRDIFF_MAX): Likewise.
13979 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13980 [C99-based standards] (SIZE_MAX): Likewise.
13981 [C99-based standards] (WCHAR_MAX): Likewise.
13982 [C99-based standards] (WINT_MAX): Likewise.
13983 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13984 constraint on value.
13985 [C99-based standards] (WCHAR_MIN): Likewise.
13986 [C99-based standards] (WINT_MIN): Likewise.
13987 [C99-based standards] (*_t): Allow.
13988 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13989 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13990 Include math.h-data and complex.h-data. Remove all expectations
13991 of math.h and complex.h contents.
13992 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13993 at end of line.
13994 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13995 (struct tm): Expect tag.
13996 [C99-based-standards] (wcstof): Expect function.
13997 [C99-based-standards] (wcstold): Likewise.
13998 [C99-based-standards] (wcstoll): Likewise.
13999 [C99-based-standards] (wcstoull): Likewise.
14000 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14001 macro-int-constant. Specify type.
14002 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14003 constraint on value.
14004 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14005 Specify type.
14006 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14007 Specify value.
14008 [ISO C standards]: Do not allow headers.
14009 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14010 wcs[abcdefghijklmnopqrstuvwxyz]*.
14011 [ISO C standards] (*_t): Do not allow.
14012 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14013 Expect function.
14014 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14015 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14016 Specify type.
14017 [ISO C standards]: Do not allow headers.
14018 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14019 is[abcdefghijklmnopqrstuvwxyz]*.
14020 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14021 to[abcdefghijklmnopqrstuvwxyz]*.
14022 [ISO C standards] (*_t): Do not allow.
14023 * conform/data/stdalign.h-data: New file.
14024 * conform/data/stdbool.h-data: Likewise.
14025 * conform/data/stdnoreturn.h-data: Likewise.
14026
7514feb8
RM
140272012-11-07 Roland McGrath <roland@hack.frob.com>
14028
14029 [BZ #14815]
14030 * manual/filesys.texi (Directory Entries): Typo fix.
14031 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14032
19b2ecfc
MS
140332012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14034
14035 * elf/elf.h (EM_AARCH64): New macro.
14036 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14037 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14038 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14039 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14040 (R_AARCH64_TLSDESC): Likewise.
14041 (NT_ARM_TLS): Likewise.
14042 (NT_ARM_HW_BREAK): Likewise.
14043 (NT_ARM_HW_WATCH): Likewise.
14044
60e235ee
JM
140452012-11-07 Joseph Myers <joseph@codesourcery.com>
14046
14047 [BZ #14811]
14048 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14049 (__ieee754_powl): Saturate nonzero exponents with absolute value
14050 below 0x1p-79 to +/- 0x1p-79.
14051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14052 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14053 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14054 nonzero exponents with absolute value below 0x1p-32 to +/-
14055 0x1p-32.
14056 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14057 (__ieee754_powl): Saturate nonzero exponents with absolute value
14058 below 0x1p-79 to +/- 0x1p-79.
14059 * math/libm-test.inc (pow_test): Add more tests.
14060
0ab234b7
AK
140612012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14062
14063 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14064 _dl_s390_cap_flags with kernel. Increase string length.
14065 (_dl_s390_platforms): Add z196 and zEC12.
14066
45832f74
JM
140672012-11-07 Joseph Myers <joseph@codesourcery.com>
14068
14069 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14070 Change XOPEN21K to XOPEN2K.
14071
19218757
MK
140722012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14073
14074 * string/memmove.c: Use memcpy when possible.
14075
c5f45721
AJ
140762012-11-06 Andreas Jaeger <aj@suse.de>
14077
14078 * po/eo.po: Update from translation team.
14079
82477c28
JM
140802012-11-06 Joseph Myers <joseph@codesourcery.com>
14081
14082 [BZ #14793]
14083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14084 exponent and small x and y exponents, scale x or y up. Increase
14085 by 2 the exponent used in scaling up.
14086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14087 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14088 * math/libm-test.inc (fma_test): Add more tests.
14089 (fma_test_towardzero): Likewise.
14090 (fma_test_downward): Likewise.
14091 (fma_test_upward): Likewise.
14092
99252c8c
JM
140932012-11-05 Joseph Myers <joseph@codesourcery.com>
14094
acfa885f
JM
14095 [BZ #14805]
14096 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14097 fenv_t *.
14098
99252c8c
JM
14099 [BZ #14801]
14100 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14101 namespace for names of struct fields.
14102 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14103 fenv_t fields.
14104 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14105 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14106
d6d98dea
ST
141072012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14108
14109 [BZ #3665]
14110 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14111
e10bb107
TS
141122012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14113
14114 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14115 PTR_DEMANGLE.
14116
14117 [BZ #5246]
14118 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14119 PTR_DEMANGLE.
14120
a0c2940d
JM
141212012-11-04 Joseph Myers <joseph@codesourcery.com>
14122
14123 [BZ #14797]
14124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14125 definitely overflow as x * y not x * y + z.
14126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14128 * math/libm-test.inc (fma_test): Add more tests.
14129 (fma_test_towardzero): Likewise.
14130 (fma_test_downward): Likewise.
14131 (fma_test_upward): Likewise.
14132
b830319d
TS
141332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14134
14135 [BZ #157]
14136
14137 * include/stub-tag.h: Remove file.
14138 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14139 '#include' of it.
14140 * manual/maint.texi (Porting): Don't reference it.
14141 * Makerules ($(objpfx)stubs): Likewise.
14142 * dirent/closedir.c: Don't include <stub-tag.h>.
14143 * dirent/dirfd.c: Likewise.
14144 * dirent/fdopendir.c: Likewise.
14145 * dirent/getdents.c: Likewise.
14146 * dirent/getdents64.c: Likewise.
14147 * dirent/opendir.c: Likewise.
14148 * dirent/readdir.c: Likewise.
14149 * dirent/readdir64.c: Likewise.
14150 * dirent/readdir64_r.c: Likewise.
14151 * dirent/readdir_r.c: Likewise.
14152 * dirent/rewinddir.c: Likewise.
14153 * dirent/seekdir.c: Likewise.
14154 * dirent/telldir.c: Likewise.
14155 * gmon/profil.c: Likewise.
14156 * grp/setgroups.c: Likewise.
14157 * inet/if_index.c: Likewise.
14158 * io/access.c: Likewise.
14159 * io/chdir.c: Likewise.
14160 * io/chmod.c: Likewise.
14161 * io/chown.c: Likewise.
14162 * io/close.c: Likewise.
14163 * io/dup.c: Likewise.
14164 * io/dup2.c: Likewise.
14165 * io/dup3.c: Likewise.
14166 * io/euidaccess.c: Likewise.
14167 * io/faccessat.c: Likewise.
14168 * io/fchdir.c: Likewise.
14169 * io/fchmod.c: Likewise.
14170 * io/fchmodat.c: Likewise.
14171 * io/fchown.c: Likewise.
14172 * io/fchownat.c: Likewise.
14173 * io/fcntl.c: Likewise.
14174 * io/flock.c: Likewise.
14175 * io/fstatfs.c: Likewise.
14176 * io/fstatfs64.c: Likewise.
14177 * io/fstatvfs.c: Likewise.
14178 * io/fstatvfs64.c: Likewise.
14179 * io/futimens.c: Likewise.
14180 * io/fxstat.c: Likewise.
14181 * io/fxstat64.c: Likewise.
14182 * io/fxstatat.c: Likewise.
14183 * io/fxstatat64.c: Likewise.
14184 * io/getcwd.c: Likewise.
14185 * io/isatty.c: Likewise.
14186 * io/lchmod.c: Likewise.
14187 * io/lchown.c: Likewise.
14188 * io/link.c: Likewise.
14189 * io/linkat.c: Likewise.
14190 * io/lseek.c: Likewise.
14191 * io/lseek64.c: Likewise.
14192 * io/lxstat64.c: Likewise.
14193 * io/mkdir.c: Likewise.
14194 * io/mkdirat.c: Likewise.
14195 * io/mkfifo.c: Likewise.
14196 * io/mkfifoat.c: Likewise.
14197 * io/open.c: Likewise.
14198 * io/open64.c: Likewise.
14199 * io/openat.c: Likewise.
14200 * io/openat64.c: Likewise.
14201 * io/pipe.c: Likewise.
14202 * io/pipe2.c: Likewise.
14203 * io/poll.c: Likewise.
14204 * io/posix_fadvise.c: Likewise.
14205 * io/posix_fadvise64.c: Likewise.
14206 * io/posix_fallocate.c: Likewise.
14207 * io/posix_fallocate64.c: Likewise.
14208 * io/read.c: Likewise.
14209 * io/readlink.c: Likewise.
14210 * io/readlinkat.c: Likewise.
14211 * io/rmdir.c: Likewise.
14212 * io/sendfile.c: Likewise.
14213 * io/sendfile64.c: Likewise.
14214 * io/statfs.c: Likewise.
14215 * io/statfs64.c: Likewise.
14216 * io/statvfs.c: Likewise.
14217 * io/statvfs64.c: Likewise.
14218 * io/symlink.c: Likewise.
14219 * io/symlinkat.c: Likewise.
14220 * io/ttyname.c: Likewise.
14221 * io/ttyname_r.c: Likewise.
14222 * io/umask.c: Likewise.
14223 * io/unlink.c: Likewise.
14224 * io/unlinkat.c: Likewise.
14225 * io/utime.c: Likewise.
14226 * io/utimensat.c: Likewise.
14227 * io/write.c: Likewise.
14228 * io/xmknod.c: Likewise.
14229 * io/xmknodat.c: Likewise.
14230 * io/xstat.c: Likewise.
14231 * io/xstat64.c: Likewise.
14232 * login/getpt.c: Likewise.
14233 * login/grantpt.c: Likewise.
14234 * login/unlockpt.c: Likewise.
14235 * math/e_acoshl.c: Likewise.
14236 * math/e_acosl.c: Likewise.
14237 * math/e_asinl.c: Likewise.
14238 * math/e_atan2l.c: Likewise.
14239 * math/e_atanhl.c: Likewise.
14240 * math/e_coshl.c: Likewise.
14241 * math/e_expl.c: Likewise.
14242 * math/e_fmodl.c: Likewise.
14243 * math/e_gammal_r.c: Likewise.
14244 * math/e_hypotl.c: Likewise.
14245 * math/e_j0l.c: Likewise.
14246 * math/e_j1l.c: Likewise.
14247 * math/e_jnl.c: Likewise.
14248 * math/e_lgammal_r.c: Likewise.
14249 * math/e_log10l.c: Likewise.
14250 * math/e_log2l.c: Likewise.
14251 * math/e_logl.c: Likewise.
14252 * math/e_powl.c: Likewise.
14253 * math/e_rem_pio2l.c: Likewise.
14254 * math/e_sinhl.c: Likewise.
14255 * math/e_sqrtl.c: Likewise.
14256 * math/fclrexcpt.c: Likewise.
14257 * math/fedisblxcpt.c: Likewise.
14258 * math/feenablxcpt.c: Likewise.
14259 * math/fegetenv.c: Likewise.
14260 * math/fegetexcept.c: Likewise.
14261 * math/fegetround.c: Likewise.
14262 * math/feholdexcpt.c: Likewise.
14263 * math/fesetenv.c: Likewise.
14264 * math/fesetround.c: Likewise.
14265 * math/feupdateenv.c: Likewise.
14266 * math/fgetexcptflg.c: Likewise.
14267 * math/fraiseexcpt.c: Likewise.
14268 * math/fsetexcptflg.c: Likewise.
14269 * math/ftestexcept.c: Likewise.
14270 * math/k_cosl.c: Likewise.
14271 * math/k_rem_pio2l.c: Likewise.
14272 * math/k_sinl.c: Likewise.
14273 * math/k_tanl.c: Likewise.
14274 * math/s_asinhl.c: Likewise.
14275 * math/s_atanl.c: Likewise.
14276 * math/s_cbrtl.c: Likewise.
14277 * math/s_erfl.c: Likewise.
14278 * math/s_expm1l.c: Likewise.
14279 * math/s_log1pl.c: Likewise.
14280 * math/s_tanhl.c: Likewise.
14281 * misc/acct.c: Likewise.
14282 * misc/brk.c: Likewise.
14283 * misc/chflags.c: Likewise.
14284 * misc/chroot.c: Likewise.
14285 * misc/fchflags.c: Likewise.
14286 * misc/fgetxattr.c: Likewise.
14287 * misc/flistxattr.c: Likewise.
14288 * misc/fremovexattr.c: Likewise.
14289 * misc/fsetxattr.c: Likewise.
14290 * misc/fsync.c: Likewise.
14291 * misc/ftruncate.c: Likewise.
14292 * misc/futimes.c: Likewise.
14293 * misc/futimesat.c: Likewise.
14294 * misc/getdomain.c: Likewise.
14295 * misc/getdtsz.c: Likewise.
14296 * misc/gethostid.c: Likewise.
14297 * misc/gethostname.c: Likewise.
14298 * misc/getloadavg.c: Likewise.
14299 * misc/getpagesize.c: Likewise.
14300 * misc/getsysstats.c: Likewise.
14301 * misc/getxattr.c: Likewise.
14302 * misc/gtty.c: Likewise.
14303 * misc/ioctl.c: Likewise.
14304 * misc/lgetxattr.c: Likewise.
14305 * misc/listxattr.c: Likewise.
14306 * misc/llistxattr.c: Likewise.
14307 * misc/lremovexattr.c: Likewise.
14308 * misc/lsetxattr.c: Likewise.
14309 * misc/lutimes.c: Likewise.
14310 * misc/madvise.c: Likewise.
14311 * misc/mincore.c: Likewise.
14312 * misc/mlock.c: Likewise.
14313 * misc/mlockall.c: Likewise.
14314 * misc/mmap.c: Likewise.
14315 * misc/mprotect.c: Likewise.
14316 * misc/msync.c: Likewise.
14317 * misc/munlock.c: Likewise.
14318 * misc/munlockall.c: Likewise.
14319 * misc/munmap.c: Likewise.
14320 * misc/preadv.c: Likewise.
14321 * misc/preadv64.c: Likewise.
14322 * misc/ptrace.c: Likewise.
14323 * misc/pwritev.c: Likewise.
14324 * misc/pwritev64.c: Likewise.
14325 * misc/readv.c: Likewise.
14326 * misc/reboot.c: Likewise.
14327 * misc/remap_file_pages.c: Likewise.
14328 * misc/removexattr.c: Likewise.
14329 * misc/revoke.c: Likewise.
14330 * misc/select.c: Likewise.
14331 * misc/setdomain.c: Likewise.
14332 * misc/setegid.c: Likewise.
14333 * misc/seteuid.c: Likewise.
14334 * misc/sethostid.c: Likewise.
14335 * misc/sethostname.c: Likewise.
14336 * misc/setregid.c: Likewise.
14337 * misc/setreuid.c: Likewise.
14338 * misc/setxattr.c: Likewise.
14339 * misc/sstk.c: Likewise.
14340 * misc/stty.c: Likewise.
14341 * misc/swapoff.c: Likewise.
14342 * misc/swapon.c: Likewise.
14343 * misc/sync.c: Likewise.
14344 * misc/syncfs.c: Likewise.
14345 * misc/syscall.c: Likewise.
14346 * misc/truncate.c: Likewise.
14347 * misc/ualarm.c: Likewise.
14348 * misc/usleep.c: Likewise.
14349 * misc/ustat.c: Likewise.
14350 * misc/utimes.c: Likewise.
14351 * misc/vhangup.c: Likewise.
14352 * misc/writev.c: Likewise.
14353 * posix/_exit.c: Likewise.
14354 * posix/alarm.c: Likewise.
14355 * posix/execve.c: Likewise.
14356 * posix/fexecve.c: Likewise.
14357 * posix/fork.c: Likewise.
14358 * posix/fpathconf.c: Likewise.
14359 * posix/getaddrinfo.c: Likewise.
14360 * posix/getegid.c: Likewise.
14361 * posix/geteuid.c: Likewise.
14362 * posix/getgid.c: Likewise.
14363 * posix/getgroups.c: Likewise.
14364 * posix/getlogin.c: Likewise.
14365 * posix/getlogin_r.c: Likewise.
14366 * posix/getpgid.c: Likewise.
14367 * posix/getpid.c: Likewise.
14368 * posix/getppid.c: Likewise.
14369 * posix/getresgid.c: Likewise.
14370 * posix/getresuid.c: Likewise.
14371 * posix/getsid.c: Likewise.
14372 * posix/getuid.c: Likewise.
14373 * posix/glob64.c: Likewise.
14374 * posix/nanosleep.c: Likewise.
14375 * posix/pathconf.c: Likewise.
14376 * posix/pause.c: Likewise.
14377 * posix/posix_madvise.c: Likewise.
14378 * posix/pread.c: Likewise.
14379 * posix/pread64.c: Likewise.
14380 * posix/pwrite.c: Likewise.
14381 * posix/pwrite64.c: Likewise.
14382 * posix/sched_getaffinity.c: Likewise.
14383 * posix/sched_getp.c: Likewise.
14384 * posix/sched_gets.c: Likewise.
14385 * posix/sched_primax.c: Likewise.
14386 * posix/sched_primin.c: Likewise.
14387 * posix/sched_rr_gi.c: Likewise.
14388 * posix/sched_setaffinity.c: Likewise.
14389 * posix/sched_setp.c: Likewise.
14390 * posix/sched_sets.c: Likewise.
14391 * posix/sched_yield.c: Likewise.
14392 * posix/setgid.c: Likewise.
14393 * posix/setlogin.c: Likewise.
14394 * posix/setpgid.c: Likewise.
14395 * posix/setresgid.c: Likewise.
14396 * posix/setresuid.c: Likewise.
14397 * posix/setsid.c: Likewise.
14398 * posix/setuid.c: Likewise.
14399 * posix/sleep.c: Likewise.
14400 * posix/spawni.c: Likewise.
14401 * posix/sysconf.c: Likewise.
14402 * posix/times.c: Likewise.
14403 * posix/wait.c: Likewise.
14404 * posix/wait3.c: Likewise.
14405 * posix/wait4.c: Likewise.
14406 * posix/waitpid.c: Likewise.
14407 * resolv/gai_sigqueue.c: Likewise.
14408 * resource/getpriority.c: Likewise.
14409 * resource/getrlimit.c: Likewise.
14410 * resource/getrusage.c: Likewise.
14411 * resource/nice.c: Likewise.
14412 * resource/setpriority.c: Likewise.
14413 * resource/setrlimit.c: Likewise.
14414 * resource/ulimit.c: Likewise.
14415 * rt/aio_cancel.c: Likewise.
14416 * rt/aio_fsync.c: Likewise.
14417 * rt/aio_read.c: Likewise.
14418 * rt/aio_sigqueue.c: Likewise.
14419 * rt/aio_suspend.c: Likewise.
14420 * rt/aio_write.c: Likewise.
14421 * rt/clock_getres.c: Likewise.
14422 * rt/clock_gettime.c: Likewise.
14423 * rt/clock_nanosleep.c: Likewise.
14424 * rt/clock_settime.c: Likewise.
14425 * rt/lio_listio.c: Likewise.
14426 * rt/mq_close.c: Likewise.
14427 * rt/mq_getattr.c: Likewise.
14428 * rt/mq_notify.c: Likewise.
14429 * rt/mq_open.c: Likewise.
14430 * rt/mq_receive.c: Likewise.
14431 * rt/mq_send.c: Likewise.
14432 * rt/mq_setattr.c: Likewise.
14433 * rt/mq_timedreceive.c: Likewise.
14434 * rt/mq_timedsend.c: Likewise.
14435 * rt/mq_unlink.c: Likewise.
14436 * rt/shm_open.c: Likewise.
14437 * rt/shm_unlink.c: Likewise.
14438 * rt/timer_create.c: Likewise.
14439 * rt/timer_delete.c: Likewise.
14440 * rt/timer_getoverr.c: Likewise.
14441 * rt/timer_gettime.c: Likewise.
14442 * rt/timer_settime.c: Likewise.
14443 * setjmp/__longjmp.c: Likewise.
14444 * setjmp/setjmp.c: Likewise.
14445 * signal/kill.c: Likewise.
14446 * signal/killpg.c: Likewise.
14447 * signal/raise.c: Likewise.
14448 * signal/sigaction.c: Likewise.
14449 * signal/sigaltstack.c: Likewise.
14450 * signal/sigblock.c: Likewise.
14451 * signal/sigignore.c: Likewise.
14452 * signal/sigintr.c: Likewise.
14453 * signal/signal.c: Likewise.
14454 * signal/sigpause.c: Likewise.
14455 * signal/sigpending.c: Likewise.
14456 * signal/sigqueue.c: Likewise.
14457 * signal/sigreturn.c: Likewise.
14458 * signal/sigset.c: Likewise.
14459 * signal/sigsetmask.c: Likewise.
14460 * signal/sigstack.c: Likewise.
14461 * signal/sigsuspend.c: Likewise.
14462 * signal/sigtimedwait.c: Likewise.
14463 * signal/sigvec.c: Likewise.
14464 * signal/sigwait.c: Likewise.
14465 * signal/sigwaitinfo.c: Likewise.
14466 * signal/sysv_signal.c: Likewise.
14467 * socket/accept.c: Likewise.
14468 * socket/accept4.c: Likewise.
14469 * socket/bind.c: Likewise.
14470 * socket/connect.c: Likewise.
14471 * socket/getpeername.c: Likewise.
14472 * socket/getsockname.c: Likewise.
14473 * socket/getsockopt.c: Likewise.
14474 * socket/isfdtype.c: Likewise.
14475 * socket/listen.c: Likewise.
14476 * socket/recv.c: Likewise.
14477 * socket/recvfrom.c: Likewise.
14478 * socket/recvmsg.c: Likewise.
14479 * socket/send.c: Likewise.
14480 * socket/sendmsg.c: Likewise.
14481 * socket/sendto.c: Likewise.
14482 * socket/setsockopt.c: Likewise.
14483 * socket/shutdown.c: Likewise.
14484 * socket/sockatmark.c: Likewise.
14485 * socket/socket.c: Likewise.
14486 * socket/socketpair.c: Likewise.
14487 * stdio-common/ctermid.c: Likewise.
14488 * stdio-common/cuserid.c: Likewise.
14489 * stdio-common/remove.c: Likewise.
14490 * stdio-common/rename.c: Likewise.
14491 * stdio-common/renameat.c: Likewise.
14492 * stdio-common/tempname.c: Likewise.
14493 * stdlib/getcontext.c: Likewise.
14494 * stdlib/makecontext.c: Likewise.
14495 * stdlib/setcontext.c: Likewise.
14496 * stdlib/swapcontext.c: Likewise.
14497 * stdlib/system.c: Likewise.
14498 * streams/fattach.c: Likewise.
14499 * streams/fdetach.c: Likewise.
14500 * streams/getmsg.c: Likewise.
14501 * streams/getpmsg.c: Likewise.
14502 * streams/putmsg.c: Likewise.
14503 * streams/putpmsg.c: Likewise.
14504 * sysdeps/unix/bsd/getpt.c: Likewise.
14505 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14506 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14507 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14509 Likewise.
14510 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14511 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14512 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14513 * sysvipc/msgctl.c: Likewise.
14514 * sysvipc/msgget.c: Likewise.
14515 * sysvipc/msgrcv.c: Likewise.
14516 * sysvipc/msgsnd.c: Likewise.
14517 * sysvipc/semctl.c: Likewise.
14518 * sysvipc/semget.c: Likewise.
14519 * sysvipc/semop.c: Likewise.
14520 * sysvipc/semtimedop.c: Likewise.
14521 * sysvipc/shmat.c: Likewise.
14522 * sysvipc/shmctl.c: Likewise.
14523 * sysvipc/shmdt.c: Likewise.
14524 * sysvipc/shmget.c: Likewise.
14525 * termios/tcdrain.c: Likewise.
14526 * termios/tcflow.c: Likewise.
14527 * termios/tcflush.c: Likewise.
14528 * termios/tcgetattr.c: Likewise.
14529 * termios/tcgetpgrp.c: Likewise.
14530 * termios/tcsendbrk.c: Likewise.
14531 * termios/tcsetattr.c: Likewise.
14532 * termios/tcsetpgrp.c: Likewise.
14533 * time/adjtime.c: Likewise.
14534 * time/clock.c: Likewise.
14535 * time/getitimer.c: Likewise.
14536 * time/gettimeofday.c: Likewise.
14537 * time/setitimer.c: Likewise.
14538 * time/settimeofday.c: Likewise.
14539 * time/stime.c: Likewise.
14540 * time/time.c: Likewise.
14541
145422012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14543
a20492cf
PT
14544 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14545 /usr/old/bin.
14546
72e182e3
PT
14547 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14548 instead of spaces.
14549 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14550
fbeafede
JM
145512012-11-03 Joseph Myers <joseph@codesourcery.com>
14552
5b5b04d6
JM
14553 [BZ #14796]
14554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14555 FE_TONEAREST before applying Dekker multiplication and Knuth
14556 addition. Clear inexact exceptions and check for exact zero
14557 results afterwards.
14558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14561 * math/libm-test.inc (fma_test): Add more tests.
14562 (fma_test_towardzero): Likewise.
14563 (fma_test_downward): Likewise.
14564 (fma_test_upward): Likewise.
14565 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14566 function.
14567 (libc_fesetround): New macro.
14568 (libc_fesetroundf): Likewise.
14569 (libc_fesetroundl): Likewise.
14570 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14571 function.
14572 (libc_fesetround_387): Likewise.
14573 (libc_fesetroundf): New macro.
14574 (libc_fesetround): Likewise.
14575 (libc_fesetroundl): Likewise.
14576 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14577 function.
14578 (libc_fesetroundf): New macro.
14579 (libc_fesetround): Likewise.
14580 (libc_fesetroundl): Likewise.
14581 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14582 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14583 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14584 libm_hidden_ver.
14585 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14586 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14587 libm_hidden_def.
14588 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14589 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14590 libm_hidden_ver.
14591 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14592 libm_hidden_def.
14593
fbeafede
JM
14594 [BZ #3439]
14595 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14596 integer constant usable in #if and use that to give value to enum
14597 constant.
14598 (FE_DIVBYZERO): Likewise.
14599 (FE_UNDERFLOW): Likewise.
14600 (FE_OVERFLOW): Likewise.
14601 (FE_INVALID): Likewise.
14602 (FE_INVALID_SNAN): Likewise.
14603 (FE_INVALID_ISI): Likewise.
14604 (FE_INVALID_IDI): Likewise.
14605 (FE_INVALID_ZDZ): Likewise.
14606 (FE_INVALID_IMZ): Likewise.
14607 (FE_INVALID_COMPARE): Likewise.
14608 (FE_INVALID_SOFTWARE): Likewise.
14609 (FE_INVALID_SQRT): Likewise.
14610 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14611 (FE_TONEAREST): Likewise.
14612 (FE_TOWARDZERO): Likewise.
14613 (FE_UPWARD): Likewise.
14614 (FE_DOWNWARD): Likewise.
14615 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14616 (FE_DIVBYZERO): Likewise.
14617 (FE_OVERFLOW): Likewise.
14618 (FE_UNDERFLOW): Likewise.
14619 (FE_INEXACT): Likewise.
14620 (FE_TONEAREST): Likewise.
14621 (FE_DOWNWARD): Likewise.
14622 (FE_UPWARD): Likewise.
14623 (FE_TOWARDZERO): Likewise.
14624 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14625 (FE_UNDERFLOW): Likewise.
14626 (FE_OVERFLOW): Likewise.
14627 (FE_DIVBYZERO): Likewise.
14628 (FE_INVALID): Likewise.
14629 (FE_TONEAREST): Likewise.
14630 (FE_TOWARDZERO): Likewise.
14631 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14632 (FE_OVERFLOW): Likewise.
14633 (FE_UNDERFLOW): Likewise.
14634 (FE_DIVBYZERO): Likewise.
14635 (FE_INEXACT): Likewise.
14636 (FE_TONEAREST): Likewise.
14637 (FE_TOWARDZERO): Likewise.
14638 (FE_UPWARD): Likewise.
14639 (FE_DOWNWARD): Likewise.
14640 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14641 (FE_DIVBYZERO): Likewise.
14642 (FE_OVERFLOW): Likewise.
14643 (FE_UNDERFLOW): Likewise.
14644 (FE_INEXACT): Likewise.
14645 (FE_TONEAREST): Likewise.
14646 (FE_DOWNWARD): Likewise.
14647 (FE_UPWARD): Likewise.
14648 (FE_TOWARDZERO): Likewise.
14649
105ca950
CM
146502012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14651
14652 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14653
a542b389
AS
146542012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14655
14656 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14657 commands. Quote $PWD.
14658 (blacklist_exports): Don't use remove_newlines. Replace "declare
14659 -x" by "export".
14660 (remove_newlines): Remove.
14661
f62c8abc
L
146622012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14663
14664 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14665 * stdlib/stdlib.h (atof): Moved to ...
14666 * include/bits/stdlib-float.h: Here. New file.
14667 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14668 * stdlib/bits/stdlib-float.h: New file.
14669 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14670 -mno-sse -mno-mmx.
14671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14672 <xmmintrin.h>.
14673
0155d5b2
JM
146742012-11-02 Joseph Myers <joseph@codesourcery.com>
14675
a68d0680
JM
14676 * conform/conformtest.pl (@headers): Add fenv.h.
14677 * conform/data/fenv.h-data: New file.
14678 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14679 include of <math/fenv.h>.
14680
caf7f573
JM
14681 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14682 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14683 && !UNIX98]. Enables tests for XOPEN2K8.
14684 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14685 POSIX2008]: Likewise.
14686
6c073ad6
JM
14687 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14688 (struct rusage): Do not expect type or its members.
14689
0155d5b2
JM
14690 [BZ #3439]
14691 * math/math.h (FP_NAN): Define macro to integer constant usable in
14692 #if and use that to give value to enum constant.
14693 (FP_INFINITE): Likewise.
14694 (FP_ZERO): Likewise.
14695 (FP_SUBNORMAL): Likewise.
14696 (FP_NORMAL): Likewise.
14697
b5dcacb4
AS
146982012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14699
14700 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14701 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14702 arguments.
14703
f7934be8
RM
147042012-11-02 Roland McGrath <roland@hack.frob.com>
14705
14706 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14707 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14708 autoconf-time if not.
14709 * configure.in: Remove AC_PREREQ.
14710
d7d08bde
TMQMF
147112012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14712
14713 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14714 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14715 of the internal implementation.
14716
dcdae19a
JM
147172012-11-02 Joseph Myers <joseph@codesourcery.com>
14718
14719 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14720 except include of <misc/sys/syslog.h>.
14721
d6cffd3e
AS
147222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14723
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14725 function returns with a NULL context exit with zero.
14726
b3563932
TMQMF
147272012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14728
14729 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14730
b288a93d
L
147312012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14732
14733 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14734 (run_program_cmd): This.
14735 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14736 (tst_langinfo): New variable. Use it.
14737
a2421a68
SAS
147382012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14739
14740 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14741 floating point opcodes.
14742
6f796e1b
TS
147432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14744
7402596b
TS
14745 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14746 variable.
14747
d0d4f868
TS
14748 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14749
6f796e1b
TS
14750 * sysdeps/mach/hurd/powerpc: Remove directory.
14751 * sysdeps/mach/powerpc: Likewise.
14752
4da224a2
AS
147532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14754
14755 * scripts/check-local-headers.sh: Ignore c++ headers.
14756
341dd673
TS
147572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14758
14759 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14760 __libc_cleanup_region_start argument.
14761
473611b2
JM
147622012-11-01 Joseph Myers <joseph@codesourcery.com>
14763
14764 [BZ #14784]
14765 [BZ #14785]
14766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14767 x * y using scaling, not as x * y + z.
14768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14770 * math/libm-test.inc (fma_test): Add more tests.
14771 (fma_test_towardzero): Likewise.
14772 (fma_test_downward): Likewise.
14773 (fma_test_upward): Likewise.
14774
4078da3d
TS
147752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14776
14777 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14778
903252aa
JM
147792012-10-31 Joseph Myers <joseph@codesourcery.com>
14780
14781 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14782 New variable.
14783
cbc818d0
TS
147842012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14785
14786 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14787
5a03cb1e
AS
147882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14789
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14791 Fix sort order.
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14793 Likewise.
14794
90aff2ff
TMQMF
147952012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14796
14797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14798 Fix the order of the list for glibc 2.17.
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14800 Likewise.
14801
1818fcb7
AS
148022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14803
14804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14805
ef82f4da
JM
148062012-10-31 Joseph Myers <joseph@codesourcery.com>
14807
16a0e2ec
JM
14808 [BZ #14610]
14809 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14810 for low part of x being zero before using __atanl (y).
14811 * math/libm-test.inc (atan2_test): Add another test.
14812
0eb69512
JM
14813 * manual/install.texi (Configuring and compiling): Document
14814 general use of test-wrapper and test-wrapper-env.
14815 * INSTALL: Regenerated.
14816
ef82f4da
JM
14817 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14818 (__fma): Do not extract and scale down low bits on after-rounding
14819 systems when result rounded to normal precision would have normal
14820 exponent.
14821 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14822 (__fmal): Do not extract and scale down low bits on after-rounding
14823 systems when result rounded to normal precision would have normal
14824 exponent.
14825 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14826 (__fmal): Do not extract and scale down low bits on after-rounding
14827 systems when result rounded to normal precision would have normal
14828 exponent.
14829 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14830 macro.
14831 (fma_test): Add more tests.
14832 (fma_test_towardzero): Likewise.
14833 (fma_test_downward): Likewise.
14834 (fma_test_upward): Likewise.
14835
954ef0d9
L
148362012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14837
14838 * sysdeps/i386/tininess.h: Renamed to ...
14839 * sysdeps/x86/tininess.h: This.
14840 * sysdeps/x86_64/tininess.h: Removed.
14841
df61ffb2
JM
148422012-10-30 Joseph Myers <joseph@codesourcery.com>
14843
14844 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14845 input. Use $(build-program-cmd).
14846 ($(objpfx)tst-array1-static.out): Likewise.
14847 ($(objpfx)tst-array2.out): Likewise.
14848 ($(objpfx)tst-array3.out): Likewise.
14849 ($(objpfx)tst-array4.out): Likewise.
14850 ($(objpfx)tst-array5.out): Likewise.
14851 ($(objpfx)tst-array5-static.out): Likewise.
14852
01767843
CM
148532012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14854
47cc1490
CM
14855 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14856 if defined.
14857
01767843
CM
14858 * nss/nsswitch.h (nss_interface_function): Provide new
14859 macro for use with NSS functions.
14860 * grp/initgroups.c: Use new macro.
14861 * nss/getXXbyYY.c: Likewise.
14862 * nss/getXXbyYY_r.c: Likewise.
14863 * nss/getXXent.c: Likewise.
14864 * nss/getXXent_r.c: Likewise.
14865 * sysdeps/posix/getaddrinfo.c: Likewise.
14866
8321aa97
AJ
148672012-10-30 Andreas Jaeger <aj@suse.de>
14868
14869 * po/ru.po: Update Russion translation from translation project.
14870
2a27fd6d
JM
148712012-10-30 Joseph Myers <joseph@codesourcery.com>
14872
8627a232
JM
14873 [BZ #14152]
14874 [BZ #14783]
14875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14876 result and shift together with sticky bit instead of replicating
14877 round-to-nearest rounding.
14878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14880 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14881 missing underflow exceptions.
14882 (fma_test_towardzero): Add more tests.
14883 (fma_test_downward): Likewise.
14884 (fma_test_upward): Likewise.
14885
2a27fd6d
JM
14886 [BZ #14047]
14887 * sysdeps/generic/tininess.h: New file.
14888 * sysdeps/i386/tininess.h: Likewise.
14889 * sysdeps/sh/tininess.h: Likewise.
14890 * sysdeps/x86_64/tininess.h: Likewise.
14891 * stdlib/tst-strtod-underflow.c: Likewise.
14892 * stdlib/tst-tininess.c: Likewise.
14893 * stdlib/strtod_l.c: Include <tininess.h>.
14894 (round_and_return): Do not set errno for exact underflow cases.
14895 Force an underflow exception when setting errno for underflow.
14896 Determine underflow based on rounding to normal precision if
14897 TININESS_AFTER_ROUNDING.
14898 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14899 ERANGE for exact underflow cases.
14900 * stdlib/Makefile (tests): Add tst-tininess and
14901 tst-strtod-underflow.
14902 ($(objpfx)tst-tininess): Use $(link-libm).
14903 ($(objpfx)tst-strtod-underflow): Likewise.
14904
e7170363
AJ
149052012-10-30 Andreas Jaeger <aj@suse.de>
14906
e5088dc6
AJ
14907 [BZ#14767]
14908 * elf/Makefile (tests): Remove conditional for have-initfini-array
14909 since this is now always required and the variable does not exist
14910 anymore.
14911 (tests-static): Likewise.
14912 (modules-names): Likewise.
14913
e7170363 14914 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14915
14916 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14917 merged with constructor/destructor.
14918 (init_array): Likewise.
14919 * elf/tst-array2dep.c (fini_array): Likewise.
14920 (init_array): Likewise.
14921
60457d8a
MF
149222012-10-29 Mike Frysinger <vapier@gentoo.org>
14923
14924 * manual/message.texi: Delete @cartouche tags.
14925
8bece752
PT
149262012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14927
94ce799f
PT
14928 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14929 EOPNOTSUPP.
14930 * sysdeps/mach/hurd/fsync.c: Likewise.
14931
8bece752
PT
14932 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14933 [_POSIX_REALTIME_SIGNALS]: Change condition to
14934 [_POSIX_REALTIME_SIGNALS > 0].
14935
86ebe6b1
AJ
149362012-10-27 Andreas Jaeger <aj@suse.de>
14937
14938 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14939 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14941 [__WORDSIZE != 64]: Likewise.
14942
54399c08
L
149432012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14944
14945 * iconvdata/tst-table.sh: Remove ${SHELL}.
14946 * iconvdata/tst-tables.sh: Likewise.
14947
e2211bed
DM
149482012-10-25 David S. Miller <davem@davemloft.net>
14949
14950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14951 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14952 of strtoull.
14953
f303f97c
DM
14954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14955 ifunc-impl-list.c
14956 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14957 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14958 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14959 file.
14960
1e9d84cd
RM
149612012-10-25 Roland McGrath <roland@hack.frob.com>
14962
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14964 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14965 __getdirentries.
14966
df381762
JM
149672012-10-25 Joseph Myers <joseph@codesourcery.com>
14968 Jim Blandy <jimb@codesourcery.com>
14969
14970 * scripts/cross-test-ssh.sh: New file.
14971 * manual/install.texi (Configuring and compiling): Document use of
14972 cross-test-ssh.sh.
14973 * INSTALL: Regenerated.
14974
bff64913
PT
149752012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14976
14977 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14978 EOPNOTSUPP.
14979
25fe8932
JM
149802012-10-25 Joseph Myers <joseph@codesourcery.com>
14981
14982 * Makeconfig (run-program-prefix): Fix comment.
14983
cc1290d0
JM
149842012-10-24 Joseph Myers <joseph@codesourcery.com>
14985 Jim Blandy <jimb@codesourcery.com>
14986
14987 * Makeconfig (test-wrapper): New variable,
14988 (test-wrapper-env): Likewise.
14989 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14990 (run-built-tests): Define to yes.
14991 (run-program-prefix): Use $(test-wrapper).
14992 (built-program-cmd): Likewise.
14993 * Rules (make-test-out): Use $(test-wrapper-env) and
14994 $(host-built-program-cmd).
14995 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14996 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14997 tst-pathopt.sh.
14998 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14999 $(test-wrapper-env) to tst-rtld-load-self.sh.
15000 ($(objpfx)order2.out): Use $(test-wrapper).
15001 ($(objpfx)tst-initorder.out): Likewise.
15002 ($(objpfx)tst-initorder2.out): Likewise.
15003 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15004 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15005 (test_wrapper_env): New variable. Use it to run ld.so.
15006 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15007 Use it to run ld.so.
15008 (test_wrapper_env): Likewise.
15009 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15010 $(test-wrapper) to run-iconv-test.sh.
15011 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15012 (ICONV): Use $test_wrapper.
15013 * posix/Makefile ($(objpfx)globtest.out): Pass
15014 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15015 globtest.sh, not $(run-program-prefix).
15016 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15017 (test_wrapper): Likewise.
15018 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15019 set together with run_via_rtld_prefix.
15020 (run_program_prefix): Define in terms of test_wrapper and
15021 run_via_rtld_prefix.
15022
6e6249d0
RM
150232012-10-24 Roland McGrath <roland@hack.frob.com>
15024
15025 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15026 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15027 Targets removed.
15028
15029 [BZ #14743]
15030 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15031 Declare __clock_getres, __clock_gettime, __clock_settime,
15032 __clock_nanosleep, and __clock_getcpuclockid.
15033 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15034 Remove librt_hidden_def (clock_gettime).
15035 * sysdeps/unix/clock_gettime.c: Likewise.
15036 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15037 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15038 * rt/clock_getres.c: Define __clock_getres as an alias.
15039 * sysdeps/posix/clock_getres.c: Likewise.
15040 * rt/clock_settime.c: Define __clock_settime as an alias.
15041 * sysdeps/unix/clock_settime.c: Likewise.
15042 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15043 * sysdeps/unix/clock_nanosleep.c: Likewise.
15044 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15045 * rt/clock-compat.c: New file.
15046 * rt/Makefile (librt-routines): Add clock-compat and move
15047 $(clock-routines) to ...
15048 (routines): ... here, new variable.
15049 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15050 Don't add get_clockfreq here.
15051 * rt/Versions (libc: GLIBC_2.17): New version set.
15052 Add clock_* symbols here.
15053 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15055 (GLIBC_2.17): Add clock_* symbols.
15056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15060 Likewise.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15062 Likewise.
15063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15067 * NEWS: Mention the move.
15068
15069 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15070 Use __open, __read, __close rather than their public counterparts.
15071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15072 (__get_clockfreq_via_cpuinfo): Likewise.
15073 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15074 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15075
15076 * config.h.in (HAVE_IFUNC): New #undef.
15077 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15078 was successful.
15079 * configure: Regenerated.
15080
0cae3f4b
MF
150812012-10-24 Mike Frysinger <vapier@gentoo.org>
15082
15083 * configure.in: Move READELF check to start of file.
15084 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15085 libc_cv_asm_gnu_indirect_function in the process.
15086 * configure: Regenerated.
15087
8175a253
MF
150882012-10-24 Mike Frysinger <vapier@gentoo.org>
15089
15090 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15091 send the output to /dev/null.
15092 (libc_cv_cc_with_libunwind): Likewise.
15093 (libc_cv_as_noexecstack): Likewise.
15094 * configure: Regenerate.
15095
0708a7d1
JM
150962012-10-24 Joseph Myers <joseph@codesourcery.com>
15097
10b40d85
JM
15098 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15099
0708a7d1
JM
15100 * posix/globtest.sh (TMPDIR): Do not set.
15101 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15102 (testout): Likewise.
15103
9fddec1a
AJ
151042012-10-24 Andreas Jaeger <aj@suse.de>
15105
3a8db22f
AJ
15106 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15107 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15108 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15109 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15110 posix_fadvise64, posix_fallocate64.
15111
9fddec1a
AJ
15112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15113 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15114 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15115 Likewise.
15116 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15117 Likewise.
15118 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15119
15120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15121 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15122 <bits/fcntl-linux.h>.
15123 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15124
15125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15126 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15127 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15128 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15129 [__WORDSIZE != 64]: Likewise.
15130
ebfd1bbd
JM
151312012-10-23 Joseph Myers <joseph@codesourcery.com>
15132
03ac099f
JM
15133 * Makeconfig (run-built-tests): New variable.
15134 * Rules [$(cross-compiling) = yes]: Change condition to
15135 [$(run-built-tests) = no].
15136 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15137 to [$(run-built-tests) = yes].
15138 * elf/Makefile [$(cross-compiling) = no]: Likewise
15139 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15140 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15141 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15142 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15143 * io/Makefile [$(cross-compiling) = no]: Likewise.
15144 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15145 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15146 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15147 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15148 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15149 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15150 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15151 * string/Makefile [$(cross-compiling) = no]: Likewise.
15152
ebfd1bbd
JM
15153 * posix/Makefile ($(objpfx)globtest.out): Pass
15154 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15155 $(rtld-installed-name).
15156 * posix/globtest.sh (elf_objpfx): Remove variable.
15157 (rtld_installed_name): Likewise.
15158 (library_path): Likewise.
15159 (run_program_prefix): New variable. Use for running globtest
15160 binary.
15161
166bca24
JB
151622012-10-23 Jim Blandy <jimb@codesourcery.com>
15163 Joseph Myers <joseph@codesourcery.com>
15164
15165 * Makeconfig (host-built-program-cmd): New variable.
15166 * elf/Makefile (tst-stackguard1-ARGS): Use
15167 $(host-built-program-cmd).
15168 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15169 (tst-spawn-ARGS): Likewise.
15170 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15171
88866099
JM
151722012-10-23 Joseph Myers <joseph@codesourcery.com>
15173 Jim Blandy <jimb@codesourcery.com>
15174
15175 * Makeconfig (run-via-rtld-prefix): New variable.
15176 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15177 (built-program-cmd): Likewise.
15178
b4b4c296
AJ
151792012-10-22 Andreas Jaeger <aj@suse.de>
15180
15181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15182 __O_RSYNC if it exists, otherwise to O_SYNC.
15183
6fb54a22
JB
151842012-10-22 Jim Blandy <jimb@codesourcery.com>
15185 Joseph Myers <joseph@codesourcery.com>
15186
15187 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15188 /dev/null.
15189 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15190 from /dev/null
15191 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15192 /dev/null.
15193
481b90b9
AJ
151942012-10-22 Andreas Jaeger <aj@suse.de>
15195
2a0e2669
AJ
15196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15197 Define always.
15198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15199
76e38f9a
AJ
15200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15201 bits/fcntl-linux.h.
15202
7cd37b43
AJ
15203 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15204 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15205
481b90b9
AJ
15206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15207 to __O_LARGEFILE.
15208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15209 to __O_LARGEFILE.
15210
aba75984
JB
152112012-10-21 Jim Blandy <jimb@codesourcery.com>
15212 Joseph Myers <joseph@codesourcery.com>
15213
15214 * config.make.in (NM): New variable.
15215
88d4247f
AJ
152162012-10-21 Andreas Jaeger <aj@suse.de>
15217
15218 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15219 definitions and declarations that are provided by
15220 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15221
f2eed205
L
152222012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15223
15224 [BZ #14683]
15225 * elf/Makefile (tests-static): Add tst-leaks1-static.
15226 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15227 ($(objpfx)tst-leaks1-static): New rule.
15228 ($(objpfx)tst-leaks1-static-mem): Likewise.
15229 (tst-leaks1-static-ENV): New macro.
15230 * elf/dl-open.c (dl_open_worker): Check the main application
15231 only if SHARED is defined.
15232 * elf/tst-leaks1-static.c: New file.
15233
335e6931
AJ
152342012-10-20 Andreas Jaeger <aj@suse.de>
15235
15236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15237 generic values for Linux.
15238 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15239 and declarations that are provided by <bits/fcntl-linux.h> and
15240 include <bits/fcntl-linux.h>.
15241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15243
ac5c94d3
RM
152442012-10-20 Roland McGrath <roland@hack.frob.com>
15245
15246 * io/fcntl.h: Move include of <bits/types.h> to the top and
15247 include it unconditionally.
15248
de54b33a
L
152492012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15250
228cfb01
L
15251 * wcsmbs/Makefile (tests-ifunc): New variable.
15252 (tests): Add $(tests-ifunc).
15253 * wcsmbs/test-wcschr-ifunc.c: New file.
15254 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15255 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15256 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15257 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15258 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15259
69f07e5f
L
15260 * string/Makefile (tests-ifunc): New variable.
15261 (tests): Add $(tests-ifunc).
15262 * string/test-memccpy.c (TEST_NAME): New macro.
15263 * string/test-memchr.c (TEST_NAME): Likewise.
15264 * string/test-memcmp.c (TEST_NAME): Likewise.
15265 * string/test-memcpy.c (TEST_NAME): Likewise.
15266 * string/test-memmem.c (TEST_NAME): Likewise.
15267 * string/test-memmove.c (TEST_NAME): Likewise.
15268 * string/test-memset.c (TEST_NAME): Likewise.
15269 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15270 * string/test-stpcpy.c (TEST_NAME): Likewise.
15271 * string/test-stpncpy.c (TEST_NAME): Likewise.
15272 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15273 * string/test-strcasestr.c (TEST_NAME): Likewise.
15274 * string/test-strcat.c (TEST_NAME): Likewise.
15275 * string/test-strchr.c (TEST_NAME): Likewise.
15276 * string/test-strcmp.c(TEST_NAME): Likewise.
15277 * string/test-strcpy.c (TEST_NAME): Likewise.
15278 * string/test-strcspn.c (TEST_NAME): Likewise.
15279 * string/test-strlen.c (TEST_NAME): Likewise.
15280 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15281 * string/test-strncmp.c (TEST_NAME): Likewise.
15282 * string/test-strncpy.c (TEST_NAME): Likewise.
15283 * string/test-strnlen.c (TEST_NAME): Likewise.
15284 * string/test-strpbrk.c (TEST_NAME): Likewise.
15285 * string/test-strrchr.c (TEST_NAME): Likewise.
15286 * string/test-strspn.c (TEST_NAME): Likewise.
15287 * string/test-strstr.c (TEST_NAME): Likewise.
15288 * string/test-bcopy-ifunc.c: New file.
15289 * string/test-bzero-ifunc.c: Likewise.
15290 * string/test-memccpy-ifunc.c: Likewise.
15291 * string/test-memchr-ifunc.c: Likewise.
15292 * string/test-memcmp-ifunc.c: Likewise.
15293 * string/test-memcpy-ifunc.c: Likewise.
15294 * string/test-memmem-ifunc.c: Likewise.
15295 * string/test-memmove-ifunc.c: Likewise.
15296 * string/test-mempcpy-ifunc.c: Likewise.
15297 * string/test-memset-ifunc.c: Likewise.
15298 * string/test-rawmemchr-ifunc.c: Likewise.
15299 * string/test-stpcpy-ifunc.c: Likewise.
15300 * string/test-stpncpy-ifunc.c: Likewise.
15301 * string/test-strcasecmp-ifunc.c: Likewise.
15302 * string/test-strcasestr-ifunc.c: Likewise.
15303 * string/test-strcat-ifunc.c: Likewise.
15304 * string/test-strchr-ifunc.c: Likewise.
15305 * string/test-strchrnul-ifunc.c: Likewise.
15306 * string/test-strcmp-ifunc.c: Likewise.
15307 * string/test-strcpy-ifunc.c: Likewise.
15308 * string/test-strcspn-ifunc.c: Likewise.
15309 * string/test-strlen-ifunc.c: Likewise.
15310 * string/test-strncasecmp-ifunc.c: Likewise.
15311 * string/test-strncat-ifunc.c: Likewise.
15312 * string/test-strncmp-ifunc.c: Likewise.
15313 * string/test-strncpy-ifunc.c: Likewise.
15314 * string/test-strnlen-ifunc.c: Likewise.
15315 * string/test-strpbrk-ifunc.c: Likewise.
15316 * string/test-strrchr-ifunc.c: Likewise.
15317 * string/test-strspn-ifunc.c: Likewise.
15318 * string/test-strstr-ifunc.c: Likewise.
15319
de54b33a
L
15320 * debug/Makefile (tests-ifunc): New variable.
15321 (tests): Add $(tests-ifunc).
15322 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15323 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15324 * debug/test-stpcpy_chk-ifunc.c: New file.
15325 * debug/test-strcpy_chk-ifunc.c: Likewise.
15326
88481c16
SP
153272012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15328
15329 [BZ #13601]
15330 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15331 header is not read in.
15332
135948bd
JM
153332012-10-19 Joseph Myers <joseph@codesourcery.com>
15334
89f1c388
JM
15335 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15336 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15337 directly. Pass built executable to script as
15338 $(built-program-cmd).
15339 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15340 $testprogram without using LD_LIBRARY_PATH and $ldso.
15341
e40a0d21
JM
15342 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15343 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15344 $(rtld-installed-name).
15345 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15346 (rtld_installed_name): Likewise.
15347 (library_path): Likewise.
15348 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15349 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15350 $(run-program-prefix) to tst-tables.sh.
15351 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15352 it to run tst-table-from and tst-table-to.
15353 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15354 Pass it to tst-table.sh.
15355 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15356 $(run-program-prefix) to tst-gettext.sh.
15357 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15358 tst-translit.sh.
15359 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15360 tst-gettext2.sh.
15361 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15362 to run tst-gettext.
15363 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15364 to run tst-gettext2.
15365 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15366 to run tst-translit.
15367 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15368 $(run-program-prefix) to tst-mtrace.sh.
15369 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15370 to run tst-mtrace.
15371 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15372 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15373 $(rtld-installed-name).
15374 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15375 (rtld_installed_name): Likewise.
15376 (run_program_prefix): New variable. Use it to run wordexp-test.
15377
728e272a
JM
15378 * Makeconfig (ARCH): Remove all definitions.
15379 (machine): Likewise.
15380 [ARCH]: Remove conditional code.
15381 [!objdir]: Give error.
15382 [!objdir] (objpfx): Remove.
15383 [!objdir] (common-objpfx): Likewise.
15384 [!objdir] (common-objdir): Likewise.
15385 * configure.in (config_makefile): Remove. Hardcode Makefile in
15386 AC_CONFIG_FILES call.
15387 * configure: Regenerated.
15388
d528cdcf
JM
15389 [BZ #13888]
15390 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15391 or TMPDIR.
15392 (testout): Likewise.
15393
135948bd
JM
15394 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15395 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15396 $(rtld-installed-name).
15397 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15398 (rtld_installed_name): Likwise.
15399 (runit): Remove function.
15400 (run_getconf): New variable, Use it for running getconf binary.
15401
38c78296
L
154022012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15403
15404 [BZ #14716]
15405 * string/test-memmem.c (check_result): New function.
15406 (do_one_test): Use it.
15407 (check1): New function.
15408 (test_main): Use it.
15409
d077f65f
MT
154102012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15411
15412 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15413
ced52c71
JM
154142012-10-18 Joseph Myers <joseph@codesourcery.com>
15415
15416 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15417 (_G_LSEEK64): Likewise.
15418 (_G_MMAP64): Likewise.
15419 (_G_FSTAT64): Likewise.
15420 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15421 (_G_LSEEK64): Likewise.
15422 (_G_MMAP64): Likewise.
15423 (_G_FSTAT64): Likewise.
15424 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15425 unconditional. Call __mmap64 directly.
15426 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15427 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15428 __lseek64 directly.
15429 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15430 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15431 __mmap64 directly.
15432 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15433 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15434 __lseek64 directly.
15435 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15436 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15437 __lseek64 directly.
15438 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15439 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15440 __lseek64 directly.
15441 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15442 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15443 __fxstat64 directly.
15444 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15445 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15446 unconditional.
15447 (freopen64) [!_G_OPEN64]: Remove conditional code.
15448 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15449 unconditional.
15450 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15451 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15452 unconditional.
15453 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15454 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15455 unconditional.
15456 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15457 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15458 unconditional.
15459 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15460 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15461 unconditional.
15462 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15463 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15464 unconditional.
15465 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15466 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15467 unconditional.
15468 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15469
b741de23
SP
154702012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15471
15472 [BZ #12140]
15473 * manual/memory.texi (Malloc Tunable Parameters): Add note
15474 about free list pointers overwriting some perturb bytes.
15475 Wording suggested by Roland McGrath.
15476
f9b9d9c9
JM
154772012-10-17 Joseph Myers <joseph@codesourcery.com>
15478
15479 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15480 (lgamma_test): Likewise.
15481 (tgamma_test): Likewise.
15482
172a631a
FW
154832012-10-16 Florian Weimer <fweimer@redhat.com>
15484
15485 [BZ #14700]
15486 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15487 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15488
e9f37252
MK
154892012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15490
15491 * NEWS: Mention BZ #14716.
15492 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15493 when removing AVAILABLE1_USES_J macro.
15494
d394eb74
L
154952012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15496
15497 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15498 (__bswap_64): __uint64_t for unsigned 64-bit int.
15499
ca38dc17
AS
155002012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15501
15502 * include/string.h (memmem): Declare libc hidden alias.
15503 * string/memmem.c (memmem): Define libc hidden alias.
15504 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15505 __read, __close instead of open, read, close.
15506
9a387d1f
L
155072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15508
ac49ecaf
L
15509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15510 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15511 global and hidden.
15512 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15513 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15514 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15515 Likewise.
15516 (__rawmemchr_sse2): Likewise.
15517 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15518 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15519 (__strchr_sse2): Likewise.
15520 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15521 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15522 (__strcasecmp_sse2): Likewise.
15523 (__strncasecmp_sse2): Likewise.
15524 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15525 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15526 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15527 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15528 (__strrchr_sse2): Likewise.
15529 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15530 ifunc-impl-list.c.
15531 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15532 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15533 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15534 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15535 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15536 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15537 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15538 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15539 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15540 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15541 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15542 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15543 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15544 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15545 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15546 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15547 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15548 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15549 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15550 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15551 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15552 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15553 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15554 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15555 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15557 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15558 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15559 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15560 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15561
b090e8ea
L
15562 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15563 global and hidden.
15564 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15565 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15566 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15567 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15568 Likewise.
15569 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15570 Likewise.
15571 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15572 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15573 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15574 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15575 ifunc-impl-list.c.
15576 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15594 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15610 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15612 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15613 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15614 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15615 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15616 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15617
11dd4af6
L
15618 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15619 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15620 * include/ifunc-impl-list.h: New file.
15621 * misc/ifunc-impl-list.c: Likewise.
15622 * misc/Makefile (routines): Add ifunc-impl-list.
15623 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15624 * string/test-string.h: Include <ifunc-impl-list.h>.
15625 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15626 impl_array): New variables.
15627 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15628 are defined.
15629 (test_init): Call __libc_ifunc_impl_list to initialize
15630 func_list if TEST_IFUNC and TEST_NAME are defined.
15631
9a387d1f
L
15632 * string/Makefile (strop-tests): Add bcopy and bzero.
15633 * string/test-bcopy.c: New file.
15634 * string/test-bzero.c: Likewise.
15635 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15636 defined.
15637 * string/test-memset.c: Support bzero test if TEST_BZERO is
15638 defined.
15639 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15640 __libc_memmove.
15641 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15642 __libc_memset.
15643 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15644 of memset.
15645
472371b9
JM
156462012-10-10 Joseph Myers <joseph@codesourcery.com>
15647
1e4a9536
JM
15648 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15649 * configure: Regenerated.
15650
d173d12e
JM
15651 * Makeconfig (+link-static-before-libc): Don't include
15652 $(link-static-libc).
15653
472371b9
JM
15654 * libio/libio.h (_IO_pos_t): Remove.
15655
89a3ad0b
AO
156562012-10-10 Alexandre Oliva <aoliva@redhat.com>
15657
15658 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15659 McGrath.
15660
e7451425
AO
156612012-10-10 Alexandre Oliva <aoliva@redhat.com>
15662
15663 * crypt/crypt-entry.c: Include fips-private.h.
15664 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15665 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15666 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15667 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15668
4ba74a35
AO
156692012-10-10 Alexandre Oliva <aoliva@redhat.com>
15670
15671 * crypt/crypt-private.h: Include stdbool.h.
15672 (_ufc_setup_salt_r): Return bool.
15673 * crypt/crypt-entry.c: Include errno.h.
15674 (__crypt_r): Return NULL with EINVAL for bad salt.
15675 * crypt/crypt_util.c (bad_for_salt): New.
15676 (_ufc_setup_salt_r): Check that salt is long enough and within
15677 the specified alphabet.
15678 * crypt/badsalttest.c: New file.
15679 * crypt/Makefile (tests): Add it.
15680 ($(objpfx)badsalttest): New.
15681
f96f1242
MK
156822012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15683
15684 * NEWS: Add entry for BZ #14602.
15685
0e8e0c1c
JM
156862012-10-09 Joseph Myers <joseph@codesourcery.com>
15687
15688 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15689 type-generic.
15690 * math/libm-test.inc: Update comment listing what functions and
15691 macros are tested.
15692 (isgreater_test): New function.
15693 (isgreaterequal_test): Likewise.
15694 (isless_test): Likewise.
15695 (islessequal_test): Likewise.
15696 (islessgreater_test): Likewise.
15697 (isunordered_test): Likewise.
15698 (main): Call the new functions.
15699
273edc5e
RM
157002012-10-09 Roland McGrath <roland@hack.frob.com>
15701
b8493de0
RM
15702 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15703 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15704 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15705 * sysdeps/i386/configure: Regenerated.
15706 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15707 * sysdeps/mach/configure: Regenerated.
15708 * sysdeps/mach/hurd/configure: Regenerated.
15709 * sysdeps/powerpc/configure: Regenerated.
15710 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15711 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15712 * sysdeps/s390/s390-32/configure: Regenerated.
15713 * sysdeps/s390/s390-64/configure: Regenerated.
15714 * sysdeps/sh/configure: Regenerated.
15715 * sysdeps/sparc/configure: Regenerated.
15716 * sysdeps/unix/sysv/linux/configure: Regenerated.
15717 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15718 * sysdeps/x86_64/configure: Regenerated.
15719
273edc5e
RM
15720 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15721 defined. Don't check if MAP is NULL.
15722
c8450f70
JM
157232012-10-09 Joseph Myers <joseph@codesourcery.com>
15724
15725 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15726 (_G_stat64): Likewise.
15727 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15728 (_G_stat64): Likewise.
15729 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15730 instead of struct _G_stat64.
15731 * libio/fileops.c (mmap_remap_check): Likewise.
15732 (decide_maybe_mmap): Likewise.
15733 (_IO_new_file_seekoff): Likewise.
15734 (_IO_file_stat): Likewise.
15735 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15736 _G_off64_t.
15737 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15738 instead of struct _G_stat64.
15739 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15740
57e605ba
MK
157412012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15742
15743 [BZ #14602]
15744 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15745 Replace with ...
15746 (CHECK_EOL): New macro.
15747 (two_way_short_needle): Check beginning of haystack for EOL. Use
15748 CHECK_EOL.
15749 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15750 Replace with CHECK_EOL.
15751 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15752 Replace with CHECK_EOL.
15753
ef1bb361
JM
157542012-10-08 Joseph Myers <joseph@codesourcery.com>
15755
15756 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15757 type-generic.
15758 * math/libm-test.inc: Update comment listing what functions and
15759 macros are tested.
15760 (finite_test): New function.
15761 (isinf_test): Likewise.
15762 (isnan_test): Likewise.
15763 (fpclassify_test): Test subnormal input.
15764 (isfinite_test): Likewise.
15765 (isnormal_test): Likewise.
15766 (main): Call the new functions.
15767
55f11534
JN
157682012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15769
15770 [BZ #14660]
15771 * Makerules (%.dynsym): Force C locale when running
15772 $(OBJDUMP) --dynamic-syms.
15773
1ab29350
AS
157742012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15775
15776 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15777 <stdint.h>.
15778
f1ecb7ef
DM
157792012-10-06 David S. Miller <davem@davemloft.net>
15780
15781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15782 upper 32-bits of the length value in %o2 since we use branch-on-register
15783 tests which consider the entire 64-bit register.
15784
5d41d91a
L
157852012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15786
15787 * string/test-strstr.c (check2): Add a test for page boundary.
15788
3baddb72
DM
157892012-10-05 David S. Miller <davem@davemloft.net>
15790
15791 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15792 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15793 file.
15794 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15795 sysdep_routines.
15796 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15797 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15798 and bzero when HWCAP_SPARC_CRYPTO is present.
15799
9cee5585
L
158002012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15801
d7e0dab9
L
15802 [BZ #14602]
15803 * string/test-strstr.c (check2): New function.
15804 (test_main): Call check2.
15805
03759f47
L
15806 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15807 and bug-strchr1.
15808 * string/bug-strcasestr1.c (do_test): Moved to ...
15809 * string/test-strcasestr.c (check1): Here. New function.
15810 (do_one_test): Break out result checking code into ...
15811 (check_result): This. New function.
15812 (do_one_test): Call check_result.
15813 (test_main): Call check1.
15814 * string/bug-strchr1.c (do_test): Moved to ...
15815 * string/test-strchr.c (check1): Here. New function.
15816 (do_one_test): Break out result checking code into ...
15817 (check_result): This. New function.
15818 (do_one_test): Call check_result.
15819 (test_main): Call check1.
15820 * string/bug-strstr1.c (main): Moved to ...
046f153e 15821 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15822 (do_one_test): Break out result checking code into ...
15823 (check_result): This. New function.
15824 (do_one_test): Call check_result.
15825 (test_main): Call check1.
15826 * string/bug-strcasestr1.c: Removed.
15827 * string/bug-strchr1.c: Likewise.
15828 * string/bug-strstr1.c: Likewise.
15829
53cea63e
L
15830 * elf/Makefile (dl-routines): Add hwcaps.
15831 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15832 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15833 (_dl_important_hwcaps): Moved to ...
15834 * elf/dl-hwcaps.c: Here. New file.
15835 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15836
9cee5585 15837 [BZ #14557]
bb859b06
L
15838 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15839 if IS_IN_rtld isn't defined.
15840
9cee5585
L
15841 * elf/dl-support.c (_dl_sysinfo_map): New.
15842 Include "get-dynamic-info.h" and "setup-vdso.h".
15843 (_dl_non_dynamic_init): Call setup_vdso.
15844 * elf/dynamic-link.h: Don't include <assert.h>.
15845 (elf_get_dynamic_info): Moved to ...
15846 * elf/get-dynamic-info.h: Here. New file.
15847 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15848 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15849 * elf/setup-vdso.h: Here. New file.
15850 * elf/rtld.c: Include "setup-vdso.h".
15851 (dl_main): Call setup_vdso.
15852
23c31b76
JM
158532012-10-05 Joseph Myers <joseph@codesourcery.com>
15854
28234b07
JM
15855 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15856 creal in comment listing functions tested. List finite, isinf,
15857 isnan, isless, islessequal, isgreater, isgreaterequal,
15858 islessgreater, isunordered, lgamma_r and pow10 as functions and
15859 macros not tested. Mention which functions not tested are aliases
15860 for other functions. Fix typo. Note that signs of NaNs are not
15861 tested.
15862
23c31b76
JM
15863 * scripts/config.guess: Update from config.git.
15864 * scripts/config.sub: Likewise.
15865
9043e228
RM
158662012-10-04 Roland McGrath <roland@hack.frob.com>
15867
15868 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15869 * misc/madvise.c (madvise): Renamed to __madvise.
15870 Make madvise a weak alias.
15871 * include/sys/mman.h: Declare __madvise.
15872 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15873 * sysdeps/unix/syscalls.list
15874 (madvise): Make __madvise the strong name, and madvise a weak alias.
15875 * sysdeps/unix/sysv/linux/syscalls.list
15876 (madvise, mmap): Remove redundant entries.
15877 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15878 * malloc/malloc.c (mtrim): Likewise.
15879 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15880
f57f8055
RM
158812012-10-03 Roland McGrath <roland@hack.frob.com>
15882
15883 * sysdeps/mach/hurd/dl-cache.c: File removed.
15884 * config.h.in (USE_LDCONFIG): New #undef.
15885 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15886 * configure: Regenerated.
15887 * elf/Makefile (dl-routines): Add dl-cache only under
15888 [$(use-ldconfig) = yes].
15889 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15890 cache on [USE_LDCONFIG].
15891 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15892 [USE_LDCONFIG].
15893 * elf/rtld.c (dl_main): Likewise.
15894
5bb0c10a
PT
158952012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15896
15897 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15898 _SC_LEVEL4_CACHE_LINESIZE.
15899
010188c6
RM
159002012-10-03 Roland McGrath <roland@hack.frob.com>
15901
15902 * sysdeps/unix/bsd/confstr.h: File removed.
15903
b6c5ec07
AO
159042012-10-02 Alexandre Oliva <aoliva@redhat.com>
15905
15906 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15907 sys/sdt-config.h.
15908
408223d4
RM
159092012-10-02 Roland McGrath <roland@hack.frob.com>
15910
15911 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15912 Make 'mapoff' field ElfW(Off) rather than off_t.
15913
bb9510dc
DL
159142012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15915
fc997c6e
DL
15916 * nscd/Makefile: Remove nscd-cflags and all its users.
15917 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15918 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15919
bb9510dc
DL
15920 [BZ #10631]
15921 * malloc.c (malloc_printerr): Clarify error message.
15922
05699367
L
159232012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15924
15925 [BZ #14648]
15926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15927 Set bit_FMA_Usable if FMA is supported.
15928 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15929 macro.
15930 (bit_FMA4_Usable): Updated.
15931 (index_FMA_Usable): New macro.
15932 (CPUID_FMA): Likewise
15933 (HAS_FMA): Defined with bit_FMA_Usable.
15934
51367701
RM
159352012-10-01 Roland McGrath <roland@hack.frob.com>
15936
15937 * bits/types.h (__swblk_t): Type removed.
15938 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15939 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15941 (__SWBLK_T_TYPE): Likewise.
15942 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15943 (__SWBLK_T_TYPE): Likewise.
15944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15945 (__SWBLK_T_TYPE): Likewise.
15946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15947 (__SWBLK_T_TYPE): Likewise.
15948
4d57bf63 159492012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15950 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15951
15952 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15953 (xdr_mapname): Use YPMAXMAP as maxsize.
15954 (xdr_peername): Use YPMAXPEER as maxsize.
15955 (xdr_keydat): Use YPAXRECORD as maxsize.
15956 (xdr_valdat): Use YPMAXRECORD as maxsize.
15957
93c65d43
RM
159582012-10-01 Roland McGrath <roland@hack.frob.com>
15959
497a03d6
RM
15960 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15961
93c65d43
RM
15962 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15963 * csu/init-first.c: ... here.
15964 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15965 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15966 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15967 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15968 * sysdeps/i386/init-first.c: File removed.
15969 * sysdeps/sh/init-first.c: File removed.
15970
bec749fd
JM
159712012-10-01 Joseph Myers <joseph@codesourcery.com>
15972
15973 [BZ #14645]
15974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15975 if x * y might underflow to zero and z is zero.
15976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15978 * math/libm-test.inc (min_subnorm_value): New variable.
15979 (fma_test): Add more tests.
15980 (fma_test_towardzero): Likewise.
15981 (fma_test_downward): Likewise
15982 (fma_test_upward): Likewise.
15983 (initialize): Set min_subnorm_value.
15984
8ec5b013
JM
159852012-09-29 Joseph Myers <joseph@codesourcery.com>
15986
15987 [BZ #14638]
15988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15989 0 + 0.
15990 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15991 mode for addition resulting in exact zero.
15992 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15994 exact 0 + 0.
15995 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15997 * math/libm-test.inc (fma_test): Add more tests.
15998 (fma_test_towardzero): New function.
15999 (fma_test_downward): Likewise.
16000 (fma_test_upward): Likewise.
16001 (main): Call the new functions.
16002
b1fa802e
DM
160032012-09-28 David S. Miller <davem@davemloft.net>
16004
16005 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16006
d3b9fd9e
RM
160072012-09-28 Roland McGrath <roland@hack.frob.com>
16008
ea4d37b3
RM
16009 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16010 instead of SIGALRM.
16011
ac51c949
RM
16012 * sysdeps/gnu/_G_config.h: Moved to ...
16013 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16014 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16015 * sysdeps/generic/_G_config.h: ... here.
16016
28c195f7
RM
16017 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16018
848917f9
RM
16019 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16020
6bacf05b
RM
16021 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16022 Conditionalize target on [libnss_test1.so-version].
16023
91363dbb
RM
16024 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16025
cc87f7d8
RM
16026 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16027 (elfobjdir): Move out of conditionals.
16028
b1c608fe
RM
16029 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16030 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16031 (__nss_lookup_function): Conditionalize label remove_from_tree on
16032 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16033
1d9a6d96
DM
160342012-09-28 David S. Miller <davem@davemloft.net>
16035
16036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16037 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16038 file.
16039 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16040 sysdep_routines.
16041 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16043 when HWCAP_SPARC_CRYPTO is present.
16044
72581615
PT
160452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16046
16047 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16048
715a900c
JL
160492012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16050
16051 [BZ #6530]
16052 * stdio-common/vfprintf.c (process_string_arg): Revert
16053 2000-07-22 change.
16054
160552011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16056
16057 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16058 for testcase.
16059 * stdio-common/tst-sprintf.c: Include <locale.h>
16060 (main): Test sprintf's handling of incomplete multibyte
16061 characters.
16062
9bac1d86
L
160632012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16064
16065 * elf/dl-runtime.c (VERSYMIDX): Removed.
16066 * elf/dl-version.c (VERSYMIDX): Likewise.
16067 * elf/do-rel.h (VERSYMIDX): Likewise.
16068 (VALIDX): Likewise.
16069 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16070 * elf/rtld.c (VALIDX): Likewise.
16071 (ADDRIDX): Likewise.
9bac1d86
L
16072 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16073 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16074 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16075 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16076 (VALIDX): Likewise.
16077 (ADDRIDX): Likewise.
9bac1d86 16078
b31606c0
PT
160792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16080
16081 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16082
11541177
JL
160832012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16084
16085 [BZ #11438]
16086 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16087 to global scope.
16088 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16089 addresses are in the same scope as 192.0.2/24.
16090 * posix/gai.conf: Document new scope table defaults.
16091
adb26fae
SP
160922012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16093
16094 [BZ #5298]
16095 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16096 for ftell. Compute offsets from write pointers instead.
16097 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16098
4573c6b0
SP
160992012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16100
16101 [BZ #14543]
16102 * libio/Makefile (tests): New test case tst-fseek.
16103 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16104 combination works in wide mode.
16105 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16106 state when the external buffer state changes.
16107
aa9bbfe6
DM
161082012-09-27 David S. Miller <davem@davemloft.net>
16109
16110 [BZ #14376]
16111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16112 pass reloc->r_addend in as the 'high' argument to
16113 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16114
784421e7
DM
16115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16116
c39bc8b8
PT
161172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16118
16119 * rt/tst-aio2.c: Include <pthread.h>.
16120 * rt/tst-aio3.c: Likewise.
16121
1ccc2399
SE
161222012-09-27 Steve Ellcey <sellcey@mips.com>
16123
16124 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16125
31ed4153
L
161262012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16127
25f5f885
L
16128 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16129 contents on [SHARED].
31ed4153 16130
b7bfe116
MP
161312012-09-26 Marek Polacek <polacek@redhat.com>
16132
16133 [BZ #14530]
16134 [BZ #13741]
16135 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16136 for C++ and GCC <4.3 as well as for non GCC compilers.
16137
43c4edba
MT
161382012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16139
16140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16141
6a1bf82f
RM
161422012-09-25 Roland McGrath <roland@hack.frob.com>
16143
16144 * Makefile.in (all, install): Declare with .PHONY.
16145 Reported by Michael Hope <michael.hope@linaro.org>.
16146
8ad11b9a
TMQMF
161472012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16148
16149 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16150 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16151 system header.
16152 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16153 Likewise.
16154 (sydep_routines): Add the new and the internal functions.
16155 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16156 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16158 (GLIBC_2.17): Add the new function.
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16160 (GLIBC_2.17): Likewise.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16162 (GLIBC_2.17): Likewise.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16164 (GLIBC_2.17): Likewise.
16165 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16166
7e2fca8d
AM
161672012-09-25 Alan Modra <amodra@gmail.com>
16168
16169 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16170 Add release barrier before setting once_control to say
16171 initialisation is done. Add hints on lwarx. Use macro in
16172 place of isync.
16173 (clear_once_control): Add release barrier.
16174
b87c4b24
JM
161752012-09-25 Joseph Myers <joseph@codesourcery.com>
16176
d032e0d2
JM
16177 [BZ #13629]
16178 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16179 specially.
16180 * math/s_clog10.c (__clog10): Likewise.
16181 * math/s_clog10f.c (__clog10f): Likewise.
16182 * math/s_clog10l.c (__clog10l): Likewise.
16183 * math/s_clogf.c (__clogf): Likewise.
16184 * math/s_clogl.c (__clogl): Likewise.
16185 * math/Makefile (libm-calls): Add x2y2m1.
16186 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16187 (__x2y2m1): Likewise.
16188 (__x2y2m1l): Likewise.
16189 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16190 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16191 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16195 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16196 * sysdeps/i386/fpu/libm-test-ulps: Update.
16197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16198
b87c4b24
JM
16199 [BZ #14621]
16200 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16201 int as type of variable DEPTH.
16202 (glob): Use size_t instead of int as type of variables NEWCOUNT
16203 and OLD_PATHC.
16204
6d3bf199
LD
162052012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16206
22bf5c17
LD
16207 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16208 Add s_sincosf-sse2.
16209 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16210 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16211 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16212 macros for using routine as __sincosf_ia32.
16213 Use macro for function declaration and weak_alias.
16214 * sysdeps/i386/fpu/libm-test-ulps: Update.
16215
16216 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16218
16219 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16220 subnormal argument.
16221 * math/s_cexpf.c (__cexpf): Likewise.
16222 * math/s_csinf.c (__csinf): Likewise.
16223 * math/s_csinhf.c (__csinhf): Likewise.
16224 * math/s_ctanf.c (__ctanf): Likewise.
16225 * math/s_ctanhf.c (__ctanhf): Likewise.
16226 * math/s_ccosh.c (__ccoshf): Likewise.
16227 * math/s_cexp.c (__cexpl): Likewise.
16228 * math/s_csin.c (__csin): Likewise.
16229 * math/s_csinh.c (__csinh): Likewise.
16230 * math/s_ctan.c (__ctan): Likewise.
16231 * math/s_ctanh.c (ctanh): Likewise.
16232 * math/s_ccoshl.c (__ccoshl): Likewise.
16233 * math/s_cexpl.c (__cexpl): Likewise.
16234 * math/s_csinl.c (__csinl): Likewise.
16235 * math/s_csinhl.c (__csinhl): Likewise.
16236 * math/s_ctanl.c (__ctanl): Likewise.
16237 * math/s_ctanhl.c (__ctanhl): Likewise.
16238
203e5603
JM
162392012-09-25 Joseph Myers <joseph@codesourcery.com>
16240
16241 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16242 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16243 (_IO_off_t): Define to __off_t, not _G_off_t.
16244 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16245 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16246 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16247 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16248 type of __dummy and __dummy2 fields.
16249 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16250 (_G_ssize_t): Likewise.
16251 (_G_off_t): Likewise.
16252 (_G_pid_t): Likewise.
16253 (_G_uid_t): Likewise.
16254 (_G_wchar_t): Likewise.
16255 (_G_wint_t): Likewise.
16256 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16257 (_G_ssize_t): Likewise.
16258 (_G_off_t): Likewise.
16259 (_G_pid_t): Likewise.
16260 (_G_uid_t): Likewise.
16261 (_G_wchar_t): Likewise.
16262 (_G_wint_t): Likewise.
16263 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16264 (_G_ssize_t): Likewise.
16265 (_G_off_t): Likewise.
16266 (_G_pid_t): Likewise.
16267 (_G_uid_t): Likewise.
16268 (_G_wchar_t): Likewise.
16269 (_G_wint_t): Likewise.
16270
9fab36eb
SP
162712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16272
16273 * malloc/arena.c: Include malloc-sysdep.h.
16274 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16275 is sufficient to shrink the heap or an unmap is needed.
16276 * sysdeps/generic/malloc-sysdep.h: New file. Define
16277 new function check_may_shrink_heap.
16278 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16279 new function check_may_shrink_heap.
16280
2b4f00d1
SP
162812012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16282
16283 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16284 comments.
16285
9a9028b1
DL
162862012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16287
57c69bef
DL
16288 * catgets/test-gencat.sh: Add "set -e".
16289 * elf/tst-pathopt.sh: Likewise.
16290 * grp/tst_fgetgrent.sh: Likewise.
16291 * iconvdata/run-iconv-test.sh: Likewise.
16292 * intl/tst-gettext.sh: Likewise.
16293 * intl/tst-gettext2.sh: Likewise.
16294 * intl/tst-gettext4.sh: Likewise.
16295 * intl/tst-gettext6.sh: Likewise.
16296 * intl/tst-translit.sh: Likewise.
16297 * io/ftwtest-sh: Likewise.
16298 * libio/test-freopen.sh: Likewise.
16299 * malloc/tst-mtrace.sh: Likewise.
16300 * posix/globtest.sh: Likewise.
16301 * posix/tst-getconf.sh: Likewise.
16302 * posix/wordexp-tst.sh: Likewise.
16303 * stdio-common/tst-printf.sh: Likewise.
16304 * stdio-common/tst-unbputc.sh: Likewise.
16305 * stdlib/tst-fmtmsg.sh: Likewise.
16306 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16307 * catgets/Makefile: Do not specify -e option when running
16308 testsuite shell scripts.
16309 * elf/Makefile: Likewise.
16310 * grp/Makefile: Likewise.
16311 * iconvdata/Makefile: Likewise.
16312 * intl/Makefile: Likewise.
16313 * io/Makefile: Likewise.
16314 * libio/Makefile: Likewise.
16315 * malloc/Makefile: Likewise.
16316 * posix/Makefile: Likewise.
16317 * stdio-common/Makefile: Likewise.
16318 * stdlib/Makefile: Likewise.
16319 * sysdeps/x86_64/Makefile: Likewise.
16320
9a9028b1
DL
16321 * io/ftwtest-sh: Add copyright header.
16322 * posix/globtest.sh: Likewise.
16323 * posix/tst-getconf.sh: Likewise.
16324 * posix/wordexp-tst.sh: Likewise.
16325 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16326
ced6f16e
L
163272012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16328
94b32c39
L
16329 [BZ #13679]
16330 * Makeconfig (+link): Defined as $(+link-static) if
16331 $(build-shared) isn't yes.
16332 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16333 isn't yes.
16334 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16335
189e935b
L
16336 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16337
ced6f16e
L
16338 [BZ #14562]
16339 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16340 new chunk size with MALLOC_ALIGN_MASK.
16341
a9f8e53a
JM
163422012-09-24 Joseph Myers <joseph@codesourcery.com>
16343
16344 [BZ #5044]
16345 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16346 <rounding-mode.h>.
16347 (__printf_fphex): Determine rounding using get_rounding_mode and
16348 round_away.
16349 * stdio-common/tst-printf-round.c (struct hex_test): New
16350 structure.
16351 (hex_tests): New variable.
16352 (test_hex_in_one_mode): New function.
16353 (do_test): Also run tests for hex float output.
16354
43153109
JM
163552012-09-21 Joseph Myers <joseph@codesourcery.com>
16356
16357 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16358 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16359 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16360 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16361 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16362 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16363 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16364 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16365
8a26625d
JM
163662012-09-20 Joseph Myers <joseph@codesourcery.com>
16367
16368 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16369 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16370 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16371 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16372
f3fd569c
DL
163732012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16374
16375 [BZ #14579]
16376 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16377 mode only.
16378 * elf/tst-rtld-load-self.sh: New test.
16379 * elf/Makefile: Run it.
16380
63bbedd4
JM
163812012-09-18 Joseph Myers <joseph@codesourcery.com>
16382
16383 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16384 (tst-writev-ENV): Remove.
16385 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16386
626f8b6a
CM
163872012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16388
16389 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16390
b7aaa4d6
JM
163912012-09-17 Joseph Myers <joseph@codesourcery.com>
16392
16393 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16394 unconditional.
16395 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16396 Likewise.
16397 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16398 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16399 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16400 Likewise.
16401
65513990
L
164022012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16403
16404 [BZ #14587]
16405 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16406 * config.make.in (have-cpp-asm-debuginfo): Removed.
16407 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16408 * configure: Regenerated.
16409
784761be
JM
164102012-09-14 Joseph Myers <joseph@codesourcery.com>
16411
16412 [BZ #5044]
16413 * stdio-common/printf_fp.c: Include <stdbool.h> and
16414 <rounding-mode.h>.
16415 (___printf_fp): Determine rounding using get_rounding_mode and
16416 round_away.
16417 * stdio-common/tst-printf-round.c: New file.
16418 * stdio-common/Makefile (tests): Add tst-printf-round.
16419 (link-libm): New variable.
16420 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16421
9503345f
L
164222012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16423
16424 [BZ #14576]
16425 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16426 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16427 Likewise.
16428 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16429 Likewise.
16430
ad35fc00
JM
164312012-09-13 Joseph Myers <joseph@codesourcery.com>
16432
16433 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16434 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16435 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16436 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16437
6c9b0f68
JM
164382012-09-12 Joseph Myers <joseph@codesourcery.com>
16439
16440 [BZ #14518]
16441 * include/rounding-mode.h: New file.
16442 * sysdeps/generic/get-rounding-mode.h: Likewise.
16443 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16444 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16445 (MAX_VALUE): New macro.
16446 (MIN_VALUE): Likewise.
16447 (overflow_value): New function.
16448 (underflow_value): Likewise.
16449 (round_and_return): Use overflow_value and underflow_value to
16450 determine return values in overflow and underflow cases. Use
16451 round_away to determine rounding depending on rounding mode.
16452 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16453 determine return values in overflow and underflow cases.
16454 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16455 (struct test_results): New structure.
16456 (struct test): Use struct test_results to store expected results
16457 for all rounding modes.
16458 (TEST): Include expected results for all rounding modes.
16459 (test_in_one_mode): New function.
16460 (do_test): Use test_in_one_mode to compute and check results.
16461 Check results for all rounding modes.
16462 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16463 $(link-libm).
16464
19fcedd5
AM
164652012-12-09 Allan McRae <allan@archlinux.org>
16466
1e9d84cd 16467 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16468
8bbfd2f1
JM
164692012-09-11 Joseph Myers <joseph@codesourcery.com>
16470
16471 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16472 (_G_int32_t): Likewise.
16473 (_G_uint16_t): Likewise.
16474 (_G_uint32_t): Likewise.
16475 (_G_HAVE_BOOL): Likewise.
16476 (_G_HAVE_ATEXIT): Likewise.
16477 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16478 (_G_HAVE_IO_FILE_OPEN): Likewise.
16479 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16480 (_G_int32_t): Likewise.
16481 (_G_uint16_t): Likewise.
16482 (_G_uint32_t): Likewise.
16483 (_G_HAVE_BOOL): Likewise.
16484 (_G_HAVE_ATEXIT): Likewise.
16485 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16486 (_G_HAVE_IO_FILE_OPEN): Likewise.
16487 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16488 (_G_int32_t): Likewise.
16489 (_G_uint16_t): Likewise.
16490 (_G_uint32_t): Likewise.
16491 (_G_HAVE_BOOL): Likewise.
16492 (_G_HAVE_ATEXIT): Likewise.
16493 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16494 (_G_HAVE_IO_FILE_OPEN): Likewise.
16495
b1dc5912
L
164962012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16497
16498 * csu/libc-tls.c: Update copyright years.
16499
0e886ef9
JM
165002012-09-10 Joseph Myers <joseph@codesourcery.com>
16501
28361c5e
JM
16502 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16503 [!_G_USING_THUNKS]: Remove conditional code.
16504 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16505 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16506
0e886ef9
JM
16507 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16508 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16509 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16510 (_G_VTABLE_LABEL_PREFIX): Likewise.
16511 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16512 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16513 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16514 (_G_VTABLE_LABEL_PREFIX): Likewise.
16515 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16516 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16517 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16518 (_G_VTABLE_LABEL_PREFIX): Likewise.
16519 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16520
bcba7aa2
L
165212012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16522
16523 * libio/Makefile: Include ../Makeconfig before tests.
16524 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16525 only if $(build-shared) is yes.
16526
06585ee8
L
16527 * iconv/gconv_db.c: Update copyright years.
16528
80ccd52c
LD
165292012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16530
16531 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16532 unwind info if defined PIC. Fix special cases description.
16533 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16534
16535 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16536 DP_HI_MASK entry.
16537 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16538
691bc9c1
L
165392012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16540
3d9b46b3
L
16541 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16542
de2139a9
L
16543 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16544 is NULL.
16545
5ca78dd0
L
16546 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16547 (LDLIBS-tst-chk4): This.
16548 (LDFLAGS-tst-chk5): Renamed to ...
16549 (LDLIBS-tst-chk5): This.
16550 (LDFLAGS-tst-chk6): Renamed to ...
16551 (LDLIBS-tst-chk6): This.
16552 (LDFLAGS-tst-lfschk4): Renamed to ...
16553 (LDLIBS-tst-lfschk4): This.
16554 (LDFLAGS-tst-lfschk5): Renamed to ...
16555 (LDLIBS-tst-lfschk5): This.
16556 (LDFLAGS-tst-lfschk6): Renamed to ...
16557 (LDLIBS-tst-lfschk6): This.
16558
691bc9c1
L
16559 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16560 on $(common-objpfx)soversions.mk.
16561
65cafb1c
JM
165622012-09-07 Joseph Myers <joseph@codesourcery.com>
16563
16564 [BZ #10014]
16565 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16566 example host name.
16567
c78ab094
SP
165682012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16569
16570 * malloc/arena.c (arena_get_retry): New function that gets
16571 another arena for the caller to try its request on.
16572 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16573 current arena cannot fulfill the request.
16574 (__libc_memalign): Likewise.
16575 (__libc_memalign): Likewise.
16576 (__libc_pvalloc): Likewise.
16577 (__libc_calloc): Likewise.
16578
01f49f59
JT
165792012-09-05 John Tobey <john.tobey@gmail.com>
16580
16581 [BZ #13542]
16582 * manual/arith.texi (Operations on Complex): Fix description
16583 of carg branch cut.
16584
4c23fed5
JM
165852012-09-06 Joseph Myers <joseph@codesourcery.com>
16586
1d3c8572
JM
16587 [BZ #10014]
16588 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16589 host name.
16590
4c23fed5
JM
16591 [BZ #10038]
16592 * manual/memory.texi (Memory): Make order of menu items match
16593 order of sections.
16594
04570aaa
L
165952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16598 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16599 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16600
b80af2f4
L
166012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16602
16603 * csu/libc-tls.c (static_dtv): Renamed to ...
16604 (_dl_static_dtv): This. Make it global.
16605 (_dl_initial_dtv): Removed.
16606 (__libc_setup_tls): Updated.
16607 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16608 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16609 DL_INITIAL_DTV.
16610
2abe9f15
PM
166112012-09-06 Petr Machata <pmachata@redhat.com>
16612
16613 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16614 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16615 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16616 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16617
0948c3af
L
166182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 [BZ #14545]
16621 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16622 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16623 freeing dtv[-1].
16624
a5055ad1
L
166252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16626
16627 [BZ #14544]
16628 * Makeconfig (link-static-before-libc): Replace $(+prector)
16629 with $(+prectorT).
16630 (link-static-after-libc): Replace $(+postctor) with
16631 $(+postctorT).
16632 (link-bounded): Replace $(+prector)/$(+postctor) with
16633 $(+prectorT)/$(+postctorT).
16634 (+prectorT): New macro.
16635 (+postctorT): Likewise.
16636
ed8c2ecd
JM
166372012-09-06 Joseph Myers <joseph@codesourcery.com>
16638
16639 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16640 (round_str): Handle values above the maximum for IBM long double
16641 as inexact.
16642 * stdlib/tst-strtod-round.c (tests): Regenerated.
16643
14c996c8
AK
166442012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16645
16646 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16647 assembler flag.
16648 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16649 zarch_nohighgprs around the zarch optimized routines.
16650 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16651 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16652 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16653 for zarch.
16654
430d6ce6
DM
166552012-09-05 David S. Miller <davem@davemloft.net>
16656
16657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16658
ff04dda4
DM
16659 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16660 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16661 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16662 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16663 entries.
16664
24d4e01b
AO
166652012-09-05 Alexandre Oliva <aoliva@redhat.com>
16666
16667 * malloc/arena.c: Fold copyright years.
16668 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16669
61d58174
AO
166702012-09-05 Alexandre Oliva <aoliva@redhat.com>
16671
16672 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16673
20196a5e
AO
166742012-09-05 Alexandre Oliva <aoliva@redhat.com>
16675
16676 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16677
5c447383
AO
166782012-09-05 Alexandre Oliva <aoliva@redhat.com>
16679
16680 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16681 change internal state upon failure.
16682
fad64255
AO
166832012-09-05 Alexandre Oliva <aoliva@redhat.com>
16684
16685 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16686 * malloc/memusage.c (mmap): Likewise.
16687 (mmap64, mremap): Likewise. Adjust name in comment.
16688
1ffb8c90
SP
166892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16690
16691 * libio/fileops.c: Fix typos in comments.
16692 * libio/oldfileops.c: Likewise.
16693 * libio/wfileops.c: Likewise.
16694
6ef9cc37
SP
166952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16696
16697 [BZ #1349]
16698 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16699 (tst-malloc-usable-ENV): Set environment for test case.
16700 * malloc/hooks.c (malloc_check_get_size): New function to get
16701 requested size.
16702 * malloc/malloc.c (musable): Use malloc_check_get_size.
16703 * malloc/tst-malloc-usable.c: New test case.
16704
4d038ae3
AS
167052012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16706
16707 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16708
c4e85184
AM
167092012-09-05 Allan McRae <allan@archlinux.org>
16710
b9dafc56 16711 [BZ #13966]
c4e85184
AM
16712 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16713 determine header location.
16714 * configure: Regenerated.
16715
e1343020
AS
167162012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16717
16718 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16719 float format.
16720 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16721 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16722 format.
e1343020
AS
16723 (test): Regenerate.
16724
0a9f1987
DM
167252012-09-04 David S. Miller <davem@davemloft.net>
16726
16727 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16728 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16729 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16730
29237804
FW
167312012-09-04 Florian Weimer <fweimer@redhat.com>
16732
16733 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16734 failures.
16735
edb3cb88
FW
16736 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16737
60160d83
JM
167382012-09-04 Joseph Myers <joseph@codesourcery.com>
16739
16740 [BZ #9914]
16741 * libio/iogetdelim.c: Include <limits.h>.
16742 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16743 + len + 1 would overflow.
16744
bcd6c8dc
AJ
167452012-09-03 Andreas Jaeger <aj@suse.de>
16746
16747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16748 * sysdeps/i386/fpu/libm-test-ulps: Update.
16749
4ffffbd2
LD
167502012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16751
16752 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16753 Add s_sinf-sse2, s_conf-sse2.
16754
16755 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16756 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16757 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16758 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16759
16760 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16761 for using routine as __sinf_ia32.
16762 Use macro for function declaration and weak_alias.
16763 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16764 for using routine as __cosf_ia32.
16765 Use macro for function declaration and weak_alias.
16766
16767 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16768 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16769
16770 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16771 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16773
16774 * math/libm-test.inc (cos_test): Add more test cases.
16775 (sin_test): Likewise.
16776 (sincos_test): Likewise.
16777
511fa286
AK
167782012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16779
16780 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16781 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16782 hidden.
16783 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16784
5f30cfec
L
167852012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16786
16787 [BZ #14538]
16788 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16789 first element of the GOT.
16790 (elf_machine_load_address): Return the difference between
16791 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16792
0786794f
AM
167932012-09-01 Allan McRae <allan@archlinux.org>
16794
5f30cfec
L
16795 [BZ #13412]
16796 * configure.in (AWK): Require gawk version 3.0 or later.
16797 * configure: Regenerated.
0786794f 16798
26889eac
JM
167992012-09-01 Joseph Myers <joseph@codesourcery.com>
16800
16801 * sysdeps/unix/sysv/linux/kernel-features.h
16802 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16804 [__NR_clock_getres]: Make code unconditional.
16805 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16806 (clock_getcpuclockid): Remove code left unreachable by removal of
16807 conditionals.
16808 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16809 code unconditional.
16810 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16811 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16812 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16813 Make code unconditional.
16814 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16815 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16816 * sysdeps/unix/sysv/linux/clock_settime.c
16817 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16818 conditional code.
16819 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16820 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16821
d22e28b0
L
168222012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16823
16824 [BZ #14476]
16825 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16826 scripts/test-installation.pl.
16827
16828 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16829 and $ld_so_version if it is set.
16830
050af9c4
SP
168312012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16832
16833 [BZ #14516]
16834 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16835 failure if reading from procfs failed.
16836 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16837
ad845c0b
JM
168382012-08-27 Joseph Myers <joseph@codesourcery.com>
16839
16840 * sysdeps/unix/sysv/linux/kernel-features.h
16841 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16842 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16843 Remove conditional code.
16844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16845 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16846 Remove conditional code.
16847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16848 * sysdeps/unix/sysv/linux/i386/fxstat.c
16849 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16851 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16852 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16854 * sysdeps/unix/sysv/linux/i386/lxstat.c
16855 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16857 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16858 Remove conditional code.
16859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16860 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16861 Remove conditional code.
16862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16863 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16864 <kernel-features.h>.
16865 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16866 Remove.
16867 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16868 Remove conditional code.
16869 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16870 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16871 Remove conditional.
16872
5dbf56af
MF
168732012-08-27 Mike Frysinger <vapier@gentoo.org>
16874
16875 [BZ #5400]
16876 * NEWS: Add fixed bug number.
16877
d6e70f43
JM
168782012-08-27 Joseph Myers <joseph@codesourcery.com>
16879
7efb4737
JM
16880 [BZ #14519]
16881 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16882 underflowing exponent in case of negative sign.
16883 * stdlib/tst-strtod-round-data: Add more tests.
16884 * stdlib/tst-strtod-round.c (tests): Regenerated.
16885
af92131a
JM
16886 [BZ #3479]
16887 * stdlib/strtod_l.c (NDIG): Remove.
16888 (HEXNDIG): Likewise.
16889 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16890 smallest representable value.
16891 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16892 lie within an exact representation of 1/2 ulp of the result.
16893 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16894 unconditionally.
16895 (TENS_P9_IDX): Define unconditionally.
16896 (TENS_P9_SIZE): Likewise.
16897 (TENS_P10_IDX): Likewise.
16898 (TENS_P10_SIZE): Likewise.
16899 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16900 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16901 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16902 entries for 10^2^13 and 10^2^14.
16903 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16904 (TENS_P13_IDX): Define.
16905 (TENS_P13_SIZE): Likewise.
16906 (TENS_P14_IDX): Likewise.
16907 (TENS_P14_SIZE): Likewise.
16908 (_fpioconst_pow10): Change array size to
16909 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16910 unconditional.
16911 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16912 1024]: Add entries for 10^2^13 and 10^2^14.
16913 [LAST_POW10 > _LAST_POW10]: Remove #error.
16914 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16915 (_fpioconst_pow10): Change array size to
16916 FPIOCONST_POW10_ARRAY_SIZE.
16917 * stdlib/gen-fpioconst.c: New file.
16918 * stdlib/gen-tst-strtod-round.c: Likewise.
16919 * stdlib/tst-strtod-round-data: Likewise.
16920 * stdlib/tst-strtod-round.c: Likewise.
16921 * stdlib/Makefile (tests): Add tst-strtod-round.
16922
d6e70f43
JM
16923 [BZ #14459]
16924 * stdlib/strtod_l.c: Include <stdint.h>.
16925 (NDEBUG): Do not define.
16926 (round_and_return): Change EXPONENT parameter to type intmax_t.
16927 Rearrange calculations to avoid internal overflow possibilities.
16928 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16929 Rearrange calculations to avoid internal overflow possibilities.
16930 Assert that number fits inside MPNSIZE limbs.
16931 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16932 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16933 calculations and add assertions to avoid internal overflow
16934 possibilities. Add casts to avoid signed/unsigned operations.
16935 * stdlib/tst-strtod-overflow.c: New file.
16936 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16937
1f529f7d
MP
169382012-08-25 Marek Polacek <polacek@redhat.com>
16939
16940 * time/time.h: Fix some typos in comments.
16941
59a629f1
RM
169422012-08-23 Roland McGrath <roland@hack.frob.com>
16943
16944 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16945 * posix/tst-rfc3484-2.c: Likewise.
16946 * posix/tst-rfc3484-3.c: Likewise.
16947
d3bafbc9
SM
169482012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16949
16950 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16951 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16952
4efcc022
JM
169532012-08-23 Joseph Myers <joseph@codesourcery.com>
16954
16955 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16956 #include of fxstatat64.c.
16957
3cc3ef96
RM
169582012-08-22 Roland McGrath <roland@hack.frob.com>
16959
f04e2132
RM
16960 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16961 * shadow/getspent_r.c: Likewise.
16962 * shadow/getspnam.c: Likewise.
16963 * shadow/getspnam_r.c: Likewise.
16964 * gshadow/getsgent.c: Likewise.
16965 * gshadow/getsgent_r.c: Likewise.
16966 * gshadow/getsgnam.c: Likewise.
16967 * gshadow/getsgnam_r.c: Likewise.
16968 * inet/getnetbyad.c: Likewise.
16969 * inet/getnetbyad_r.c: Likewise.
16970 * inet/getnetbynm.c: Likewise.
16971 * inet/getnetbynm_r.c: Likewise.
16972 * inet/getnetent.c: Likewise.
16973 * inet/getnetent_r.c: Likewise.
16974 * inet/getproto.c: Likewise.
16975 * inet/getproto_r.c: Likewise.
16976 * inet/getprtent.c: Likewise.
16977 * inet/getprtent_r.c: Likewise.
16978 * inet/getprtname.c: Likewise.
16979 * inet/getprtname_r.c: Likewise.
16980 * inet/getrpcbyname.c: Likewise.
16981 * inet/getrpcbyname_r.c: Likewise.
16982 * inet/getrpcbynumber.c: Likewise.
16983 * inet/getrpcbynumber_r.c: Likewise.
16984 * inet/getrpcent.c: Likewise.
16985 * inet/getrpcent_r.c: Likewise.
16986 * inet/getaliasent.c: Likewise.
16987 * inet/getaliasent_r.c: Likewise.
16988 * inet/getaliasname.c: Likewise.
16989 * inet/getaliasname_r.c: Likewise.
16990 * nscd/getgrgid_r.c: Likewise.
16991 * nscd/getgrnam_r.c: Likewise.
16992 * nscd/gethstbyad_r.c: Likewise.
16993 * nscd/gethstbynm3_r.c: Likewise.
16994 * nscd/getpwnam_r.c: Likewise.
16995 * nscd/getpwuid_r.c: Likewise.
16996 * nscd/getsrvbynm_r.c: Likewise.
16997 * nscd/getsrvbypt_r.c: Likewise.
16998 * nscd/gai.c: Likewise.
16999
c53d909c
RM
17000 * configure.in (build_nscd): New substituted variable, set
17001 by --disable-build-nscd and defaults to $use_nscd.
17002 * configure: Regenerated.
17003 * config.make.in (build-nscd): New substituted variable.
17004 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17005 Change conditional to require [$(build-nscd) = yes] as well.
17006 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17007
3cc3ef96
RM
17008 [BZ# 13696]
17009 * configure.in (use_nscd): New substituted variable, set by
17010 --disable-nscd. If enabled, define USE_NSCD.
17011 * configure: Regenerated.
17012 * config.h.in: Add USE_NSCD.
17013 * config.make.in (use-nscd): New substituted variable.
17014 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17015 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17016 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17017 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17018 (CFLAGS-getgrnam_r.c): Likewise.
17019 (CFLAGS-initgroups.c): Likewise.
17020 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17021 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17022 Variables removed.
17023 * inet/getnetgrent_r.c
17024 (nscd_setnetgrent): New function, broken out of ...
17025 (setnetgrent): ... here. Call it.
17026 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17027 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17028 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17029 * nscd/Makefile (routines, aux): Move definitions after include of
17030 Makeconfig. Conditionalize on [$(use-nscd) != no].
17031 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17032 Conditionalize on [USE_NSCD].
17033 (is_nscd, nscd_init_cb): Likewise.
17034 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17035 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17036 * nss/nss_db/db-init.c: Likewise.
17037 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17038 [USE_NSCD].
17039 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17040 (make_request): Use it.
17041 (cache_valid_p): New function.
17042 (__check_pf): Use it.
17043 * NEWS: Add item for --disable-nscd.
17044
07e51550
DL
170452012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17046
17047 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17048 to support sed >= 4.2.1-20-ga9bf076.
17049 * configure: Regenerated.
17050
35a5b08b
RM
170512012-08-22 Roland McGrath <roland@hack.frob.com>
17052
17053 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17054 Conditionalize whole body on [IREL].
17055
8479f23a
JL
170562012-08-22 Jeff Law <law@redhat.com>
17057
17058 [BZ #14505]
17059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17060 if the family is PF_UNSPEC.
17061
48da0b21
MF
170622012-08-22 Mike Frysinger <vapier@gentoo.org>
17063
17064 * Makerules (lib-version): Rename from V.
17065 (install-lib-nosubdir): Change V to lib-version.
17066
15d0da8c
WS
170672012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17068
17069 [BZ #14252]
17070 * powerpc32/power6/wcschr.c: New file.
17071 * powerpc32/power6/wcscpy.c: New file.
17072 * powerpc32/power6/wcsrchr.c: New file.
17073 * powerpc64/power6/wcschr.c: New file.
17074 * powerpc64/power6/wcscpy.c: New file.
17075 * powerpc64/power6/wcsrchr.c: New file.
17076
bcca0895
MK
170772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17078
17079 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17080 (two_way_short_needle): Use it.
5a4aaa33
RM
17081 * string/strstr.c (AVAILABLE1_USES_J): Define.
17082 * string/strcasestr.c: Likewise.
99677e57
MK
17083
17084 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17085 array references.
17086 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17087
400726de
MK
17088 [BZ #11607]
17089 * NEWS: Add an entry.
17090 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17091 define their defaults.
17092 (two_way_short_needle): Detect end-of-string on-the-fly.
17093 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17094 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17095 * string/bug-strcasestr1.c: New test.
17096 * string/Makefile: Run it.
17097
20a71f2c
MK
170982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17099
17100 [BZ #11607]
17101 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17102 the first character.
17103
21ad0558
RM
171042012-08-21 Roland McGrath <roland@hack.frob.com>
17105
17106 * csu/elf-init.c (__libc_csu_irel): Function removed.
17107 * csu/libc-start.c (apply_irel): New function.
17108 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17109
0e1d9911
JM
171102012-08-21 Joseph Myers <joseph@codesourcery.com>
17111
17112 * sysdeps/unix/sysv/linux/kernel-features.h
17113 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17114 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17115 <kernel-features.h>.
17116 [__NR_fadvise64_64]: Make code unconditional.
17117 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17118 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17119 !__NR_fadvise64_64)]: Likewise.
17120 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17121 !__NR_fadvise64_64))]: Likewise.
17122 [__NR_fadvise64]: Make code unconditional.
17123 [!__NR_fadvise64]: Remove conditional code.
17124 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17125 <kernel-features.h>.
17126 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17127 unconditional.
17128 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17129 conditional code.
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17131 not include <kernel-features.h>.
17132 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17133 unconditional.
17134 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17135 conditional code.
17136 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17137 include <kernel-features.h>.
17138 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17139 unconditional.
17140 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17141 conditional code.
17142
14a50c9d
WS
171432012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17144
17145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17146 slight instruction rearrangements per scrollpipe analysis.
17147 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17148
c0f4faf0
RM
171492012-08-20 Roland McGrath <roland@hack.frob.com>
17150
696da859
RM
17151 * manual/syslog.texi (syslog; vsyslog, closelog):
17152 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17153 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17154
c0f4faf0
RM
17155 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17156 DSOCAPS to match condition on defining it.
17157
348363b2
JM
171582012-08-20 Joseph Myers <joseph@codesourcery.com>
17159
a35cbf28
JM
17160 * sysdeps/unix/sysv/linux/kernel-features.h
17161 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17163 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17164 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17166 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17167 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17169 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17170 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17171
445f7ecd
JM
17172 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17173 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17174
348363b2
JM
17175 * sysdeps/unix/sysv/linux/kernel-features.h
17176 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17177 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17178 unconditional.
17179 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17180 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17181 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17182 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17183 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17184 Make code unconditional.
17185 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17186 (__mmap64) [!__NR_mmap2]: Likewise.
17187 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17188 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17189 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17190 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17191 [__NR_mmap2]: Make code unconditional.
17192 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17193 (__mmap64) [!__NR_mmap2]: Likewise.
17194
bc5bc0e5
AK
171952012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17196
17197 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17198
88d506de
AJ
171992012-08-18 Andreas Jaeger <aj@suse.de>
17200
17201 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17202
493387d2
MF
172032012-08-18 Mike Frysinger <vapier@gentoo.org>
17204
17205 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17206 * include/unistd.h (__have_sock_cloexec): Likewise.
17207 (__have_pipe2): Likewise.
17208 (__have_dup3): Likewise.
17209
a277af22
MF
172102012-08-18 Mike Frysinger <vapier@gentoo.org>
17211
17212 [BZ #9685]
17213 * include/unistd.h (__have_pipe2): Change define into an extern int.
17214 (__have_dup3): Likewise.
17215 * socket/have_sock_cloexec.c: Include fcntl.h.
17216 (__have_pipe2): New variable.
17217 (__have_dup3): Likewise.
17218
fdab8fd3
MF
172192012-08-17 Mike Frysinger <vapier@gentoo.org>
17220
17221 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17222
31035e80
MP
172232012-08-17 Marek Polacek <polacek@redhat.com>
17224
17225 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17226 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17227
3bd9e993
RM
172282012-08-17 Roland McGrath <roland@hack.frob.com>
17229
c91c505f
RM
17230 * configure.in: Add AC_SUBST for sysheaders.
17231 * configure: Regenerated.
17232 * config.make.in (sysheaders): New substituted variable.
17233
7c6f9d53
RM
17234 * sysdeps/unix/mkfifo.c: Moved ...
17235 * sysdeps/posix/mkfifo.c: ... here.
17236 * sysdeps/unix/mkfifoat.c: Moved ...
17237 * sysdeps/posix/mkfifoat.c: ... here.
17238
17239 * sysdeps/unix/utime.c: Moved ...
17240 * sysdeps/posix/utime.c: ... here.
17241
17242 * sysdeps/unix/time.c: Moved ...
17243 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17244 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17245 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17246
17247 * sysdeps/unix/nice.c: Moved ...
17248 * sysdeps/posix/nice.c: ... here.
17249
17250 * sysdeps/unix/alarm.c: Moved ...
17251 * sysdeps/posix/alarm.c: ... here.
17252
3bd9e993
RM
17253 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17254
d1f09384
JL
172552012-08-17 Jeff Law <law@redhat.com>
17256
17257 * intl/Makefile (codeset_mo): New variable.
17258 ($(codeset_mo)): New target.
17259 (tst-codeset.out): Depend on that. Remove explicit rule.
17260 (tst-gettext3.out, tst-gettext5.out): Likewise.
17261 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17262 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17263 * intl/tst-codeset.sh: Remove.
17264 * intl/tst-gettext3.sh: Likewise.
17265 * intl/tst-gettext5.sh: Likewise.
17266
2ae1ae5c
RM
172672012-08-17 Roland McGrath <roland@hack.frob.com>
17268
c31fdb83
RM
17269 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17270 * sysdeps/unix/syscalls.list: ... here.
17271
a0844057
RM
17272 * sysdeps/posix/getaddrinfo.c
17273 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17274 (gaiconf_init, gaiconf_reload): Use them.
17275 [!_STATBUF_ST_NSEC]
17276 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17277 Define using time_t rather than struct timespec.
17278
750c1f2a
RM
17279 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17280 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17281 Macros removed.
17282 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17283 [!NO_THREADS].
17284 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17285 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17286 Likewise.
17287
2ae1ae5c
RM
17288 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17289 __libc_cleanup_push argument.
17290
e66a42f5
RM
17291 * bits/param.h: New file.
17292 * misc/sys/param.h: New file.
17293 * include/sys/param.h: New file.
17294 * misc/Makefile (headers): Add bits/param.h.
17295 * sysdeps/generic/sys/param.h: File removed.
17296 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17297 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17298 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17299 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17300
b7c08a66
RM
17301 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17302 last change.
17303
b2e1c562
RM
17304 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17305 [_IO_MTSAFE_IO].
17306 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17307 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17308 New macros.
17309
c75ccd4c
RM
17310 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17311 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17312 rather than -D_IO_MTSAFE_IO conditionally.
17313 * stdio-common/Makefile (CPPFLAGS): Likewise.
17314 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17315 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17316 Use $(libio-mtsafe).
17317 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17318 of -D_IO_MTSAFE_IO.
17319 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17320 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17321 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17322 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17323 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17324 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17325 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17326 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17327 (CFLAGS-fread_u_chk.c): Likewise.
17328 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17329 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17330 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17331 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17332 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17333 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17334 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17335 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17336 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17337
17338 * libio/Makefile: Test [$(libc-reentrant) = yes]
17339 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17340
17341 * Makeconfig
17342 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17343 * sysdeps/pthread/configure: File removed.
17344 * sysdeps/pthread/Makeconfig: New file.
17345 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17346 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17347
d9195db8
GB
173482012-08-16 Gary Benson <gbenson@redhat.com>
17349
17350 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17351 unmapping the first object in a namespace.
17352
86466cd9
RM
173532012-08-16 Roland McGrath <roland@hack.frob.com>
17354
17355 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17356 (__internal_setnetgrent): ... this. Add internal_function to
17357 definition. Add libc_hidden_def.
17358 (setnetgrent): Update caller.
17359 (internal_endnetgrent): Renamed to ...
17360 (__internal_endnetgrent): ... this. Add internal_function to
17361 definition. Add libc_hidden_def.
17362 (endnetgrent): Update caller.
17363 (internal_getnetgrent_r): Renamed to ...
17364 (__internal_getnetgrent_r): ... this. Add internal_function to
17365 definition. Add libc_hidden_def.
17366 (__getnetgrent_r): Update caller.
17367 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17368
c3c8283c
JM
173692012-08-16 Joseph Myers <joseph@codesourcery.com>
17370
17371 * stdlib/longlong.h: Update from GCC.
17372
db1ee0a8
RM
173732012-08-16 Roland McGrath <roland@hack.frob.com>
17374
17375 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17376 on _QL, which is set by umul_ppmm but never used.
17377 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17378 variables, which are set by GMP macros but never used.
17379 * stdio-common/_itowa.c (_itowa): Likewise.
17380 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17381 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17382
30f69637
CD
173832012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17384
17385 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17386 struct La_sh_regs is not constant.
17387 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17388 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17389 and struct La_sparc64_regs are not constant.
17390
93a78ac4
JM
173912012-08-16 Joseph Myers <joseph@codesourcery.com>
17392
17393 * sysdeps/unix/sysv/linux/kernel-features.h
17394 (__ASSUME_POSIX_TIMERS): Remove.
17395 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17396 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17397 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17398 Make code unconditional.
17399 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17400 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17401 Make code unconditional.
17402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17403 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17404 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17406 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17407 Make code unconditional.
17408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17409 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17410 (__libc_missing_posix_timers): Remove.
17411
dd924cd7
RM
174122012-08-15 Roland McGrath <roland@hack.frob.com>
17413
4b4f2771
RM
17414 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17415 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17416
601c888b
RM
17417 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17418
176790a7
RM
17419 * elf/dl-sym.c: Include <stdlib.h>.
17420
329bc018
RM
17421 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17422 constants, which avoids warnings in 32-bit builds.
17423
e04e272d
RM
17424 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17425 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17426
952bf94a
RM
17427 * misc/lseek.c: File moved to ...
17428 * io/lseek.c: ... here.
17429
7c99b50a
RM
17430 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17431
dd924cd7
RM
17432 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17433 shifting LEN more than 31 bits at once.
17434
b3f479a8
LD
174352012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17436
17437 [BZ #14195]
8c4ae0d4
RM
17438 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17439 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17440 * string/test-strncasecmp.c (check1): Renamed to...
17441 (bz12205): ...this.
17442 (bz14195): Add new testcase for two empty input strings and N > 0.
17443 (test_main): Call new testcase, adapt for renamed function.
17444
9c55864e
AJ
174452012-08-15 Andreas Jaeger <aj@suse.de>
17446
17447 [BZ #14090]
17448 * crypt/md5test2.c: New test, based on test supplied by Serge
17449 Belyshev <belyshev@depni.sinp.msu.ru>.
17450 * crypt/Makefile (xtests): Add md5test-giant..
17451 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17452
02dcb6c5
PE
174532012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17454
17455 [BZ #14090]
17456 * crypt/md5.c (md5_process_block): Don't assume the buffer
17457 length is less than 2**32.
17458 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17459 length is less than 2**64.
17460
a3f95dcc
RM
174612012-08-15 Roland McGrath <roland@hack.frob.com>
17462
be75d758
RM
17463 * string/str-two-way.h: Include <sys/param.h>.
17464 (MAX): Macro removed.
17465
7312ca90
RM
17466 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17467 Move #define and #undef of memmove to just before and after
17468 including <string.h>.
17469
9a0a5486
RM
17470 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17471 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17472 and after including <string.h>. Move declarations of
17473 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17474 to before #include "string/memmove.c".
17475
67cc348d
RM
17476 * include/dirent.h: Declare __getdirentries.
17477
a3f95dcc
RM
17478 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17479 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17480
ca98e171
MF
174812012-08-14 Mike Frysinger <vapier@gentoo.org>
17482
17483 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17484 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17485 * sysdeps/i386/configure: Regenerated.
17486 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17487 STABS_CURRENT_FILE, and STABS_FUN.
17488 (END): Remove call to STABS_FUN_END.
17489 (STABS_CURRENT_FILE1): Delete.
17490 (STABS_CURRENT_FILE): Likewise.
17491 (STABS_FUN): Likewise.
17492 (STABS_FUN_END): Likewise.
17493 (STABS_FUN2): Likewise.
17494 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17495 * sysdeps/x86_64/configure: Regenerated.
17496
5908bf46
RM
174972012-08-14 Roland McGrath <roland@hack.frob.com>
17498
17499 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17500 * elf/dl-lookup.c: Likewise.
5908bf46 17501
f2c05b9e
JM
175022012-08-14 Joseph Myers <joseph@codesourcery.com>
17503
17504 * sysdeps/unix/sysv/linux/kernel-features.h
17505 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17506 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17507 unconditionally.
17508 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17509 unconditionally.
17510 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17511 condition on __ASSUME_CLONE_THREAD_FLAGS.
17512
e11f5155
AJ
175132012-08-14 Andreas Jaeger <aj@suse.de>
17514
17515 * sysdeps/i386/fpu/libm-test-ulps: Update.
17516
51a9ba86
MK
175172012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17518
2fdd4f78
AJ
17519 * include/atomic.h (atomic_exchange_and_add): Split into ...
17520 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17521 New atomic macros.
51a9ba86 17522
ba6cba9e
MT
175232012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17524
17525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17526
42443a47
JL
175272012-08-13 Jeff Law <law@redhat.com>
17528
17529 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17530 null byte in the output string.
17531
121dce05
JM
175322012-08-10 Joseph Myers <joseph@codesourcery.com>
17533
17534 * sysdeps/unix/sysv/linux/kernel-features.h
17535 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17536 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17537 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17538 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17539 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17540 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17541 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17542
bf51f568
JL
175432012-08-09 Jeff Law <law@redhat.com>
17544
17545 [BZ #13939]
17546 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17547 When avoid_arena is set, don't retry in the that arena. Pick the
17548 next one, whatever it might be.
17549 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17550 (arena_lock): Pass in new parameter to arena_get2.
17551 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17552 arena_get2.
17553 (__libc_malloc): Unify retrying after main arena failure with
17554 __libc_memalign version.
17555 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17556
f85fa270
L
175572012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17558
17559 [BZ #14166]
17560 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17561 to __redirect_strstr.
17562 (__strstr_sse42): Use typeof __redirect_strstr.
17563 (__strstr_ia32): Likewise.
17564 (__libc_strstr): New prototype.
17565 (strstr): Renamed to ...
17566 (__libc_strstr): This.
17567 (strstr): New strong alias of __libc_strstr.
17568 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17569 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17570 __redirect_time.
17571 Include <time.h>.
17572 (__libc_time): New prototype.
17573 (time_ifunc): Replace time with __libc_time.
17574 (time): New strong alias and hidden definition of __libc_time.
17575 (__GI_time): Remove strong alias.
17576 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17577 Include <stddef.h>.
17578 (memmove): Redefined to __redirect_memmove.
17579 (__memmove_sse2): Use typeof __redirect_memmove.
17580 (__memmove_ssse3): Likewise.
17581 (__memmove_ssse3_back): Likewise.
17582 (__libc_memmove): New prototype.
17583 (memmove): Renamed to ...
17584 (__libc_memmove): This.
17585 (memmove): New strong alias of __libc_memmove.
17586
33b4a91e
MS
175872012-08-08 Mark Salter <msalter@redhat.com>
17588
17589 * elf/elf.h
17590 (R_MN10300_TLS_GD): Define.
17591 (R_MN10300_TLS_LD): Likewise.
17592 (R_MN10300_TLS_LDO): Likewise.
17593 (R_MN10300_TLS_GOTIE): Likewise.
17594 (R_MN10300_TLS_IE): Likewise.
17595 (R_MN10300_TLS_LE): Likewise.
17596 (R_MN10300_TLS_DTPMOD): Likewise.
17597 (R_MN10300_TLS_DTPOFF): Likewise.
17598 (R_MN10300_TLS_TPOFF): Likewise.
17599 (R_MN10300_SYM_DIFF): Likewise.
17600 (R_MN10300_ALIGN): Likewise.
17601 (R_MN10300_NUM): Update.
17602
b36137f1
JM
176032012-08-08 Joseph Myers <joseph@codesourcery.com>
17604
17605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17606 Remove.
17607
cdd915fd
RM
176082012-08-08 Roland McGrath <roland@hack.frob.com>
17609
a2433aac
RM
17610 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17611
cdd915fd
RM
17612 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17613 sysdeps/unix -> sysdeps/posix move.
17614 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17615
bf9b740a
AM
176162012-08-07 Allan McRae <allan@archlinux.org>
17617
17618 [BZ #14303]
17619 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17620 (SUNOS_CPP): Likewise.
17621 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17622 not found.
17623 (open_input): Call CPP using execvp.
17624
93df14ee
JM
176252012-08-07 Joseph Myers <joseph@codesourcery.com>
17626
17627 * sysdeps/unix/sysv/linux/kernel-features.h
17628 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17629 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17630 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17631 (__ASSUME_WAITID_SYSCALL): Likewise.
17632 * sysdeps/unix/sysv/linux/dl-execstack.c
17633 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17634 code unconditional.
17635 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17636 conditional code.
17637 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17638 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17639 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17640 code.
17641 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17642 unconditional.
17643 [__ASSUME_WAITID_SYSCALL]: Likewise.
17644 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17645
d34689de
RM
176462012-08-07 Roland McGrath <roland@hack.frob.com>
17647
a281decc
RM
17648 * sysdeps/unix/closedir.c: Renamed to ...
17649 * sysdeps/posix/closedir.c: ... here.
17650 * sysdeps/unix/dirfd.c: Renamed to ...
17651 * sysdeps/posix/dirfd.c: ... here.
17652 * sysdeps/unix/dirstream.h: Renamed to ...
17653 * sysdeps/posix/dirstream.h: ... here.
17654 * sysdeps/unix/fdopendir.c: Renamed to ...
17655 * sysdeps/posix/fdopendir.c: ... here.
17656 * sysdeps/unix/opendir.c: Renamed to ...
17657 * sysdeps/posix/opendir.c: ... here.
17658 * sysdeps/unix/readdir.c: Renamed to ...
17659 * sysdeps/posix/readdir.c: ... here.
17660 * sysdeps/unix/readdir_r.c: Renamed to ...
17661 * sysdeps/posix/readdir_r.c: ... here.
17662 * sysdeps/unix/rewinddir.c: Renamed to ...
17663 * sysdeps/posix/rewinddir.c: ... here.
17664 * sysdeps/unix/seekdir.c: Renamed to ...
17665 * sysdeps/posix/seekdir.c: ... here.
17666 * sysdeps/unix/telldir.c: Renamed to ...
17667 * sysdeps/posix/telldir.c: ... here.
17668 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17669 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17670 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17671 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17672
22895b47
RM
17673 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17674 * bits/fcntl.h: ... here.
17675
707a53b6
RM
17676 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17677 not 0.
17678 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17679 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17680 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17681 (struct flock): Move l_start, l_len to the beginning.
17682 Use __pid_t for l_pid.
17683 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17684 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17685 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17686 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17687 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17688 [__USE_LARGEFILE64] (struct flock64): New type.
17689 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17690
f0bd3e25
RM
17691 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17692 * bits/dirent.h: ... here.
17693
d34689de
RM
17694 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17695 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17696
6dad2c06
JM
176972012-08-07 Joseph Myers <joseph@codesourcery.com>
17698
17699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17700 Change from 2.6.0 to 2.6.16.
17701 * sysdeps/unix/sysv/linux/configure: Regenerated.
17702 * sysdeps/unix/sysv/linux/kernel-features.h
17703 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17704 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17705 version.
17706 (__ASSUME_UTIMES): Likewise.
17707 (__ASSUME_CLONE_STOPPED): Remove.
17708 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17709 architectures, not kernel version.
17710 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17711 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17712 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17713 (__ASSUME_WAITID_SYSCALL): Likewise.
17714 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17715 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17716 * README: State 2.6.16 as minimum Linux kernel version. Do not
17717 refer to older versions.
17718
03af9520
RM
177192012-08-06 Roland McGrath <roland@hack.frob.com>
17720
8e49df1d
RM
17721 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17722 Define alphasort64 as an alias.
17723 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17724 Define versionsort64 as an alias.
17725 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17726 Define scandir64 as an alias.
17727 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17728 Define scandirat64 as an alias.
17729 * dirent/alphasort64.c (alphasort64):
17730 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17731 * dirent/versionsort64.c: Likewise.
17732 * dirent/scandir64.c: Likewise.
17733 * dirent/scandirat64.c: Likewise.
17734 * sysdeps/wordsize-64/alphasort.c: File removed.
17735 * sysdeps/wordsize-64/alphasort64.c: File removed.
17736 * sysdeps/wordsize-64/scandir.c: File removed.
17737 * sysdeps/wordsize-64/scandir64.c: File removed.
17738 * sysdeps/wordsize-64/scandirat.c: File removed.
17739 * sysdeps/wordsize-64/scandirat64.c: File removed.
17740 * sysdeps/wordsize-64/versionsort.c: File removed.
17741 * sysdeps/wordsize-64/versionsort64.c: File removed.
17742 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17743 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17744 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17745 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17746 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17747 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17748 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17749 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17750
17751 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17753 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17755 [defined __arch64__ || defined __sparcv9]
17756 (__INO_T_MATCHES_INO64_T): New macro.
17757 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17758 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17759 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17760 * sysdeps/unix/sysv/linux/bits/dirent.h
17761 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17762 (_DIRENT_MATCHES_DIRENT64): New macro.
17763
03af9520
RM
17764 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17765 Define lockf64 as an alias.
17766 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17767 Define fseeko64 as an alias.
17768 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17769 Define ftello64 as an alias.
17770 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17771 Define _IO_fgetpos64 and fgetpos64 as aliases.
17772 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17773 Define _IO_fsetpos64 and fsetpos64 as aliases.
17774 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17775 Conditionalize body on this.
17776 * libio/fseeko64.c: Likewise.
17777 * libio/ftello64.c: Likewise.
17778 * libio/iofgetpos64.c: Likewise.
17779 * libio/iofsetpos64.c: Likewise.
17780 * sysdeps/wordsize-64/lockf.c: File removed.
17781 * sysdeps/wordsize-64/lockf64.c: File removed.
17782 * sysdeps/wordsize-64/fseeko.c: File removed.
17783 * sysdeps/wordsize-64/fseeko64.c: File removed.
17784 * sysdeps/wordsize-64/ftello.c: File removed.
17785 * sysdeps/wordsize-64/ftello64.c: File removed.
17786 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17787 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17788 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17789 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17790 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17791 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17793 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17795 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17796 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17798 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17799 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17800
17801 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17803 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17805 [defined __arch64__ || defined __sparcv9]
17806 (__OFF_T_MATCHES_OFF64_T): New macro.
17807 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17808 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17810 (__OFF_T_MATCHES_OFF64_T): New macro.
17811
c5757acd
L
178122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 * stdlib/secure-getenv.c (__secure_getenv): Replace
17815 GLIBC_2_16 with GLIBC_2_17.
17816
3a31811e
L
178172012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17818
17819 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17820 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17821
faa2bccb
DM
178222012-08-03 David S. Miller <davem@davemloft.net>
17823
17824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17825
85fe1997
JM
178262012-08-03 Joseph Myers <joseph@codesourcery.com>
17827
17828 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17829 Remove.
17830 (__ASSUME_CORRECT_SI_PID): Likewise.
17831 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17832 (__ASSUME_TMPFS_NAME): Likewise.
17833 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17834 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17835 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17836 (HAVE_AUX_SECURE): Make definition unconditional.
17837 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17838 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17839
4f75b7a0
RM
178402012-08-03 Roland McGrath <roland@hack.frob.com>
17841
17842 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17843 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17844 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17845 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17846 __eloop_threshold instead of SYMLOOP_MAX.
17847
17848 * sysdeps/generic/eloop-threshold.h: New file.
17849 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17850 of MAXSYMLINKS.
17851 * elf/chroot_canon.c (chroot_canon): Likewise.
17852
7aab07e4
JM
178532012-08-03 Joseph Myers <joseph@codesourcery.com>
17854
17855 [BZ #13717]
17856 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17857 Change to 2.6.0 everywhere.
17858 * sysdeps/unix/sysv/linux/configure: Regenerated.
17859 * sysdeps/unix/sysv/linux/kernel-features.h
17860 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17861 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17862 kernel versions.
17863 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17864 (__ASSUME_FUTEX_REQUEUE): Remove.
17865 (__ASSUME_STATFS64): Define unconditionally.
17866 (__ASSUME_AT_SECURE): Likewise.
17867 (__ASSUME_CORRECT_SI_PID): Likewise.
17868 (__ASSUME_TGKILL): Define without depending on kernel version for
17869 i386.
17870 (__ASSUME_UTIMES): Likewise.
17871 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17872 kernel version.
17873 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17874 (__ASSUME_TMPFS_NAME): Likewise.
17875 * README: Update reference to Linux kernel versions.
17876
b67e9372
MP
178772012-08-02 Marek Polacek <polacek@redhat.com>
17878
1f529f7d 17879 [BZ# 14150]
b67e9372
MP
17880 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17881 libc_cv_asm_type_prefix with %.
17882 * configure: Regenerated.
d2441631
RM
17883 * include/libc-symbols.h: Remove comment about
17884 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17885 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17886 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17887 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17888 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17889 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17890 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17891 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17892 * elf/tst-unique2mod1.c: Likewise.
17893 * elf/tst-unique1mod2.c: Likewise.
17894 * elf/tst-unique1mod1.c: Likewise.
17895 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17896 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17897 Replace ASM_TYPE_DIRECTIVE with .type.
17898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17899 * sysdeps/i386/sysdep.h: Likewise.
17900 * sysdeps/x86_64/sysdep.h: Likewise.
17901 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17903 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17904 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17905 * sysdeps/powerpc/powerpc32/sysdep.h:
17906 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17907 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17908 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17909 * sysdeps/i386/fpu/e_powf.S: Likewise.
17910 * sysdeps/i386/fpu/e_expl.S: Likewise.
17911 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17912 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17913 * sysdeps/i386/fpu/e_pow.S: Likewise.
17914 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17915 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17916 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17917 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17918 * sysdeps/i386/fpu/e_log2.S: Likewise.
17919 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17920 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17921 * sysdeps/i386/fpu/e_powl.S: Likewise.
17922 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17923 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17924 * sysdeps/i386/fpu/e_logl.S: Likewise.
17925 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17926 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17927 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17929 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17930 * sysdeps/i386/fpu/e_log.S: Likewise.
17931 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17932 * sysdeps/i386/fpu/e_logf.S: Likewise.
17933 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17934 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17935 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17936 * sysdeps/i386/fpu/e_log10.S: Likewise.
17937 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17938 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17939 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17940 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17941 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17942 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17943 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17944 * sysdeps/i386/i686/strtok.S: Likewise.
17945 * sysdeps/i386/i386-mcount.S: Likewise.
17946 * sysdeps/i386/strtok.S: Likewise.
17947 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17948 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17949 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17950 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17951 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17952 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17953 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17954 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17955 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17956 * sysdeps/x86_64/_mcount.S: Likewise.
17957 * sysdeps/x86_64/strtok.S: Likewise.
17958 * sysdeps/sh/_mcount.S: Likewise.
17959
2747bf9a
RM
179602012-08-01 Roland McGrath <roland@hack.frob.com>
17961
17962 * libio/iofopen.c: Include <fcntl.h>.
17963 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17964 (_IO_fopen64, fopen64): Define as aliases.
17965 * libio/iofopen64.c: Include <fcntl.h>.
17966 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17967 Conditionalize body on this.
17968 * sysdeps/wordsize-64/iofopen.c: File removed.
17969 * sysdeps/wordsize-64/iofopen64.c: File removed.
17970
3fb791b8
MP
179712012-08-01 Marek Polacek <polacek@redhat.com>
17972
17973 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17974 Use dlfcn directly instead of a variable.
17975 (binfmt-subdir): Do not define.
17976 (dlfcn): Likewise.
17977
a9f1039f
JM
179782012-08-01 Joseph Myers <joseph@codesourcery.com>
17979
23bddc06
JM
17980 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17981 Remove all definitions.
17982 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17983 <kernel-features.h>.
17984 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17985 (miss_F_GETOWN_EX): Remove all definitions.
17986 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17987 macro definition.
17988 [!__ASSUME_FCNTL64]: Remove conditional code.
17989 [__ASSUME_FCNTL64]: Make code unconditional.
17990 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17991 <kernel-features.h>.
17992 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17993 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17994 (lockf64) [__NR_fcntl64]: Make code unconditional.
17995 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17996
a9f1039f
JM
17997 * sysdeps/unix/sysv/linux/kernel-features.h
17998 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17999 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18000 Make code unconditional.
18001 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18002 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18004 [__NR_vfork]: Make code unconditional.
18005 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18006 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18008 [__NR_vfork]: Make code unconditional.
18009 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18010 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18011
09c0ee5f
RM
180122012-08-01 Roland McGrath <roland@hack.frob.com>
18013
48aec5b9
RM
18014 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18015 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18016
cd97c966
RM
18017 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18018 Define mkstemp64 as an alias.
3f55550c
RM
18019 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18020 Define mkstemps64 as an alias.
cd97c966
RM
18021 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18022 Define mkostemp64 as an alias.
b8625cfc
RM
18023 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18024 Define mkostemps64 as an alias.
cd97c966
RM
18025 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18026 Conditionalize body on this.
18027 * misc/mkostemp64.c: Likewise.
b8625cfc 18028 * misc/mkostemps64.c: Likewise.
3f55550c 18029 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18030 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18031 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18032 * sysdeps/wordsize-64/mkostemp.c: File removed.
18033 * sysdeps/wordsize-64/mkstemp.c: File removed.
18034 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18035 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18036 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18037 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18038
09c0ee5f
RM
18039 [BZ #14138]
18040 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18041 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18042 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18043 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18044
18045 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18046 compat_symbol macros from <shlib-compat.h> rather than the underlying
18047 default_symbol_version and symbol_version macros, so that DEFAULT
18048 lines in shlib-versions are respected.
18049 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18050
7e66ee51
FW
180512012-08-01 Florian Weimer <fweimer@redhat.com>
18052
18053 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18054 Declare with warn_unused_result.
18055 (setgid, setregid, setegid, setresgid): Likewise.
18056 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18057 Likewise.
18058 * WUR-REPORT: Remove set*id functions.
18059
d2a54255
PT
180602012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18061
18062 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18063
7ecdb005
RM
180642012-07-31 Roland McGrath <roland@hack.frob.com>
18065
b4180a5e 18066 [BZ #10191]
789bd351
RM
18067 * include/sys/socket.h (__libc_accept, __libc_accept4):
18068 Add attribute_hidden.
18069 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18070
40ce302d
RM
18071 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18072 use of PTR_MANGLE.
18073 * inet/getnetgrent_r.c (setup): Likewise.
18074
7ecdb005
RM
18075 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18076
e2eabb2c
DM
180772012-07-31 David S. Miller <davem@davemloft.net>
18078
18079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18080
d0419dbf
JM
180812012-07-31 Joseph Myers <joseph@codesourcery.com>
18082
18083 [BZ #13629]
18084 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18085 value between 1.0 and 2.0 and smaller part has absolute value less
18086 than 1.0.
18087 * math/s_clog10.c (__clog10): Likewise.
18088 * math/s_clog10f.c (__clog10f): Likewise.
18089 * math/s_clog10l.c (__clog10l): Likewise.
18090 * math/s_clogf.c (__clogf): Likewise.
18091 * math/s_clogl.c (__clogl): Likewise.
18092 * math/libm-test.inc (clog_test): Add more tests.
18093 (clog10_test): Likewise.
18094 * sysdeps/i386/fpu/libm-test-ulps: Update.
18095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18096
2bc13872
FW
180972012-07-31 Florian Weimer <fweimer@redhat.com>
18098
18099 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18100 Exit with zero in case no suitable GID is found, and write a
18101 message to standard error.
18102
bea9b193
RM
181032012-07-30 Roland McGrath <roland@hack.frob.com>
18104
18105 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18106 rather than to 1.
18107 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18108 (MAXPATHLEN): Removed.
18109 (NOGROUP, NODEV): New macros.
18110 (setbit, clrbit, isset, isclr): New macros.
18111 (howmany, roundup, powerof2): New macros.
18112 (DEV_BSIZE): New macro.
18113
18114 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18115 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18116
18117 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18118 definition on [!__NO_LONG_DOUBLE_MATH].
18119
18120 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18121 PTR_MANGLE and PTR_DEMANGLE.
18122
18123 * socket/accept4.c (accept4): Rename to __libc_accept4.
18124 Define accept4 as a weak alias.
18125
18126 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18127 on [_DIRENT_HAVE_D_TYPE].
18128 * io/ftw.c (ftw_dir): Likewise.
18129
18130 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18131
18132 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18133
18134 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18135 Use the BSD numbers rather than the arbitrary ones we had.
18136 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18137 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18138 (SIGXCPU, SIGXFSZ): New macros.
18139 (_NSIG): Now 32.
18140
18141 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18142 initializer on [_LIBC_REENTRANT].
18143
18144 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18145 definitions inside [_POSIX_MAPPED_FILES].
18146
18147 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18148
18149 * dirent/opendir.c: Include <fcntl.h>.
18150
18151 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18152 (__libc_getspecific): Likewise.
18153 (__libc_key_create): Likewise.
18154
18155 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18156 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18157 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18158 (tmpfile64): Define as alias.
18159 * sysdeps/wordsize-64/tmpfile.c: File removed.
18160 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18161 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18162 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18163
18164 * stdio-common/vfscanf.c: Include <stdbool.h>.
18165 * nss/makedb.c: Likewise.
18166 * stdio-common/_i18n_number.h: Likewise.
18167 * argp/argp-help.c: Likewise.
18168 * posix/wordexp.c: Likewise.
18169 * sysdeps/posix/spawni.c: Likewise.
18170 * nss/nss_files/files-initgroups.c: Likewise.
18171 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18172 * nss/nss_files/files-initgroups.c: Likewise.
18173 * nss/nss_db/db-netgrp.c: Likewise.
18174 * nss/nss_db/db-initgroups.c: Likewise.
18175 * io/fchmodat.c: Include <sys/stat.h>.
18176
18177 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18178 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18179
18180 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18181 [HAVE_MMAP].
18182
18183 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18184 Add multiple inclusion protection.
18185
e5abc686
DM
181862012-07-27 David S. Miller <davem@davemloft.net>
18187
18188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18189
815e6fa3
GB
181902012-07-27 Gary Benson <gbenson@redhat.com>
18191
18192 [BZ #14298]
18193 * elf/rtld.c: Include <stap-probe.h>.
18194 (dl_main): Added static probes "init_start" and "init_complete".
18195 * elf/dl-load.c: Include <stap-probe.h>.
18196 (lose): Take new parameter "nsid".
18197 Added static probe "map_failed".
18198 (_dl_map_object_from_fd): Pass namespace id to lose.
18199 Added static probe "map_start".
18200 (open_verify): Pass namespace id to lose.
18201 * elf/dl-open.c: Include <stap-probe.h>.
18202 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18203 and "reloc_complete".
18204 * elf/dl-close.c: Include <stap-probe.h>.
18205 (_dl_close_worker): Added static probes "unmap_start" and
18206 "unmap_complete".
18207 * elf/rtld-debugger-interface.txt: New file documenting the above.
18208
9f98c16c
RM
182092012-07-26 Roland McGrath <roland@hack.frob.com>
18210
18211 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18212 rather than a string variable.
18213 * sunrpc/rpc_main.c (h_output): Likewise.
18214 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18215
f3c22df3
PT
182162012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18217
18218 * inet/check_native.c: New file.
18219
3129cfc6
JM
182202012-07-26 Joseph Myers <joseph@codesourcery.com>
18221
da865e95
JM
18222 [BZ #13629]
18223 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18224 if larger part has absolute value 1.0.
18225 * math/s_clog10.c (__clog10): Likewise.
18226 * math/s_clog10f.c (__clog10f): Likewise.
18227 * math/s_clog10l.c (__clog10l): Likewise.
18228 * math/s_clogf.c (__clogf): Likewise.
18229 * math/s_clogl.c (__clogl): Likewise.
18230 * math/libm-test.inc (clog_test): Add more tests.
18231 (clog10_test): Likewise.
18232 * sysdeps/i386/fpu/libm-test-ulps: Update.
18233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18234
3129cfc6
JM
18235 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18236 (pltexit): Likewise.
18237 (La_regs): Likewise.
18238 (La_retval): Likewise.
18239 (int_retval): Likewise.
18240 Update #error for removed macros to refer only to definitions in
18241 tst-audit.h.
18242 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18243 macro.
18244 (pltexit): Likewise.
18245 (La_regs): Likewise.
18246 (La_retval): Likewise.
18247 (int_retval): Likewise.
18248 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18249 macro.
18250 (pltexit): Likewise.
18251 (La_regs): Likewise.
18252 (La_retval): Likewise.
18253 (int_retval): Likewise.
18254 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18255 macro.
18256 (pltexit): Likewise.
18257 (La_regs): Likewise.
18258 (La_retval): Likewise.
18259 (int_retval): Likewise.
18260 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18261 macro.
18262 (pltexit): Likewise.
18263 (La_regs): Likewise.
18264 (La_retval): Likewise.
18265 (int_retval): Likewise.
18266 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18267 macro.
18268 (pltexit): Likewise.
18269 (La_regs): Likewise.
18270 (La_retval): Likewise.
18271 (int_retval): Likewise.
18272 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18273 macro.
18274 (pltexit): Likewise.
18275 (La_regs): Likewise.
18276 (La_retval): Likewise.
18277 (int_retval): Likewise.
18278 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18279 macro definitions in tst-audit.h.
18280 * sysdeps/i386/tst-audit.h: New file.
18281 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18282 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18283 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18284 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18285 * sysdeps/sh/tst-audit.h: Likewise.
18286 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18287 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18288 * sysdeps/x86_64/tst-audit.h: Likewise.
18289
bfc07087
AJ
182902012-07-26 Andreas Jaeger <aj@suse.de>
18291
b1b2aaf8
AJ
18292 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18293 ptrace.
18294
18295 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18296 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18297 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18298 PTRACE_O_MASK.
18299 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18300 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18301 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18302
bfc07087
AJ
18303 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18304 value.
18305
18306 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18307 _sigsys.
18308 (si_call_addr, si_syscall, si_arch): Define new macro.
18309 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18310 _sigsys.
18311 (si_call_addr, si_syscall, si_arch): Define new marcro.
18312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18313 _sigsys.
18314 (si_call_addr, si_syscall, si_arch): Define new macro.
18315 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18316 _sigsys.
18317 (si_call_addr, si_syscall, si_arch): Define new macro.
18318
89b4b02f
JM
183192012-07-25 Joseph Myers <joseph@codesourcery.com>
18320
18321 [BZ #13717]
18322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18323 Change to 2.4.21 where previously 2.4.1.
18324 * sysdeps/unix/sysv/linux/configure: Regenerated.
18325 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18326 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18327 Linux kernel version.
18328 (__ASSUME_STD_AUXV): Remove.
18329 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18330 kernel version.
18331 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18332 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18333 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18334 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18335 (__ASSUME_NETLINK_SUPPORT): Likewise.
18336 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18337 (__no_netlink_support): Remove conditional definition.
18338 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18339 Remove.
18340 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18341 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18342 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18343 (if_nameindex_ioctl): Remove.
18344 (if_nameindex_netlink): Do not handle __no_netlink_support.
18345 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18346 code.
18347 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18348 Remove conditional code.
18349 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18350 code.
18351 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18352 unconditional.
18353 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18354 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18355 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18356 Remove.
18357 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18358 [!__ASSUME_STD_AUXV]: Remove conditional code.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18360 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18361 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18363 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18364 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18365 code.
18366 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18368 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18369 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18370 conditional code.
18371 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18373 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18374 code.
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18376 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18377 conditional code.
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18379 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18380 code unconditional.
18381 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18382 conditional code.
18383 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18384 unconditional.
18385 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18386 conditional code.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18388 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18389 unconditional.
18390 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18391 conditional code.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18393 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18394 code unconditional.
18395 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18396 conditional code.
18397 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18398 unconditional.
18399 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18400 conditional code.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18402 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18403 code unconditional.
18404 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18405 conditional code.
18406 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18407 unconditional.
18408 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18409 conditional code.
18410
842a39cd
AS
184112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18412
18413 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18414 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18415 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18416 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18417 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18418 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18419 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18420 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18421 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18422 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18423 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18424 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18425 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18426 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18427 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18429 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18431 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18436
84b3fd84
FW
184372012-07-25 Florian Weimer <fweimer@redhat.com>
18438
18439 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18440 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18441 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18442 Introduce __libc_secure_getenv.
0c7936d5
FW
18443 * stdlib/Versions (2.17): Add secure_getenv
18444 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18445 * stdlib/secure-getenv.c: Rename __secure_getenv to
18446 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18447 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18448 * stdlib/tst-secure-getenv.c: New.
18449 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18450 * manual/startup.texi (Environment Access): Document
18451 secure_getenv.
84b3fd84
FW
18452 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18453 __libc_secure_getenv.
18454 * inet/ruserpass.c (ruserpass): Likewise.
18455 * malloc/mtrace.c (mtrace): Likewise.
18456 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18457 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18458 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18459 * sysdeps/posix/tempname.c: Likewise. Evaluate
18460 HAVE_SECURE_GETENV.
18461 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18462 __secure_getenv to __libc_secure_getenv.
84b3fd84 18463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18465 Likewise.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18467 Likewise.
18468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18475
56e49b71
JM
184762012-07-25 Joseph Myers <joseph@codesourcery.com>
18477
18478 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18479 (struct La_i86_retval): Likewise.
18480 (struct La_x86_64_regs): Likewise.
18481 (struct La_x86_64_retval): Likewise.
18482 (struct La_x32_regs): Likewise.
18483 (struct La_x32_retval): Likewise.
18484 (struct La_ppc32_regs): Likewise.
18485 (struct La_ppc32_retval): Likewise.
18486 (struct La_ppc64_regs): Likewise.
18487 (struct La_ppc64_retval): Likewise.
18488 (struct La_sh_regs): Likewise.
18489 (struct La_sh_retval): Likewise.
18490 (struct La_s390_32_regs): Likewise.
18491 (struct La_s390_32_retval): Likewise.
18492 (struct La_s390_64_regs): Likewise.
18493 (struct La_s390_64_retval): Likewise.
18494 (struct La_sparc32_regs): Likewise.
18495 (struct La_sparc32_retval): Likewise.
18496 (struct La_sparc64_regs): Likewise.
18497 (struct La_sparc64_retval): Likewise.
18498 (struct audit_ifaces): Remove architecture-specific pltenter and
18499 pltexit members.
18500 * sysdeps/i386/ldsodefs.h: New file.
18501 * sysdeps/powerpc/ldsodefs.h: Likewise.
18502 * sysdeps/s390/ldsodefs.h: Likewise.
18503 * sysdeps/sh/ldsodefs.h: Likewise.
18504 * sysdeps/sparc/ldsodefs.h: Likewise.
18505 * sysdeps/x86_64/ldsodefs.h: Likewise.
18506
354691b7
MP
185072012-07-25 Marek Polacek <polacek@redhat.com>
18508
18509 [BZ #6808]
18510 * math/libm-test.inc (yn_test): Add another test.
18511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18512 to ERANGE when the result is +-Inf.
18513 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18514 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18515 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18516 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18517
bf9e2071
JM
185182012-07-24 Joseph Myers <joseph@codesourcery.com>
18519
18520 * conform/data/time.h-data (NULL): Use macro-constant. Require
18521 equal to 0.
18522 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18523 clock_t.
18524 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18525
57633811
TS
185262012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18527
18528 * configure.in <sysdeps resolving>: Correct printing
18529 Implies_before.
18530 * configure: Regenerate.
18531
c23c33b0
TS
185322012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18533
18534 * math/w_ilogb.c: Include <limits.h>.
18535 * math/w_ilogbl.c: Likewise.
18536
b5982523
JM
185372012-07-20 Joseph Myers <joseph@codesourcery.com>
18538
18539 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18540 va_copy. Document allowing for unavailable va_copy only as
18541 pre-C99 compatibility.
18542 * manual/string.texi (Copying and Concatenation): Use va_copy
18543 instead of __va_copy in concat example.
18544
ac4ea442
PT
185452012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18546
18547 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18548 (__sendto): Use create_address_port. Initialize APORT and deallocate
18549 it if not null.
18550
f98eafbd
PT
18551 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18552 with O_NOLINK passed to __file_name_lookup.
18553
898c7aab
PT
18554 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18555 with O_NOLINK passed to __file_name_lookup.
18556
0ced335a
PT
18557 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18558 negative N or less than NGIDS.
18559
b3404dbd
PT
18560 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18561 type to string_t. Set ERANGE as errno and return it if NAME is not big
18562 enough. Use memcpy instead of strncpy.
18563
0f48659e
JM
185642012-07-20 Joseph Myers <joseph@codesourcery.com>
18565
18566 * elf/Makefile (check-data): Remove.
18567 (localplt.data): New vpath directive.
18568 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18569 instead of $(check-data).
18570 * scripts/data/localplt-generic.data: Move to ...
18571 * sysdeps/generic/localplt.data: ... here.
18572 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18573 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18574 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18576 ... here.
18577 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18579 ... here.
18580 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18582 ... here.
18583 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18585 ... here.
18586 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18588 ... here.
18589 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18591 ... here.
18592
d37cbdaa
AZ
185932012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18594
18595 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18596 PPC32 and PPC64 files.
18597 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18598 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18599
46f85fc2
AK
186002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18601
18602 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18603 __makecontext_ret to ...
18604 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18605 ... here and call exit if uc_link is NULL. New file.
18606 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18607 __makecontext_ret.S.
18608 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18609 __makecontext_ret to ...
18610 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18611 ... here and call exit if uc_link is NULL. New file.
18612 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18613 __makecontext_ret.S.
18614
08f43f9b
AK
186152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18616
18617 * elf/elf.h (R_390_IRELATIVE): New definition.
18618 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18619 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18620 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18622 (elf_machine_lazy_rel): Likewise.
18623 * sysdeps/s390/dl-irel.h: New file.
18624 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18625 * sysdeps/s390/s390-64/memset.S: New asm code.
18626 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18627 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18628 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18629 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18630 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18631 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18632 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18633 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18634 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18635 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18636 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18637 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18638 * sysdeps/s390/s390-32/memset.S: New asm code.
18639 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18640
3b05db33
MP
186412012-07-17 Marek Polacek <polacek@redhat.com>
18642
18643 [BZ #14349]
18644 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18645 * sysdeps/s390/s390-64/configure.in: Likewise.
18646 * sysdeps/sparc/configure.in: Likewise.
18647 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18648 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18649 * sysdeps/i386/configure.in: Likewise.
18650 * sysdeps/x86_64/configure.in: Likewise.
18651 * sysdeps/sh/configure.in: Likewise.
18652 * sysdeps/s390/s390-32/configure: Regenerated.
18653 * sysdeps/s390/s390-64/configure: Likewise.
18654 * sysdeps/x86_64/configure: Likewise.
18655 * sysdeps/sh/configure: Likewise.
18656 * sysdeps/powerpc/powerpc64/configure: Likewise.
18657 * sysdeps/powerpc/powerpc32/configure: Likewise.
18658 * sysdeps/sparc/configure: Likwise.
18659 * sysdeps/i386/configure: Likewise.
18660
a66877c6
MP
18661 * elf/dl-open.c: Comment fixes.
18662
cfc82fd8
JM
186632012-07-17 Joseph Myers <joseph@codesourcery.com>
18664
bd29910a
JM
18665 * Makefile [CXX] (check-data): Remove.
18666 [CXX] (c++-types.data): New vpath directive.
18667 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18668 vpath. Do not allow for C++ type data being missing.
18669 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18670 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18671 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18672 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18673 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18674 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18675 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18677 ... here.
18678 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18680 ... here.
18681 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18683 ... here.
18684 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18686 ... here.
18687 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18689 ... here.
18690 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18692 ... here.
18693 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18695 ... here.
18696 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18698
cfc82fd8
JM
18699 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18700 definitions to architecture-specific files.
18701 (TLS_IE): Likewise.
18702 (TLS_LD): Likewise.
18703 (TLS_GD): Likewise.
18704 * sysdeps/i386/tls-macros.h: New file.
18705 * sysdeps/powerpc/tls-macros.h: Likewise.
18706 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18707 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18708 * sysdeps/sh/tls-macros.h: Likewise.
18709 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18710 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18711 * sysdeps/x86_64/tls-macros.h: Likewise.
18712
f7db3170
TS
187132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18714
07cbfc23
TS
18715 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18716 zero value for regular exit case.
18717
f7db3170
TS
18718 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18719 (__start_context): Preserve zero value for regular exit case.
18720
dc97c227
TS
187212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18722 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18723
18724 * manual/setjmp.texi (setcontext): Clarify normal process
18725 termination when uc_link is the null pointer.
18726 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18727 exit call.
18728
d0cd7d02
AS
187292012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18730
18731 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18732 preprocessor. Test for each exception mask separately.
18733
dd318934
AJ
187342012-07-16 Andreas Jaeger <aj@suse.de>
18735
18736 * po/ru.po: Update from translation team.
18737
8048311a
JM
187382012-07-15 Joseph Myers <joseph@codesourcery.com>
18739
18740 * conform/data/string.h-data (NULL): Use macro-constant. Require
18741 equal to 0.
18742 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18743 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18744 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18745 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18747
b637d46e
AJ
187482012-07-13 Andreas Jaeger <aj@suse.de>
18749
18750 * po/fr.po: Update from translation team.
18751
541428fe
MP
187522012-07-12 Marek Polacek <polacek@redhat.com>
18753
18754 [BZ #14173]
18755 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18757 loop condition.
18758
ec332e94
JM
187592012-07-12 Joseph Myers <joseph@codesourcery.com>
18760
18761 [BZ #13717]
18762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18763 Change to 2.4.1 where previously 2.4.0.
18764 * sysdeps/unix/sysv/linux/configure: Regenerated.
18765 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18766 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18767 version.
18768 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18769 (__ASSUME_AT_CLKTCK): Remove.
18770 (__ASSUME_AT_PAGESIZE): Likewise.
18771 (__ASSUME_AT_XID): Likewise.
18772 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18773 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18774 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18775 unconditionally.
18776 (HAVE_AUX_PAGESIZE): Likewise.
18777 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18778 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18779 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18780
7b6e99be
JB
187812012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18782
18783 [BZ #14307]
18784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18785 the temporary buffer used to invoke __gethostbyname2_r,
18786 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18787 host_data / struct gaih_addrtuple.
18788 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18789 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18790 header file nss/nsswitch.h.
18791 * nss/nsswitch.h (global scope): Add definition of implementation
18792 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18793 resolv/nss_dns/dns-host.c).
18794
608404eb
AJ
187952012-07-11 Andreas Jaeger <aj@suse.de>
18796
18797 * po/fr.po: Update from translation team.
18798
71220aca
AJ
18799 * po/sv.po: Update from translation team
18800 * po/fr.po: Another update from translation team.
18801
28cfe843
AZ
188022012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18803
18804 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18805 for subnormals or multiply small sinh result by itself.
18806 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18808
6b90f981
DM
188092012-07-11 David S. Miller <davem@davemloft.net>
18810
18811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18812
c6825772
AS
188132012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18814
18815 [BZ #14347]
18816 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18817 (INTERNAL_MARK): Shift it here.
18818
7b8e0d49
MP
188192012-07-10 Marek Polacek <polacek@redhat.com>
18820
18821 [BZ #14151]
18822 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18823 libc_cv_asm_global_directive with .globl.
18824 * configure: Regenerated.
18825 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18826 with .globl.
18827 * sysdeps/i386/configure: Regenerated.
18828 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18829 with .globl.
18830 * sysdeps/x86_64/configure: Regenerated.
18831 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18832 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18833 * elf/tst-unique2mod2.c: Likewise.
18834 * elf/tst-unique2mod1.c: Likewise.
18835 * elf/tst-unique1mod2.c: Likewise.
18836 * elf/tst-unique1mod1.c: Likewise.
18837 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18838 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18839 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18840 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18841 * sysdeps/mach/sysdep.h: Likewise.
18842 * sysdeps/i386/sysdep.h: Likewise.
18843 * sysdeps/i386/i386-mcount.S: Likewise.
18844 * sysdeps/x86_64/_mcount.S: Likewise.
18845 * sysdeps/x86_64/sysdep.h: Likewise.
18846 * sysdeps/sh/_mcount.S: Likewise.
18847 * sysdeps/sh/sysdep.h: Likewise.
18848 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18849 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18850 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18851 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18852 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18853 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18854 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18855 * locale/localeinfo.h: Likewise.
18856 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18857 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18858
6c55cda3
RM
188592012-07-09 Roland McGrath <roland@hack.frob.com>
18860
18861 [BZ #14336]
18862 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18863 system".
18864 * manual/message.texi (The Uniforum approach): Likewise.
18865 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18866 (glibc iconv Implementation): Likewise.
18867
638a572e
JM
188682012-07-09 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #14337]
18871 * math/s_clog.c (__clog): Avoid scaling a value down where that
18872 could result in underflow.
18873 * math/s_clog10.c (__clog10): Likewise.
18874 * math/s_clog10f.c (__clog10f): Likewise.
18875 * math/s_clog10l.c (__clog10l): Likewise.
18876 * math/s_clogf.c (__clogf): Likewise.
18877 * math/s_clogl.c (__clogl): Likewise.
18878 * math/libm-test.inc (clog_test): Add more tests.
18879 (clog10_test): Likewise.
18880 * sysdeps/i386/fpu/libm-test-ulps: Update.
18881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18882
261f4859
AS
188832012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18884
0abaf3e4
AS
18885 [BZ #14283]
18886 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18887 by 7 not 8 to examine high bit of fractional part.
18888
261f4859
AS
18889 [BZ #14042]
18890 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18891 for call to __mcount_internal.
18892 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18893 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18894 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18895
f17ac40d
JM
188962012-07-06 Joseph Myers <joseph@codesourcery.com>
18897
9ad63c23
JM
18898 [BZ #14154]
18899 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18900 approximation for values within 0x1p-13f of an odd multiple of
18901 pi/4.
18902 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18903 exception. Add more tests.
18904 * sysdeps/i386/fpu/libm-test-ulps: Update.
18905
f17ac40d
JM
18906 [BZ #6778]
18907 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18908 inputs and return -1 for them. Do not check for +Inf in case not
18909 reachable for +Inf.
18910 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18911 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18913 and return -1 for them. Do not check for +Inf in case not
18914 reachable for +Inf.
18915 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18916 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18921 spurious underflow.
18922 * sysdeps/i386/fpu/libm-test-ulps: Update.
18923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18924
fb21f89b
MF
189252012-07-06 Mike Frysinger <vapier@gentoo.org>
18926
18927 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18928
cdfe2c5e
JM
189292012-07-05 Joseph Myers <joseph@codesourcery.com>
18930
18931 [BZ #14157]
18932 [BZ #14331]
18933 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18934 could result in spurious underflow. Scale down values above
18935 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18936 * math/s_csqrtf.c (__csqrtf): Likewise.
18937 * math/s_csqrtl.c (__csqrtl): Likewise.
18938 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18939 spurious underflow.
18940 * sysdeps/i386/fpu/libm-test-ulps: Update.
18941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18942
70d35b67
AS
189432012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18944
704bc459
AS
18945 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18946 xopen-msg.sed.
18947 * catgets/xopen-msg.awk: New file.
18948 * catgets/xopen-msg.sed: Removed.
18949
70d35b67
AS
18950 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18951 po2text.sed.
18952 * intl/po2test.awk: New file.
18953 * intl/po2test.sed: Removed.
18954
ca61cf32
JM
189552012-07-04 Joseph Myers <joseph@codesourcery.com>
18956
18957 [BZ #14328]
18958 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18959 or multiply small sinh result by itself.
18960 * math/s_ctanf.c (__ctanf): Likewise.
18961 * math/s_ctanh.c (__ctanh): Likewise.
18962 * math/s_ctanhf.c (__ctanhf): Likewise.
18963 * math/s_ctanhl.c (__ctanhl): Likewise.
18964 * math/s_ctanl.c (__ctanl): Likewise.
18965 * math/libm-test.inc (ctan_test_tonearest): New function.
18966 (ctan_test_towardzero): Likewise.
18967 (ctan_test_downward): Likewise.
18968 (ctan_test_upward): Likewise.
18969 (ctanh_test_tonearest): Likewise.
18970 (ctanh_test_towardzero): Likewise.
18971 (ctanh_test_downward): Likewise.
18972 (ctanh_test_upward): Likewise.
18973 (main): Call these new functions.
18974 * sysdeps/i386/fpu/libm-test-ulps: Update.
18975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18976
ca48a46a
MF
189772012-07-03 Mike Frysinger <vapier@gentoo.org>
18978
18979 * .gitignore: Delete /ports entry.
18980
9d63d37d
AJ
189812012-07-03 Andreas Jaeger <aj@suse.de>
18982
18983 * po/bg.po: Update from translation team.
18984 * po/cs.po: Likewise.
18985 * po/de.po: Likewise.
18986 * po/hr.po: Likewise.
18987 * po/nl.pl: Likewise.
18988 * po/pl.po: Likewise.
18989 * po/vi.po: Likewise.
18990
370ca3d2
JM
189912012-07-03 Joseph Myers <joseph@codesourcery.com>
18992
95f5a9a8
JM
18993 * Makeconfig [!+link] (+link-before-libc): New variable.
18994 [!+link] (+link-after-libc): Likewise.
18995 [!+link] (+link-tests): Likewise.
18996 [!+link] (+link): Define in terms of $(+link-before-libc) and
18997 $(+link-after-libc).
18998 [!+link-static] (+link-static-before-libc): New variable.
18999 [!+link-static] (+link-static-after-libc): Likewise.
19000 [!+link-static] (+link-static-tests): Likewise.
19001 [!+link-static] (+link-static): Define in terms of
19002 $(+link-static-before-libc) and $(+link-static-after-libc).
19003 [build-shared] (link-libc-before-gnulib): New variable.
19004 [build-shared] (link-libc-tests): Likewise.
19005 [build-shared] (link-libc): Define in terms of
19006 $(link-libc-before-gnulib).
19007 [!build-shared] (link-libc-tests): New variable.
19008 (link-libc-static-tests): New variable.
19009 [!gnulib] (gnulib-arch): New variable.
19010 [!gnulib] (gnulib-tests): Likewise.
19011 [!gnulib] (static-gnulib-arch): Likewise.
19012 [!gnulib] (static-gnulib-tests): Likewise.
19013 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19014 Define with "=" instead of ":=".
19015 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19016 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19017 * Rules (binaries-all-notests): New variable.
19018 (binaries-all-tests): Likewise.
19019 (binaries-static-notests): Likewise.
19020 (binaries-static-tests): Likewise.
19021 (binaries-all): Define using $(binaries-all-notests) and
19022 $(binaries-all-tests).
19023 (binaries-static): Define using $(binaries-static-notests) and
19024 $(binaries-static-tests).
19025 (binaries-shared-tests): New variable.
19026 (binaries-shared-notests): Likewise.
19027 (binaries-shared): Remove variable.
19028 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19029 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19030 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19031 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19032 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19033 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19034 * elf/Makefile (sln-modules): New variable.
19035 (extra-objs): Add $(sln-modules:=.o).
19036 (ldconfig-modules): Add static-stubs.
19037 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19038 * elf/static-stubs.c: New file.
19039
7a845b2c
JM
19040 [BZ #14283]
19041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19042 by 7 not 8 to examine high bit of fractional part. Use volatile
19043 variables when splitting into final array of floats if
19044 __FLT_EVAL_METHOD__ != 0.
19045 * math/libm-test.inc (cos_test): Add another test.
19046 (sin_test): Likewise.
19047 * sysdeps/i386/fpu/libm-test-ulps: Update.
19048
e2283f38
JM
19049 [BZ #14273]
19050 * math/libm-test.inc (cosh_test): Add more tests.
19051
370ca3d2
JM
19052 * version.h (RELEASE): Set to "development".
19053 (VERSION): Set to "2.16.90".
19054
ee9247c3
CD
190552012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19056
19057 * NEWS: Update copyright. Remove last-updated date.
19058 Mention math library bug fixes and timezone data changes.
19059 * README: Mention GNU/Hurd, x32, and HPPA support status.
19060
4648c381
TS
190612012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19062
19063 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19064
aac78a43
AJ
190652012-06-27 Andreas Jaeger <aj@suse.de>
19066
19067 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19068
ed3dbfad
AJ
190692012-06-25 Andreas Jaeger <aj@suse.de>
19070
19071 * sysdeps/s390/fpu/libm-test-ulps: Update.
19072
4d0ee855
AS
190732012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19074 Thomas Schwinge <thomas@codesourcery.com>
19075
19076 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19077 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19079 fanotify_mark.
19080
af1bce34
TS
190812012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19082
a9fa33ba
TS
19083 * sysdeps/mach/start.c: Remove file.
19084 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19085 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19086 * sysdeps/sh/init-first.c: Likewise.
19087
58f902b8
TS
19088 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19089 registers for frame unwinding purposes, add CFI directives.
19090 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19092 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19093 Likewise.
19094
1518f58b
TS
19095 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19096 __fortify_fail returning.
19097 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19098
db9b5059
TS
19099 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19100 sysdeps/sh/____longjmp_chk.S.
19101 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19102 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19103 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19104 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19105
967705fe
TS
19106 * sysdeps/sh/abort-instr.h: New file.
19107 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19108 process in case exit returns.
19109
a9def8c4
TS
19110 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19111 initialize the GOT register before use.
19112
2a649725
TS
19113 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19114 calculation of ARGC > 4.
19115
af1bce34
TS
19116 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19117 meaningful names to some local labels.
19118
d230f50a
KK
191192012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19120 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19121
19122 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19123 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19124 (__arch_compare_and_exchange_val_16_acq): Likewise.
19125 (__arch_compare_and_exchange_val_32_acq): Likewise.
19126 (atomic_exchange_and_add): Fix gUSA sequence.
19127 (atomic_add): Likewise.
19128 (atomic_add_negative): Likewise.
19129 (atomic_add_zero): Likewise.
19130 (atomic_bit_test_set): Likewise.
19131
0479b305
AS
191322012-06-22 Andreas Schwab <schwab@redhat.com>
19133
19134 [BZ #13579]
19135 * include/link.h (struct link_map): Add l_free_initfini.
19136 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19137 l_initfini.
19138 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19139 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19140 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19141 set.
19142
0e3933b9
CD
191432012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19144
19145 * configure.in: Use AC_LANG_SOURCE.
19146 * configure: Regenerate.
19147
4248b1b1
RM
191482012-06-22 Roland McGrath <roland@hack.frob.com>
19149
19150 * configure.in (libc_cv_localstatedir): New substituted variable.
19151 * configure: Regenerated.
19152 * config.make.in (localstatedir): New variable, substituted from
19153 libc_cv_localstatedir.
19154 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19155 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19156 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19157 * sysdeps/gnu/configure: Regenerated.
19158
006dd861
JL
191592012-06-21 Jeff Law <law@redhat.com>
19160
19161 [BZ #14277]
19162 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19163 free. Simplify list management for _LIBC case.
19164
79662d42
JM
191652012-06-21 Joseph Myers <joseph@codesourcery.com>
19166
b7abb4bf
JM
19167 [BZ #14273]
19168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19169 Clear sign bit of 64-bit integer value before comparing against
19170 overflow value.
19171
79662d42
JM
19172 * sysdeps/mach/configure: Regenerated.
19173
1f150908
L
191742012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19175
19176 [BZ #14278]
19177 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19178
28363bbf
JL
191792012-06-21 Jeff Law <law@redhat.com>
19180
19181 [BZ #13882]
19182 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19183 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19184 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19185 * elf/dl-open.c (dl_open_worker): Likewise.
19186
09615db4
CD
191872012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19188
19189 * scripts/list-sources.sh: Scan PORTS for translations.
19190 * po/libc.pot: Regenerated.
19191
2174c6dd
AJ
191922012-06-21 Andreas Jaeger <aj@suse.de>
19193
19194 [BZ #12194]
19195 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19196 warning.
19197 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19198 * bits/byteswap-16.h (__bswap_16): Likewise.
19199 * bits/byteswap.h (__bswap_constant_16): Likewise.
19200
3ee947b1
L
192012012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19202
19203 [BZ #14117]
a2f34833
L
19204 * sysdeps/i386/fpu_control.h: Removed.
19205 * sysdeps/x86_64/fpu_control.h: Moved to ...
19206 * sysdeps/x86/fpu_control.h: Here.
19207
3ee947b1
L
19208 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19209 (_FPU_SETCW): Likewise.
19210
ed1825f8
L
192112012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19212
25f1282a
L
19213 [BZ #14117]
19214 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19215 * sysdeps/x86/fpu/bits/mathinline.h: This.
19216 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19217
ed1825f8
L
19218 [BZ #14050]
19219 [BZ #14117]
19220 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19221 functions if __x86_64__ is defined.
19222
36d54b74
CLT
192232012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19224
19225 * string/endian.h: Add !__ASSEMBLER__ condition for including
19226 conversion interfaces.
19227
10285c21
JM
192282012-06-15 Joseph Myers <joseph@codesourcery.com>
19229
19230 [BZ #14241]
19231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19232 of ABS(x) in calculating zero to negative powers other than odd
19233 integers.
19234 * math/libm-test.inc (pow_test): Add more tests.
19235
06c5abbd
AJ
192362012-06-15 Andreas Jaeger <aj@suse.de>
19237
19238 * manual/contrib.texi (Contributors): Update entry of Liubov
19239 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19240 Machado Filho.
19241
a3aeac40
CH
192422012-06-15 Cyril Hrubis <metan@ucw.cz>
19243
19244 * string/string.h: Add __wur to GNU version of strerror_r.
19245
49bdf4c1
L
192462012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19247
19248 [BZ #14229]
19249 * string/Makefile (tests): Add tst-strtok_r.
19250 * string/tst-strtok_r.c: New file.
19251 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19252 RAX_LP/RDX_LP on SAVE_PTR.
19253
834f9b8d
RM
192542012-06-14 Roland McGrath <roland@hack.frob.com>
19255
19256 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19257
75fa1921
JM
192582012-06-14 Joseph Myers <joseph@codesourcery.com>
19259
19260 * libm_test.inc (csqrt_test): Allow more spurious underflow
19261 exceptions.
19262 (j0_test): Likewise.
19263 (j1_test): Likewise.
19264 (y0_test): Likewise.
19265 (y1_test): Likewise.
19266
771766df
CD
192672012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19268
19269 * po/Makefile (libc.pot): Use UTF-8 charset.
19270
ceb9e56b
PP
192712012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19272
19273 [BZ #14210]
19274 Suppress sign-conversion warning from FD_SET.
19275 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19276 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19277 not unsigned long int.
19278 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19279
ddb28975
L
192802012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19281
19282 [BZ #14050]
19283 [BZ #14117]
19284 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19285 __extern_always_inline instead of __extern_inline.
19286 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19287 (__signbit): Likewise.
19288 (__signbitl): Support C++ namespace.
19289 (lrintf): New inline function.
19290 (lrint): Likewise.
19291 (llrintf): Likewise.
19292 (llrint): Likewise.
19293 (fmaxf): Likewise.
19294 (fmax): Likewise.
19295 (fminf): Likewise.
19296 (fmin): Likewise.
19297 (rint): Likewise.
19298 (rintf): Likewise.
19299 (ceil): Likewise.
19300 (ceilf): Likewise.
19301 (floor): Likewise.
19302 (floorf): Likewise.
19303 (nearbyint): Likewise.
19304 (nearbyintf): Likewise.
19305
d7b4fb26
TS
193062012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19307
19308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19309 non-default versions.
19310
eb55f5c2
RM
193112012-06-11 Roland McGrath <roland@hack.frob.com>
19312
19313 [BZ #14218]
19314 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19315
366af02c
TS
193162012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19317
99ff6e5c
TS
19318 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19319 (FE_UPWARD, FE_DOWNWARD): Don't define.
19320 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19321 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19322
366af02c
TS
19323 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19324 reading it.
19325 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19326 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19327
793ea851
KK
193282012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19329
19330 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19332 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19333 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19334
a728a38f
L
193352012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19336
19337 [BZ #14117]
c08010c7
L
19338 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19339 * sysdeps/i386/fpu/Implies: New file.
19340 * sysdeps/x86_64/fpu/Implies: Likewise.
19341 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19342 * sysdeps/x86/fpu/bits/fenv.h: This.
19343
a728a38f
L
19344 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19345 __SSE_MATH__.
19346
6e230d11
SP
193472012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19348
19349 [BZ #14134]
19350 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19351 character 0xffff that matches the last element of the
19352 conversion table.
19353
1b671feb
AZ
193542012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19355
19356 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19357 fmodl commit.
19358
6043738b
AZ
193592012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19360
19361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19362 values higher than 25.6283.
19363
34ae0b32
AZ
193642012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19365
19366 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19367 subnormal exponent extraction and add some __builtin_expect.
19368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19369 Fix for subnormal mantissa calculation.
19370
1214ec8f
MF
193712012-06-04 Mike Frysinger <vapier@gentoo.org>
19372
19373 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19374 cpu2 is -1 and errno is not ENOSYS.
19375
f3d1f93c
L
193762012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19377
19378 [BZ #14117]
0e4a3cd7
L
19379 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19380 * sysdeps/x86/bits/string.h: This.
19381 * sysdeps/x86_64/bits/string.h: Removed.
19382
6704c645
L
19383 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19384 if not compiling for x86-64, but compiling for >= i486.
19385
48495318
L
19386 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19387 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19388
14adcbfc
L
19389 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19390 New macro from Linux kernel 3.4.0.
19391 (FP_XSTATE_MAGIC2): Likewise.
19392 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19393 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19394 (struct _fpx_sw_bytes): New struct.
19395 (struct _xsave_hdr): Likewise.
19396 (struct _ymmh_state): Likewise.
19397 (struct _xstate): Likewise.
19398
68e408ab
L
19399 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19400 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19402 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19403 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19404 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19405
f3d1f93c
L
19406 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19407 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19408 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19409 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19410 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19411 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19412
d9dc34cd
TMQMF
194132012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19414
19415 [BZ #13743]
19416 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19417 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19418 (sysdep_headers): Include sys/platform/ppc.h.
19419 * sysdeps/powerpc/test-gettimebase.c: Test for
19420 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19421 * manual/Makefile (appendices): Include platform.texi.
19422 * manual/contrib.texi (Contributors): Update @node pointers.
19423 * manual/maint.texi (Maintenance): Likewise.
19424 (Platform): New node.
19425 * manual/platform.texi: New file. Document the new features.
19426
4af3879c
SP
194272012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19428 Jakub Jelinek <jakub@redhat.com>
19429
19430 [BZ #14188]
19431 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19432 where __builtin_expect is unavailable.
19433
2fd6ff13
DM
194342012-06-03 David S. Miller <davem@davemloft.net>
19435
19436 * stdlib/longlong.h: Updated from GCC.
19437
173f7220
AS
194382012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19439
19440 [BZ #14042]
19441 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19442 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19443 __mcount_internal.
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19445 (GLIBC_2.16): Likewise.
19446
f34a1c6f
L
194472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19448
19449 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19450
88a4576f
JM
194512012-06-01 Joseph Myers <joseph@codesourcery.com>
19452
ea32bcdd
JM
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19454 (default-abi): New variable.
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19456 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19457 variable.
19458 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19459 Likewise.
19460 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19461 Likewise.
19462 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19463 Likewise.
19464
88a4576f
JM
19465 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19466 definition. Document in comment.
19467
402fe938
DM
194682012-06-01 David S. Miller <davem@davemloft.net>
19469
19470 * stdlib/longlong.h: Updated from GCC.
19471
3553723f
L
194722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19473
19474 [BZ #14117]
3bd872c4
L
19475 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19476 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19477 sys/debugreg.h sys/io.h here.
19478 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19479 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19480 sys/io.h.
19481 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19482 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19483 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19484 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19485 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19486 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19487
3553723f
L
19488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19489 Define only if __x86_64__ is defined.
19490
4842e4fe
JM
194912012-06-01 Joseph Myers <joseph@codesourcery.com>
19492
c5bfe3d5
JM
19493 [BZ #14048]
19494 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19495 Use int64_t for variable i.
19496 * math/libm-test.inc (fmod_test): Add more tests.
19497
4842e4fe
JM
19498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19499 z computation is not scheduled after fetestexcept.
19500 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19501 Use math_force_eval instead of asm to ensure calculation scheduled
19502 before exception test.
19503 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19504 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19505
efb73488
AJ
195062012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19507
19508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19509 computation is not scheduled after fetestexcept.
19510
29bcce7c
L
195112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19512
19513 [BZ #14117]
19514 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19515 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19516
73a68f94
AZ
195172012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19518
19519 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19520 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19521
67b6df78
L
195222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19523
edf2933a 19524 [BZ #14117]
ebc64a18
L
19525 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19526 <bits/wordsize.h>.
19527 (__WCHAR_MIN): Support __WORDSIZE == 64.
19528 (__WCHAR_MAX): Likewise.
19529
edf2933a
L
19530 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19532
57c6cf40
L
19533 [BZ #14183]
19534 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19535 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19536
67b6df78 19537 [BZ #14117]
8eb6281e
L
19538 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19539 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19540
aac639f4
L
19541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19542 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19543
67b6df78
L
19544 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19545 Defined to 1 if __x86_64__ isn't defined.
19546 (_STAT_VER_LINUX_OLD): New.
19547 (st_atime): Remove duplicate.
19548 (st_mtime): Likewise.
19549 (st_ctime): Likewise.
19550
1c2cfe81
DM
195512012-05-31 David S. Miller <davem@davemloft.net>
19552
19553 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19554 entries.
19555
5be8418c
AS
195562012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19557
e7725326
AS
19558 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19559 gen-libm-test.pl.
19560
5be8418c
AS
19561 [BZ #14132]
19562 * elf/dl-reloc.c: Include <_itoa.h>.
19563 (_dl_reloc_bad_type): Remove use of INTUSE.
19564 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19565 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19566 * stdio-common/psiginfo.c (psiginfo): Likewise.
19567 * stdio-common/psignal.c (psignal): Likewise.
19568 * string/strsignal.c (strsignal): Likewise.
19569 * include/signal.h (_sys_siglist): Declare hidden proto.
19570 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19571 INTVARDEF with libc_hidden_data_def.
19572 * stdio-common/itoa-udigits.c: Likewise.
19573 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19574 (_itoa_lower_digits_internal): Remove declaration.
19575 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19576 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19577 (_sys_sigabbrev_internal): Remove aliases.
19578 (_sys_siglist): Define hidden alias.
19579
507352f1
MT
195802012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19581
19582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19583 bits/sysctl.h.
19584
42bbb1c3
L
195852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19586
19587 [BZ #14117]
6bd784b6
L
19588 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19589 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19590
8bca20f0
L
19591 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19592 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19593 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19594 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19595 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19596 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19597
f9e890a9
L
19598 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19599 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19600 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19601
471101a1
L
19602 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19603 with __addr.
19604 (insw): Likewise.
19605 (insl): Likewise.
19606 (outsb): Likewise.
19607 (outsw): Likewise.
19608 (outsl): Likewise.
19609
6451c862
L
19610 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19612 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19613
a254b8c9
L
19614 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19615 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19616 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19617 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19618 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19619 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19620
b8dfdd92
L
19621 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19622 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19623
578cd270
L
19624 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19625 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19626
de662f5f
L
19627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19629 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19630
25653439
L
19631 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19632 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19633 to ...
19634 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19635
6bad24a0
L
19636 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19637 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19638 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19639
42bbb1c3
L
19640 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19641 for x86-64.
19642 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19643
2d10d547
JM
196442012-05-31 Joseph Myers <joseph@codesourcery.com>
19645
19646 * math/math.h (M_El): Use two more decimal places.
19647 (M_LOG2El): Likewise.
19648 (M_LOG10El): Likewise.
19649 (M_LN2l): Likewise.
19650 (M_LN10l): Likewise.
19651 (M_PIl): Likewise.
19652 (M_PI_2l): Likewise.
19653 (M_PI_4l): Likewise.
19654 (M_1_PIl): Likewise.
19655 (M_2_PIl): Likewise.
19656 (M_2_SQRTPIl): Likewise.
19657 (M_SQRT2l): Likewise.
19658 (M_SQRT1_2l): Likewise.
19659
f230c29b
DM
196602012-05-31 David S. Miller <davem@davemloft.net>
19661
19662 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19663 values between float registers.
19664 * sysdeps/sparc/sparc64/memset.S: Likewise.
19665 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19666
fed806c3
MF
196672012-05-31 Mike Frysinger <vapier@gentoo.org>
19668
19669 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19670 -D_FORTIFY_SOURCE=1.
19671 (CPPFLAGS-tst-longjmp_chk.c): Define.
19672 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19673 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19674 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19675 CFLAGS-tst-wchar-h.c.
19676
30917259
MP
196772012-05-31 Marek Polacek <polacek@redhat.com>
19678
19679 [BZ #14132]
19680 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19681 __endmntent_internal): Remove declaration.
19682 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19683 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19684 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19685
1c58d5dc
DM
196862012-05-30 David S. Miller <davem@davemloft.net>
19687
19688 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19689 (___Q_simulate_exceptions): Use real FP ops rather than writing
19690 into the %fsr.
19691 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19692 Likewise.
19693
7dc00e0d
L
196942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19695
19696 [BZ #14117]
0bd53985
L
19697 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19698 * sysdeps/x86/bits/xtitypes.h: This.
19699
3a257e66
L
19700 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19701 * sysdeps/x86/bits/wordsize.h: This.
19702
62f62904
L
19703 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19704 * sysdeps/x86/bits/huge_vall.h: This.
19705
404fe9d9
L
19706 * sysdeps/i386/bits/select.h: Removed.
19707 * sysdeps/x86_64/bits/select.h: Renamed to ...
19708 * sysdeps/x86/bits/select.h: This.
19709
d48d0446
L
19710 * sysdeps/i386/bits/setjmp.h: Removed.
19711 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19712 * sysdeps/x86/bits/setjmp.h: This.
19713
7dc00e0d
L
19714 * sysdeps/i386/bits/mathdef.h: Removed.
19715 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19716 * sysdeps/x86/bits/mathdef.h: This.
19717
03277f8f
AS
197182012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19719
19720 [BZ #14132]
19721 * include/sys/socket.h (__connect_internal)
19722 (__libc_sa_len_internal): Remove declaration.
19723 (__connect, __libc_sa_len): Declare hidden_proto.
19724 (SA_LEN): Remove use of INTUSE.
19725 * socket/connect.c: Add libc_hidden_def.
19726 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19727 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19728 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19729 alias.
19730 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19731 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19732 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19733 of adding _internal alias.
19734
13764867
L
197352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19736
19737 [BZ #14117]
6bd97696
L
19738 * sysdeps/i386/bits/link.h: Removed.
19739 * sysdeps/i386/bits/linkmap.h: Likewise.
19740 * sysdeps/x86_64/bits/link.h: Renamed to ...
19741 * sysdeps/x86/bits/link.h: This.
19742 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19743 * sysdeps/x86/bits/linkmap.h: This.
19744
f726f0bb
L
19745 * sysdeps/i386/bits/endian.h: Removed.
19746 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19747 * sysdeps/x86/bits/endian.h: This.
19748
13764867
L
19749 * sysdeps/i386/bits/byteswap.h: Removed.
19750 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19751 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19752 * sysdeps/x86/bits/byteswap.h: This.
19753 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19754 * sysdeps/x86/bits/byteswap-16.h: This.
19755 * sysdeps/i386/Implies: Add x86.
19756 * sysdeps/x86_64/Implies: Likewise.
19757
ae251b0b
DM
197582012-05-30 David S. Miller <davem@davemloft.net>
19759
19760 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19761 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19763 (FP_TRAPPING_EXCEPTIONS): Define.
19764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19765 (FP_TRAPPING_EXCEPTIONS): Define.
19766 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19767 subnormals only when inexact has been signalled or underflow
19768 exceptions are enabled.
19769 (_FP_PACK_CANONICAL): Likewise.
19770
d5c90867
L
197712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19772
19773 [BZ #14183]
19774 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19775 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19776
63f1549e
RH
197772012-05-30 Richard Henderson <rth@twiddle.net>
19778
8d8f2279
RH
19779 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19780 with #ifndef NOT_IN_libc.
19781
63f1549e
RH
19782 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19783 marked to avoid plt entry.
19784
0ab0291b
L
197852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19786
19787 [BZ #14112]
19788 * Makeconfig (default-abi): New macro.
19789 (abi-includes): Likewise.
19790 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19791 $(abi-$(default-abi)-lib-soname) for soname if defined.
19792 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19793 abi-variants.
19794 * Makefile (installed-stubs): Likewise.
19795 * include/stubs-biarch.h: Removed.
19796 * scripts/lib-names.awk: Only handle one library at a time.
19797 * scripts/soversions.awk: Remove WORDSIZE support.
19798 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19799 entries.
19800 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19801 Removed.
19802 (syscall-list-default-condition): Likewise.
19803 (syscall-list-default-condition): Likewise.
19804 (syscall-list-includes): Likewise.
19805 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19806 syscall-list-* with abi-*. Handle undefined abi-variants.
19807 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19808 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19809 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19810 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19811 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19812 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19813 Removed.
19814 (syscall-list-32-options): Likewise.
19815 (syscall-list-32-condition): Likewise.
19816 (syscall-list-64-options): Likewise.
19817 (syscall-list-64-condition): Likewise.
19818 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19819 macro.
19820 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19821 Renamed to ...
19822 (abi-*): This.
19823 (abi-64-ld-soname): New macro.
19824 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19825 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19826 Renamed to ...
19827 (abi-*): This.
19828 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19829 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19830
4da0431d
JM
198312012-05-30 Joseph Myers <joseph@codesourcery.com>
19832
3a85279c
JM
19833 * sysdeps/unix/sysv/linux/kernel-features.h
19834 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19835 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19836 include <kernel-features.h>.
19837 [!__NR_ftruncate64]: Remove conditional code.
19838 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19839 [__NR_ftruncate64]: Make code unconditional.
19840 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19841 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19842 include <kernel-features.h>.
19843 [!__NR_ftruncate64]: Remove conditional code.
19844 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19845 [__NR_ftruncate64]: Make code unconditional.
19846 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19848 include <kernel-features.h>.
19849 [!__NR_ftruncate64]: Remove conditional code.
19850 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19851 [__NR_ftruncate64]: Make code unconditional.
19852 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19854 include <kernel-features.h>.
19855 [!__NR_ftruncate64]: Remove conditional code.
19856 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19857 [__NR_ftruncate64]: Make code unconditional.
19858 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19859
4da0431d
JM
19860 * configure.in (libc_cv_fpie): Weaken to a compile test using
19861 LIBC_TRY_CC_OPTION.
19862 * configure: Regenerated.
19863
11ef492c
AK
198642012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19865
19866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19870 Refreshed.
19871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19877 Refreshed.
19878
d66ef399
DM
198792012-05-27 David S. Miller <davem@davemloft.net>
19880
19881 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19882 (___Q_zero): New.
19883 (__Q_simulate_exceptions): Return void. Change to simulate
19884 exceptions by writing into the %fsr.
19885 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19886 (__Qp_handle_exceptions): Likewise.
19887 (numbers): Delete.
19888 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19889 __Qp_handle_exceptions.
19890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19891 __Qp_handle_exceptions.
19892 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19893 as unused and give dummy FP_RND_NEAREST initializer.
19894 (FP_INHIBIT_RESULTS): Define.
19895 (___Q_simulate_exceptions): Update declaration.
19896 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19897 formatting.
19898 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19899 as unused and give dummy FP_RND_NEAREST initializer.
19900 (__Qp_handle_exceptions): Update declaration.
19901 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19902 formatting.
19903
04fb54b5
TS
199042012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19905
19906 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19907 the temporary FPU control word.
19908 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19909 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19910 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19911 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19912 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19913 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19914 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19916 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19917 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19918 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19919
3f99608f
KK
199202012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19921
19922 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19923 fields.
19924
65a4de4e
CLT
199252012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19926
19927 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19928 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19929 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19930 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19931 Likewise.
19932 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19933 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19934 Likewise.
19935
15749d40
UD
199362012-05-27 Ulrich Drepper <drepper@gmail.com>
19937
19938 * po/h.po: Update from translation team.
19939
25dbcb27
AS
199402012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19941
3d3f8e55
AS
19942 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19943
25dbcb27
AS
19944 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19945 handling of denormals.
19946 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19947 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19948 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19949 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19953 Likewise.
19954
7ad47a80 199552012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19956
19957 [BZ #14152]
19958 * math/libm-test.inc (fma_test): Don't always expect underflow
19959 exception.
19960
9c6ea9fa
SP
199612012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19962
19963 [BZ #12416]
19964 * elf/tst-execstack.c: Include stackinfo.h.
19965 (do_test): Adjust test case to ensure that pthread_getattr_np
19966 behaviour remains the same after marking stack executable.
19967
a8239222
JM
199682012-05-25 Joseph Myers <joseph@codesourcery.com>
19969
19970 * sysdeps/unix/sysv/linux/kernel-features.h
19971 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19972 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19973 kernel-features.h.
19974 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19975 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19976 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19977 kernel-features.h.
19978 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19979 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19980
918b5606
L
199812012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19982
19983 * configure.in: Define the default includes to being none.
19984 * configure: Regenerated.
19985
3a097cc7
RM
199862012-05-25 Roland McGrath <roland@hack.frob.com>
19987
8422c9a5
RM
19988 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19989 * sysdeps/x86_64/setjmp.S: Likewise.
19990 * sysdeps/i386/bsd-setjmp.S: Likewise.
19991 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19992 * sysdeps/i386/setjmp.S: Likewise.
19993 * sysdeps/i386/__longjmp.S: Likewise.
19994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19995 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19996
3a097cc7
RM
19997 * include/stap-probe.h: New file.
19998 * configure.in: Handle --enable-systemtap.
19999 * configure: Regenerated.
20000 * config.h.in (USE_STAP_PROBE): New #undef.
20001 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20002 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20003 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20004
21708942
JM
200052012-05-25 Joseph Myers <joseph@codesourcery.com>
20006
20007 [BZ #13717]
20008 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20009 to 2.4.0 where earlier.
20010 * sysdeps/unix/sysv/linux/configure: Regenerated.
20011 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20012 <kernel-features.h>.
20013 [__ASSUME_32BITUIDS]: Make code unconditional.
20014 [!__ASSUME_32BITUIDS]: Remove conditional code.
20015 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20016 <kernel-features.h>.
20017 [__ASSUME_32BITUIDS]: Make code unconditional.
20018 [!__ASSUME_32BITUIDS]: Remove conditional code.
20019 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20020 [__ASSUME_32BITUIDS]: Make code unconditional.
20021 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20022 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20023 <kernel-features.h>.
20024 [__ASSUME_32BITUIDS]: Make code unconditional.
20025 [!__ASSUME_32BITUIDS]: Remove conditional code.
20026 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20027 <kernel-features.h>.
20028 [__ASSUME_32BITUIDS]: Make code unconditional.
20029 [!__ASSUME_32BITUIDS]: Remove conditional code.
20030 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20031 <kernel-features.h>.
20032 [__ASSUME_32BITUIDS]: Make code unconditional.
20033 [!__ASSUME_32BITUIDS]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20035 <kernel-features.h>.
20036 [__ASSUME_32BITUIDS]: Make code unconditional.
20037 [!__ASSUME_32BITUIDS]: Remove conditional code.
20038 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20039 <kernel-features.h>.
20040 [__ASSUME_32BITUIDS]: Make code unconditional.
20041 [!__ASSUME_32BITUIDS]: Remove conditional code.
20042 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20043 <kernel-features.h>.
20044 [__ASSUME_32BITUIDS]: Make code unconditional.
20045 [!__ASSUME_32BITUIDS]: Remove conditional code.
20046 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20047 <kernel-features.h>.
20048 [__ASSUME_32BITUIDS]: Make code unconditional.
20049 [!__ASSUME_32BITUIDS]: Remove conditional code.
20050 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20051 <kernel-features.h>.
20052 [__ASSUME_32BITUIDS]: Make code unconditional.
20053 [!__ASSUME_32BITUIDS]: Remove conditional code.
20054 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20055 <kernel-features.h>.
20056 [__ASSUME_32BITUIDS]: Make code unconditional.
20057 [!__ASSUME_32BITUIDS]: Remove conditional code.
20058 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20059 <kernel-features.h>.
20060 [__ASSUME_32BITUIDS]: Make code unconditional.
20061 [!__ASSUME_32BITUIDS]: Remove conditional code.
20062 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20063 <kernel-features.h>.
20064 [__NR_setresgid] (__setresgid): Do not declare.
20065 [__ASSUME_32BITUIDS]: Make code unconditional.
20066 [!__ASSUME_32BITUIDS]: Remove conditional code.
20067 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20068 <kernel-features.h>.
20069 [__NR_setresuid] (__setresuid): Do not declare.
20070 [__ASSUME_32BITUIDS]: Make code unconditional.
20071 [!__ASSUME_32BITUIDS]: Remove conditional code.
20072 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20073 <kernel-features.h>.
20074 [__ASSUME_32BITUIDS]: Make code unconditional.
20075 [!__ASSUME_32BITUIDS]: Remove conditional code.
20076 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20077 <kernel-features.h>.
20078 [__ASSUME_32BITUIDS]: Make code unconditional.
20079 [!__ASSUME_32BITUIDS]: Remove conditional code.
20080 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20081 <kernel-features.h>.
20082 [__ASSUME_32BITUIDS]: Make code unconditional.
20083 [!__ASSUME_32BITUIDS]: Remove conditional code.
20084 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20085 <kernel-features.h>.
20086 [__ASSUME_32BITUIDS]: Make code unconditional.
20087 [!__ASSUME_32BITUIDS]: Remove conditional code.
20088 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20089 <kernel-features.h>.
20090 [__ASSUME_32BITUIDS]: Make code unconditional.
20091 [!__ASSUME_32BITUIDS]: Remove conditional code.
20092 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20093 <kernel-features.h>.
20094 [__ASSUME_32BITUIDS]: Make code unconditional.
20095 [!__ASSUME_32BITUIDS]: Remove conditional code.
20096 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20097 <kernel-features.h>.
20098 [__ASSUME_32BITUIDS]: Make code unconditional.
20099 [!__ASSUME_32BITUIDS]: Remove conditional code.
20100 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20101 <kernel-features.h>.
20102 [__ASSUME_32BITUIDS]: Make code unconditional.
20103 [!__ASSUME_32BITUIDS]: Remove conditional code.
20104 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20105 <kernel-features.h>.
20106 [__ASSUME_32BITUIDS]: Make code unconditional.
20107 [!__ASSUME_32BITUIDS]: Remove conditional code.
20108 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20109 <kernel-features.h>.
20110 [__ASSUME_32BITUIDS]: Make code unconditional.
20111 [!__ASSUME_32BITUIDS]: Remove conditional code.
20112 * sysdeps/unix/sysv/linux/kernel-features.h
20113 (__ASSUME_SETRESUID_SYSCALL): Remove.
20114 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20115 (__ASSUME_32BITUIDS): Likewise.
20116 (__ASSUME_LDT_WORKS): Likewise.
20117 (__ASSUME_O_DIRECTORY): Likewise.
20118 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20119 architecture but not kernel version.
20120 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20121 (__ASSUME_MMAP2_SYSCALL): Likewise.
20122 (__ASSUME_STAT64_SYSCALL): Likewise.
20123 (__ASSUME_IPC64): Likewise.
20124 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20125 <kernel-features.h>.
20126 [__ASSUME_32BITUIDS]: Make code unconditional.
20127 [!__ASSUME_32BITUIDS]: Remove conditional code.
20128 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20129 <kernel-features.h>.
20130 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20131 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20132 132096]: Remove conditional code.
20133 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20134 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20135 <kernel-features.h>.
20136 [__ASSUME_32BITUIDS]: Make code unconditional.
20137 [!__ASSUME_32BITUIDS]: Remove conditional code.
20138 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20139 <kernel-features.h>.
20140 [__ASSUME_32BITUIDS]: Make code unconditional.
20141 [!__ASSUME_32BITUIDS]: Remove conditional code.
20142 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20143 <kernel-features.h>.
20144 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20145 unconditional.
20146 (__setresgid): Do not declare.
20147 [__ASSUME_32BITUIDS]: Make code unconditional.
20148 [!__ASSUME_32BITUIDS]: Remove conditional code.
20149 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20150 <kernel-features.h>.
20151 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20152 unconditional.
20153 (__setresuid): Do not declare.
20154 [__ASSUME_32BITUIDS]: Make code unconditional.
20155 [!__ASSUME_32BITUIDS]: Remove conditional code.
20156 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20157 <kernel-features.h>.
20158 [__ASSUME_32BITUIDS]: Make code unconditional.
20159 [!__ASSUME_32BITUIDS]: Remove conditional code.
20160 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20161 <kernel-features.h>.
20162 [__ASSUME_32BITUIDS]: Make code unconditional.
20163 [!__ASSUME_32BITUIDS]: Remove conditional code.
20164
a386f1cc
RH
201652012-05-25 Richard Henderson <rth@twiddle.net>
20166
20167 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20168 dl_hwcap to ifunc resolver.
20169 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20170 elf_ifunc_invoke.
20171 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20172 dl_hwcap to ifunc resolver.
20173 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20174
b6550497
JM
201752012-05-24 Joseph Myers <joseph@codesourcery.com>
20176
20177 [BZ #14153]
20178 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20179 for |x| <= 2**-26, not 2**-57.
20180 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20181 exception.
20182
b0bc23a1
JL
201832012-05-24 Jeff Law <law@redhat.com>
20184
20185 * stdio-common/Makefile (tests): Add bug25.
20186 * stdio-common/bug25.c: New test.
20187
347c92e9
L
201882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20189
20190 [BZ #13576]
20191 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20192 multiple of MALLOC_ALIGNMENT in size.
20193 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20194
6bcc8b3f
JM
201952012-05-24 Joseph Myers <joseph@codesourcery.com>
20196
20197 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20198 Require >= 256.
20199 (FILENAME_MAX): Use macro-int-constant.
20200 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20201 (_IOFBF): Use macro-int-constant.
20202 (_IOLBF): Likewise.
20203 (_IONBF): Likewise.
20204 (SEEK_CUR): Likewise.
20205 (SEEK_END): Likewise.
20206 (SEEK_SET): Likewise.
20207 (TMP_MAX): Likewise.
20208 (EOF): Use macro-int-constant. Require < 0.
20209 (NULL): Use macro-constant. Require == 0.
20210 (stdin): Require type to be FILE *.
20211 (stdout): Likewise.
20212 (stderr): Likewise.
20213 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20214 macro-int-constant.
20215 (EXIT_SUCCESS): Likewise.
20216 (NULL): Use macro-constant. Require == 0.
20217 (RAND_MAX): Use macro-int-constant.
20218 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20219 [C99-based standards] (strtof): Require function.
20220 [C99-based standards] (strtold): Likewise.
20221 [C99-based standards] (strtoll): Likewise.
20222 [C99-based standards] (strtoull): Likewise.
20223 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20224 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20225 [ISO || ISO99 || ISO11] (math.h): Likewise.
20226 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20227 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20229
d18ea0c5
AS
202302012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20231
20232 [BZ #14132]
56d25bb8
AS
20233 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20234 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20235 * intl/dgettext.c (DCGETTEXT): Likewise.
20236 * intl/gettext.c (DCGETTEXT): Likewise.
20237 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20238 * posix/regex_internal.h (gettext): Likewise.
20239 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20240 Remove declaration.
20241 * include/argz.h (__argz_count_internal)
20242 (__argz_stringify_internal): Remove declaration.
20243 (__argz_count, __argz_stringify): Declare hidden proto.
20244 * intl/dcgettext.c: Remove use of INTDEF.
20245 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20246 * string/argz-stringify.c: Likewise.
20247 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20248 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20249 Declare hidden proto.
d18ea0c5
AS
20250 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20251 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20252 Declare hidden proto.
20253 * include/stdio.h (__asprintf_internal): Don't declare.
20254 (__asprintf): Don't define as macro. Declare hidden proto.
20255 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20256 (__fsetlocking): Declare hidden proto.
20257 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20258 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20259 hidden proto.
20260 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20261 (_IO_setlinebuf): Remove use of INTUSE.
20262 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20263 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20264 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20265 Remove declaration.
20266 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20267 (_IO_do_flush): Remove use of INTUSE.
20268 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20269 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20270 (_IO_adjust_column, _IO_least_wmarker)
20271 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20272 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20273 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20274 (_IO_default_doallocate, _IO_wdefault_doallocate)
20275 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20276 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20277 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20278 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20279 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20280 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20281 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20282 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20283 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20284 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20285 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20286 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20287 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20288 proto.
20289 (_IO_flush_all_internal, _IO_adjust_column_internal)
20290 (_IO_default_uflow_internal, _IO_default_finish_internal)
20291 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20292 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20293 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20294 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20295 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20296 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20297 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20298 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20299 (_IO_file_close_internal, _IO_file_close_it_internal)
20300 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20301 (_IO_file_init_internal, _IO_file_attach_internal)
20302 (_IO_file_fopen_internal, _IO_file_read_internal)
20303 (_IO_file_sync_internal, _IO_file_seek_internal)
20304 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20305 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20306 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20307 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20308 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20309 (_IO_list_all_internal, _IO_link_in_internal)
20310 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20311 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20312 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20313 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20314 (_IO_do_write_internal, _IO_padn_internal)
20315 (_IO_getline_info_internal, _IO_getline_internal)
20316 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20317 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20318 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20319 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20320 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20321 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20322 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20323 with libc_hidden_ver, remove use of INTUSE.
20324 * libio/genops.c: Likewise.
20325 * libio/freopen.c: Likewise.
20326 * libio/freopen64.c: Likewise.
20327 * libio/iofclose.c: Likewise.
20328 * libio/iofdopen.c: Likewise.
20329 * libio/iofflush.c: Likewise.
20330 * libio/iofflush_u.c: Likewise.
20331 * libio/iofgets.c: Likewise.
20332 * libio/iofgets_u.c: Likewise.
20333 * libio/iofopen.c: Likewise.
20334 * libio/iofopncook.c: Likewise.
20335 * libio/iofread.c: Likewise.
20336 * libio/iofread_u.c: Likewise.
20337 * libio/ioftell.c: Likewise.
20338 * libio/iofwrite.c: Likewise.
20339 * libio/iogetline.c: Likewise.
20340 * libio/iogets.c: Likewise.
20341 * libio/iogetwline.c: Likewise.
20342 * libio/iopadn.c: Likewise.
20343 * libio/iopopen.c: Likewise.
20344 * libio/ioseekoff.c: Likewise.
20345 * libio/ioseekpos.c: Likewise.
20346 * libio/iosetbuffer.c: Likewise.
20347 * libio/iosetvbuf.c: Likewise.
20348 * libio/ioungetc.c: Likewise.
20349 * libio/ioungetwc.c: Likewise.
20350 * libio/iovdprintf.c: Likewise.
20351 * libio/iovsprintf.c: Likewise.
20352 * libio/iovsscanf.c: Likewise.
20353 * libio/memstream.c: Likewise.
20354 * libio/obprintf.c: Likewise.
20355 * libio/oldfileops.c: Likewise.
20356 * libio/oldiofclose.c: Likewise.
20357 * libio/oldiofdopen.c: Likewise.
20358 * libio/oldiofopen.c: Likewise.
20359 * libio/oldiopopen.c: Likewise.
20360 * libio/oldstdfiles.c: Likewise.
20361 * libio/putc.c: Likewise.
20362 * libio/setbuf.c: Likewise.
20363 * libio/setlinebuf.c: Likewise.
20364 * libio/stdfiles.c: Likewise.
20365 * libio/strops.c: Likewise.
20366 * libio/vasprintf.c: Likewise.
20367 * libio/vscanf.c: Likewise.
20368 * libio/vsnprintf.c: Likewise.
20369 * libio/vswprintf.c: Likewise.
20370 * libio/wfiledoalloc.c: Likewise.
20371 * libio/wfileops.c: Likewise.
20372 * libio/wgenops.c: Likewise.
20373 * libio/wmemstream.c: Likewise.
20374 * libio/wstrops.c: Likewise.
20375 * libio/__fpurge.c: Likewise.
20376 * libio/__fsetlocking.c: Likewise.
20377 * assert/assert.c: Likewise.
20378 * debug/fgets_chk.c: Likewise.
20379 * debug/fgets_u_chk.c: Likewise.
20380 * debug/fread_chk.c: Likewise.
20381 * debug/fread_u_chk.c: Likewise.
20382 * debug/gets_chk.c: Likewise.
20383 * debug/obprintf_chk.c: Likewise.
20384 * debug/vasprintf_chk.c: Likewise.
20385 * debug/vdprintf_chk.c: Likewise.
20386 * debug/vsnprintf_chk.c: Likewise.
20387 * debug/vsprintf_chk.c: Likewise.
20388 * malloc/mtrace.c: Likewise.
20389 * misc/error.c: Likewise.
20390 * misc/syslog.c: Likewise.
20391 * stdio-common/asprintf.c: Likewise.
20392 * stdio-common/fxprintf.c: Likewise.
20393 * stdio-common/getw.c: Likewise.
20394 * stdio-common/isoc99_fscanf.c: Likewise.
20395 * stdio-common/isoc99_scanf.c: Likewise.
20396 * stdio-common/isoc99_vfscanf.c: Likewise.
20397 * stdio-common/isoc99_vscanf.c: Likewise.
20398 * stdio-common/isoc99_vsscanf.c: Likewise.
20399 * stdio-common/printf-prs.c: Likewise.
20400 * stdio-common/printf_fp.c: Likewise.
20401 * stdio-common/printf_fphex.c: Likewise.
20402 * stdio-common/printf_size.c: Likewise.
20403 * stdio-common/putw.c: Likewise.
20404 * stdio-common/scanf.c: Likewise.
20405 * stdio-common/sprintf.c: Likewise.
20406 * stdio-common/tmpfile.c: Likewise.
20407 * stdio-common/vfprintf.c: Likewise.
20408 * stdio-common/vfscanf.c: Likewise.
20409 * stdlib/strfmon_l.c: Likewise.
20410 * sunrpc/openchild.c: Likewise.
20411 * sunrpc/xdr_stdio.c: Likewise.
20412 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20413 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20414
d6c33fda
RM
204152012-05-24 Roland McGrath <roland@hack.frob.com>
20416
c1487492
RM
20417 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20418
20419 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20420 in the third column, to generate for the shared library an IFUNC
20421 that uses _dl_vdso_vsym.
20422 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20423 * Makeconfig (object-suffixes-noshared): New variable.
20424
20425 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20426 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20427 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20428 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20429
d6c33fda
RM
20430 [BZ #14132]
20431 * include/sys/time.h (__gettimeofday): Remove macro.
20432 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20433 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20434 Remove INTDEF.
20435 (__gettimeofday): Add libc_hidden_def.
20436 (gettimeofday): Add libc_hidden_weak.
20437 * sysdeps/mach/gettimeofday.c: Likewise.
20438 * sysdeps/posix/gettimeofday.c: Likewise.
20439 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20440 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20442 (__gettimeofday_internal): Remove strong_alias.
20443 (__gettimeofday): Add libc_hidden_def.
20444 (gettimeofday): Add libc_hidden_weak.
20445 * sysdeps/unix/syscalls.list (gettimeofday):
20446 Remove __gettimeofday_internal alias.
20447
b5a2bbe6
L
204482012-05-24 Daniel Jacobowitz <drow@false.org>
20449 H.J. Lu <hongjiu.lu@intel.com>
20450
20451 [BZ #12495]
20452 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20453 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20454 (largebin_index_32_big): New.
20455 (largebin_index): Use it for 16-byte alignment.
20456 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20457 correction with front_misalign.
20458
cfba4fda
L
204592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20460
7f907421
L
20461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20463 Likewise.
20464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20465 Likewise.
20466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20467 Likewise.
20468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20469 Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20471 Likewise.
20472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20473 Likewise.
20474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20475 Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20477 Likewise.
20478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20479 Likewise.
20480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20481 Likewise.
20482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20483 Likewise.
20484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20485 Likewise.
20486
cfba4fda
L
20487 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20488 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20489
80bad0cc
JM
204902012-05-24 Joseph Myers <joseph@codesourcery.com>
20491
7a25eb06
JM
20492 [BZ #10846]
20493 [BZ #14036]
20494 * math/libm-test.inc (exp_test): Add test from bug 14036.
20495 (pow_test): Add test from bug 10846.
20496
795405f9
JM
20497 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20498 and other flags.
20499 (special_function): Do not include flags in test name.
20500 (parse_args): Likewise.
20501 * sysdeps/i386/fpu/libm-test-ulps: Update.
20502 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20503 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20504 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20506
80bad0cc
JM
20507 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20508 exceptions.
20509 * math/libm-test.inc ("Philosophy"): Update comment about
20510 exception testing.
20511 (UNDERFLOW_EXCEPTION): New macro.
20512 (UNDERFLOW_EXCEPTION_OK): Likewise.
20513 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20514 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20515 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20516 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20517 (INVALID_EXCEPTION_OK): Update value.
20518 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20519 (OVERFLOW_EXCEPTION_OK): Likewise.
20520 (IGNORE_ZERO_INF_SIGN): Likewise.
20521 (test_exceptions): Handle underflow exceptions.
20522 (acos_test): Update for underflow exception expectations.
20523 (cexp_test): Likewise.
20524 (clog_test): Likewise.
20525 (clog10_test): Likewise.
20526 (csqrt_test): Likewise.
20527 (ctan_test): Likewise.
20528 (ctanh_test): Likewise.
20529 (exp_test): Likewise.
20530 (exp10_test): Likewise.
20531 (exp2_test): Likewise.
20532 (expm1_test): Likewise.
20533 (fma_test): Likewise.
20534 (j0_test): Likewise.
20535 (jn_test): Likewise.
20536 (nexttoward_test): Likewise.
20537 (pow_test): Likewise.
20538 (scalbn_test): Likewise.
20539 (scalbln_test): Likewise.
20540 (tan_test): Likewise.
20541 (y1_test): Likewise.
20542 * sysdeps/i386/fpu/libm-test-ulps: Update.
20543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20544
9e0e3d0b
DM
205452012-05-23 David S. Miller <davem@davemloft.net>
20546
20547 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20548 (__libc_sigaction): Remove unused local variables.
20549
ccd0a08f
L
205502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20551
20552 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20553
62bdf9a6
PE
205542012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20555
f8591f80
PE
20556 mktime: avoid signed integer overflow
20557 * time/mktime.c (__mktime_internal): Do not mishandle the case
20558 where diff == INT_MIN.
20559
94c7d826
PE
20560 mktime: simplify computation of average
20561 * time/mktime.c (ranged_convert): Use new time_t_avg function
20562 instead of rolling our own (probably-slower) code.
20563
ce73d683
PE
20564 mktime: do not assume signed right shift propagates sign bit
20565 * time/mktime.c (isdst_differ): New static function.
20566 (__mktime_internal): No need to normalize tm_isdst now.
20567 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20568 tm_isdst values.
20569
72a22e59
PE
20570 mktime: merge another wrapv change from gnulib
20571 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20572 from some compilers.
20573
68605433
PE
20574 mktime: remove incorrect attempt at unusual arithmetics
20575 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20576 The code didn't really work on such machines anyway.
20577 (TYPE_MINIMUM): Assume two's complement.
20578 (twos_complement_arithmetic): Verify that long_int and time_t
20579 are two's complement (or unsigned, in the latter case).
20580
03cf7fe3
PE
20581 mktime: check signed shifts on long_int and time_t, too
20582 * time/mktime.c (SHR): Check that shifts work as desired
20583 on the types long_int and time_t too, as SHR is used on
20584 such types.
20585
f04dfbc2
PE
20586 mktime: do not assume 'long' is wide enough
20587 * time/mktime.c (verify): Move decl up.
20588 (long_int): New type.
20589 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20590 to remove assumption in the code that 'long' is wide enough to
20591 store year values. This assumption is not true on x32 and on
20592 some non-glibc platforms.
20593
62bdf9a6
PE
20594 mktime: merge wrapv change from gnulib
20595 * time/mktime.c (WRAPV): New macro.
20596 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20597 (guess_time_tm, __mktime_internal): Do not assume that signed
20598 integer overflow wraps around; modern compilers generate code
20599 where this assumption is no longer valid.
20600
5e292e4f
L
206012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20602
20603 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20604 Replace "jmp L(pseudo_end)" with "ret".
20605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20606 Likewise.
20607
8caf8c87
AJ
206082012-05-23 Andreas Jaeger <aj@suse.de>
20609
20610 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20611 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20612
1a09dc56
AJ
206132012-05-23 Andreas Jaeger <aj@suse.de>
20614 Maximilian Attems <max@stro.at>
20615
20616 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20617 New macros.
20618
1c87aba0
L
206192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20622 code so that pseudo_end is just ret and the stack pointer is
20623 correct also for static library in error case.
20624
40e45bd5
JM
206252012-05-23 Joseph Myers <joseph@codesourcery.com>
20626
c2670533
JM
20627 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20628 move to syscalls.list.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20633
40e45bd5
JM
20634 * manual/install.texi (Running make install): Do not mention Linux
20635 kernel version for which pt_chown is not needed.
20636 (Linux): Do not mention problems with nscd with 2.0 kernels.
20637 * INSTALL: Regenerated.
20638
be08eda5
AJ
206392012-05-23 Andreas Jaeger <aj@suse.de>
20640
20641 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20642 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20643 macro.
20644 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20646 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20647 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20648 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20649 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20652 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20653 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20654 * sysdeps/unix/sysv/linux/bits/in.h
20655 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20656
a6a056bb
RM
206572012-05-22 Roland McGrath <roland@hack.frob.com>
20658
20659 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20660 (PREPARE_VERSION): Just use assert instead, it will be elided
20661 under [NDEBUG] anyway.
20662
c9009328
L
206632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20664
20665 * sysdeps/unix/sysv/linux/Makefile: Include
20666 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20667 (sysdep_routines): Remove sysctl.
c9009328
L
20668 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20669 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20670 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20671 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20672 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20673
73338355
AJ
206742012-05-22 Andreas Jaeger <aj@suse.de>
20675
20676 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20677 that pseudo_end is just ret and the stack pointer is correct also
20678 for static library in error case.
20679
d44638b0
PP
206802012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20681
20682 [BZ #14122]
20683 * nss/nsswitch.c (defconfig_entries): New variable.
20684 (__nss_database_lookup): Don't leak defconfig entries.
20685 (nss_parse_service_list): Don't leak on error paths.
20686 (free_database_entries): New function.
20687 (free_defconfig): New function.
20688 (free_mem): Move common code to free_database_entries.
20689
31a39bd8
L
206902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20691
da0331a8
L
20692 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20693 Add arch_prctl.
20694 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20695
31a39bd8
L
20696 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20697 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20699 New macro.
20700 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20701 (INTERNAL_SYSCALL_TYPES): Likewise.
20702 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20703 (LOAD_REGS_TYPES_[1-6]): Likewise.
20704 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20705 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20706
45470df3
AZ
207072012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20708
20709 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20710 copysignl for GLIBC_2_0.
20711 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20712 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20714 logbl for GLIBC_2_0.
20715 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20716 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20717
98a61bcb
L
207182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20719
a4f6e481
L
20720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20721 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20722
f63d5db6
L
20723 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20724 Use "neg %eax".
20725
98a61bcb
L
20726 * time/mktime.c: Update copyright years.
20727
95770f14
PE
207282012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20729
6226efbd
PE
20730 mktime: merge comment-quoting-style change from gnulib
20731 * time/mktime.c: Quote 'like this' in comments.
20732 The GNU coding standards suggest that we no longer quote `like this',
20733 as "`" and "'" are typically rendered asymmetrically nowadays.
20734 The typical gnulib style is to quote 'like this' when quoting
20735 code, and "like this" when quoting English.
20736
b99e4f78
PE
20737 * time/mktime.c (compile-command): Add "-I.".
20738
643e01e6
PE
20739 mktime: merge mktime-internal.h change from gnulib
20740 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20741
2554247d
PE
20742 mktime: merge time_r change from gnulib
20743 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20744
826dd0ab
PE
20745 mktime: merge DEBUG change from gnulib
20746 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20747 case system <time.h> has a #define.
20748
bd83aabe
PE
20749 mktime: merge <sys/types.h> change from gnulib
20750 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20751 since <time.t> is now guaranteed to define time_t.
20752
95770f14
PE
20753 mktime: merge HAVE_CONFIG_H change from gnulib
20754 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20755
5e1a27a9
L
207562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20757
0e44a77e
L
20758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20759 Use "neg %eax".
20760
5e1a27a9
L
20761 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20762 __rlim_t cast.
20763 (struct rusage): Use anonymous union to pad each field to
20764 __syscall_slong_t.
20765
46259bec
DM
207662012-05-21 David S. Miller <davem@davemloft.net>
20767
20768 * Makefules (o-iterator): Remove .s cases.
20769 (compile-command.s): Delete.
20770 (COMPILE.s): Delete.
20771 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20772
59f0c22e
JM
207732012-05-21 Joseph Myers <joseph@codesourcery.com>
20774
20775 * configure.in (libc_cv_predef_stack_protector): Only consider
20776 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20777 * configure: Regenerated.
20778
20c07380
L
207792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20780
bbb3154b
L
20781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20782 New macro. Use R*LP on int and pointer.
20783 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20784 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20785 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20786 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20787
20c07380
L
20788 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20789 [__WORDSIZE_TIME64_COMPAT32] instead of
20790 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20791 (struct utmp): Likewise.
20792 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20793 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20794 Renamed to ...
20795 (__WORDSIZE_TIME64_COMPAT32): This.
20796 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20797 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20798 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20799 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20800 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20801 (__WORDSIZE_TIME64_COMPAT32): New macro.
20802
d8d1017e
AJ
208032012-05-21 Andreas Jaeger <aj@suse.de>
20804
20805 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20806 only if [SHARED]. Add prototype for __wcschr_ia32.
20807
6c7fb145
RM
208082012-05-21 Roland McGrath <roland@hack.frob.com>
20809
20810 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20811 of %rbp unmolested in the jmp_buf while mangling the low bits.
20812 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20813 unmolested high bits of %rbp while demangling the low bits.
20814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20815
66274218
AJ
208162012-05-21 Andreas Jaeger <aj@suse.de>
20817
07c58f8f
AJ
20818 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20819 * sunrpc/svc_simple.c: Use it for registerrpc.
20820 * sunrpc/xcrypt.c: Use it for passwd2des.
20821
66274218
AJ
20822 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20823
61f65140
L
208242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20825
20826 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20827 Don't define if [__SYSCALL_WORDSIZE != 32].
20828 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20829 New macro.
20830
5fefb436
AJ
208312012-05-21 Bruno Haible <bruno@clisp.org>
20832 Andreas Jaeger <aj@suse.de>
20833
20834 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20835 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20836 inptr and inend for must_buffer_ch.
20837 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20838 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20839 * stdio-common/Makefile (tests): Remove bug15.
20840 (bug15-ENV): Remove macro.
20841 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20842 anymore.
20843
d8e272ab
AJ
208442012-05-19 Andreas Jaeger <aj@suse.de>
20845 Roland McGrath <roland@hack.frob.com>
20846
20847 * manual/contrib.texi: Completely rewritten. It contains now an
20848 alphabetical list of contributors and their contributions.
20849
4a56a162
RH
208502012-05-21 Richard Henderson <rth@twiddle.net>
20851
20852 * misc/getauxval.c (__getauxval): Use unsigned long int.
20853 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20854 (getauxval): Use unsigned long int.
20855
d024d23c
L
208562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20857
20858 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20859
cbc00a03
RM
208602012-05-21 Roland McGrath <roland@hack.frob.com>
20861
20862 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20863 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20864 __alignof__ (long double).
20865
478143fa
AZ
208662012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20867
20868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20869
c7683a6d
RH
208702012-05-20 Richard Henderson <rth@twiddle.net>
20871
20872 * misc/getauxval.c: New file.
20873 * misc/sys/auxv.h: New file.
20874 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20875 (routines): Add getauxval.
20876 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20877 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20878 * elf/dl-sysdep.c (_dl_auxv): Remove.
20879 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20880 * elf/dl-support.c (_dl_auxv): New variable.
20881 (_dl_aux_init): Initialize it.
20882 * manual/startup.texi (Auxiliary Vector): New node.
20883 * sysdeps/generic/bits/hwcap.h: New file.
20884 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20885 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20886 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20887 * sysdeps/sparc/sysdep.h: ... here. Include it.
20888 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20891 Update.
c7683a6d
RH
20892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20900
a6f1845d
AZ
209012012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20902
20903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20904
cbcbe830
DM
209052012-05-19 David S. Miller <davem@davemloft.net>
20906
20907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20908
e0b16cc2
JM
209092012-05-19 Joseph Myers <joseph@codesourcery.com>
20910
20911 [BZ #14123]
20912 * math/s_ccosh.c: Include <float.h>
20913 (__ccosh): Avoid internal overflow calculating sinh and cosh
20914 values before multiplying by sin and cos values.
20915 * math/s_ccoshf.c: Likewise.
20916 * math/s_ccoshl.c: Likewise.
20917 * math/s_csin.c: Likewise.
20918 * math/s_csinf.c: Likewise.
20919 * math/s_csinl.c: Likewise.
20920 * math/s_csinh.c: Likewise.
20921 * math/s_csinhf.c: Likewise.
20922 * math/s_csinhl.c: Likewise.
20923 * math/libm-test.inc (ccos_test): Add more tests.
20924 (ccosh_test): Likewise.
20925 (csin_test): Likewise.
20926 (csinh_test): Likewise.
20927 * sysdeps/i386/fpu/libm-test-ulps: Update.
20928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20929
6ad13e08
L
209302012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20931
f66f0ce8
L
20932 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20933 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20934
6ad13e08
L
20935 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20936
b1d072a7
JM
209372012-05-19 Joseph Myers <joseph@codesourcery.com>
20938
20939 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20940 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20941 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20942 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20943 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20944 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20945 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20946 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20947 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20948 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20949 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20950 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20951 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20952 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20953 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20954 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20955 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20956 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20957 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20958 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20959 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20960 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20961 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20962 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20963 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20964 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20965 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20966 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20967 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20968 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20969 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20970
9eae47cb
AJ
209712012-05-18 Andreas Jaeger <aj@suse.de>
20972
20973 * csu/.gitignore: Delete.
20974
bb07f69f
L
209752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20976
20977 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20978 (timex): Use __syscall_slong_t.
20979
e6bdb741
AJ
209802012-05-18 Andreas Jaeger <aj@suse.de>
20981 Carlos O'Donell <carlos_odonell@mentor.com>
20982
20983 * manual/install.texi (Configuring and compiling): Update
20984 description about files modified in the source directory.
d6c33fda 20985 * INSTALL: Regenerated.
e6bdb741 20986
1b74487e
L
209872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20988
20989 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20990 value. Use "or" to set return value to -1.
20991 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20992 negate return value.
20993
a88b64b9
TMQMF
209942012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20995
20996 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20997 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20998 failure if the compiler has Graphite support disabled.
20999 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21000 Likewise.
21001 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21002 CFLAGS-memmove.c): Likewise.
21003 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21004 Likewise.
21005
3707636e
L
210062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21007
610b8622
L
21008 * sysdeps/x86_64/x32/_itoa.h: New file.
21009
7cd195df
L
21010 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21011 getdents system call only if kernel and user dirents have the
21012 same d_ino and d_off.
21013
94b07d20
L
21014 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21015 LLONG_MAX != LONG_MAX.
21016 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21017 (_fitoa_word): Likewise.
21018
18298070
L
21019 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21020 years.
21021 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21022 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21023 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21024
553c7ea4
L
21025 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21026 include <bits/wordsize.h>. Check __x86_64__ instead of
21027 __WORDSIZE.
21028 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21029 if __x86_64__ is defined. Use anonymous union on fpstate.
21030
3707636e
L
21031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21032 anonymous union.
21033
b53ef01a
AS
210342012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21035
37fb1dc0
AS
21036 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21037 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21038 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21039 Refer to _rtld_local_ro instead of _rtld_global_ro.
21040 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21041 Likewise.
21042 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21043 Likewise.
21044 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21045 Likewise.
21046 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21047 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21048 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21049
b53ef01a
AS
21050 * sysdeps/powerpc/powerpc32/dl-machine.c
21051 (__elf_machine_runtime_setup) [PROF]: Don't reference
21052 _dl_prof_resolve.
21053
7a185db2
AJ
210542012-05-18 Andreas Jaeger <aj@suse.de>
21055
21056 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21057 function only available for GCCs before 3.4 since GCC 3.4
21058 introduced a builtin.
21059 (lrint): Likewise.
21060 (llrintf): Likewise.
21061 (llrint): Likewise.
21062 (fmaxf): Likewise.
21063 (fmax): Likewise.
21064 (fminf): Likewise.
21065 (fmin): Likewise.
21066 (rint): Likewise.
21067 (rintf): Likewise.
21068 (nearbyint): Likewise.
21069 (nearbyintf): Likewise.
21070 (ceil): Likewise.
21071 (ceilf): Likewise.
21072 (floor): Likewise.
21073 (floorf): Likewise.
21074
3e5aef87
L
210752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21076
428bd707
L
21077 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21078 on both fields and cast pointer to __syscall_ulong_t.
21079
3e5aef87
L
21080 * bits/types.h (__fsword_t): New type.
21081 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21082 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21084 (__FSWORD_T_TYPE): Likewise.
21085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21086 (__FSWORD_T_TYPE): Likewise.
21087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21088 (__FSWORD_T_TYPE): Likewise.
21089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21090 (__FSWORD_T_TYPE): Likewise.
21091 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21092 __SWORD_TYPE with __fsword_t.
21093 (statfs64): Likewise.
21094
1ba7c3dc
DM
210952012-05-17 David S. Miller <davem@davemloft.net>
21096
21097 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21098
59910343
AJ
210992012-05-17 Andreas Jaeger <aj@suse.de>
21100
21101 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21102 warning.
21103
2e4c1e9e
L
211042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21105
21106 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21107
de7f5ce7
AJ
211082012-05-17 Andreas Jaeger <aj@suse.de>
21109
21110 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21111 when it is used.
21112
286abc3d
CM
211132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21114
21115 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21116
477cc68e
L
211172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21118
21119 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21120 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21121
1a0994f5
CD
211222012-05-17 Andreas Jaeger <aj@suse.de>
21123 Carlos O'Donell <carlos_odonell@mentor.com>
21124
21125 [BZ #14059]
21126 * sysdeps/x86_64/multiarch/init-arch.h
21127 (bit_YMM_Usable): Rename to...
21128 (bit_AVX_Usable): ... this.
21129 (bit_FMA4_Usable): New macro.
21130 (bit_XMM_state): New macro.
21131 (bit_YMM_state): New macro.
21132 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21133 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21134 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21135 (CPUID_OSXSAVE): New macro.
21136 (CPUID_AVX): New macro.
21137 (CPUID_FMA4): New macro.
21138 (index_YMM_Usable): Rename to...
21139 (index_AVX_Usable): ... this.
21140 (HAS_AVX): Use HAS_ARCH_FEATURE.
21141 (HAS_FMA4): Likewise.
21142 (HAS_YMM_USABLE): Remove.
21143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21144 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21145 are present.
21146 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21147 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21148 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21149 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21150 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21151
0af797de
CM
211522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21153
21154 * math/libm-test.c: Support platforms without multiple rounding modes.
21155 * math/bug-nextafter.c: Support platforms without FP exceptions.
21156 * math/bug-nexttoward.c: Likewise.
21157 * math/test-fenv.c: Likewise.
21158 * math/test-misc.c: Likewise.
21159 * stdlib/bug-getcontext.c: Likewise.
21160
e39745ff
AJ
211612012-05-17 Andreas Jaeger <aj@suse.de>
21162
21163 * manual/examples/search.c (critter_cmp): Change signature to
21164 avoid warnings.
21165 * manual/string.texi (Collation Functions): Likewise.
21166
48970aba
L
211672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21168
21169 * bits/types.h: Fold copyright years.
21170 * bits/typesizes.h: Likewise.
21171 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21175 * time/time.h: Likewise.
21176
bedee953
PP
211772012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21178
21179 [BZ #208]
21180 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21181 in instead of returning them. Return void.
21182 (__libc_mallinfo): Accumulate over all arenas.
21183 (__malloc_stats): Adjust for change in int_mallinfo interface.
21184
61653dfb
RM
211852012-05-16 Roland McGrath <roland@hack.frob.com>
21186
30b99d79
RM
21187 [BZ #10375]
21188 * configure.in (NM): Add AC_CHECK_TOOL for it.
21189 (libc_extra_cflags): New substituted variable.
21190 Check for -fstack-protector being used implicitly.
21191 * configure: Regenerated.
21192 * config.make.in (config-extra-cflags): New variable,
21193 gets @libc_extra_cflags@.
21194 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21195
61653dfb
RM
21196 [BZ #10375]
21197 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21198 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21199 * configure: Regenerated.
21200 * config.make.in (CPPUNDEFS): New substituted variable.
21201 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21202 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21203 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21204
661768bb
L
212052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21206
21207 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21208 (mq_attr): Use __syscall_slong_t.
21209
d4261567
L
212102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21211
21212 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21213 Check __x86_64__ instead of __WORDSIZE.
21214 (_STAT_VER_LINUX): Likewise.
21215 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21216 __syscall_ulong_t and __syscall_slong_t.
21217 (stat64): Likewise.
21218
cf3ff365
L
212192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21220
21221 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21222
76cf3e4d
L
212232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21224
21225 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21226
a637753a
L
212272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21228
21229 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21230 __syscall_ulong_t.
21231
d5e05119
L
21232 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21233 include <bits/wordsize.h>. Check __x86_64__ instead of
21234 __WORDSIZE.
21235 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21236 defined.
21237 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21238
f62ee380
L
21239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21240 include <bits/wordsize.h>. Check __x86_64__ instead of
21241 __WORDSIZE.
21242 (user_regs_struct): Use "__extension__ unsigned long long"
21243 instead of "unsigned long" if __x86_64__ is defined.
21244 (user): Likewise. Pad after pointer field if __ILP32__ is
21245 defined.
21246
4e124ced
JM
212472012-05-16 Joseph Myers <joseph@codesourcery.com>
21248
6a3951a0
JM
21249 * configure.in (makeinfo): Require version 4.5 or later. Allow
21250 versions 5 to 9.
21251 * configure: Regenerated.
21252 * manual/install.texi (texinfo): Increase version requirement to
21253 4.5 or later.
21254 * INSTALL: Regenerated.
21255
4e124ced
JM
21256 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21257
953ca31a
L
212582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21259
21260 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21261
617aca05
L
21262 * sysdeps/x86_64/x32/ffs.c: New file.
21263
5762f7ae
L
21264 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21265 __syscall_ulong_t.
21266 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21267 defined. Use __syscall_ulong_t.
21268 (shminfo): Use __syscall_ulong_t.
21269 (shm_info): Likewise.
21270
a26b6856
L
21271 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21272 __syscall_ulong_t.
21273
cb2b9ef7
L
21274 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21275 <bits/wordsize.h>.
21276 (msgqnum_t): Use __syscall_ulong_t.
21277 (msglen_t): Likewise.
21278 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21279 __syscall_ulong_t.
21280
34683bb0
L
21281 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21283
84a68786
L
21284 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21285
48baa5f1
L
21286 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21287 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21288
180be88b
L
21289 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21290 __syscall_slong_t.
21291
5e90c8ad
L
21292 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21293 include <bits/wordsize.h>. Check __x86_64__ instead of
21294 __WORDSIZE.
21295
23dfb58b
L
21296 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21297 "unsigned long long int" if __x86_64__ is defined.
21298 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21299
ce5d54b0
L
21300 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21301 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21302 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21303
13dc9eac
L
21304 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21305 <stdint.h>.
21306 (GET_PC): Cast to uintptr_t first.
21307 (GET_FRAME): Likewise.
21308 (GET_STACK): Likewise.
21309
a7895d15
L
21310 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21311 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21312 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21313 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21314 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21315 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21316 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21317 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21318 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21319 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21320 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21321 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21323 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21324 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21325 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21326 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21327 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21328 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21329 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21330 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21331 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21332 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21333 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21334 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21335 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21336 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21337 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21339
656416c9
AS
213402012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21341
5bd66283
AS
21342 * Makerules (+depfiles): Also collect depfiles from .oS in
21343 $(extra-objs).
21344 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21345 .oS, $(libnldbl-routines)).
21346
656416c9
AS
21347 * Makerules (native-compile-mkdep-flags): Define.
21348 * sunrpc/Makefile (extra-objs): Add $(addprefix
21349 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21350 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21351 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21352 calling $(make-target-directory).
21353
a46f2169
L
213542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21355
21356 * bits/types.h (__snseconds_t): Removed.
21357 * time/time.h (struct timespec): Replace __snseconds_t with
21358 __syscall_slong_t.
21359 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21360 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21361 Likewise.
21362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21363 (__SNSECONDS_T_TYPE): Likewise.
21364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21365 (__SNSECONDS_T_TYPE): Likewise.
21366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21367 (__SNSECONDS_T_TYPE): Likewise.
21368
6af6528b
L
213692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21370
21371 * sysdeps/mach/hurd/bits/typesizes.h
21372 (__SYSCALL_SLONG_TYPE): New macro.
21373 (__SYSCALL_ULONG_TYPE): Likewise.
21374
de986b56
L
213752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21376
21377 * bits/types.h (__syscall_slong_t): New type.
21378 (__syscall_ulong_t): Likewise.
21379
21380 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21381 (__SYSCALL_ULONG_TYPE): Likewise.
21382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21383 (__SYSCALL_SLONG_TYPE): Likewise.
21384 (__SYSCALL_ULONG_TYPE): Likewise.
21385 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21386 (__SYSCALL_SLONG_TYPE): Likewise.
21387 (__SYSCALL_ULONG_TYPE): Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21389 (__SYSCALL_SLONG_TYPE): Likewise.
21390 (__SYSCALL_ULONG_TYPE): Likewise.
21391
85736dc7
L
213922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21393
21394 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21395 Add sigaltstack-offsets.sym.
21396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21397 <sigaltstack-offsets.h>.
21398 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21399 longjmp_msg pointer.
21400 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21401 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21402 signal stack.
21403 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21404
cc03b296
JM
214052012-05-15 Joseph Myers <joseph@codesourcery.com>
21406
a9538892
JM
21407 * elf/stackguard-macros.h: Remove file.
21408 * sysdeps/generic/stackguard-macros.h: New file.
21409 * sysdeps/i386/stackguard-macros.h: Likewise.
21410 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21411 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21412 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21413 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21414 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21415 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21416 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21417 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21418 <elf/stackguard-macros.h>.
21419
cc03b296
JM
21420 [BZ #14109]
21421 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21422 __aligned__ in attribute.
21423 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21424 (gregset_t): Likewise.
21425
93171016
L
214262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21427
21428 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21429 * sysdeps/x86_64/64/Implies-after: Here. New file.
21430 * sysdeps/x86_64/x32/Implies-after: New file.
21431
d86813a0
L
214322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21433
21434 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21435 and access return value for _dl_profile_fixup. Use R10_LP to
21436 load frame size.
21437
2953ec75
L
214382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21439
21440 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21441
3b550e9e
L
214422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21443
21444 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21445 * sysdeps/x86_64/x32/sysdep.h: New file.
21446
eda41706
L
214472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21448
21449 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21450 * sysdeps/x86_64/setjmp.S: Likewise.
21451
9ea01d93
AZ
214522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21453
21454 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21455 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21456 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21458 remove unused global constant.
21459
02a91938
CM
214602012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21461
21462 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21463 include of <not-cancel.h>.
21464
6540185f
RM
214652012-05-15 Roland McGrath <roland@hack.frob.com>
21466
21467 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21468
509072a0
AJ
214692012-05-15 Jeff Law <law@redhat.com>
21470 Andreas Jaeger <aj@suse.de>
21471
21472 [BZ #13594]
21473 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21474 out from...
21475 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21476 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21477 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21478 code changing __hst_map_handle.map.
21479
ba75122d
RM
214802012-05-15 Roland McGrath <roland@hack.frob.com>
21481
21482 * configure.in (sysnames): Look for Implies-before and Implies-after
21483 files.
21484 * configure: Regenerated.
21485
890d8bd8
L
214862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21487
21488 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21489 8-byte data alignment with LP_SIZE alignment.
21490
f6ee6623
L
214912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21494 into R10_LP.
21495
ea2626f6
L
214962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21497
21498 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21499
085f715e
L
215002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21501
21502 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21503 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21504 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21505 Likewise.
21506 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21507
be8498fc
L
215082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21511 (stackinfo_sub_sp): Likewise.
21512
70bc83b9
L
215132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21514
21515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21516 RAX_LP.
21517
9bc0b730
L
215182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21519
21520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21521 into R*_LP.
21522
6d2850e7
L
215232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21524
21525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21526 sizes into R*_LP.
21527
3cb84561
L
215282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21529
21530 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21531
54e2ed81
L
215322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21533
21534 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21535 into R11_LP and load __x86_64_shared_cache_size_half into
21536 R8_LP.
21537
8a17f349
L
215382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21539
21540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21541 R8_LP.
21542
777b1eea
AZ
215432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21544
21545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21546 logb for POWER7.
21547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21548 logbf for POWER7.
21549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21550 logbl for POWER7.
21551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21552 powerpc32/power7/fpu/s_logb.c via #include.
21553 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21554 powerpc32/power7/fpu/s_logbf.c via #include.
21555 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21556 powerpc32/power7/fpu/s_logbl.c via #include.
21557
d20d4ac2
JM
215582012-05-15 Joseph Myers <joseph@codesourcery.com>
21559
21560 * README.libm: Remove file.
21561
6cdef1ab
L
215622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21563
21564 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21565 count for x32. Use R*_LP and omit operand-size suffix.
21566
0b254d8f
L
215672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21568
21569 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21570 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21571 * sysdeps/x86_64/x32/shlib-versions: New file.
21572
ceb809dc
RM
215732012-05-14 Roland McGrath <roland@hack.frob.com>
21574
21575 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21576 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21577 Use _dl_fatal_printf instead.
21578
37f1abd4
JM
215792012-05-14 Joseph Myers <joseph@codesourcery.com>
21580
21581 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21582 set if not set by the user. Do not allow for being unset.
21583 * sysdeps/unix/sysv/linux/configure: Regenerated.
21584
11de3a33
L
215852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21586
21587 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21588 the `q' suffix from lea and replace .quad with ASM_ADDR.
21589
e02f153a
L
215902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21591
21592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21593 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21594 instead of $17.
21595 (PTR_DEMANGLE): Likewise.
21596
520ae0fd
L
215972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21598
21599 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21600 (LP_OP): Likewise.
21601 (ASM_ADDR): Likewise.
21602 (RAX_LP): Likewise.
21603 (RBP_LP): Likewise.
21604 (RBX_LP): Likewise.
21605 (RCX_LP): Likewise.
21606 (RDI_LP): Likewise.
21607 (RSI_LP): Likewise.
21608 (RSP_LP): Likewise.
21609 (R8_LP): Likewise.
21610 (R9_LP): Likewise.
21611 (R10_LP): Likewise.
21612 (R10_LP): Likewise.
21613 (R11_LP): Likewise.
21614 (R12_LP): Likewise.
21615 (R13_LP): Likewise.
21616 (R14_LP): Likewise.
21617 (R15_LP): Likewise.
21618
b985be81
L
216192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21620
21621 * sysdeps/x86_64/x32/dl-machine.h: New file.
21622
6a4888ff
AJ
216232012-05-14 Andreas Jaeger <aj@suse.de>
21624
21625 * manual/Makefile (subdir): Remove export of subdir.
21626 (all): Remove target.
21627 (.PHONY): Remove all from list.
21628 (mkinstalldirs): Remove.
21629 (.PHONY): Remove installdirs from list.
21630 ($(inst_infodir)/libc.info): Use make-target-directory.
21631 (installdirs): Remove.
21632 (subdir_%): Remove.
21633 (glibc-targets): Remove.
21634 (lib): Remove.
21635 (stubs): Remove.
21636 ($(objpfx)stubs ../po/manual.pot): Remove.
21637 ($(objpfx)stamp%): Remove.
21638 (make-target-directory): Remove.
21639 (subdir_install): Remove.
21640 (routines): Remove.
21641 (aux): Remove.
21642 (sources): Remove.
21643 (objects): Remove.
21644 (headers): Remove.
21645
21646 [BZ #13750]
21647 * manual/.gitignore: Remove, it's not needed anymore.
21648 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21649 all files in it.
21650 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21651 directory.
21652 (texis): Renamed to $(objpfx)texis.
21653 (texis-path): New, contains path to generated files.
21654 (chapters.%): Use texis-path for complete path, add extra argument
21655 libc-texinfo.sh.
21656 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21657 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21658 (summary,texi, stamp-summary): Use complete path of
21659 files. Generate files in build dir.
21660 (dir-add.texi): Build in build dir.
21661 (libm-err.texi,stamp-libm-err): Likewise.
21662 (version.texi, stamp-version): Likewise.
21663 (.%c.texi): Likewise.
21664 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21665 (mostlyclean): Remove target.
21666 (realclean): Remove target.
21667 (generated): Add new variable with contents from mostlyclean and
21668 realclean, remove entries duplicated in common-mostlyclean, add
21669 stamp-libm-err and stamp-version.
21670 (generated-dirs): Add libc directory.
21671 ($(inst_infodir)/libc.info): Install files from build dir.
21672
21673 * manual/install.texi (Configuring and compiling): Adjust since
21674 the info files are not part of the tar ball anymore.
21675
7ac77294
AJ
216762012-05-14 Andreas Jaeger <aj@suse.de>
21677
21678 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21679 variable.
21680
ffb7875d
JM
216812012-05-14 Joseph Myers <joseph@codesourcery.com>
21682
21683 [BZ #13717]
21684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21685 to 2.2.0 where earlier.
21686 * sysdeps/unix/sysv/linux/configure: Regenerated.
21687 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21688 Remove conditional code.
21689 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21690 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21691 Remove conditional code.
21692 [!__NR_lchown]: Likewise.
21693 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21694 [__NR_lchown]: Likewise.
21695 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21696 comment referencing __ASSUME_LCHOWN_SYSCALL.
21697 * sysdeps/unix/sysv/linux/i386/sigaction.c
21698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21700 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21701 Remove conditional code.
21702 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21703 (__protocol_available): Remove #if 0 code.
21704 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21705 conditional code.
21706 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21707 * sysdeps/unix/sysv/linux/kernel-features.h
21708 (__ASSUME_GETCWD_SYSCALL): Don't define.
21709 (__ASSUME_REALTIME_SIGNALS): Likewise.
21710 (__ASSUME_PREAD_SYSCALL): Likewise.
21711 (__ASSUME_PWRITE_SYSCALL): Likewise.
21712 (__ASSUME_POLL_SYSCALL): Likewise.
21713 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21714 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21715 non-SPARC.
21716 (__ASSUME_SIOCGIFNAME): Don't define.
21717 (__ASSUME_MSG_NOSIGNAL): Likewise.
21718 (__ASSUME_SENDFILE): Define unconditionally.
21719 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21720 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21721 conditional code.
21722 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21723 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21724 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21725 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21726 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21727 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21728 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21730 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21733 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21739 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21742 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21753 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21754 Remove conditional code.
21755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21756 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21757 Remove conditional code.
21758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21759 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21760 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21761 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21762 Remove conditional code.
21763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21764 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21765 Remove conditional code.
21766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21767 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21768 Remove conditional code.
21769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21770 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21771 Remove conditional code.
21772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21773 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21774 Remove conditional code.
21775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21776 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21779 * sysdeps/unix/sysv/linux/sigaction.c
21780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21782 * sysdeps/unix/sysv/linux/sigpending.c
21783 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21784 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21785 * sysdeps/unix/sysv/linux/sigprocmask.c
21786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21788 * sysdeps/unix/sysv/linux/sigsuspend.c
21789 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21790 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21791 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21792 (__libc_missing_rt_sigs): Remove.
21793 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21794 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21795 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21796 Remove conditional code.
21797 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21798 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21799 return 1.
21800 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21801 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21802 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21803 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21804
1bfb7291
AJ
218052012-05-14 Andreas Jaeger <aj@suse.de>
21806
caae5a81
AJ
21807 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21808 it's not used in glibc.
21809 (__coshm1): Likewise.
21810 (__acosh1p): Likewise.
21811 (__sgn): Likewise.
21812
1bfb7291
AJ
21813 * manual/string.texi (Copying and Concatenation): Add missing
21814 variable in concat example.
21815 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21816
c044d724
L
218172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21818
144c5467 21819 [BZ #14103]
c044d724
L
21820 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21821 __builtin_clzl with __builtin_clzll.
21822
2523c62b
L
218232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21824
21825 [BZ #14104]
21826 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21827 libc_freeres_ptr.
21828
d7bb4c42
LD
218292012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21830
21831 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21832 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21833 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21834 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21835
9dc4e1fb
MF
218362012-05-14 Mike Frysinger <vapier@gentoo.org>
21837
21838 * NEWS: Update ia64 info.
21839
c7df0112
AS
218402012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21841
21842 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21843 used as bcopy.
21844
dc70356c
TS
218452012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21846
21847 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21848 * sysdeps/unix/syscalls.list (dup3): Likewise.
21849 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21850 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21851
9fb1a21f
L
218522012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21853
21854 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21855 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21856
4822a2a5
L
218572012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21858
21859 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21860 thread pointer.
21861 (TLS_IE): Use mov/add instead of movq/addq to load thread
21862 pointer.
21863 (TLS_GD_PREFIX): New.
21864 (TLS_GD): Use it.
21865
842b81d6
DM
218662012-05-11 David S. Miller <davem@davemloft.net>
21867
21868 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21869 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21870 (_FPU_SETCW): Likewise.
21871
1cf463cd
L
218722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21873
21874 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21875 is 32-byte aligned.
21876
60cc4a18
AS
218772012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21878
21879 [BZ #11837]
21880 * iconvdata/gb18030.c: Update tables.
21881 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21882 characters specially.
21883 (BODY for TO_LOOP): Add encoding of missing ranges.
21884
febb44a4
TS
218852012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21886
21887 [BZ #13673]
21888 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21889 * sysdeps/mach/hurd/dup3.c: Likewise.
21890 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21891 * sysdeps/powerpc/memmove.c:: Likewise.
21892
0a10fb9e
L
218932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21894
21895 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21896 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21897
df8a552f
L
218982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * elf/elf.h (R_X86_64_RELATIVE64): New.
21901 (R_X86_64_NUM): Updated.
21902 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21903 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21904 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21905 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21906 tst-quad1pie tst-quad2pie
21907 (modules-names): Add tst-quadmod1 tst-quadmod2.
21908 ($(objpfx)tst-quad1): New dependency.
21909 ($(objpfx)tst-quad2): Likewise.
21910 ($(objpfx)tst-quad1pie): Likewise.
21911 ($(objpfx)tst-quad2pie): Likewise.
21912 * sysdeps/x86_64/tst-quad1.c: New file.
21913 * sysdeps/x86_64/tst-quad1pie.c: New file.
21914 * sysdeps/x86_64/tst-quad2.c: Likewise.
21915 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21916 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21917 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21918 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21919 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21920
f34d6f84
ST
219212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21922
f42d41d1
ST
21923 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21924 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21925 * streams/stropts.h (t_scalar_t): Define type.
21926
3c3571fc
ST
21927 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21928 (_PATH_PRESERVE): Set to "/var/lib".
21929 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21930
61f06bd3
ST
21931 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21932 instead of int.
21933
918d4d71
ST
21934 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21935 if __dir_mkfile succeeded.
21936
f34d6f84
ST
21937 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21938 checking for _hurd_dtablesize. Unlock it right after having
21939 finished _hurd_dtable allocation.
21940
10589b4a
TS
219412012-05-10 Thomas Schwinge <thomas@schwinge.name>
21942
674cdbc7
TS
21943 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21944 * sysdeps/mach/hurd/configure: Regenerated.
21945 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21946 special-casing to...
21947 * sysdeps/gnu/configure.in: ... this new file.
21948 * sysdeps/unix/sysv/linux/configure: Regenerated.
21949 * sysdeps/gnu/configure: New generated file.
21950
8e41b99f
TS
21951 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21952 for Linux: use nsec instead of usec, as well as:
21953 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21954 members of type struct timespec.
21955 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21956 New macros.
21957 (struct stat64): Likewise.
21958 (_STATBUF_ST_NSEC): New macro.
21959 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21960
10589b4a
TS
21961 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21962 __strtoul_internal rather than strtoul.
21963
63643c85
PT
219642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21965
21966 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21967 and reject them.
21968
3faebe6a
ST
219692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21970
21971 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21972 which preserves existing values.
21973 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21974
c6474b07
PT
219752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21976
21977 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21978 TIMEOUT values. Return EINVAL for NFDS values either negative or
21979 greater than FD_SETSIZE.
21980
1043890b
ST
219812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21982
21983 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21984 allocated, call __vm_protect to finish enabling the existing space, and
21985 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21986 allocate the remainder.
21987
37ed8b9b
PT
219882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21989
21990 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21991 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21992
db653660
ST
219932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21994
37ed8b9b
PT
21995 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21996 sysdeps/mach/hurd/readlink.c.
b29d4053 21997
db653660
ST
21998 * posix/tst-sysconf.c (posix_options): Only use
21999 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22000 _POSIX_SYNCHRONIZED_IO when they are defined
22001 * sysdeps/mach/hurd/bits/posix_opt.h:
22002 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22003 (_XOPEN_REALTIME): Undefine macro.
22004 (_XOPEN_REALTIME_THREADS): Undefine macro.
22005 (_XOPEN_SHM): Undefine macro.
22006 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22007 macro to -1.
22008 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22009 macro to -1.
22010 (_POSIX_ASYNC_IO): Undefine macro.
22011 (_POSIX_PRIORITIZED_IO): Undefine macro.
22012 (_POSIX_SPIN_LOCKS): Define macro to -1.
22013
ee16e894
ST
22014 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22015 SA_NODEFER, SA_RESETHAND.
22016 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22017 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22018 F_DUPFD_CLOEXEC.
22019
6103ae3b
TS
220202012-05-10 Thomas Schwinge <thomas@schwinge.name>
22021
22022 * elf/Makefile (pldd-modules): Define unconditionally.
22023
80b4e5f3
TS
220242012-05-10 Thomas Schwinge <thomas@schwinge.name>
22025
22026 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22027
edadcbd6
ST
220282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22029
22030 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22031 Return ENOENT when name is empty.
22032 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22033
80694780
TS
220342012-05-10 Thomas Schwinge <thomas@schwinge.name>
22035
1792c087
TS
22036 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22037
80694780
TS
22038 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22039
6b645f0d
ST
220402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22041
80694780
TS
22042 Fix mlock in all cases except non-readable pages.
22043 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22044 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22045
6b645f0d
ST
22046 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22047 (__mkdir): When path is `/', just fail with EEXIST.
22048 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22049
e468f8a3
TS
220502012-05-10 Thomas Schwinge <thomas@schwinge.name>
22051
22052 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22053 <sys/uio.h> (for writev).
22054 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22055 and <sys/param.h> (for MIN).
22056
a4186cff
PT
220572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22058
22059 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22060 REQUESTED_TIME. Properly set the remaining time and return EINTR
22061 if interrupted.
22062
510bbf14
TS
220632012-05-10 Thomas Schwinge <thomas@schwinge.name>
22064
22065 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22066 Depend on against $(link-rpcuserlibs).
22067
5d5722e8
ST
220682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22069
a4186cff
PT
22070 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22071 (__libc_stack_end): Do not use attribute_relro.
22072 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22073 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22074 to libthread-provided value.
a4186cff
PT
22075 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22076 attribute_relro.
5d5722e8 22077
37233df9
TS
220782012-05-10 Thomas Schwinge <thomas@schwinge.name>
22079
be971a2b
TS
22080 [BZ #3748]
22081 * bits/libc-lock.h (__libc_once_get): New macro.
22082 * sysdeps/mach/bits/libc-lock.h: Likewise.
22083 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22085 instead of using implementation details.
22086
37233df9
TS
22087 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22088 * libio/freopen.c: Likewise.
22089 * libio/freopen64.c: Likewise.
22090 * misc/syslog.c: Likewise.
22091 * nscd/connections.c: Likewise.
22092 * nscd/netgroupcache.c: Likewise.
22093 * sysdeps/posix/getcwd.c: Likewise.
22094
38de94a5
RM
220952012-05-10 Roland McGrath <roland@hack.frob.com>
22096
22097 * math/w_ilogbf.c: Add #include <limits.h>.
22098
67530489
ST
220992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22100
a4186cff 22101 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22102 path instead of returning without unlocking.
22103
67530489
ST
22104 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22105 immediate-write ioctls.
22106 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22107
5aa3a74a
TS
221082012-05-10 Thomas Schwinge <thomas@schwinge.name>
22109
18bad2ae
TS
22110 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22111 __builtin_frame_address instead of making assumptions about the
22112 location of the return address relative to DATA. Force early load of
22113 the return address.
22114 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22115 __builtin_frame_address.
22116
5aa3a74a
TS
22117 dup3 for GNU Hurd.
22118 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22119 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22120 implement dup3 and do some further code clean-ups.
22121 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22122 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22123
ecd0de9a
ST
221242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22125
cd9fa985
ST
22126 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22127
a4186cff
PT
22128 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22129 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22130 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22131 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22132 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22133 d->port.lock.
802ca5a5 22134
a4186cff
PT
22135 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22136 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22137 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22138
bcf55240
TS
221392012-05-10 Thomas Schwinge <thomas@schwinge.name>
22140
6960eb42
TS
22141 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22142 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22143 definitions.
22144
eb43375f
TS
22145 accept4 for GNU Hurd.
22146 * include/sys/socket.h (__libc_accept4): New prototype.
22147 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22148 to implement __libc_accept4.
22149 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22150 __libc_accept4.
22151 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22152
bcf55240
TS
22153 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22154 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22155 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22156 signal-defines.sym.
22157
6178c55b
ST
221582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22159
a4186cff 22160 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22161
6f080c2f
TS
221622012-05-10 Thomas Schwinge <thomas@schwinge.name>
22163
22164 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22165 assertion on O_CLOEXEC flag.
22166 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22167 * hurd/intern-fd.c: Likewise.
22168 * hurd/port2fd.c: Likewise.
22169
bcfe3a54
ST
221702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22171
22172 [BZ #3906]
22173 * bits/in.h (IPV6_PKTINFO): Define new macro.
22174 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22175
89c9aa49
AZ
221762012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22177
22178 [BZ #13954]
22179 [BZ #13955]
22180 [BZ #13956]
22181 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22183 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22186 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22187 * math/libm-test.inc (logb_test) : Additional logb tests.
22188
021db4be
AJ
221892012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22190 Andreas Jaeger <aj@suse.de>
22191
22192 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22193 * configure: Regenerated.
22194 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22195 * config.make.in (link-obsolete-rpc): New substituted variable.
22196 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22197 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22198 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22199 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22200 so that libc.a contains the symbols.
22201 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22202 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22203 * sunrpc/auth_none.c: Likewise.
22204 * sunrpc/auth_unix.c: Likewise.
22205 * sunrpc/authdes_prot.c: Likewise.
22206 * sunrpc/authuxprot.c: Likewise.
22207 * sunrpc/clnt_gen.c: Likewise.
22208 * sunrpc/clnt_perr.c: Likewise.
22209 * sunrpc/clnt_raw.c: Likewise.
22210 * sunrpc/clnt_simp.c: Likewise.
22211 * sunrpc/clnt_tcp.c: Likewise.
22212 * sunrpc/clnt_udp.c: Likewise.
22213 * sunrpc/clnt_unix.c: Likewise.
22214 * sunrpc/des_crypt.c: Likewise.
22215 * sunrpc/des_soft.c: Likewise.
22216 * sunrpc/get_myaddr.c: Likewise.
22217 * sunrpc/key_call.c: Likewise.
22218 * sunrpc/key_prot.c: Likewise.
22219 * sunrpc/netname.c: Likewise.
22220 * sunrpc/pm_getmaps.c: Likewise.
22221 * sunrpc/pm_getport.c: Likewise.
22222 * sunrpc/pmap_clnt.c: Likewise.
22223 * sunrpc/pmap_prot.c: Likewise.
22224 * sunrpc/pmap_prot2.c: Likewise.
22225 * sunrpc/pmap_rmt.c: Likewise.
22226 * sunrpc/publickey.c: Likewise.
22227 * sunrpc/rpc_cmsg.c: Likewise.
22228 * sunrpc/rpc_common.c: Likewise.
22229 * sunrpc/rpc_dtable.c: Likewise.
22230 * sunrpc/rpc_prot.c: Likewise.
22231 * sunrpc/rpc_thread.c: Likewise.
22232 * sunrpc/rtime.c: Likewise.
22233 * sunrpc/svc.c: Likewise.
22234 * sunrpc/svc_auth.c: Likewise.
22235 * sunrpc/svc_raw.c: Likewise.
22236 * sunrpc/svc_run.c: Likewise.
22237 * sunrpc/svc_tcp.c: Likewise.
22238 * sunrpc/svc_udp.c: Likewise.
22239 * sunrpc/svc_unix.c: Likewise.
22240 * sunrpc/svcauth_des.c: Likewise.
22241 * sunrpc/xcrypt.c: Likewise.
22242 * sunrpc/xdr.c: Likewise.
22243 * sunrpc/xdr_array.c: Likewise.
22244 * sunrpc/xdr_float.c: Likewise.
22245 * sunrpc/xdr_intXX_t.c: Likewise.
22246 * sunrpc/xdr_mem.c: Likewise.
22247 * sunrpc/xdr_rec.c: Likewise.
22248 * sunrpc/xdr_ref.c: Likewise.
22249 * sunrpc/xdr_sizeof.c: Likewise.
22250 * sunrpc/xdr_stdio.c: Likewise.
22251
b5c086a2
RM
222522012-05-10 Roland McGrath <roland@hack.frob.com>
22253
22254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22255 change. Update copyright years.
22256
6d74dd09
JM
222572012-05-10 Joseph Myers <joseph@codesourcery.com>
22258
22259 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22260
28e72501
MK
222612012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22262 Joseph Myers <joseph@codesourcery.com>
22263 Paul Pluzhnikov <ppluzhnikov@google.com>
22264
22265 [BZ #14012]
22266 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22267 requiring rpcgen.
22268 [cross-compiling] (extra-libs): Likewise.
22269 [cross-compiling] (extra-libs-others): Likewise.
22270 [cross-compiling] (librpcsvc-routines): Likewise.
22271 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22272 [cross-compiling] (omit-deps): Likewise.
22273 (sunrpc-CPPFLAGS): New variable.
22274 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22275 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22276 (cross-rpcgen-objs): New variable.
22277 (extra-objs): Append $(cross-rpcgen-objs).
22278 ($(cross-rpcgen-objs)): New rule.
22279 ($(objpfx)cross-rpcgen): Likewise.
22280 (rpcgen-cmd): Define to use $(built-program-file). Expand
22281 comment.
22282 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22283 ($(objpfx)x%.stmp): Likewise.
22284 * sunrpc/proto.h [IS_IN_build] (_): Define.
22285 [IS_IN_build] (_libc_intl_domainname): Likewise.
22286
c8c59454
L
222872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22288
22289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22290 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22291 and R_X86_64_TPOFF64.
22292
6f27cd16
JM
222932012-05-10 Joseph Myers <joseph@codesourcery.com>
22294
22295 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22296 sysdeps/unix/sysv/syscalls.list.
22297 (stime): Likewise.
22298 (utime): Likewise.
22299 * sysdeps/unix/sysv/syscalls.list: Remove file.
22300
02467e1c
PE
223012012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22302
22303 [BZ #3440]
22304 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22305 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22306 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22307 (__LC_IDENTIFICATION): Make these macros useful in #if
22308 expressions, as required by C99.
22309
da392631
AS
223102012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22311
22312 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22313 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22314 after this.
22315
8115f29b
L
223162012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22317
22318 * stdlib/longlong.h: Updated from GCC.
22319
bdd74070
AJ
223202012-05-09 Andreas Jaeger <aj@suse.de>
22321
edfe0dbe
AJ
22322 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22323 default is first entry.
22324 (run_mode): Set type.
22325 (main): Remove informal message about syslog.
22326 (options): Fix typo.
22327
bcfe3a54
ST
22328 [BZ #14053]
22329 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22330 to asm.
bcfe3a54
ST
22331 (lrint): Likewise.
22332 (llrintf): Likewise.
22333 (llrint): Likewise.
22334 (rint): Likewise.
22335 (rintf): Likewise.
22336 (nearbyint): Likewise.
22337 (nearbyintf): Likewise.
bdd74070 22338
91d8d69e
AJ
223392012-05-09 Andreas Jaeger <aj@suse.de>
22340 Pedro Alves <palves@redhat.com>
22341
22342 * nscd/nscd.c (run_mode): Use enum.
22343 (main): Cleanup coding style issue.
22344
bb90b80b
AJ
223452012-05-09 Alexandre Oliva <aoliva@redhat.com>
22346 Andreas Jaeger <aj@suse.de>
22347
bcfe3a54
ST
22348 * nscd/nscd.c (go_background): Replaced with...
22349 (run_mode): ... this.
bb90b80b 22350 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22351 (options): Add -F --foreground.
22352 (main): Implement it.
22353 (parse_opt): Parse it.
bb90b80b 22354
1a4b75a1
AJ
223552012-05-09 Andreas Jaeger <aj@suse.de>
22356
22357 [BZ #14083]
22358 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22359 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22360 -Wconversion warning.
22361 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22362 Likewise.
22363
b1cc2472
JM
223642012-05-09 Joseph Myers <joseph@codesourcery.com>
22365
22366 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22367 == 0.
22368 (LC_ALL): Use macro-int-constant.
22369 (LC_COLLATE): Likewise.
22370 (LC_CTYPE): Likewise.
22371 (LC_MESSAGES): Likewise.
22372 (LC_MONETARY): Likewise.
22373 (LC_NUMERIC): Likewise.
22374 (LC_TIME): Likewise.
22375 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22376 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22378 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22379 Specify type.
22380 [C99-based standards] (float_t): Expect type.
22381 [C99-based standards] (double_t): Expect type.
22382 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22383 type.
22384 [C99-based standards] (HUGE_VALL): Likewise.
22385 [C99-based standards] (INFINITY): Likewise.
22386 [C99-based standards] (NAN): Likewise.
22387 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22388 [C99-based standards] (FP_NAN): Likewise.
22389 [C99-based standards] (FP_NORMAL): Likewise.
22390 [C99-based standards] (FP_SUBNORMAL): Likewise.
22391 [C99-based standards] (FP_ZERO): Likewise.
22392 [C99-based standards] (FP_FAST_FMA): Use
22393 optional-macro-int-constant. Specify type. Require == 1.
22394 [C99-based standards] (FP_FAST_FMAF): Likewise.
22395 [C99-based standards] (FP_FAST_FMAL): Likewise.
22396 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22397 [C99-based standards] (FP_ILOGBNAN): Likewise.
22398 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22399 Specify type.
22400 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22401 [C99-based standards] (math_errhandling): Specify type.
22402 [ISO99 || ISO11] (signgam): Do not allow.
22403 [non-C99-based standards] (copysignf): Do not allow.
22404 [non-C99-based standards] (exp2f): Likewise.
22405 [non-C99-based standards] (log2f): Likewise.
22406 [non-C99-based standards] (modff): Allow.
22407 [non-C99-based standards] (erff): Do not allow.
22408 [non-C99-based standards] (erfcf): Likewise.
22409 [non-C99-based standards] (gammaf): Likewise.
22410 [non-C99-based standards] (hypotf): Likewise.
22411 [non-C99-based standards] (j0f): Likewise.
22412 [non-C99-based standards] (j1f): Likewise.
22413 [non-C99-based standards] (jnf): Likewise.
22414 [non-C99-based standards] (lgammaf): Likewise.
22415 [non-C99-based standards] (tgammaf): Likewise.
22416 [non-C99-based standards] (y0f): Likewise.
22417 [non-C99-based standards] (y1f): Likewise.
22418 [non-C99-based standards] (ynf): Likewise.
22419 [non-C99-based standards] (isnanf): Likewise.
22420 [non-C99-based standards] (acoshf): Likewise.
22421 [non-C99-based standards] (asinhf): Likewise.
22422 [non-C99-based standards] (atanhf): Likewise.
22423 [non-C99-based standards] (cbrtf): Likewise.
22424 [non-C99-based standards] (expm1f): Likewise.
22425 [non-C99-based standards] (ilogbf): Likewise.
22426 [non-C99-based standards] (log1pf): Likewise.
22427 [non-C99-based standards] (logbf): Likewise.
22428 [non-C99-based standards] (nextafterf): Likewise.
22429 [non-C99-based standards] (remainderf): Likewise.
22430 [non-C99-based standards] (rintf): Likewise.
22431 [non-C99-based standards] (scalbf): Likewise.
22432 [non-C99-based standards] (copysignl): Likewise.
22433 [non-C99-based standards] (exp2l): Likewise.
22434 [non-C99-based standards] (log2l): Likewise.
22435 [non-C99-based standards] (modfl): Allow.
22436 [non-C99-based standards] (erfl): Do not allow.
22437 [non-C99-based standards] (erfcl): Likewise.
22438 [non-C99-based standards] (gammal): Likewise.
22439 [non-C99-based standards] (hypotl): Likewise.
22440 [non-C99-based standards] (j0l): Likewise.
22441 [non-C99-based standards] (j1l): Likewise.
22442 [non-C99-based standards] (jnl): Likewise.
22443 [non-C99-based standards] (lgammal): Likewise.
22444 [non-C99-based standards] (tgammal): Likewise.
22445 [non-C99-based standards] (y0l): Likewise.
22446 [non-C99-based standards] (y1l): Likewise.
22447 [non-C99-based standards] (ynl): Likewise.
22448 [non-C99-based standards] (isnanl): Likewise.
22449 [non-C99-based standards] (acoshl): Likewise.
22450 [non-C99-based standards] (asinhl): Likewise.
22451 [non-C99-based standards] (atanhl): Likewise.
22452 [non-C99-based standards] (cbrtl): Likewise.
22453 [non-C99-based standards] (expm1l): Likewise.
22454 [non-C99-based standards] (ilogbl): Likewise.
22455 [non-C99-based standards] (log1pl): Likewise.
22456 [non-C99-based standards] (logbl): Likewise.
22457 [non-C99-based standards] (nextafterl): Likewise.
22458 [non-C99-based standards] (remainderl): Likewise.
22459 [non-C99-based standards] (rintl): Likewise.
22460 [non-C99-based standards] (scalbl): Likewise.
22461 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22462 [non-C99-based standards] (FP_*): Do not allow.
22463 [C99-based standards] (FP_*): Change to
22464 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22465 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22466 allow.
22467 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22468 (SIG_ERR): Likewise.
22469 [X/Open-based standards] (SIG_HOLD): Likewise.
22470 (SIG_IGN): Likewise.
22471 (SIGABRT): Use macro-int-constant. Specify type. Require
22472 positive value.
22473 (SIGFPE): Likewise.
22474 (SIGILL): Likewise.
22475 (SIGINT): Likewise.
22476 (SIGSEGV): Likewise.
22477 (SIGTER): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22479 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22480 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22481 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22482 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22483 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22486 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22487 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22488 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22495 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22496 [X/Open-based standards] (SIGTRAP): Likewise.
22497 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22501 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22502 allow.
22503
b9f1922d
IW
225042012-05-08 Ian Wienand <ianw@vmware.com>
22505
22506 [BZ #14080]
22507 * time/tzset.c (__tzset_parse_tz): Update default rules for
22508 daylight time changes in the Energy Policy Act of 2005.
22509
1db86e88
AJ
225102012-05-09 Andreas Jaeger <aj@suse.de>
22511
22512 [BZ #13983]
22513 * elf/ldconfig.c (parse_conf): Change string to make clear that
22514 ldconfig only issued a warning if ld.so.conf does not exist.
22515
dee4a4e3
DM
225162012-05-08 David S. Miller <davem@davemloft.net>
22517
ee0db190
DM
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22519 movxtod instead of popping the value on the stack.
22520
dee4a4e3
DM
22521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22522
6a43ec98
CD
225232012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22524
22525 * config.h.in: Add HAVE_ARM_PCS_VFP.
22526
05c2c961
RMG
225272012-05-08 Roland Mc Grath <roland@hack.frob.com>
22528
bcfe3a54
ST
22529 [BZ #13979]
22530 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22531 checking but the checks are disabled for any reason.
05c2c961 22532
4b30f61a
L
225332012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22534
22535 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22536 and ELF64_R_TYPE with ELFW(R_TYPE).
22537
eee2bc67
JM
225382012-05-08 Joseph Myers <joseph@codesourcery.com>
22539
7ea5391a
JM
22540 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22541 (ulimit): Likewise.
22542
eee2bc67
JM
22543 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22544 (settimeofday): Likewise.
22545
abb66a67
MF
225462012-05-08 Mike Frysinger <vapier@gentoo.org>
22547
22548 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22549 a struct th_u2 inside the union, and move tu_block/tu_code into
22550 a new th_u3 union of tu_block/tu_code inside of that. Move
22551 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22552 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22553 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22554 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22555 (th_stuff): Change to th_u1.tu_stuff.
22556 (th_data): Define.
22557 (th_msg): Change to th_u1.th_u2.tu_data.
22558
7f18b530
DM
225592012-05-07 David S. Miller <davem@davemloft.net>
22560
05760585
DM
22561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22562
7f18b530
DM
22563 [BZ #14074]
22564 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22565 (SETUP_PIC_REG): Use it.
22566 (SETUP_PIC_REG_LEAF): Use it.
22567
495fd99f
JM
225682012-05-07 Joseph Myers <joseph@codesourcery.com>
22569
22570 [BZ #13885]
22571 [BZ #13923]
22572 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22573 USE_AS_EXPM1L.
22574 (EXPL_FINITE): Likewise.
22575 (FLDLOG): Likewise.
22576 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22577 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22578 e_expl.S.
22579 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22580 USE_AS_EXPM1L.
22581 (EXPL_FINITE): Likewise.
22582 (FLDLOG): Likewise.
22583 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22584 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22585 e_expl.S.
22586 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22587 test of -max_value argument for long double.
22588 * sysdeps/i386/fpu/libm-test-ulps: Update.
22589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22590
6693d694
DM
225912012-05-06 David S. Miller <davem@davemloft.net>
22592
22593 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22594 quad soft-float symbols whose references which are compiler
22595 generated.
22596 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22597
6c23e11c
JM
225982012-05-06 Joseph Myers <joseph@codesourcery.com>
22599
d8b82cad
JM
22600 [BZ #13884]
22601 [BZ #13914]
22602 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22603 USE_AS_EXP10L.
22604 (EXPL_FINITE): Likewise.
22605 (FLDLOG): Likewise.
22606 (c0): Likewise.
22607 (c1): Likewise.
22608 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22609 Adjust comments for base varying.
22610 (__expl_finite): Change alias to EXPL_FINITE.
22611 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22612 e_expl.S.
22613 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22614 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22616 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22617 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22618 USE_AS_EXP10L.
22619 (EXPL_FINITE): Likewise.
22620 (FLDLOG): Likewise.
22621 (c0): Likewise.
22622 (c1): Likewise.
22623 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22624 Adjust comments for base varying.
22625 (__expl_finite): Change alias to EXPL_FINITE.
22626 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22627 tests for bugs.
22628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22629
6c23e11c
JM
22630 [BZ #14064]
22631 * math/libm-test.inc (check_float_internal): Correct ulp
22632 calculation for subnormal expected results.
22633
29ba805c
AJ
226342012-05-06 Andreas Jaeger <aj@suse.de>
22635
22636 * Makeconfig (+math-flags): New, set to -frounding-math.
22637 (+cflags): Add +math-flags so that all of glibc gets compiled with
22638 it.
22639
22640 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22641
7b17aeda
JM
226422012-05-05 Joseph Myers <joseph@codesourcery.com>
22643
5779f134
JM
22644 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22645 Disable one test.
22646
41498f4d
JM
22647 [BZ #13787]
22648 [BZ #13922]
22649 [BZ #14036]
22650 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22651 (__ieee754_expl): Allow for and saturate large arguments.
22652 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22653 (u_threshold): Likewise.
22654 (__exp): Call __ieee754_exp before checking for overflow and
22655 underflow.
22656 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22657 (u_threshold): Likewise.
22658 (__expf): Call __ieee754_expf before checking for overflow and
22659 underflow.
22660 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22661 (u_threshold): Likewise.
22662 (__expl): Call __ieee754_expl before checking for overflow and
22663 underflow.
22664 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22665 (__ieee754_expl): Allow for and saturate large arguments.
22666 * math/libm-test.inc (exp_test): Add another test. Do not allow
22667 missing overflow exception on overflow.
22668 (expm1_test): Do not allow missing overflow exception on overflow.
22669
6698b8bf
JM
22670 * sysdeps/i386/fpu/e_expl.c: Move to ...
22671 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22672 rather than using inline asm.
22673 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22674 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22675 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22676
7b17aeda
JM
22677 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22678 (nice): Likewise.
22679 (poll): Likewise.
22680 (signal): Likewise.
22681 (time): Likewise.
22682 (times): Likewise.
22683
f7c85819
JM
226842012-05-04 Joseph Myers <joseph@codesourcery.com>
22685
22686 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22687 sysdeps/unix/common/syscalls.list.
22688 (fchmod): Likewise.
22689 (fchown): Likewise.
22690 (ftruncate): Likewise.
22691 (getrusage): Likewise.
22692 (gettimeofday): Likewise.
22693 (setpgid): Likewise.
22694 (setregid): Likewise.
22695 (setreuid): Likewise.
22696 (sigaction): Likewise.
22697 (truncate): Likewise.
22698 (vhangup): Likewise.
22699 * sysdeps/unix/common/syscalls.list: Remove file.
22700 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22701 * sysdeps/unix/sysv/linux/Implies: Likewise.
22702
336270d0
L
227032012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22704
22705 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22707 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22708 Moved to ...
22709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22710 Here.
22711 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22712 to ...
22713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22714 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22715 to ...
22716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22717 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22718 to ...
22719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22720 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22721 to ...
22722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22723 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22724 to ...
22725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22726 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22727 to ...
22728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22729 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22730 to ...
22731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22732 Here.
22733 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22734 to ...
22735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22736 Here.
22737 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22738 to ...
22739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22740 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22741 Moved to ...
22742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22743 Here.
22744 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22745 to ...
22746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22747
d128e450
JM
227482012-05-04 Joseph Myers <joseph@codesourcery.com>
22749
fa8ee516
JM
22750 * sysdeps/unix/common/bits/dirent.h: Remove file.
22751 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22752
d128e450
JM
22753 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22754 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22755 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22756 * sysdeps/unix/bsd/isatty.c: Likewise.
22757 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22758 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22759 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22760
ff8faaf0 227612012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22762
62881be4 22763 [BZ #13563]
31dc8730
AZ
22764 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22765 long double comparison inaccuracies.
22766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22768
6fef930c
AS
227692012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22770
22771 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22773
8f203e6c
JM
227742012-05-04 Joseph Myers <joseph@codesourcery.com>
22775
22776 [BZ #14049]
22777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22778 nonzero digits before rounding a hex value.
22779 * stdlib/tst-strtod.c (tests): Add another test.
22780
5197d9c2
AK
227812012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22782
22783 * sysdeps/s390/fpu/libm-test-ulps: Update.
22784
f0c1dedf
AJ
227852012-05-03 Andreas Jaeger <aj@suse.de>
22786
22787 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22788 does not get optimized out.
22789 (malloc_opt_barrier): New.
22790
a65ef2ae 227912012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22792 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22793
2b942cb7 22794 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22795 intermediate file deletion.
2b942cb7 22796 (generated): Add .symlist files.
a65ef2ae 22797
54b71e02
JM
227982012-05-03 Joseph Myers <joseph@codesourcery.com>
22799
22800 [BZ #13775]
22801 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22802 Redirect under this condition.
22803 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22804 [__USE_GNU] (__dprintf_chk): Not under this condition.
22805 [__USE_GNU] (__vdprintf_chk): Likewise.
22806 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22807 under this condition.
22808 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22809 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22810 [__USE_XOPEN2K8] (vdprintf): Likewise.
22811 [__USE_GNU] (__dprintf_chk): Not under this condition.
22812 [__USE_GNU] (__vdprintf_chk): Likewise.
22813 [__USE_GNU] (dprintf): Likewise.
22814 [__USE_GNU] (vdprintf): Likewise.
22815
d3dfcc41
RM
228162012-05-03 Roland McGrath <roland@hack.frob.com>
22817
22818 * elf/Makefile (common-generated): Set this instead of generated for
22819 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22820 $(all-built-dso)-derived lists.
22821
7ac30cc5
AJ
228222012-05-03 Andreas Jaeger <aj@suse.de>
22823
0c51e550
AJ
22824 * sysdeps/i386/fpu/libm-test-ulps: Update.
22825
7ac30cc5
AJ
22826 * FAQ: Removed.
22827 * FAQ.in: Likewise.
22828 * scripts/gen-FAQ.pl: Likewise.
22829 * manual/install.texi (Installation): Point to online location of
22830 FAQ.
22831 * Makefile (files-for-dist): Remove FAQ.
22832 (FAQ): Remove.
22833
d4c2917f
AM
228342012-05-02 Allan McRae <allan@archlinux.org>
22835
22836 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22837 (LDFLAGS-reldepmod5.so): Likewise.
22838 (LDFLAGS-reldep6mod1.so): Likewise.
22839 (LDFLAGS-reldep6mod4.so): Likewise.
22840 (LDFLAGS-reldep8mod3.so): Likewise.
22841 (LDFLAGS-unload4mod1.so): Likewise.
22842 (LDFLAGS-unload4mod2.so): Likewise.
22843 (LDFLAGS-tst-initorder): Likewise.
22844 (LDFLAGS-tst-initordera2.so): Likewise.
22845 (LDFLAGS-tst-initordera3.so): Likewise.
22846 (LDFLAGS-tst-initordera4.so): Likewise.
22847 (LDFLAGS-tst-initorderb2.so): Likewise.
22848 (LDFLAGS-noload): Likewise.
22849 (LDFLAGS-next): Likewise.
22850 (LDFLAGS-order2mod1.so): Likewise.
22851 (LDFLAGS-order2mod2.so): Likewise.
22852 (LDFLAGS-tst-initorder2): Likewise.
22853 (LDFLAGS-tst-initorder2a.so): Likewise.
22854 (LDFLAGS-tst-initorder2b.so): Likewise.
22855 (LDFLAGS-tst-initorder2c.so): Likewise.
22856 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22857
d77f993f
DM
228582012-05-02 David S. Miller <davem@davemloft.net>
22859
22860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22861
171a70b4
PP
228622012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22863
22864 [BZ #14055]
22865 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22866
0be196ad
AJ
228672012-05-02 Andreas Jaeger <aj@suse.de>
22868
22869 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22870 since we manipulate rounding mode.
22871 (CPPFLAGS-test-idouble.c): Likewise.
22872 (CPPFLAGS-test-ifloat.c): Likewise.
22873 (CFLAGS-test-ldouble.c): Likewise.
22874 (CFLAGS-test-double.c): Likewise.
22875 (CFLAGS-test-float.c): Likewise.
22876 (CFLAGS-test-misc.c): Likewise.
22877 (CFLAGS-test-test-fenv.c): Likewise.
22878
4f9d04aa
AZ
228792012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22880
2b942cb7
RM
22881 [BZ #2550]
22882 [BZ #2570]
22883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22884 comparisons to determine direction to adjust input.
4f9d04aa 22885
82a79e7d
RM
228862012-05-01 Roland McGrath <roland@hack.frob.com>
22887
f5a01ca9
RM
22888 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22889 output to the target.
22890
90fe4186
RM
22891 * scripts/localplt.awk: New file.
22892 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22893 (check-localplt-CFLAGS): Variable removed.
22894 ($(all-built-dso:=.jmprel)): New static pattern rule.
22895 (generated): Add those targets.
22896 (localplt-built-dso): New variable.
22897 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22898
22899 * elf/check-localplt.c: File removed.
22900
82397ed6
RM
22901 * scripts/check-execstack.awk: New file.
22902 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22903 (check-execstack-CFLAGS): Variable removed.
22904 ($(objpfx)check-execstack.h): Target removed.
22905 ($(objpfx)execstack-default): New target.
22906 (generated): Add that instead of check-execstack.h.
22907 ($(all-built-dso:=.phdr)): New static pattern rule.
22908 (generated): Add those targets.
22909 * elf/check-execstack.c: File removed.
22910
82a79e7d
RM
22911 * scripts/check-textrel.awk: New file.
22912 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22913 (check-textrel-CFLAGS): Variable removed.
22914 (all-built-dso): Use := to define.o
22915 ($(all-built-dso:=.dyn)): New static pattern rule.
22916 (generated): Add those targets.
22917 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22918 * config.make.in (READELF): New substituted variable.
22919 * elf/check-textrel.c: File removed.
22920
62fde54f 229212012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22922
615605c9
JM
22923 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22924 allow.
22925 * conform/data/ctype.h-data [C99-based standards] (isblank):
22926 Expect function.
22927 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22928 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22930 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22931 Specify type. Require positive value.
22932 (EILSEQ): Likewise.
22933 (ERANGE): Likewise.
22934 [ISO || POSIX] (EILSEQ): Do not expect.
22935 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22936 Specify type. Require positive value.
22937 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22939 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22940 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22941 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22942 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22943 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22944 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22960 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22961 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22969 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22974 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22975 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22976 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22977 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22978 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22979 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22980 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22981 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22982 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22983 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22984 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22985 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22986 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22987 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22988 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22989 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22990 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22991 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22992 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22993 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22994 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22995 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22996 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22997 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22998 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22999 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23000 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23001 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23002 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23003 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23004 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23005 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23006 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23007 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23008 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23009 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23010 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23011 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23012 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23013 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23014 Require >= 2.
23015 (FLT_ROUNDS): Expect as macro, not constant.
23016 (FLT_MANT_DIG): Use macro-int-constant.
23017 (DBL_MANT_DIG): Likewise.
23018 (LDBL_MANT_DIG): Likewise.
23019 (FLT_DIG): Likewise.
23020 (DBL_DIG): Likewise.
23021 (LDBL_DIG): Likewise.
23022 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23023 (DBL_MIN_EXP): Likewise.
23024 (LDBL_MIN_EXP): Likewise.
23025 (FLT_MAX_EXP): Use macro-int-constant.
23026 (DBL_MAX_EXP): Likewise.
23027 (LDBL_MAX_EXP): Likewise.
23028 (FLT_MAX_10_EXP): Likewise.
23029 (DBL_MAX_10_EXP): Likewise.
23030 (LDBL_MAX_10_EXP): Likewise.
23031 (FLT_MAX): Use macro-constant.
23032 (DBL_MAX): Likewise.
23033 (LDBL_MAX): Likewise.
23034 (FLT_EPSILON): Use macro-constant. Give upper bound.
23035 (DBL_EPSILON): Likewise.
23036 (LDBL_EPSILON): Likewise.
23037 (FLT_MIN): Likewise.
23038 (DBL_MIN): Likewise.
23039 (LDBL_MIN): Likewise.
23040 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23041 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23042 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23043 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23044 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23045 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23046 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23047 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23048 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23049 [ISO11] (FLT_TRUE_MIN): Likewise.
23050 [ISO11] (LDBL_TRUE_MIN): Likewise.
23051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23052 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23053 (SCHAR_MIN): Use macro-int-constant. Specify type.
23054 (SCHAR_MAX): Likewise.
23055 (UCHAR_MAX): Likewise.
23056 (CHAR_MIN): Likewise.
23057 (CHAR_MAX): Likewise.
23058 (MB_LEN_MAX): Use macro-int-constant.
23059 (SHRT_MIN): Use macro-int-constant. Specify type.
23060 (SHRT_MAX): Likewise.
23061 (USHRT_MAX): Likewise.
23062 (INT_MAX): Likewise.
23063 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23064 bound negative.
23065 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23066 bound with "U".
23067 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23068 bound with "L".
23069 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23070 bound negative. Suffix upper bound with "L".
23071 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23072 bound with "UL".
23073 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23074 Specify type.
23075 [C99-based standards] (LLONG_MAX): Likewise.
23076 [C99-based standards] (ULLONG_MAX): Likewise.
23077 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23078 == 0.
23079 [ISO11] (max_align_t): Require type.
23080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23081
c9140a62
JM
23082 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23083 from $CFLAGS, without defining away __attribute__ calls.
23084 (checknamespace): Use $CFLAGS_namespace.
23085
9af0bf29
JM
23086 * conform/conformtest.pl (@keywords): Only include C99 keywords
23087 for standards based on C99 or C11.
23088
343222a2
JM
23089 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23090 Disable tests.
23091 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23092 UNIX98]: Likewise.
23093
661f8cf0
JM
23094 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23095 usability of symbols in #if.
23096
ee74b9cb
JM
23097 * conform/conformtest.pl: If macro or constant types start
23098 "promoted:", expect the symbol to be of the following type
23099 promoted by the integer promotions.
62fde54f 23100
aafc49b3
JM
23101 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23102 in one place. Also handle "macro-constant".
23103
fefdf574
JM
23104 * conform/conformtest.pl: Only accept expected macro values with
23105 "==". Parse all "macro" lines in one place.
23106 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23107
f2d922fe
JM
23108 * conform/conformtest.pl: Handle braced types on "constant" lines
23109 instead of handling "typed-constant".
23110 * conform/data/signal.h-data: Use "constant" instead of
23111 "typed-constant".
23112
d22956c9
JM
23113 * conform/conformtest.pl: Handle "optional-" at start of lines in
23114 one place rather than duplicating several cases. Handle each
23115 format of "macro" line with initial "optional-".
23116
028e2e38
JM
23117 * conform/conformtest.pl: Only accept expected constant or
23118 optional-constant values with "==". Parse all "constant" lines in
23119 one place. Parse all "optional-constant" lines in one place.
23120 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23121 * conform/data/fmtmsg.h-data: Likewise.
23122 * conform/data/netinet/in.h-data: Likewise.
23123 * conform/data/tar.h-data: Likewise.
23124 * conform/data/limits.h-data: Use "==" form on "constant" and
23125 "optional-constant" lines.
23126
1b8f2850
JM
23127 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23128 Use -std=c99 for XOPEN2K.
23129 (@knownproblems): Remove.
23130 (newtoken): Don't check %isknown.
23131
a05a144b
JM
23132 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23133 Do not expect macro.
23134 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23135 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23136 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23137 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23138 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23139 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23140 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23141 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23142 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23143 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23144 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23145 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23146 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23147 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23148 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23149 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23150 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23151 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23152 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23153 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23154 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23155 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23156 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23157 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23158 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23159 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23160 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23161 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23162 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23163 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23164 [XPG3] (acosh): Likewise.
23165 [XPG3] (asinh): Likewise.
23166 [XPG3] (atanh): Likewise.
23167 [XPG3] (cbrt): Likewise.
23168 [XPG3] (expm1): Likewise.
23169 [XPG3] (ilogb): Likewise.
23170 [XPG3] (log1p): Likewise.
23171 [XPG3] (logb): Likewise.
23172 [XPG3] (nextafter): Likewise.
23173 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23174 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23175 [XPG3] (remainder): Likewise.
23176 [XPG3] (rint): Likewise.
23177 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23178 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23179 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23180 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23181 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23182 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23183 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23184 [UNIX98 || XOPEN2K] (scalb): Expect.
23185 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23186 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23187 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23188 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23189 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23190 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23191 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23192 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23193 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23194 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23195 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23196 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23197 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23198 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23199 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23200 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23201 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23202 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23203 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23205 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23206 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23207 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23208 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23210 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23211 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23212 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23213 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23214 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23215 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23216 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23217 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23219 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23220 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23221 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23224 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23225 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23233 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23234 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23262 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23263 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23307 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23308 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23322
73c5ebe3
JM
23323 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23324 _XOPEN_SOURCE_EXTENDED for XPG4.
23325
39c33b6c
JM
23326 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23327
62fde54f
JM
23328 * Makeconfig (localtime): Remove variable.
23329 (inst_localtime-file): Likewise.
23330
0741d64c
AS
233312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23332
23333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23334 Update.
23335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23336 Update.
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23338 Update.
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23340 Update.
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23342 Update.
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23344 Update.
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23346 Update.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23348 Update.
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23350 Update.
23351
7cb029ee
JM
233522012-05-01 Joseph Myers <joseph@codesourcery.com>
23353
23354 [BZ #2550]
23355 [BZ #2570]
23356 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23357 comparisons to determine direction to adjust input.
23358 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23359 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23361 Likewise.
23362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23363 Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23365 Likewise.
23366 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23368 Likewise.
23369 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23370 Likewise.
23371 * math/libm-test.inc (nexttoward_test): Add more tests.
23372
412bd966
AS
233732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23374
23375 [BZ #14040]
23376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23377 in version GLIBC_2.1, not GLIBC_2.0.
23378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23379 Likewise.
23380
9568c0c2
JM
233812012-04-30 Joseph Myers <joseph@codesourcery.com>
23382
adfbc8ac
JM
23383 [BZ #13942]
23384 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23385 (1 - x) * (1 + x).
23386 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23387 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23388 * math/libm-test.inc (acos_test): Add more tests.
23389 (asin_test): Likewise.
23390 * sysdeps/i386/fpu/libm-test-ulps: Update.
23391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23392
5ba3cc69
JM
23393 [BZ #14034]
23394 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23395 of square root.
23396 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23397 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23398 * math/libm-test.inc (acos_test_tonearest): New function.
23399 (acos_test_towardzero): Likewise.
23400 (acos_test_downward): Likewise.
23401 (acos_test_upward): Likewise.
23402 (asin_test_tonearest): Likewise.
23403 (asin_test_towardzero): Likewise.
23404 (asin_test_downward): Likewise.
23405 (asin_test_upward): Likewise.
23406 (main): Call the new functions.
23407 * sysdeps/i386/fpu/libm-test-ulps: Update.
23408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23409
9568c0c2
JM
23410 [BZ #13884]
23411 [BZ #13924]
23412 * math/e_exp10.c: Include <float.h>.
23413 (__ieee754_exp10): Handle underflow here rather than multiplying
23414 large negative argument by M_LN10.
23415 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23416 of __ieee754_expf.
23417 * math/e_exp10l.c: Include <float.h>.
23418 (__ieee754_exp10l): Handle underflow here rather than multiplying
23419 large negative argument by M_LN10l.
23420 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23421 spurious overflow exception on underflow.
23422
5ac3ea17
MP
234232012-04-29 Marek Polacek <polacek@redhat.com>
23424
23425 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23426 (__fortify_function): New macro.
23427 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23428 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23429 __extern_always_inline.
23430 * libio/bits/stdio2.h: Likewise.
23431 * libio/bits/stdio.h: Likewise.
23432 * string/string.h: Likewise.
23433 * string/bits/string3.h: Likewise.
23434 * include/stdio.h: Likewise.
23435 * stdlib/bits/stdlib.h: Likewise.
23436 * stdlib/stdlib.h: Likewise.
23437 * rt/bits/mqueue2.h: Likewise.
23438 * rt/mqueue.h: Likewise.
23439 * posix/bits/unistd.h: Likewise.
23440 * posix/unistd.h: Likewise.
23441 * io/bits/poll2.h: Likewise.
23442 * io/bits/fcntl2.h: Likewise.
23443 * io/fcntl.h: Likewise.
23444 * io/sys/poll.h: Likewise.
23445 * misc/bits/syslog.h: Likewise.
23446 * misc/bits/syslog-ldbl.h: Likewise.
23447 * misc/sys/syslog.h: Likewise.
23448 * socket/bits/socket2.h: Likewise.
23449 * socket/sys/socket.h: Likewise.
23450 * debug/tst-chk1.c: Likewise.
23451 * wcsmbs/bits/wchar2.h: Likewise.
23452 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23453 * wcsmbs/wchar.h: Likewise.
23454
ecf0ebfb
AJ
234552012-04-29 Andreas Jaeger <aj@suse.de>
23456
23457 * Makerules (tests): Remove enable-check-abi protection.
23458 (check-abi-warn): Remove.
23459 (check-abi-%): Remove check-abi-warn usage.
23460
23461 * configure.in: Remove check-abi configure option.
23462 * configure: Regenerated.
23463 * config.make.in (enable-check-abi): Remove.
23464
6d5c57fa
AS
234652012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23466
24c5d07e 23467 [BZ #14033]
ded5180a
AS
23468 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23469 double functions to double *_finite functions.
23470
7e0d315d
AS
23471 [BZ #13941]
23472 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23473 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23474 LDBL_MIN_EXP.
23475 * stdio-common/Makefile (tests): Add tst-sprintf3.
23476 * stdio-common/tst-sprintf3.c: New file.
23477
6d5c57fa
AS
23478 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23479 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23480
0749ff8b
JM
234812012-04-28 Joseph Myers <joseph@codesourcery.com>
23482
23483 * conform/conformtest.pl: Remove duplicate typed-constant
23484 handling.
23485
8dbd5d7b
DM
234862012-04-28 David S. Miller <davem@davemloft.net>
23487
23488 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23489 (check-abi-%): Remove AWK script prerequisite and explicit
23490 abilist directory.
23491 (check-abi): Rewrite to just diff the symlist with the abilist.
23492 (config-tls, config-abi-config): Delete, no longer used.
23493 (update-abi-%): Remove AWK script and explicit abilist directory.
23494 (update-abi): Rewrite to simply compare and conditionally copy the
23495 symlist and the sysdep abilist file. Remove update-abi-config
23496 checks.
23497 * abilist/ld.abilist: Remove.
23498 * abilist/libBrokenLocale.abilist: Remove.
23499 * abilist/libanl.abilist: Remove.
23500 * abilist/libcrypt.abilist: Remove.
23501 * abilist/libdl.abilist: Remove.
23502 * abilist/librt.abilist: Remove.
23503 * abilist/libthread_db.abilist: Remove.
23504 * abilist/libutil.abilist: Remove.
23505 * scripts/extract-abilist.awk: Remove.
23506 * scripts/merge-abilist.awk: Remove.
23507 * sysdeps/generic/libcidn.abilist: New file.
23508 * sysdeps/generic/libnss_compat.abilist: New file.
23509 * sysdeps/generic/libnss_db.abilist: New file.
23510 * sysdeps/generic/libnss_dns.abilist: New file.
23511 * sysdeps/generic/libnss_files.abilist: New file.
23512 * sysdeps/generic/libnss_hesiod.abilist: New file.
23513 * sysdeps/generic/libnss_nis.abilist: New file.
23514 * sysdeps/generic/libnss_nisplus.abilist: New file.
23515 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23516 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23517 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23518 file.
23519 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23520 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23521 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23522 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23523 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23524 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23525 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23526 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23527 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23528 file.
23529 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23530 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23531 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23532 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23533 file.
23534 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23535 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23536 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23537 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23538 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23539 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23540 file.
23541 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23542 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23543 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23544 file.
23545 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23547 New file.
23548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23549 New file.
23550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23551 New file.
23552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23553 New file.
23554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23555 New file.
23556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23557 New file.
23558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23559 New file.
23560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23561 New file.
23562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23563 New file.
23564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23565 New file.
23566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23567 New file.
23568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23569 New file.
23570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23571 New file.
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23573 file.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23575 New file.
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23577 New file.
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23579 file.
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23581 New file.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23583 New file.
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23585 file.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23587 New file.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23589 New file.
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23591 New file.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23593 New file.
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23595 New file.
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23597 New file.
23598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23600 file.
23601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23602 New file.
23603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23604 file.
23605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23606 file.
23607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23608 file.
23609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23610 file.
23611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23612 file.
23613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23614 New file.
23615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23616 file.
23617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23618 file.
23619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23620 New file.
23621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23622 file.
23623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23625 file.
23626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23627 New file.
23628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23629 file.
23630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23631 file.
23632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23633 file.
23634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23635 file.
23636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23637 file.
23638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23639 New file.
23640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23641 file.
23642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23643 file.
23644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23645 New file.
23646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23647 file.
23648 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23649 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23650 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23651 file.
23652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23653 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23654 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23655 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23656 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23658 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23659 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23660 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23661 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23664 file.
23665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23666 New file.
23667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23668 file.
23669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23670 file.
23671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23672 file.
23673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23674 file.
23675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23676 file.
23677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23678 New file.
23679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23680 New file.
23681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23682 file.
23683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23684 New file.
23685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23686 file.
23687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23689 file.
23690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23691 New file.
23692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23693 file.
23694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23695 file.
23696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23697 file.
23698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23699 file.
23700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23701 file.
23702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23703 New file.
23704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23705 New file.
23706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23707 file.
23708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23709 New file.
23710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23711 file.
23712
41d73a1b
JM
237132012-04-28 Joseph Myers <joseph@codesourcery.com>
23714
23715 * conform/conformtest.pl: Fix typo in handling typed-constant from
23716 allow-header.
23717
28aeeda4
JM
237182012-04-27 Joseph Myers <joseph@codesourcery.com>
23719
adae8f5e
JM
23720 * README: Cut down references to pre-2.6 Linux kernels and
23721 Linuxthreads. Update lists of configurations in libc and ports
23722 and sort alphabetically. Say "or newer" with Linux kernel version
23723 requirements.
23724
28aeeda4
JM
23725 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23726
a462cb63
RA
237272012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23728
23729 [BZ #887]
23730 * math/libm-test.inc (logb_test_downward): New test to expose
23731 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23732 rounding mode.
23733
6ad3493e
JM
237342012-04-27 Joseph Myers <joseph@codesourcery.com>
23735
23736 [BZ #14027]
23737 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23738 to be done.
23739 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23740 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23741
2ce4f015
JM
237422012-04-26 Joseph Myers <joseph@codesourcery.com>
23743
5aeb141a
JM
23744 * sysdeps/unix/i386/brk.S: Remove file.
23745 * sysdeps/unix/i386/dl-brk.S: Likewise.
23746 * sysdeps/unix/i386/pipe.S: Likewise.
23747 * sysdeps/unix/i386/sigreturn.S: Likewise.
23748 * sysdeps/unix/i386/syscall.S: Likewise.
23749 * sysdeps/unix/i386/vfork.S: Likewise.
23750 * sysdeps/unix/i386/wait.S: Likewise.
23751
7143acae
JM
23752 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23753 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23754
2ce4f015
JM
23755 * configure.in (arm*-none*): Do not allow without
23756 --enable-hacker-mode.
23757 (netbsd*): Remove case setting base_os.
23758 (386bsd*): Likewise.
23759 (freebsd*): Likewise.
23760 (bsdi*): Likewise.
23761 (osf*): Likewise.
23762 (sunos*): Likewise.
23763 (ultrix*): Likewise.
23764 (newsos*): Likewise.
23765 (dynix*): Likewise.
23766 (*bsd*): Likewise.
23767 (sysv*): Likewise.
23768 (isc*): Likewise.
23769 (esix*): Likewise.
23770 (sco*): Likewise.
23771 (minix*): Likewise.
23772 (irix4*): Likewise.
23773 (irix6*): Likewise.
23774 (solaris[2-9]*): Likewise.
23775 (none): Likewise.
23776 * configure: Regenerated.
23777
0ac229c8
AZ
237782012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23779
23780 [BZ #11521]
23781 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23782 overflow or cancellation in calculating denominator.
23783 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23785 down expression to avoid unexpected rounding in newer GCCs.
23786 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23787
33f244f4
DM
237882012-04-26 David S. Miller <davem@davemloft.net>
23789
23790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23791 long-double compat symbols.
23792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23805
cfa1f3e8
DM
238062012-04-25 David S. Miller <davem@davemloft.net>
23807
23808 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23809 HWCAP_* values only after the memory barriers have been defined.
23810 (atomic_full_barrier): Define.
23811 (atomic_read_barrier): Define.
23812 (atomic_write_barrier): Define.
23813
6e236b92
SP
238142012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23815
23816 * shlib-versions: Add libgcc_s version information.
23817 * sysdeps/generic/libgcc_s.h: Remove.
23818 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23819 libgcc_s.h.
23820 * sysdeps/gnu/unwind-resume.c: Likewise.
23821 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23822
aab39a09
DM
238232012-04-25 David S. Miller <davem@davemloft.net>
23824
23825 * sysdeps/unix/sparc/brk.S: Delete.
23826 * sysdeps/unix/sparc/dl-brk.S: Delete.
23827 * sysdeps/unix/sparc/pipe.S: Delete.
23828 * sysdeps/unix/sparc/sysdep.S: Delete.
23829 * sysdeps/unix/sparc/sysdep.h: Delete.
23830 * sysdeps/unix/sparc/vfork.S: Delete.
23831 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23832 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23833 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23834 ret_ERRVAL, r0, r1, MOVE): Define.
23835 (JUMPTARGET): Remove.
23836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23837 sysdeps/unix/sparc/sysdep.h
23838 (ENTRY, END): Remove.
23839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23840
a3cc4f48
JM
238412012-04-25 Joseph Myers <joseph@codesourcery.com>
23842
2ed8cda2
JM
23843 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23844 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23845 -DIS_IN_build.
23846
35d76d59
JM
23847 * timezone/README: Update upstream location and email address for
23848 tzcode and tzdata.
23849 * timezone/zdump.c: Update from tzcode 2012b.
23850 * timezone/zic.c: Likewise.
23851
a3cc4f48
JM
23852 * configure.in (libc_cv_as_needed): Remove test.
23853 * configure: Regenerated.
23854 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23855 conditional definition.
23856 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23857 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23858 * config.make.in (have-as-needed): Remove variable.
23859
ceab42c3
SP
238602012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23861 Paul Pluzhnikov <ppluzhnikov@google.com>
23862
23863 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23864 strings correctly.
23865
3ce2865f
CLT
238662012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23867
23868 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23869 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23870 * sysdeps/sh/strlen.S: Likewise.
23871
f37e0d68
JM
238722012-04-24 Joseph Myers <joseph@codesourcery.com>
23873
ae186e9a
JM
23874 * sysdeps/unix/fork.S: Remove file.
23875 * sysdeps/unix/i386/fork.S: Likewise.
23876 * sysdeps/unix/sparc/fork.S: Likewise.
23877
b96914af
JM
23878 * sysdeps/unix/system.c: Remove file.
23879 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23880
f37e0d68
JM
23881 * sysdeps/unix/getegid.S: Remove file.
23882 * sysdeps/unix/geteuid.S: Likewise.
23883
87ef29ca
RM
238842012-04-24 Roland McGrath <roland@hack.frob.com>
23885
83bcd236
RM
23886 * scripts/check-localplt.awk: New file.
23887 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23888 of diff.
23889 * scripts/data/localplt-generic.data: Add a comment.
23890
87ef29ca
RM
23891 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23892 NODE when __dir_mkfile failed.
23893 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23894 Reported by Ludovic Courtès <ludo@gnu.org>.
23895
e5a6e567
AJ
238962012-04-24 Andreas Jaeger <aj@suse.de>
23897
23898 * Makerules (common-clean): Also remove gen-as-const-headers
23899 files.
23900
c1820385
JM
239012012-04-24 Joseph Myers <joseph@codesourcery.com>
23902
23903 * Makerules (native-compile): Do not change working directory for
23904 build. Use $(OUTPUT_OPTION) in command.
23905 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23906
94e02fc4
AZ
239072012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23908
23909 [BZ #13886]
23910 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23911 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23912 * math/libm-test.inc (floor_test): Add more tests.
23913 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23914
3a533ca3
JM
239152012-04-24 Joseph Myers <joseph@codesourcery.com>
23916
940ab4b3
JM
23917 * sysdeps/unix/getdents.c: Remove file.
23918 * sysdeps/unix/sysv/getdents.c: Likewise.
23919 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23920
90e037bd
JM
23921 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23922 sysdeps/unix/mman/syscalls.list.
23923 (mmap): Likewise.
23924 (mprotect): Likewise.
23925 (msync): Likewise.
23926 (munmap): Likewise.
23927 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23928 * sysdeps/unix/mman/syscalls.list: Remove.
23929 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23930
3a533ca3
JM
23931 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23932 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23933 * configure: Regenerated.
23934 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23935 $(libgcc_s_suffix).
23936 * config.make.in (libgcc_s_suffix): Remove variable.
23937
1ad743de
JM
239382012-04-23 Joseph Myers <joseph@codesourcery.com>
23939
4ad451e2
JM
23940 * sysdeps/unix/sysv/gethostname.c: Move to ...
23941 * sysdeps/posix/gethostname.c: ... here.
23942
5e37ce39
JM
23943 * sysdeps/unix/execve.S: Remove file.
23944
1ad743de
JM
23945 * sysdeps/unix/_exit.S: Remove file.
23946
4e681b5b
AJ
239472012-04-23 Andreas Jaeger <aj@suse.de>
23948
23949 [BZ #13739]
23950 * manual/Makefile: Remove make dist support, there's no
23951 need for a stand-alone documentation tar ball.
23952 (TEXI2DVI): Define always, it's not in Makeconfig.
23953 (dist): Removed.
23954 (tar-it): Removed.
23955 (edition): Removed.
23956 (glibc-doc-$(edition).tar): Removed
23957 (%.Z): Removed.
23958 (%.gz): Removed.
23959 (%.uu): Removed.
23960 (ETAGS): Remove, it's in Makeconfig.
23961 (move-if-change): Remove, it's in Makeconfig.
23962
38686a03 239632012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23964
23965 [BZ #13970]
23966 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23967 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23968 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23969 (strtod_l, strtof_l, strtold_l): Remove __wur.
23970 It is not necessarily an error to ignore strtol's return value.
23971 One can reliably look at the stored endptr to decide whether
23972 the number had valid syntax.
23973
7c0616fa
AJ
239742012-04-21 Andreas Jaeger <aj@suse.de>
23975
803cb6b7 23976 [BZ #13739]
7c0616fa
AJ
23977 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23978
b0fe253f
JM
239792012-04-21 Joseph Myers <joseph@codesourcery.com>
23980
23981 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23982 * sysdeps/unix/sysv/Versions: Remove file.
23983
8280f22d
MT
239842012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23985
23986 [BZ #13927]
23987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23988
75ce411f 239892012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23990
23991 [BZ #7064]
23992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23993 version from __vm86.
23994
097d59fa
JM
239952012-04-20 Joseph Myers <joseph@codesourcery.com>
23996
a90f3bcb
JM
23997 * sysdeps/unix/common/lxstat.c: Remove file.
23998 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23999
edc7ea78
JM
24000 * sysdeps/unix/sysv/Makefile: Remove file.
24001
cb78c221
JM
24002 * sysdeps/unix/sysv/direct.h: Remove file.
24003
efa6a45f
JM
24004 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24005 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24006 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24007 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24008 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24009 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24010 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24011
9c9f2d0c
JM
24012 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24013
4541c83b
JM
24014 * sysdeps/unix/xmknod.c: Remove file.
24015 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24016
f5d153a0
JM
24017 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24018
aa746595
JM
24019 * sysdeps/unix/sysv/i386/time.S: Remove file.
24020
cce5905e
JM
24021 * sysdeps/unix/fxstat.c: Remove file.
24022 * sysdeps/unix/xstat.c: Likewise.
24023 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24024
37fa3841
JM
24025 * sysdeps/unix/sysv/sigaction.c: Remove file.
24026
ff1962a3
JM
24027 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24028 (sysdep_headers): Remove variable.
24029 [termio.h not in sysdep_headers] (generated): Likewise.
24030 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24031 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24032 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24033 * sysdeps/unix/sysv/tcflow.c: Likewise.
24034 * sysdeps/unix/sysv/tcflush.c: Likewise.
24035 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24036 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24037 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24038 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24039 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24040
e7740d31
JM
24041 * sysdeps/unix/siglist.c: Remove file.
24042
ee06f18b
JM
24043 * sysdeps/unix/getppid.S: Remove file.
24044
097d59fa
JM
24045 * sysdeps/unix/mkdir.c: Remove file.
24046 * sysdeps/unix/rmdir.c: Likewise.
24047
ff3d51ec
AS
240482012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24049
24050 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24051 ERR_MAX value.
24052 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24053 errlist-compat value.
24054
50f81fd7
DM
240552012-04-18 David S. Miller <davem@davemloft.net>
24056
24057 * sysdeps/generic/memcopy.h (reg_char): Delete.
24058 * debug/strcat_chk.c: Use char, not reg_char.
24059 * debug/strcpy_chk.c: Likewise.
24060 * debug/strncat_chk.c: Likewise.
24061 * debug/strncpy_chk.c: Likewise.
24062 * string/memchr.c: Likewise.
24063 * string/memrchr.c: Likewise.
24064 * string/rawmemchr.c: Likewise.
24065 * string/strcat.c: Likewise.
24066 * string/strchr.c: Likewise.
24067 * string/strchrnul.c: Likewise.
24068 * string/strcmp.c: Likewise.
24069 * string/strcpy.c: Likewise.
24070 * string/strncat.c: Likewise.
24071 * string/strncmp.c: Likewise.
24072 * string/strncpy.c: Likewise.
24073
8ff41c46
WS
240742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24075
24076 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24077 __builtin_memcopy is called when src and dest ranges are known to not
24078 overlap.
24079
6b652f46
WS
240802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24081
24082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24083 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24084 fwd_align_merge macro call.
24085 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24086 bwd_align_merge macro call.
24087 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24088
b282631e
WS
240892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24090
24091 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24092 bwd_align_merge macros.
24093 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24094 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24095 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24096
95aa737c
DM
240972012-04-18 David S. Miller <davem@davemloft.net>
24098
24099 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24100
7a99a614
AJ
241012012-04-18 Andreas Jaeger <aj@suse.de>
24102
24103 [BZ# 6794]
24104 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24105 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24106 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24107
24108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24109 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24110 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24111
24112 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24113 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24114 Adjust for changed ldbl-128 files.
24115
24116 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24117 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24118 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24119
e5270c23
DM
241202012-04-17 David S. Miller <davem@davemloft.net>
24121
24122 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24123
fb5e92c9
AS
241242012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24125
24126 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24127 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24128 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24129 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24130 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24131 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24132
76da7265
AZ
241332012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24134
24135 [BZ #6794]
24136 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24137 * math/libm-test.inc: Add ilogb errno and exception tests.
24138 * math/w_ilogb.c: New file: ilogb wrapper.
24139 * math/w_ilogbf.c: New file: ilogbf wrapper.
24140 * math/w_ilogbl.c: New file: ilogbl wrapper.
24141 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24142 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24143 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24144 exception being thrown with 0.0 as argument.
24145 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24146 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24147 exception being thrown with 0.0 as argument.
24148 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24149 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24150 exception being thrown with 0.0 as argument.
24151 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24152 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24153 exception being thrown with 0.0 as argument.
24154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24155 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24157 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24158 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24159 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24160 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24161 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24162 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24163
0396e69d
PB
241642012-04-17 Petr Baudis <pasky@ucw.cz>
24165
24166 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24167 with altivec.
24168
750b5926
MP
241692012-04-16 Marek Polacek <polacek@redhat.com>
24170
24171 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24172
751728a1
MP
241732012-04-16 Marek Polacek <polacek@redhat.com>
24174
24175 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24176 operands of fdivp instruction.
24177
34a27407
L
241782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24179
24180 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24181 * elf/tst-auditmod3b.c: Likewise.
24182 * elf/tst-auditmod4b.c: Likewise.
24183 * elf/tst-auditmod5b.c: Likewise.
24184 * elf/tst-auditmod6b.c: Likewise.
24185 * elf/tst-auditmod6c.c: Likewise.
24186 * elf/tst-auditmod7b.c: Likewise.
24187 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24188 * sysdeps/x86_64/preconfigure.in: Likewise.
24189 * sysdeps/x86_64/preconfigure: Regenerated.
24190
7e73e17d
L
241912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24192
24193 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24194 __ILP32__.
24195
c7a6ab72
AB
241962012-04-13 Antoine Balestrat <merkil33@gmail.com>
24197
24198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24199 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24200
a9e8e0e0
CL
242012012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24202
24203 [BZ #13973]
24204 * locale/iso-639.def: Fix gl language name. Spotted by
24205 Yaron Shahrabani.
24206
ec98af7d
RM
242072012-04-12 Roland McGrath <roland@hack.frob.com>
24208
24209 [BZ #2074]
24210 * libio/libio.h (__io_write_fn): Update comment.
24211
247c3ede
PB
242122012-04-12 Petr Baudis <pasky@ucw.cz>
24213
24214 [BZ #2074]
24215 * stdio.texi (Hook Functions): The user provided writer function
24216 is not allowed to return -1.
24217
55939d6d
DM
242182012-04-11 David S. Miller <davem@davemloft.net>
24219
24220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24221
90020f5a
MF
242222012-04-11 Mike Frysinger <vapier@gentoo.org>
24223
24224 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24225 Add a leading slash to rtkaio.
24226
288f9098
JM
242272012-04-11 Jim Meyering <meyering@redhat.com>
24228
90020f5a
MF
24229 [BZ #11959]
24230 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24231 It is not necessarily an error to ignore fwrite's return
24232 value. One can reliably use ferror to test for errors after
24233 the fact.
288f9098 24234
4be2b570
L
242352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24236
24237 * bits/types.h (__snseconds_t): New type.
24238 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24239
24240 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24242 (__SNSECONDS_T_TYPE): Likewise.
24243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24244 (__SNSECONDS_T_TYPE): Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24246 (__SNSECONDS_T_TYPE): Likewise.
24247
288f9098 242482012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24249
24250 [BZ #2636]
24251 * manual/time.texi (Processor Time): Return type of times is
24252 elapsed real time since an arbitrary point in the past.
24253 (CPU Time): Move CLK_TCK from here...
24254 (Processor Time): ...to here. Correct description.
24255 * manual/conf.texi (Constants for Sysconf): Correct description of
24256 _SC_CLK_TCK.
24257
d7dd4413
DM
242582012-04-10 David S. Miller <davem@davemloft.net>
24259
24260 [BZ #13967]
24261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24262 where the is a gap between DT_REL(A) and DT_JMPREL.
24263
b46068fc
L
242642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24265
24266 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24267 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24268 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24269
73d65cc3
SP
242702012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24271
24272 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24273 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24274 (dl_main): Handle --inhibit-cache.
24275 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24276 _dl_inhibit_cache.
24277 * elf/dl-load.c (_dl_map_object): Use it.
24278 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24279
bcc8d661
JM
242802012-04-09 Joseph Myers <joseph@codesourcery.com>
24281
8f9a2fae
JM
24282 [BZ #13872]
24283 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24284 (__ieee754_powl): Saturate large exponents rather than testing for
24285 overflow of y*log2(x).
24286 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24287 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24288 exceptions.
24289
bcc8d661
JM
24290 [BZ #11521]
24291 * math/s_ctan.c: Include <float.h>.
24292 (__ctan): Avoid internal overflow or cancellation in calculating
24293 denominator.
24294 * math/s_ctanf.c: Likewise.
24295 * math/s_ctanl.c: Likewise.
24296 * math/s_ctanh.c: Likewise.
24297 * math/s_ctanhf.c: Likewise.
24298 * math/s_ctanhl.c: Likewise.
24299 * math/libm-test.inc (ctan_test): Add more tests.
24300 (ctanh_test): Likewise.
24301 * sysdeps/i386/fpu/libm-test-ulps: Update.
24302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24303
823fbbb4
AJ
243042012-04-09 Andreas Jaeger <aj@suse.de>
24305
03879793
AJ
24306 [BZ #6894]
24307 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24308 is an optional BSD extension.
24309
823fbbb4
AJ
24310 [BZ #10254]
24311 * manual/stdio.texi (Opening Streams): Document additional fopen
24312 parameters.
24313
8de131cb
RM
243142012-04-09 Roland McGrath <roland@hack.frob.com>
24315
24316 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24317 %eax without telling the compiler.
24318
c0ed9d7d
CD
243192012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24320
24321 [BZ # 13963]
24322 * manual/install.texi: Use sourceware.org.
24323
c483f6b4
JM
243242012-04-09 Joseph Myers <joseph@codesourcery.com>
24325
d7dd9453
JM
24326 [BZ #13873]
24327 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24328 (__ieee754_pow): Generate overflow and underflow using huge*huge
24329 and tiny*tiny rather than just returning constant infinity or zero
24330 for large exponents.
24331 * math/libm-test.inc (pow_test): Require overflow exceptions for
24332 applicable cases of large exponents.
24333
c483f6b4
JM
24334 [BZ #706]
24335 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24336 (__ieee754_pow): Use iterative multiplication algorithm only for
24337 integer exponents with absolute value below 1024. Check for odd
24338 integer exponents when using algorithm for real exponents.
24339 * math/libm-test.inc (pow_test): Add more tests.
24340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24341
d2de7579
JM
243422012-04-08 Joseph Myers <joseph@codesourcery.com>
24343
24344 [BZ #13705]
24345 * math/libm-test.inc (exp_test): Do not allow overflow exception
24346 on underflow test.
24347
f77f1232
AJ
243482012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24349
24350 [BZ #13705]
24351 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24352 instead of __kernel_standard_f.
24353
3884932b
MF
243542012-04-08 Mike Frysinger <vapier@gentoo.org>
24355
24356 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24357 * sysdeps/x86_64/memset_chk.S: Likewise.
24358
54472e9c
AJ
243592012-04-08 Andreas Jaeger <aj@suse.de>
24360
6ab0fbfc
AJ
24361 [BZ #10153]
24362 * manual/startup.texi (Environment Access): Describe return value
24363 for putenv and setenv.
24364
61efba8c
AJ
24365 [BZ #6895]
24366 * manual/filesys.texi (Directory Entries): Add description for
24367 DT_LNK.
24368
95c3f29a
AJ
24369 [BZ #6890]
24370 * manual/filesys.texi (Directory Entries): Clarify that it's file
24371 system not operating system in the description of DT_UNKNOWN.
24372
54472e9c
AJ
24373 [BZ #6578]
24374 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24375
624254b1
SC
243762012-04-08 Stephen Compall <s11@member.fsf.org>
24377
24378 [BZ #6649]
24379 * manual/llio.texi (Opening and Closing Files): Add cross
24380 reference to explain mode argument.
24381
1e4920e0
MF
243822012-04-07 Mike Frysinger <vapier@gentoo.org>
24383
24384 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24385 * sysdeps/x86_64/memset_chk.S: Likewise.
24386
5ed848f3
DM
243872012-04-07 David S. Miller <davem@davemloft.net>
24388
24389 * elf/elf.h (R_SPARC_WDISP10): Define.
24390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24391 R_SPARC_SIZE32.
24392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24393 R_SPARC_SIZE64 and R_SPARC_H34.
24394
96154cd8
CD
243952012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24396
24397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24398 conditions and remove no longer applicable assertion.
24399
9904dc47
L
244002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24401
24402 * bits/byteswap.h: Include <features.h>.
24403 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24404 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24405
f8887d0a
L
244062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24407
24408 * bits/byteswap.h (__bswap_16): Removed.
24409 Include <bits/byteswap-16.h> to get __bswap_16.
24410 * sysdeps/i386/bits/byteswap.h: Likewise.
24411 * sysdeps/s390/bits/byteswap.h: Likewise.
24412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24413 * bits/byteswap-16.h: New file.
24414 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24415 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24416 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24417 * string/Makefile (headers): Add bits/byteswap-16.h.
24418
62470f60
PP
244192012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24420
24421 [BZ #13895]
24422 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24423 extra indirection.
24424 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24425 * nss/tst-nss-static.c: New.
24426
4dad7bab
RM
244272012-04-06 Robert Millan <rmh@gnu.org>
24428
24429 [BZ #6486]
24430 * manual/llio.texi (File Position Primitive): lseek
24431 refers to WHENCE when it really means OFFSET.
24432
e9142a17
AJ
244332012-04-06 Andreas Jaeger <aj@suse.de>
24434
2c040eff
AJ
24435 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24436 strncmp declarations.
24437
e9142a17
AJ
24438 * abilist/libc.abilist: Add __poll and __ppoll.
24439
ff9f1c5f
DM
244402012-04-05 David S. Miller <davem@davemloft.net>
24441
dcd2ae90
DM
24442 * scripts/check-local-headers.sh: Accept a host triplet in the
24443 path matched by the exclude regexp.
24444
993eb054
DM
24445 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24446 definition.
24447 * sysdeps/powerpc/powerpc32/dl-machine.h
24448 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24449 * sysdeps/s390/s390-32/dl-machine.h
24450 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24451 * sysdeps/sparc/sparc32/dl-machine.h
24452 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24453 * sysdeps/sparc/sparc64/dl-machine.h
24454 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24455
ff9f1c5f
DM
24456 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24457 lazy binding.
48e2e132 24458 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24459 undefined symbol errors.
24460
48e2e132 24461 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24462 DT_NEEDED entries.
24463
e80d6f94
MM
244642012-04-05 Michael Matz <matz@suse.de>
24465
24466 [BZ #13592]
24467 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24468
349fa79f
AJ
244692012-04-05 Andreas Jaeger <aj@suse.de>
24470
24471 [BZ #13908]
24472 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24473 comment.
24474
f402708f
KK
244752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24476
24477 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24478 which ROUND is no valid rounding mode.
24479
2ecccfc9
KK
244802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24481
24482 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24483 read again.
24484 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24485
8a53f50f
KK
244862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24487
24488 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24489 an exception using FPU order intentionally.
24490
244912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24492
24493 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24494 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24495 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24496 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24497
d653abb7
SJ
244982012-04-05 Simon Josefsson <simon@josefsson.org>
24499
24500 [BZ #12340]
24501 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24502 EINVAL when BUFLEN is too smal.
24503
c3b1bf7d
TS
245042012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24505
24506 [BZ #13553]
24507 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24508 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24509
b1aa60f3
AJ
245102012-04-03 Andreas Jaeger <aj@suse.de>
24511
c3b1bf7d 24512 [BZ #13938]
67f60a26
AJ
24513 * manual/setjmp.texi (System V contexts): Fix sentence.
24514
b1aa60f3
AJ
24515 [BZ #13926]
24516 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24517 New macro for this case.
24518 [!__GNUC__] (__bswap_64): New inline function for this case.
24519 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24520 * bits/byteswap.h: Likewise.
24521 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24522 ull, guard with __GLIBC_HAVE_LONG_LONG.
24523
24524 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24525 __GLIBC_HAVE_LONG_LONG.
24526
24527 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24528 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24529
39c59c35
TMQMF
245302012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24531
24532 [BZ #13691]
24533 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24534 inptr and inend, rather than using last_ch.
24535
135ffda8
DM
245362012-04-02 David S. Miller <davem@davemloft.net>
24537
24538 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24539 * stdio-common/printf-parse.h (read_int): Change return type to
24540 'int', return -1 on INT_MAX overflow.
24541 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24542 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24543 overflows INT_MAX. Check for overflow of in-format-string precision
24544 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24545 SIZE_MAX not INT_MAX for integer overflow test.
24546 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24547 skip the construct in the format string but do not record anything.
24548 * stdio-common/bug22.c: Adjust to test both width/prevision
24549 INT_MAX overflow as well as total length INT_MAX overflow. Check
24550 explicitly for proper errno values.
24551
228c019e
TS
245522012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24553
302cadd3
TS
24554 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24555 CHAR_MAX.
24556 * string/test-strcmp.c [! WIDE]: Likewise.
24557 * time/tst-mktime2.c: Likewise for INT_MAX.
24558 * string/test-string.h: #include <sys/param.h> for MIN.
24559
228c019e
TS
24560 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24561 * sysdeps/i386/init-first.c (init): Likewise.
24562 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24563 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24564 * sysdeps/sh/init-first.c (init): Likewise.
24565
cfa633f5
UD
245662012-04-01 Ulrich Drepper <drepper@gmail.com>
24567
24568 * po/ru.po: Update from translation team.
d1635ef8 24569 * po/vi.po: Likewise.
cfa633f5 24570
6cd0a5ea
SP
245712012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24572
24573 * resolv/nss_dns/dns-host.c: Merge copyright years.
24574
4b43400f
LD
245752012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24576
24577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24578 Optimize memcpy with prefetch if
24579 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24580 src, dst pointers have unequal 16 byte alignments.
24581
48c41d04
SP
245822012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24583
24584 [BZ #13928]
24585 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24586 from a CNAME entry and return the minimum ttl for the query.
24587 (gaih_getanswer_slice): Likewise.
24588
b8dc394d
JL
245892012-03-30 Jeff Law <law@redhat.com>
24590
24591 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24592 due to long keys.
24593 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24594 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24595
2f5a5ed0
JL
24596 * resolv/nss_dns/dns-host.c: Update copyright year.
24597
1d39e359
UD
245982012-03-30 Ulrich Drepper <drepper@gmail.com>
24599
c030f70c 24600 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24601 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24602
1d39e359
UD
24603 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24604 comments for sendmmsg.
24605
246062012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24607
24608 [BZ #13691]
24609 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24610 with only 1 character between 0x0041 and 0x01b0.
24611 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24612 * wcsmbs/tst-mbsnrtowcs.c: New file.
24613
20fde227
DM
246142012-03-29 David S. Miller <davem@davemloft.net>
24615
24616 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24617 small copies by hand.
24618
984a4237
JL
246192012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24620
24621 [BZ #13761]
24622 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24623 _nss_compat_initgroups_dyn): Fall back to malloc/free
24624 for large group memberships.
24625
18c9d62b
DM
246262012-03-28 David S. Miller <davem@davemloft.net>
24627
88d85d4f
DM
24628 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24629 that branches into memcpy.
24630 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24631 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24632 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24633 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24635 bits.
24636 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24637 implementation too.
24638 * sysdeps/sparc/mempcpy.S: New file.
24639
e5aa83e1
DM
24640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24641 the IFUNC routine in the libc case.
24642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24643
88570753
DM
24644 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24645 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24646 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24647 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24648 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24649 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24650 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24651 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24652
249d7567
DM
24653 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24654 loop to 256 bytes instead of 64 bytes and fix test signedness.
24655
18c9d62b
DM
24656 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24657 * sysdeps/sparc/sparc32/Makefile: rather than here...
24658 * sysdeps/sparc/sparc64/Makefile: and here.
24659
05f3d1f6
UD
246602012-03-28 Ulrich Drepper <drepper@gmail.com>
24661
24662 * malloc/mallocbug.c: Avoid warnings about unused variables.
24663
86ae07a8
JL
246642012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24665
24666 [BZ #13760]
24667 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24668 in the right place. Discard and retry query if response is
24669 larger than input buffer size.
24670
41bf21a1
JM
246712012-03-28 Joseph Myers <joseph@codesourcery.com>
24672
d6270972
JM
24673 [BZ #369]
24674 [BZ #2678]
24675 [BZ #3866]
24676 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24677 x for large integer exponent.
24678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24679 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24680 sign of result as needed afterwards.
24681 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24682 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24683 result for underflowing pow the same as for overflow.
24684 (__kernel_standard_l): Handle powl overflow and underflow here
24685 rather than calling __kernel_standard.
24686 * math/libm-test.inc (pow_test): Add more tests.
24687
414fca03 24688 [BZ #3868]
41bf21a1
JM
24689 [BZ #13879]
24690 [BZ #13910]
24691 [BZ #13911]
24692 [BZ #13912]
24693 [BZ #13913]
24694 [BZ #13915]
24695 [BZ #13916]
24696 [BZ #13917]
24697 [BZ #13918]
24698 [BZ #13919]
24699 [BZ #13920]
24700 [BZ #13921]
24701 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24702 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24703 (__kernel_standard_l): New function.
24704 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24705 __kernel_standard.
24706 * math/w_acosl.c (__acosl): Likewise.
24707 * math/w_asinl.c (__asinl): Likewise.
24708 * math/w_atan2l.c (__atan2l): Likewise.
24709 * math/w_atanhl.c (__atanhl): Likewise.
24710 * math/w_coshl.c (__coshl): Likewise.
24711 * math/w_exp10l.c (__exp10l): Likewise.
24712 * math/w_exp2l.c (__exp2l): Likewise.
24713 * math/w_fmodl.c (__fmodl): Likewise.
24714 * math/w_hypotl.c (__hypotl): Likewise.
24715 * math/w_j0l.c (__j0l, __y0l): Likewise.
24716 * math/w_j1l.c (__j1l, __y1l): Likewise.
24717 * math/w_jnl.c (__jnl, __ynl): Likewise.
24718 * math/w_lgammal.c (__lgammal): Likewise.
24719 * math/w_log10l.c (__log10l): Likewise.
24720 * math/w_log2l.c (__log2l): Likewise.
24721 * math/w_logl.c (__logl): Likewise.
24722 * math/w_powl.c (__powl): Likewise.
24723 * math/w_remainderl.c (__remainderl): Likewise.
24724 * math/w_scalbl.c (sysv_scalbl): Likewise.
24725 * math/w_sinhl.c (__sinhl): Likewise.
24726 * math/w_sqrtl.c (__sqrtl): Likewise.
24727 * math/w_tgammal.c (__tgammal): Likewise.
24728 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24729 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24730 * math/libm-test.inc (acos_test): Add more tests.
24731 (acosh_test): Likewise.
24732 (asin_test): Likewise.
24733 (atanh_test): Likewise.
24734 (exp_test): Likewise.
24735 (exp10_test): Likewise.
24736 (exp2_test): Likewise.
24737 (expm1_test): Likewise.
24738 (lgamma_test): Likewise.
24739 (log_test): Likewise.
24740 (log10_test): Likewise.
24741 (log1p_test): Likewise.
24742 (log2_test): Likewise.
24743 (pow_test): Do not allow some spurious overflow exceptions.
24744 (sqrt_test): Add more tests.
24745 (tgamma_test): Likewise.
24746 (y0_test): Likewise.
24747 (y1_test): Likewise.
24748 (yn_test): Likewise.
24749
dd62fda6
AB
247502012-03-27 Anton Blanchard <anton@samba.org>
24751
24752 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24753 MAP_HUGETLB.
24754 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24757
1e3cdfda
AJ
247582012-03-27 David S. Miller <davem@davemloft.net>
24759
b855ab85
DM
24760 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24761
1e3cdfda
AJ
24762 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24763 have-as-vis3 check.
24764
247652012-03-27 Andreas Jaeger <aj@suse.de>
24766
24767 * sysdeps/x86_64/elf/configure.in: Moved to ...
24768 * sysdeps/x86_64/configure.in: ... here.
24769 * sysdeps/x86_64/elf/start.S: Moved to ...
24770 * sysdeps/x86_64/start.S: ... here.
24771 * sysdeps/x86_64/elf/configure: Delete.
24772
24773 * sysdeps/x86_64/configure.in: Merge contents from
24774 sysdeps/i386/configure.in (without i686 check).
24775
24776 * sysdeps/i386/elf/Versions: Merge into ...
24777 * sysdeps/i386/Versions: ... this.
24778 * sysdeps/i386/elf/Versions: Delete file.
24779 * sysdeps/i386/elf/start.S: Moved to ...
24780 * sysdeps/i386/start.S: ...here.
24781 * sysdeps/i386/elf/configure.in: Merge into...
24782 * sysdeps/i386/configure.in: ...here.
24783 * sysdeps/i386/elf/configure.in: Delete file.
24784 * sysdeps/i386/elf/configure: Delete file.
24785
24786 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24787 * debug/backtracesyms.c: ... here.
24788 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24789 * debug/backtracesymsfd.c: ... here.
24790 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24791 * sysdeps/generic/ifunc-sel.h: ... here.
24792
24793 * sysdeps/unix/i386/start.c: Delete file.
24794 * sysdeps/unix/sparc/start.c: Delete file.
24795 * sysdeps/unix/start.c: Delete file.
24796
24797 * sysdeps/sh/elf/configure.in: Moved to ...
24798 * sysdeps/sh/configure.in: ... here.
24799 * sysdeps/sh/elf/start.S: Moved to ...
24800 * sysdeps/sh/start.S: ... here.
24801 * sysdeps/sh/elf/configure: Delete file.
24802
24803 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24804 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24805 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24806 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24807 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24808 * sysdeps/powerpc/powerpc64/start.S: here.
24809 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24810 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24811 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24812 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24813 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24814
24815 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24816 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24817 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24818 * sysdeps/powerpc/powerpc32/start.S: ... here.
24819 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24820 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24821 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24822
24823 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24824 * sysdeps/powerpc/ifunc-sel.h: ... here.
24825 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24826 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24827
24828 * sysdeps/sparc/elf/configure.in: Moved to ...
24829 * sysdeps/sparc/configure.in: ... here.
24830 * sysdeps/sparc/elf/configure: Delete file.
24831 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24832 * sysdeps/sparc/sparc32/start.S: ... here.
24833 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24834 * sysdeps/sparc/sparc64/start.S: ... here.
24835 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24836 * sysdeps/sparc/sparc32/Makefile: ... this.
24837 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24838 * sysdeps/sparc/sparc64/Makefile: ... this.
24839
24840 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24841 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24842 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24843 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24844 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24845 * sysdeps/s390/s390-32/setjmp.S: ... here.
24846 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24847 * sysdeps/s390/s390-32/configure.in: ... here.
24848 * sysdeps/s390/s390-32/elf/configure: Delete file.
24849 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24850 * sysdeps/s390/s390-32/start.S: ... here.
24851
24852 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24853 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24854 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24855 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24856 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24857 * sysdeps/s390/s390-64/setjmp.S: ... here.
24858 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24859 * sysdeps/s390/s390-64/configure.in: ... here
24860 * sysdeps/s390/s390-64/elf/configure: Delete file.
24861 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24862 * sysdeps/s390/s390-64/start.S: ... here.
24863 * sysdeps/s390/s390-64/elf/configure: Delete.
24864
24865 * configure.in: Remove support for elf directories in sysdeps.
24866
24867 * configure: Regenerated.
24868 * sysdeps/i386/configure: Regenerated.
24869 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24870 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24871 * sysdeps/s390/s390-32/configure: Regenerated.
24872 * sysdeps/s390/s390-64/configure: Regenerated.
24873 * sysdeps/sh/configure: Regenerated.
24874 * sysdeps/sparc/configure: Regenerated.
24875 * sysdeps/x86_64/configure: Regenerated.
24876
a3f61311
AS
248772012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24878
c876e002
AS
24879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24880
a3f61311
AS
24881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24882 denormal result into account.
24883
ac4c54f0
RM
248842012-03-25 Roland McGrath <roland@hack.frob.com>
24885
24886 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24887 Reported by Allan McRae <allan@archlinux.org>.
24888
6a9b9c02
JL
248892012-03-23 Jeff Law <law@redhat.com>
24890
24891 * nss/getnssent.c (__nss_getent): Fix typo.
24892
4c42a0c1
DM
248932012-03-23 David S. Miller <davem@davemloft.net>
24894
24895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24896
1532c7ac
L
248972012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24898
24899 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24900 to pad to uint64_t for each field.
24901 (dl_tls_index): Replace unsigned long with uint64_t.
24902
3ff42526
PP
249032012-03-23 Daniel Jacobowitz <dmj@google.com>
24904 Paul Pluzhnikov <ppluzhnikov@google.com>
24905
24906 [BZ #6528]
24907 * grp/Makefile (otherlibs): Don't set it.
24908 * inet/Makefile (otherlibs): Likewise.
24909 * login/Makefile (otherlibs): Likewise.
24910 * nscd/Makefile (otherlibs): Likewise.
24911 * posix/Makefile (otherlibs): Likewise.
24912 * pwd/Makefile (otherlibs): Likewise.
24913 * rt/Makefile (otherlibs): Likewise.
24914 * sunrpc/Makefile (otherlibs): Likewise.
24915 * nss/Makefile (otherlibs): Likewise.
24916 Add libnss_files to routines and static-only-routines.
24917 ($(objpfx)getent): Remove rule.
24918 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24919 static-only-routines.
24920
7c69cd14
JM
249212012-03-22 Joseph Myers <joseph@codesourcery.com>
24922
24923 [BZ #13892]
24924 * math/s_cexp.c: Include <float.h>.
24925 (__cexp): Handle exp result overflowing not necessarily
24926 overflowing both real and imaginary parts of result.
24927 * math/s_cexpf.c: Likewise.
24928 * math/s_cexpl.c: Likewise.
24929 * math/libm-test.inc (cexp_test): Add more tests.
24930 * sysdeps/i386/fpu/libm-test-ulps: Update.
24931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24932
81b035fe
L
249332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24934
24935 * include/link.h (ELFW): New macro.
24936 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24937 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24938
1da7940c
L
249392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24940
24941 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24942 with uint64_t.
24943
b749dbb9
L
249442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24945
24946 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24947 declaration.
24948 (struct La_x32_retval): Likewise.
24949
2ff87f3f
L
249502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24951
24952 * sysdeps/x86_64/preconfigure.in: New file.
24953 * sysdeps/x86_64/preconfigure: New generated file.
24954
c0df8e69
JM
249552012-03-22 Joseph Myers <joseph@codesourcery.com>
24956
48e44791
JM
24957 [BZ #13824]
24958 * math/e_exp2l.c: Include <float.h>.
24959 (__ieee754_exp2l): Handle overflow and underflow cases
24960 separately. Only pass fractional part of argument to
24961 __ieee754_expl.
24962 * math/libm-test.inc (exp2_test): Add more tests.
24963
c0df8e69
JM
24964 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24965 negating x to take absolute value.
24966 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24967 Likewise.
24968 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24969 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24970 Likewise.
24971 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24972 computing low part if x was negated.
24973 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24974
c8e43ba7
L
249752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24976
24977 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24978 la_x32_gnu_pltexit.
24979 (pltexit): Cast int_retval to ptrdiff_t.
24980 * elf/tst-auditmod3b.c: Likewise.
24981 * elf/tst-auditmod4b.c: Likewise.
24982 * elf/tst-auditmod5b.c: Likewise.
24983 * elf/tst-auditmod6b.c: Likewise.
24984 * elf/tst-auditmod6c.c: Likewise.
24985 * elf/tst-auditmod7b.c: Likewise.
24986
24987 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24988 and x32_gnu_pltexit.
24989
24990 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24991 __ELF_NATIVE_CLASS.
24992 (La_x32_regs): New macro.
24993 (La_x32_retval): Likewise.
24994 (la_x32_gnu_pltenter): New function prototype.
24995 (la_x32_gnu_pltexit): Likewise.
24996
7998fa78
AS
249972012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24998
dcb33988
AS
24999 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25000 exponent.
25001
233fc563
AS
25002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25003
7998fa78
AS
25004 * configure.in (libc_cv_cc_nofma): Check for option to disable
25005 generation of FMA instructions.
25006 * configure: Regenerate.
25007 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25008 * sysdeps/ieee754/dbl-64/Makefile: New file.
25009 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25010 Remove brandred-fma4.
25011 (CFLAGS-brandred-fma4.c): Remove.
25012 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25014 define.
25015 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25016 define.
25017
8e95c99a
L
250182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25019
25020 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25021 LLONG_MAX != LONG_MAX.
25022 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25023 (_fitoa_word): Likewise.
25024 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25025 LLONG_MAX != LONG_MAX.
25026 * stdio-common/_itowa.h: Include <_itoa.h>.
25027 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25028 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25029 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25030 only if not defined.
25031 (_ITOA_WORD_TYPE): Likewise.
25032 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25033 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25034
6f4db457
DM
250352012-03-21 David S. Miller <davem@davemloft.net>
25036
25037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25038
7785fe5a
L
250392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25040
25041 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25042 of x86_64 when setting libc_cv_slibdir, libdir and
25043 libc_cv_localedir.
25044 * sysdeps/unix/sysv/linux/configure: Regenerated.
25045
4535cd55
JM
250462012-03-21 Joseph Myers <joseph@codesourcery.com>
25047
25048 * manual/lang.texi (Old Varargs): Remove section.
25049 (How Variadic): Update menu.
25050 (va_start): Do not mention varargs.h.
25051
17228132
TS
250522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25053 Joseph Myers <joseph@codesourcery.com>
25054
25055 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25056 link test.
25057 * configure: Regenerated.
25058
8149f976
TS
250592012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25060
05f3d1f6
UD
25061 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25062 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25063 conformtest.pl
8149f976 25064
1a4ac776
JM
250652012-03-21 Joseph Myers <joseph@codesourcery.com>
25066
be22ce65
JM
25067 * NOTES: Remove.
25068 * Makefile (files-for-dist): Remove NOTES.
25069 (NOTES): Remove rule.
25070 * README: Don't refer to NOTES.
25071 * manual/creature.texi: Don't include macros.texi.
25072 * manual/intro.texi (creature.texi): Remove comment referring to
25073 NOTES.
25074
40b601fb
JM
25075 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25076 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25077 * configure: Regenerated.
25078 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25079 LIBC_TRY_CC_OPTION.
25080 (libc_cv_as_i686): Likewise.
25081 (libc_cv_cc_avx): Likewise.
25082 (libc_cv_cc_sse2avx): Likewise.
25083 (libc_cv_cc_fma4): Likewise.
25084 (libc_cv_cc_novzeroupper): Likewise.
25085 * sysdeps/i386/configure: Regenerated.
25086
1a4ac776
JM
25087 [BZ #13883]
25088 * sysdeps/i386/fpu/s_cexp.S: Remove.
25089 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25090 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25091 * math/libm-test.inc (cexp_test): Add more tests.
25092 * sysdeps/i386/fpu/libm-test-ulps: Update.
25093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25094
a458e7fe
AM
250952012-03-21 Allan McRae <allan@archlinux.org>
25096
25097 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25098
0cb7efc5
JM
250992012-03-21 Joseph Myers <joseph@codesourcery.com>
25100
25101 [BZ #13871]
25102 * math/w_exp2.c: Do not include <float.h>.
25103 (o_threshold, u_threshold): Remove.
25104 (__exp2): Calculate result before checking finiteness and calling
25105 __kernel_standard.
25106 * math/w_exp2f.c: Likewise.
25107 * math/w_exp2l.c: Likewise.
25108 * math/libm-test.inc (exp2_test): Require overflow exception for
25109 1e6 input.
2460d3aa
JM
25110
25111 [BZ #3866]
25112 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25113 range of signed 64-bit integers before using fistpll. Remove
25114 checks for whether integers fit in mantissa bits.
25115 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25116 the range of signed 32-bit integers before using fistpl. Remove
25117 checks for whether integers fit in mantissa bits.
25118 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25119 (__ieee754_powl): Test for y outside the range of signed 64-bit
25120 integers before using fistpll. Reduce 64-bit values to 63-bit
25121 ones as needed.
25122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25123 divide-by-zero is raised for zero to large negative powers.
25124 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25125 (__ieee754_powl): Test for y outside the range of signed 64-bit
25126 integers before using fistpll. Reduce 64-bit values to 63-bit
25127 ones as needed.
25128 * math/libm-test.inc (pow_test): Add more tests.
25129
eb96ffb0
L
251302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25131
25132 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25133 <stdio-common/_itoa.h>.
25134 * debug/segfault.c: Likewise.
25135 * elf/dl-cache.c: Likewise.
25136 * elf/dl-minimal.c: Likewise.
25137 * elf/dl-misc.c: Likewise.
25138 * elf/dl-sysdep.c: Likewise.
25139 * elf/dl-version.c: Likewise.
25140 * elf/rtld.c: Likewise.
25141 * hurd/hurdsock.c: Likewise.
25142 * hurd/lookup-retry.c: Likewise.
25143 * malloc/malloc.c: Likewise.
25144 * malloc/mtrace.c: Likewise.
25145 * nscd/nscd_getgr_r.c: Likewise.
25146 * nscd/nscd_getpw_r.c: Likewise.
25147 * nscd/nscd_getserv_r.c: Likewise.
25148 * posix/getopt_init.c: Likewise.
25149 * posix/wordexp.c: Likewise.
25150 * stdio-common/_itoa.c: Likewise.
25151 * stdio-common/printf_fphex.c: Likewise.
25152 * stdio-common/vfprintf.c: Likewise.
25153 * string/_strerror.c: Likewise.
25154 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25155 * sysdeps/i386/i686/hp-timing.h: Likewise.
25156 * sysdeps/mach/_strerror.c: Likewise.
25157 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25158 * sysdeps/mach/hurd/sethostid.c: Likewise.
25159 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25160 * sysdeps/mach/xpg-strerror.c: Likewise.
25161 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25162 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25163 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25164 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25165 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25166 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25167 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25168 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25169 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25170 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25171 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25172 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25173 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25174 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25175 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25176 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25177 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25178 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25179 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25180 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25181 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25182
25183 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25184
25185 * stdio-common/_itoa.h: Moved to ...
25186 * sysdeps/generic/_itoa.h: Here.
25187
25188 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25189
25190 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25191 instead of "_itoa.h" and "_itowa.h".
25192 * stdio-common/vfprintf.: Likewise.
25193
d1af992d
L
251942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25195
25196 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25197 <bits/wordsize.h>.
25198 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25199 (__signbit): Likwise.
25200 (llrintf): Likwise.
25201 (llrint): Likwise.
25202
114883e0
L
252032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25204
25205 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25206 __WORDSIZE != 64.
25207
c135cc1b
JM
252082012-03-20 Joseph Myers <joseph@codesourcery.com>
25209
25210 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25211 OVERFLOW_EXCEPTION_OK.
25212 * math/libm-test.inc ("Philosophy"): Update comment about
25213 exception testing.
25214 (OVERFLOW_EXCEPTION): Define.
25215 (OVERFLOW_EXCEPTION_OK): Likewise.
25216 (INVALID_EXCEPTION_OK): Renumber.
25217 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25218 (IGNORE_ZERO_INF_SIGN): Likewise.
25219 (test_exceptions): Handle FE_OVERFLOW.
25220 (exp10_test): Expect overflow exceptions.
25221 (exp2_test): Likewise.
25222 (expm1_test): Likewise.
25223 (nextafter_test): Likewise.
25224 (pow_test): Likewise.
25225 (scalbn_test): Likewise.
25226 (scalbln_test): Likewise.
25227
95443d88
L
252282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25229
25230 * sysdeps/x86_64/bits/atomic.h
25231 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25232 64bit integer.
25233 (atomic_exchange_acq): Likewise.
25234 (__arch_exchange_and_add_body): Likewise.
25235 (__arch_add_body): Likewise.
25236 (atomic_add_negative): Likewise.
25237 (atomic_add_zero): Likewise.
25238
490df6c4
L
252392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25240
c2722551 25241 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25242 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25243
5e52b189
L
252442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25245
25246 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25247 Check __x86_64__ instead of __WORDSIZE.
25248
a9879d4c
L
252492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25250
25251 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25252
5df98260
DM
252532012-03-19 David S. Miller <davem@davemloft.net>
25254
e1497744
DM
25255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25256
5df98260
DM
25257 * sysdeps/sparc/fpu/fenv_private.h: New file.
25258 * sysdeps/sparc/fpu/math_private.h: Use it.
25259 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25260 Remove.
25261 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25262 (libc_feholdexcept_setroundl): Remove.
25263 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25264 Remove.
25265 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25266 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25267
b4c35121
L
252682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25269
25270 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25271 int64_t instead of long int.
25272 (INSERT_WORDS64): Likwise.
25273
56965fd7
L
252742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25275
25276 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25277 _Unwind_GetCFA return to _Unwind_Ptr first.
25278
83d1aec8
JM
252792012-03-19 Joseph Myers <joseph@codesourcery.com>
25280
1897ad44
JM
25281 [BZ #13629]
25282 * math/s_clog.c: Include <float.h>.
25283 (__clog): Scale large or subnormal inputs.
25284 * math/s_clogf.c: Likewise.
25285 * math/s_clogl.c: Likewise.
25286 * math/s_clog10.c: Include <float.h>.
25287 (M_LOG10_2): Define.
25288 (__clog10): Scale large or subnormal inputs.
25289 * math/s_clog10f.c: Likewise.
25290 * math/s_clog10l.c: Likewise.
25291 * math/libm-test.inc (clog_test): Add more tests.
25292 (clog10_test): Likewise.
25293 * sysdeps/i386/fpu/libm-test-ulps: Update.
25294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25295
7726d6a9
JM
25296 [BZ #11451]
25297 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25298 x and y.
25299 * math/libm-test.inc (atan2_test): Add another test.
25300
83d1aec8
JM
25301 * Makerules (common-objdir-compile): Remove.
25302 * sysdeps/unix/Makefile (config-generated): Do not add
25303 $(unix-generated) to variable.
25304 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25305 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25306 Remove rule.
25307 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25308 Likewise.
25309 [generic bits/local_lim.h] (before-compile): Do not append to
25310 variable.
25311 [generic bits/local_lim.h] (common-generated): Likewise.
25312 [generic sys/param.h] (before-compile): Do not append to variable.
25313 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25314 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25315 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25316 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25317 include.
25318 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25319 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25320 [generic sys/param.h] ($(addprefix
25321 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25322 [generic sys/param.h] (common-generated): Do not append to
25323 variable.
25324 [generic sys/param.h] (sysdep_headers): Likewise.
25325 [generic bits/errno.h] (before-compile): Do not append to
25326 variable.
25327 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25328 rule.
25329 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25330 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25331 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25332 [generic bits/errno.h] (common-generated): Do not append to
25333 variable.
25334 [generic bits/ioctls.h] (before-compile): Do not append to
25335 variable.
25336 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25337 rule.
25338 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25339 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25340 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25341 rule.
25342 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25343 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25344 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25345 [generic bits/ioctls.h] (common-generated): Do not append to
25346 variable.
25347 [generic sys/syscall.h] (syscall.h): Remove variable.
25348 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25349 rule.
25350 [generic sys/syscall.h] (before-compile): Do not append to
25351 variable.
25352 [generic sys/syscall.h] (common-generated): Likewise.
25353 * sysdeps/unix/errnos-tmpl.c: Remove file.
25354 * sysdeps/unix/errnos.awk: Likewise.
25355 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25356 * sysdeps/unix/ioctls.awk: Likewise.
25357 * sysdeps/unix/mk-local_lim.c: Likewise.
25358 * sysdeps/unix/snarf-ioctls: Likewise.
25359
4851a949
RH
253602012-03-19 Richard Henderson <rth@twiddle.net>
25361
bd37f2ee
RH
25362 * sysdeps/i386/fpu/fenv_private.h: New file.
25363 * sysdeps/i386/fpu/math_private.h: Use it.
25364 (math_opt_barrier, math_force_eval): Remove.
25365 (libc_feholdexcept_setround_53bit): Remove.
25366 (libc_feupdateenv_53bit): Remove.
25367 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25368 (math_opt_barrier, math_force_eval): Remove.
25369 (libc_feholdexcept): Remove.
25370 (libc_feholdexcept_setround): Remove.
25371 (libc_fetestexcept, libc_fesetenv): Remove.
25372 (libc_feupdateenv_test): Remove.
25373 (libc_feupdateenv, libc_feholdsetround): Remove.
25374 (libc_feresetround): Remove.
25375
d0adc922
RH
25376 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25377 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25378
0fe0f1f8
RH
25379 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25380 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25381 (libc_feupdateenv_testl): New.
25382 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25383 (libc_feupdateenv_testf): New.
25384 (libc_feupdateenv): Use libc_feupdateenv_test.
25385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25386 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25387
eb92c487
RH
25388 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25389 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25390 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25391 (libc_feresetround_noex): New.
25392 (libc_feresetround_noexf): New.
25393 (libc_feresetround_noexl): New.
25394 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25395 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25396 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25397 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25398 SET_RESTORE_ROUND.
25399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25400 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25401 (__cos): Likewise.
25402 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25403 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25404 SET_RESTORE_ROUND_NOEX.
25405 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25406 SET_RESTORE_ROUND_NOEXF.
25407 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25408 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25409 (libc_feholdsetroundf): New.
25410 (libc_feresetround, libc_feresetroundf): New.
25411
7d2e8012
RH
25412 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25413 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25414 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25415
b4dabbb4
RH
25416 * sysdeps/generic/math_private.h: Include <fenv.h>.
25417 (default_libc_feholdexcept): New.
25418 (default_libc_feholdexcept_setround): New.
25419 (default_libc_fesetenv, default_libc_feupdateenv): New.
25420 (libc_feholdexcept): Only define if undefined.
25421 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25422 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25423 (libc_feholdexcept_setroundl): Likewise.
25424 (libc_feholdexcept_setround_53bit): Likewise.
25425 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25426 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25427 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25428 (libc_feupdateenv_53bit): Likewise.
25429 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25430 (libc_feholdexcept): Convert from macro to inline function.
25431 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25432 (libc_fesetenv, libc_feupdateenv): Likewise.
25433
4851a949
RH
25434 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25435 not previously defined.
25436 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25437 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25438 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25439 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25440 * sysdeps/ieee754/flt-32/math_private.h: New file.
25441 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25442 math_private.h below SET_FLOAT_WORD.
25443 (__isnan, __isinf_ns, __finite): Remove.
25444 (__isnanf, __isinf_nsf, __finitef): Remove.
25445
e79d442e
AS
254462012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25447
25448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25449
90b80344
DM
254502012-03-17 David S. Miller <davem@davemloft.net>
25451
25452 [BZ #6471]
25453 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25454 for 2.16.
25455
edc21804
DM
254562012-03-16 David S. Miller <davem@davemloft.net>
25457
77e927af
DM
25458 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25459 warnings.
25460
374976dd
DM
25461 [BZ #6471]
25462 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25463 properly.
25464 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25465 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25466 sysdep_routines when subdir is sysvipc.
25467 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25468 __getshmlba helper.
25469
edc21804
DM
25470 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25471
473c3ef3
L
254722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25473
25474 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25475 [__LP64__].
25476
eb0f39b6
L
254772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25478
25479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25480 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25481 (__lround): Renamed to ...
25482 (__llround): This. Replace long int with long long int.
25483 Define lround functions as aliases of llround functions.
25484 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25485
6b6cd74b
L
254862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25487
25488 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25489 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25490 adresses to uintptr_t. Replace "long int" and "unsigned long
25491 int" with "greg_t" on va_arg.
25492
f1a77b01
L
254932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25494
25495 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25496 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25497
25498 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25499 Move e_machine check before EI_CLASS check. Handle x32
25500 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25501 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25502 SKIP_EM_IA_64 and include
25503 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25504
25505 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25506 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25507 (add_system_dir): New macro.
25508
25509 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25510 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25511
11b90b9f
JM
255122012-03-16 Joseph Myers <joseph@codesourcery.com>
25513
c36e1d23
JM
25514 [BZ #2551]
25515 [BZ #2552]
25516 [BZ #2553]
25517 [BZ #2554]
25518 [BZ #2562]
25519 [BZ #2563]
25520 [BZ #2565]
25521 [BZ #2566]
25522 [BZ #2576]
25523 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25524 (y0): Likewise.
25525 * math/w_j0f.c (j0f): Likewise.
25526 (y0f): Likewise.
25527 * math/w_j0l.c (__j0l): Likewise.
25528 (__y0l): Likewise.
25529 * math/w_j1.c (j1): Likewise.
25530 (y1): Likewise.
25531 * math/w_j1f.c (j1f): Likewise.
25532 (y1f): Likewise.
25533 * math/w_j1l.c (__j1l): Likewise.
25534 (__y1l): Likewise.
25535 * math/w_jn.c (jn): Likewise.
25536 (yn): Likewise.
25537 * math/w_jnf.c (jnf): Likewise.
25538 (ynf): Likewise.
25539 * math/w_jnl.c (__jnl): Likewise.
25540 (__ynl): Likewise.
25541 * math/libm-test.inc (j0_test): Add more tests.
25542 (j1_test): Likewise.
25543 (jn_test): Likewise. Add trailing semicolon to existing test.
25544 (y0_test): Likewise.
25545 (y1_test): Likewise.
25546 * sysdeps/i386/fpu/libm-test-ulps: Update.
25547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25548
11b90b9f
JM
25549 [BZ #13851]
25550 [BZ #13854]
25551 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25552 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25553 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25554 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25555 (__tanl): Set errno for infinite argument.
25556 * sysdeps/i386/fpu/mptan.c: Remove.
25557 * sysdeps/i386/fpu/s_tan.S: Likewise.
25558 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25559 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25560 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25561 * math/libm-test.inc (tan_test): Add more tests and enable more
25562 tests for double and long double.
25563 * sysdeps/i386/fpu/libm-test-ulps: Update.
25564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25565
6a1bd2a1
JK
255662012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25567
25568 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25569 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25570
10a803e0
RM
255712012-03-16 Roland McGrath <roland@hack.frob.com>
25572
25573 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25574 * configure.in: Use it for both main tree and add-ons.
25575 * configure: Regenerated.
25576
f196c7f7
L
255772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25578
25579 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25580
8848d99d
JM
255812012-03-16 Joseph Myers <joseph@codesourcery.com>
25582
96cbe7f4
JM
25583 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25584 in comment.
25585
8848d99d
JM
25586 [BZ #13851]
25587 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25588 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25592 infinite argument.
25593 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25595 != 0 for prec == 2.
25596 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25597 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25598 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25599 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25600 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25601 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25602 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25603 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25604 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25605 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25606 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25607 * math/libm-test.inc (cos_test): Add more tests and enable more
25608 tests for long double.
25609 (sin_test): Likewise.
25610 (sincos_test): Likewise.
25611 * sysdeps/i386/fpu/libm-test-ulps: Update.
25612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25613
dd7f4703
DM
256142012-03-16 David S. Miller <davem@davemloft.net>
25615
25616 * sysdeps/sparc/fpu/math_private.h: New file.
25617
006f1daa
DM
256182012-03-15 David S. Miller <davem@davemloft.net>
25619
c0c83bc8
DM
25620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25621 file.
e6a62e18 25622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25624 file.
e6a62e18
DM
25625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25630 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25631 sysdep routines.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25633
88cb87d9
DM
25634 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25635 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25636
006f1daa 25637 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25639 sparc-ifunc.h
006f1daa 25640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25642 Likewise.
25643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25644 Likewise.
006f1daa
DM
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25649 Likewise.
006f1daa
DM
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25655 Likewise.
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25657 Likewise.
006f1daa
DM
25658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25680 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25682
11e0098e
AS
256832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25684
25685 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25686 scaling.
25687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25688
e85b09d0
AJ
256892012-03-15 Andreas Jaeger <aj@suse.de>
25690
25691 [BZ #13852]
25692 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25693 ieee754/flt-32 implementation for sin, cos and sincos.
25694 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25695 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25696 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25697 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25698 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25699 ieee754/flt-32 implementation for tan.
25700
25701 * math/libm-test.inc (cos_test): Enable some large input tests for
25702 float as well
25703 (sin_test): Likewise.
25704 (sincos_test): Likewise.
25705 (tan_test): Add tests for large input.
25706
25707 * sysdeps/i386/fpu/libm-test-ulps: Update.
25708
81c64153
AJ
257092012-03-15 Andreas Jaeger <aj@suse.de>
25710
25711 [BZ #13658]
25712 * math/libm-test.inc (cos_test): Add more test cases.
25713 (sin_test): Likewise.
25714 (sincos_test): Likewise.
25715
7bbfa5c6
AJ
257162012-03-15 Andreas Jaeger <aj@suse.de>
25717
25718 [BZ #13837]
25719 * math/libm-test.inc (cos_test): Add a test case for large input
25720 value.
25721 (sin_test): Likewise.
25722 (sincos_test): Likewise.
25723
257242012-03-15 Andreas Jaeger <aj@suse.de>,
25725 Joseph Myers <joseph@codesourcery.com>
25726
25727 [BZ #13658]
0671f479 25728 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25729 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25730 * sysdeps/i386/fpu/branred.c: Likewise.
25731 * sysdeps/i386/fpu/dosincos.c: Likewise.
25732 * sysdeps/i386/fpu/mpa.c: Likewise.
25733 * sysdeps/i386/fpu/s_cos.S: Likewise.
25734 * sysdeps/i386/fpu/s_sin.S: Likewise.
25735 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25736 * sysdeps/i386/fpu/sincos32.c: Likewise.
25737
25738 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25739 Define.
25740 (libc_feupdateenv_53bit): Define.
25741 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25742 Define.
25743 (libc_feupdateenv_53bit): Define.
25744
25745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25746 53 bit (without extend i386 double precision).
25747
25748 * math/libm-test.inc (sincos_test): Add tests for large input.
25749 (sin): Likewise.
25750 (cos): Likewise.
25751
25752 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25753
9cad04ea
AS
257542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25755
25756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25757
f7062b9a
DM
257582012-03-15 David S. Miller <davem@davemloft.net>
25759
25760 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25761 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25762 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25763 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25776 file.
f7062b9a 25777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25779 file.
f7062b9a 25780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25782 file.
f7062b9a 25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25785 file.
f7062b9a
DM
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25788 fmin/fmax sysdep routines.
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25790
7bd951ff
DM
257912012-03-14 David S. Miller <davem@davemloft.net>
25792
559398ab
DM
25793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25800 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25815 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25821 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25822 routines.
25823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25824 file.
559398ab 25825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25827 file.
559398ab 25828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25830 file.
559398ab 25831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25833 file.
559398ab 25834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25836 file.
559398ab 25837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25839 file.
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25841 file.
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25843 file.
25844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25845 file.
25846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25847 New file.
25848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25849 file.
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25851 file.
559398ab 25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25854 file.
559398ab 25855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25857 file.
559398ab 25858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25860 file.
559398ab 25861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25863 VIS3 routines.
559398ab
DM
25864
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25866 New file.
25867
5a1c1e32
DM
25868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25869
eae47a36
DM
25870 * sysdeps/sparc/configure.in: New file.
25871 * sysdeps/sparc/configure: Generate.
25872 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25873 * configure: Regenerate.
25874 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25875 * config.make.in (have-as-vis3): New.
25876 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25877 available use -Av9d instead of -Av9a.
25878 * sysdeps/sparc/sparc64/Makefile: Likewise.
25879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25881 New file.
25882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25883 file.
25884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25885 New file.
25886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25887 file.
eae47a36
DM
25888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25891 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25892 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25893
c0c83bc8
DM
25894 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25895 fzeros/fnegs to load 0x80000000 into a float register instead of
25896 using the stack.
7bd951ff
DM
25897 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25898
bd951ccb
JM
258992012-03-14 Joseph Myers <joseph@codesourcery.com>
25900
25901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25902 bits/syscall.h.
25903 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25904 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25905 ($(inst_includedir)/bits/syscall.h): Remove rule.
25906 ($(objpfx)bits/syscall.d): Include instead of
25907 $(objpfx)syscall-list.d.
25908 (generated): Change syscall-list.h and syscall-list.d to
25909 bits/syscall.h and bits/syscall.d.
25910
bb4e6db2
RM
259112012-03-14 Roland McGrath <roland@hack.frob.com>
25912
25913 [BZ #13846]
25914 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25915
aa4a2ae1
JM
259162012-03-14 Joseph Myers <joseph@codesourcery.com>
25917
e456826d
JM
25918 [BZ #13841]
25919 * math/s_csqrt.c: Include <float.h>.
25920 (__csqrt): Scale large or subnormal inputs.
25921 * math/s_csqrtf.c: Likewise.
25922 * math/s_csqrtl.c: Likewise.
25923 * math/libm-test.inc (csqrt_test): Add more tests.
25924 * sysdeps/i386/fpu/libm-test-ulps: Update.
25925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25926
aa4a2ae1
JM
25927 [BZ #13840]
25928 * math/libm-test.inc (hypot_test): Add more tests.
25929
7c10fd35
DM
259302012-03-13 David S. Miller <davem@davemloft.net>
25931
25932 [BZ #13840]
25933 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25934 double-precision for the calculation instead of scaling.
25935
f453b98b
JM
259362012-03-13 Joseph Myers <joseph@codesourcery.com>
25937
25938 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25939 manipulate bits before adding and subtracting TWO52[sx].
25940 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25942 Likewise.
25943 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25944
09a3453f
DM
259452012-03-13 David S. Miller <davem@davemloft.net>
25946
8e59da90
DM
25947 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25948 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25950 rtld-global-offsets.h
25951 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25952
2a8ab7f2
DM
25953 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25954 large parameters.
25955
10f62770
DM
25956 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25957
5f0bdb18
DM
25958 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25959 'err' in the ifdef scope in which it is actually used.
25960
09a3453f
DM
25961 * nss/nss_db/db-init.c: Include string.h
25962
b4b2eb5e
DM
259632012-03-12 David S. Miller <davem@davemloft.net>
25964
98bb2f1c
DM
25965 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25966 masking out of the most significant byte of random value used.
25967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25968 Fix coding style in previous change.
25969
b4b2eb5e
DM
25970 * sysdeps/unix/sysv/linux/kernel-features.h
25971 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25972 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25973 expression.
25974 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25975 later.
25976
6e226b09
DM
259772012-03-11 David S. Miller <davem@davemloft.net>
25978
a1bcbd40
DM
25979 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25980 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25981 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25982 for 'resultvar' otherwise things get truncated on 64-bit.
25983
cb9d6174
DM
25984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25985 Fix masking out of the most significant byte of random value used.
25986
6e226b09
DM
25987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25988
058c132d
AS
259892012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25990
25991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25992
2d2cd515
DM
259932012-03-09 David S. Miller <davem@davemloft.net>
25994
25995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25996 variables with appropriate CPP guards.
25997 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25998 frame pointer, not the stack pointer. Correct layout comments. Fix test
25999 on resulting framesize and the management of the outregs buffer for pltexit.
26000 Preserve floating point return values across _dl_call_pltexit call.
26001 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26002 framesize and the management of the outregs buffer for pltexit.
26003 Preserve floating point return values across _dl_call_pltexit
26004 call.
26005 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26006 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26007 (print_exit): Fix format string for return register value.
26008
9a07f9d0
JM
260092012-03-10 Joseph Myers <joseph@codesourcery.com>
26010
26011 * sunrpc/Makefile (others): Add rpcgen.
26012 ($(objpfx)rpcgen): Remove special build rule and dependency on
26013 libc.
26014 * sunrpc/rpcgen.c: New file.
26015
547b5e30
PE
260162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26017
c524201a
PE
26018 [BZ #13673]
26019 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26020 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26021 * sysdeps/i386/crti.S: Likewise.
26022 * sysdeps/i386/crtn.S: Likewise.
26023 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26024 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26025 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26026 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26027 * sysdeps/sh/crti.S: Likewise.
26028 * sysdeps/sh/crtn.S: Likewise.
26029 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26030
7b6235f2
PE
26031 [BZ #13673]
26032 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26033 with URL.
26034 * locale/programs/locfile-kw.gperf: Likewise.
26035 * locale/programs/charmap-kw.h: Regenerated.
26036 * locale/programs/locfile-kw.h: Likewise.
26037
547b5e30
PE
26038 [BZ #13673]
26039 * intl/plural.y: Replace FSF snail mail address with URL.
26040 * intl/plural.c: Regenerated.
26041
5f0a5dae
RH
260422012-03-09 Richard Henderson <rth@twiddle.net>
26043
26044 * include/math_private.h: Remove file.
26045 * math/math_private.h: Move file ...
26046 * sysdeps/generic/math_private.h: ... here.
26047
b8c03620
RH
26048 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26049 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26050 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26051
4e234f5d 26052 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26053 and <math_private.h>.
26054 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26055 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26056 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26057 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26058 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26142 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26143 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26145 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26147 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26148 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26149 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26150 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26151 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26152 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26154 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26155 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26159 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26160 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26166 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26170 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26171 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26173 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26174 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26177 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26178 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26179 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26180 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26181 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26182 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26183 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26184 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26185 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26186 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26187 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26188 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26189 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26190 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26191 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26192 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26193 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26194 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26195 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26196 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26197 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26198 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26199 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26200 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26201 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26202 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26203 * sysdeps/ieee754/k_standard.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26235 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26237 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26240 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26243 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26245 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26319 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26331 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26353 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26354 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26364 * sysdeps/ieee754/s_lib_version.c: Likewise.
26365 * sysdeps/ieee754/s_matherr.c: Likewise.
26366 * sysdeps/ieee754/s_signgam.c: Likewise.
26367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26369 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26370 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26371 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26372 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26373 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26374 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26375 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26376 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26377 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26378 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26379 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26380 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26381 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26382 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26383 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26384 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26385 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26388
1991fa03
JM
263892012-03-09 Joseph Myers <joseph@codesourcery.com>
26390
26391 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26392 * sunrpc/rpc_main.c: Likewise.
26393 * sunrpc/rpc_svcout.c: Likewise.
26394
60d6f5a6
DM
263952012-03-09 David S. Miller <davem@davemloft.net>
26396
26397 * include/math_private.h: New file.
26398
4962050e
JM
263992012-03-09 Joseph Myers <joseph@codesourcery.com>
26400
02a6f887
JM
26401 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26402 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26403 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26404 from <bits/socket_type.h>.
26405 (enum __socket_type): Don't define here.
26406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26408 bits/socket_type.h.
26409
c6e013c1
JM
26410 [BZ #13566]
26411 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26412 checking __USE_GNU.
26413
4962050e
JM
26414 * Makerules ($(inst_includedir)/%.h): New rule.
26415 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26416 (install-others): Remove variable setting.
26417 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26418
38842f45
RH
264192012-03-08 Richard Henderson <rth@twiddle.net>
26420
67bb6da6
RH
26421 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26422 from macro to inline function; merge with the
26423 !__LIBC_INTERNAL_MATH_INLINES version.
26424 (__ieee754_sqrtf): Likewise.
26425
15194b4b
RH
26426 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26427 to inline function.
26428 (__rintf, __floor, __floorf): Likewise.
26429
64e21ede
RH
26430 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26431 macro to inline function.
26432 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26433
38842f45
RH
26434 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26435 not <math/math_private.h>.
26436
c64bf5fe
DM
264372012-03-08 David S. Miller <davem@davemloft.net>
26438
26439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26440 copyright year.
26441 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26442
82d86f28
TS
264432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26444
26445 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26446 normalization.
26447 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26448 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26449
aea5d727
UD
264502012-03-08 Ulrich Drepper <drepper@gmail.com>
26451
26452 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26453 be defined individually, they must be defined as a block. Define
26454 S for printing a string instead of hidint the different by using a
26455 macro for adding the 'l'.
26456 * stdio-common/tst-fphex-wide.c: Adjust.
26457
70bca0a3
MP
264582012-03-07 Marek Polacek <polacek@redhat.com>
26459
26460 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26461
65b81130
MP
264622012-03-08 Marek Polacek <polacek@redhat.com>
26463
26464 [BZ #13806]
26465 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26466 * stdio-common/tst-fphex.c: Define a few macros to make the
26467 test reusable. Use them.
26468 * stdio-common/tst-fphex-wide.c: New file.
26469
07037eeb
JM
264702012-03-08 Joseph Myers <joseph@codesourcery.com>
26471
a7a93d50
JM
26472 [BZ #6911]
26473 * manual/macros.texi (gnusystems): New macro.
26474 (nongnusystems): Likewise.
26475 (gnulinuxhurdsystems): Likewise.
26476 (gnuhurdsystems): Likewise..
26477 (gnulinuxsystems): Likewise.
26478 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26479 variants of the GNU system, not "GNU system".
26480 * manual/conf.texi: Likewise.
26481 * manual/errno.texi: Likewise. Update example of errno macro
26482 expansion.
26483 * manual/filesys.texi: Likewise.
26484 (getumask): Document as specific to GNU/Hurd.
26485 * manual/install.texi: Likewise. Reword some references to
26486 GNU/Linux.
26487 * manual/intro.texi: Likewise.
26488 * manual/io.texi: Likewise.
26489 (File Name Portability): Detail which constraints are inapplicable
26490 to all GNU systems and which are only inapplicable to GNU/Hurd.
26491 * manual/job.texi: Likewise.
26492 * manual/llio.texi: Likewise.
26493 (O_NOCTTY): Document as present on GNU/Linux.
26494 * manual/maint.texi: Likewise.
26495 * manual/memory.texi: Likewise.
26496 * manual/pattern.texi: Likewise.
26497 * manual/pipe.texi: Likewise.
26498 * manual/process.texi: Likewise.
26499 * manual/resource.texi: Likewise.
26500 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26501 child on GNU/Hurd.
26502 * manual/setjmp.texi: Likewise.
26503 * manual/signal.texi: Likewise.
26504 * manual/startup.texi: Likewise.
26505 * manual/stdio.texi: Likewise.
26506 * manual/terminal.texi: Likewise.
26507 (ONLCR): Document as POSIX.
26508 (OXTABS): Document availability on GNU/Linux as XTABS.
26509 (ONOEOT): Document availability separately from other bits.
26510 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26511 * manual/time.texi: Likewise.
26512 * manual/users.texi: Likewise.
26513 * INSTALL: Regenerated.
26514 * sysdeps/gnu/errlist.c: Regenerated.
26515
07037eeb
JM
26516 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26517 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26518 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26519 puts.
26520 * configure: Regenerated.
26521
d1d3431a
JM
265222012-03-07 Joseph Myers <joseph@codesourcery.com>
26523
af6a1e37
JM
26524 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26525 default includes instead of AC_HEADER_CHECK.
26526 * sysdeps/i386/configure: Regenerated.
26527
d1d3431a
JM
26528 [BZ #10716]
26529 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26530 * math/s_cacoshf.c (__cacoshf): Likewise.
26531 * math/s_cacoshl.c (__cacoshl): Likewise.
26532 * math/s_casinh.c (__casinh): Set signs of result from argument.
26533 * math/s_casinhf.c (__casinhf): Likewise.
26534 * math/s_casinhl.c (__casinhl): Likewise.
26535 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26536 (casinh_test): Add more tests.
26537 * sysdeps/i386/fpu/libm-test-ulps: Update.
26538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26539
482ff4da
UD
265402012-03-07 Ulrich Drepper <drepper@gmail.com>
26541
872fda05
UD
26542 * po/zh_TW.po: Update from translation team.
26543
a4300c7a
UD
26544 * login/Makefile (distribute): Remove variable.
26545 * catgets/Makefile: Likewise.
26546 * mach/Makefile: Likewise.
26547 * malloc/Makefile: Likewise.
26548 * misc/Makefile: Likewise.
26549 * iconv/Makefile: Likewise.
26550 * nscd/Makefile: Likewise.
26551 * hurd/Makefile: Likewise.
26552 * manual/Makefile: Likewise.
26553 * locale/Makefile: Likewise.
26554 * intl/Makefile: Likewise.
26555 * conform/Makefile: Likewise.
26556 * nss/Makefile: Likewise.
26557 * time/Makefile: Likewise.
26558 * soft-fp/Makefile: Likewise.
26559 * dirent/Makefile: Likewise.
26560 * gmon/Makefile: Likewise.
26561 * po/Makefile: Likewise.
26562 * rt/Makefile: Likewise.
26563 * socket/Makefile: Likewise.
26564 * math/Makefile: Likewise.
26565 * signal/Makefile: Likewise.
26566 * debug/Makefile: Likewise.
26567 * elf/Makefile: Likewise.
26568 * timezone/Makefile: Likewise.
26569 * stdlib/Makefile: Likewise.
26570 * iconvdata/Makefile: Likewise.
26571 * sunrpc/Makefile: Likewise.
26572 * io/Makefile: Likewise.
26573 * argp/Makefile: Likewise.
26574 * inet/Makefile: Likewise.
26575 * hesiod/Makefile: Likewise.
26576 * grp/Makefile: Likewise.
26577 * csu/Makefile: Likewise.
26578 * wctype/Makefile: Likewise.
26579 * crypt/Makefile: Likewise.
26580 * libio/Makefile: Likewise.
26581 * string/Makefile: Likewise.
26582 * nis/Makefile: Likewise.
26583 * resolv/Makefile: Likewise.
26584 * stdio-common/Makefile: Likewise.
26585 * wcsmbs/Makefile: Likewise.
26586 * dlfcn/Makefile: Likewise.
26587 * posix/Makefile: Likewise.
26588
3b7c4e74 26589 [BZ #6959]
482ff4da
UD
26590 * timezone/Makefile: Don't install timezone files, just the programs
26591 and scripts.
26592
f72ed77d
UD
265932012-03-06 Ulrich Drepper <drepper@gmail.com>
26594
a000466f
UD
26595 * nss/databases.def: Add missing gshadow entry.
26596
f72ed77d
UD
26597 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26598
a53b7a4e
MP
265992012-03-06 Marek Polacek <polacek@redhat.com>
26600
26601 [BZ #13726]
26602 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26603 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26604 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26605 * stdio-common/tst-long-dbl-fphex.c: New file.
26606
e9258400
DM
266072012-03-06 David S. Miller <davem@davemloft.net>
26608
26609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26610 (set_obp_int): New function.
26611 (get_obp_int): New function.
26612 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26614 Avoid unused variable warnings on 'val' and use builtin_expect.
26615 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26616 __builtin_expect.
e9258400
DM
26617 (INLINE_CLONE_SYSCALL): Likewise.
26618
3bd2c723
DM
266192012-03-05 David S. Miller <davem@davemloft.net>
26620
26621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26622
bbb78d03
AS
266232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26624
884c5db4
AS
26625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26626
bbb78d03
AS
26627 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26628 only for |x| >= 40.
26629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26630
1c9f702a 266312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26632
26633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26634 Replace gettimeofday with __vdso_gettimeofday.
26635
7be16f82
RM
26636 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26637 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26638 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26639
26640 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26641 time with __vdso_time.
26642
ed58a00f
JM
266432012-03-05 Joseph Myers <joseph@codesourcery.com>
26644
26645 * manual/lang.texi (size_t): Note types to which size_t may be
26646 equivalent with the GNU C Library, but do not describe when
26647 differences between them are significant.
26648
30ee4ced
AJ
266492012-03-05 Andreas Jaeger <aj@suse.de>
26650
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652
b7cd39e8
JM
266532012-03-05 Joseph Myers <joseph@codesourcery.com>
26654
26655 [BZ #3976]
26656 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26657 (__ieee754_pow): Save and restore rounding mode and use
26658 round-to-nearest for main computations.
26659 * math/libm-test.inc (pow_test_tonearest): New function.
26660 (pow_test_towardzero): Likewise.
26661 (pow_test_downward): Likewise.
26662 (pow_test_upward): Likewise.
26663 (main): Call the new functions.
26664 * sysdeps/i386/fpu/libm-test-ulps: Update.
26665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26666
26667 [BZ #3976]
26668 * math/libm-test.inc (cosh_test_tonearest): New function.
26669 (cosh_test_towardzero): Likewise.
26670 (cosh_test_downward): Likewise.
26671 (cosh_test_upward): Likewise.
26672 (sinh_test_tonearest): Likewise.
26673 (sinh_test_towardzero): Likewise.
26674 (sinh_test_downward): Likewise.
26675 (sinh_test_upward): Likewise.
26676 (main): Call the new functions.
26677 * sysdeps/i386/fpu/libm-test-ulps: Update.
26678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26679
6c6a98c9
TV
266802012-03-05 Tom de Vries <tom@codesourcery.com>
26681
26682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26683 default stack guard is set in last bytes.
26684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26685
21bb2d2e 266862012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26687
21bb2d2e 26688 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26689
21bb2d2e
AJ
26690 [BZ #13656]
26691 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26692 possibly allocate from heap instead of stack.
26693 * stdio-common/bug-vfprintf-nargs.c: New file.
26694 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26695
c6922934
AS
266962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26697
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26699
bc957d53
MP
267002012-03-03 Marek Polacek <polacek@redhat.com>
26701
26702 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26703 * math/math_private.h: Likewise.
26704 * stdlib/tst-strtod.c: Likewise.
26705 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26706 * sysdeps/x86_64/bits/atomic.h: Likewise.
26707
6358490d
DM
267082012-03-02 David S. Miller <davem@davemloft.net>
26709
26710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26714 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26715 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26716 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26717 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26718
01ae168d
RM
267192012-03-02 Roland McGrath <roland@hack.frob.com>
26720
d9a17c07
RM
26721 [BZ #13792]
26722 * manual/examples/README: New file, says the example source files
26723 can be used under GPL>=2.
26724 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26725 line containing just "*/".
26726 * manual/examples/add.c: Add copyright header (GPL>=2).
26727 * manual/examples/argp-ex1.c: Likewise.
26728 * manual/examples/argp-ex2.c: Likewise.
26729 * manual/examples/argp-ex3.c: Likewise.
26730 * manual/examples/argp-ex4.c: Likewise.
26731 * manual/examples/atexit.c: Likewise.
26732 * manual/examples/db.c: Likewise.
26733 * manual/examples/dir.c: Likewise.
26734 * manual/examples/dir2.c: Likewise.
26735 * manual/examples/execinfo.c: Likewise.
26736 * manual/examples/filecli.c: Likewise.
26737 * manual/examples/filesrv.c: Likewise.
26738 * manual/examples/fmtmsgexpl.c: Likewise.
26739 * manual/examples/genpass.c: Likewise.
26740 * manual/examples/inetcli.c: Likewise.
26741 * manual/examples/inetsrv.c: Likewise.
26742 * manual/examples/isockad.c: Likewise.
26743 * manual/examples/longopt.c: Likewise.
26744 * manual/examples/memopen.c: Likewise.
26745 * manual/examples/memstrm.c: Likewise.
26746 * manual/examples/mkfsock.c: Likewise.
26747 * manual/examples/mkisock.c: Likewise.
26748 * manual/examples/mygetpass.c: Likewise.
26749 * manual/examples/pipe.c: Likewise.
26750 * manual/examples/popen.c: Likewise.
26751 * manual/examples/rprintf.c: Likewise.
26752 * manual/examples/search.c: Likewise.
26753 * manual/examples/select.c: Likewise.
26754 * manual/examples/setjmp.c: Likewise.
26755 * manual/examples/sigh1.c: Likewise.
26756 * manual/examples/sigusr.c: Likewise.
26757 * manual/examples/stpcpy.c: Likewise.
26758 * manual/examples/strdupa.c: Likewise.
26759 * manual/examples/strftim.c: Likewise.
26760 * manual/examples/strncat.c: Likewise.
26761 * manual/examples/subopt.c: Likewise.
26762 * manual/examples/swapcontext.c: Likewise.
26763 * manual/examples/termios.c: Likewise.
26764 * manual/examples/testopt.c: Likewise.
26765 * manual/examples/testpass.c: Likewise.
26766 * manual/examples/timeval_subtract.c: Likewise.
26767
01ae168d
RM
26768 [BZ #13792]
26769 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26770 function to ...
26771 * manual/timeval_subtract.c.texi: ... here, new file.
26772
49efa33d
DM
267732012-03-02 David S. Miller <davem@davemloft.net>
26774
26775 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26776
28afd92d
JM
267772012-03-02 Joseph Myers <joseph@codesourcery.com>
26778
804360ed
JM
26779 [BZ #3976]
26780 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26781 (__sin): Save and restore rounding mode and use round-to-nearest
26782 for all computations.
26783 (__cos): Save and restore rounding mode and use round-to-nearest
26784 for all computations.
26785 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26786 <fenv.h>.
26787 (tan): Save and restore rounding mode and use round-to-nearest for
26788 all computations.
26789 * math/libm-test.inc (cos_test_tonearest): New function.
26790 (cos_test_towardzero): Likewise.
26791 (cos_test_downward): Likewise.
26792 (cos_test_upward): Likewise.
26793 (sin_test_tonearest): Likewise.
26794 (sin_test_towardzero): Likewise.
26795 (sin_test_downward): Likewise.
26796 (sin_test_upward): Likewise.
26797 (tan_test_tonearest): Likewise.
26798 (tan_test_towardzero): Likewise.
26799 (tan_test_downward): Likewise.
26800 (tan_test_upward): Likewise.
26801 (main): Call the new functions.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26804
a6d06d7b
JM
26805 [BZ #10135]
26806 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26807 small n, then large n, before computing and testing k+n.
26808 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26810 Likewise.
26811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26812 Likewise.
26813 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26814 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26815 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26816 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26821 * math/libm-test.inc (scalbn_test): Add more tests.
26822 (scalbln_test): Likewise.
26823
07e12bb3
JM
26824 * manual/filesys.texi (mode_t): Describe constraints on size and
26825 signedness, not exact equivalence to a particular type.
26826 (ino_t): Likewise.
26827 (ino64_t): Likewise.
26828 (dev_t): Likewise.
26829 (nlink_t): Likewise.
26830 (blkcnt_t): Likewise.
26831 (blkcnt64_t): Likewise.
26832 * manual/llio.texi (off_t): Likewise.
26833
28afd92d
JM
26834 [BZ #3976]
26835 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26836 (__ieee754_exp): Save and restore rounding mode and use
26837 round-to-nearest for all computations.
26838 * math/libm-test.inc (exp_test_tonearest): New function.
26839 (exp_test_towardzero): Likewise.
26840 (exp_test_downward): Likewise.
26841 (exp_test_upward): Likewise.
26842 (main): Call the new functions.
26843 * sysdeps/i386/fpu/libm-test-ulps: Update.
26844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26845
b1eeb65d
CD
268462012-03-01 Chris Demetriou <cgd@google.com>
26847
26848 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26849 have predictable order.
26850
53362a4b
DM
268512012-03-01 David S. Miller <davem@davemloft.net>
26852
3c969083
DM
26853 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26854
759707de
DM
26855 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26856 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26857 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26858 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26859
dfdb8ff2
DM
26860 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26861 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26862 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26864 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26865 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26866 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26867 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26868 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26869
ead89f96
DM
26870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26871
7f66bd07
DM
26872 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26873 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26874 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26875
53362a4b
DM
26876 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26877 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26878 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26883 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26884 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26885 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26886 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26890 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26892 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26893 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26894 * sysdeps/sparc/elf/configure: Regenerated.
26895
7b1902cb
JM
268962012-03-01 Joseph Myers <joseph@codesourcery.com>
26897
bec039bc
JM
26898 * configure.in (AS, LD): Require binutils 2.20 or later.
26899 * configure: Regenerated.
26900 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26901 as required minimum version.
26902 * INSTALL: Regenerated.
26903
7b1902cb
JM
26904 [BZ #2541]
26905 [BZ #4108]
26906 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26907 before squaring exponent.
26908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26909 bottom long double and 27 bits of top long double before squaring
26910 exponent.
26911 * math/libm-test.inc (erfc_test): Add more tests.
26912 * sysdeps/i386/fpu/libm-test-ulps: Update.
26913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26915
f775c276
KT
269162012-03-01 Kai Tietz <ktietz@redhat.com>
26917
26918 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26919 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26920 containing bit-fields.
26921 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26922 * soft-fp/single.h (_FP_UNION_S): Likewise.
26923 * soft-fp/double.h (_FP_UNION_D): Likewise.
26924
5b8a4d4a
JM
269252012-02-29 Joseph Myers <joseph@codesourcery.com>
26926
0bab47b6
JM
26927 [BZ #13786]
26928 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26929 not include ../strcmp.S.
26930 [USE_AS_STRNCASECMP_L]: Likewise.
26931 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26932 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26933 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26934 (__strncasecmp_l_ia32): Define as alias to
26935 __strncasecmp_l_nonascii.
26936
0fcad3e2
JM
26937 [BZ #5794]
26938 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26941
5b8a4d4a
JM
26942 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26944
8fdceb2e
JL
269452012-02-29 Jeff Law <law@redhat.com>
26946
26947 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26948 out of bounds read.
26949
1f393a11
MP
269502012-02-29 Marek Polacek <polacek@redhat.com>
26951
26952 [BZ #13706]
26953 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26954 * elf/Makefile: Add rules to run tst-unused-dep.out.
26955
8847f037
DM
269562012-02-28 David S. Miller <davem@davemloft.net>
26957
26958 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26959 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26961 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26962 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26963 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26964
169d7f11
JM
269652012-02-29 Joseph Myers <joseph@codesourcery.com>
26966
26967 * math/libm-test.inc (llround_test): Move one test from
26968 lround_test. Use TEST_f_L in moved test.
26969 (lround_test): Move misplaced test to llround_test. Add testcase
26970 from bug 2561.
26971
39adf059
UD
269722012-02-28 Ulrich Drepper <drepper@gmail.com>
26973
26974 * sysdeps/x86_64/fpu/e_expf.S: New file.
26975 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26976
71b5d1c5
SB
269772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26978
26979 [BZ #13637]
26980 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26981 of remain_len that may cause incomplete multi-byte character and
26982 false match.
26983 * posix/bug-regex33.c: New file.
26984 * posix/Makefile (tests): Add bug-regex33.
26985
1f77f049
JM
269862012-02-28 Joseph Myers <joseph@codesourcery.com>
26987
26988 * manual/macros.texi: New file.
26989 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26990 * manual/libc.texinfo: Include macros.texi.
26991 * manual/creatute.texi: Likewise.
26992 * manual/install.texi: Likewise.
26993 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26994 @glibcadj{} in references to the GNU C Library.
26995 * manual/charset.texi: Likewise.
26996 * manual/conf.texi: Likewise.
26997 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26998 when not using those macros.
26999 * manual/creature.texi: Likewise.
27000 * manual/crypt.texi: Likewise.
27001 * manual/errno.texi: Likewise.
27002 * manual/filesys.texi: Likewise.
27003 * manual/header.texi: Likewise.
27004 * manual/install.texi: Likewise.
27005 * manual/intro.texi: Likewise.
27006 * manual/io.texi: Likewise.
27007 * manual/job.texi: Likewise.
27008 * manual/lang.texi: Likewise.
27009 * manual/libc.texiinfo: Likewise.
27010 * manual/llio.texi: Likewise.
27011 * manual/locale.texi: Likewise.
27012 * manual/maint.texi: Likewise.
27013 * manual/math.texi: Likewise.
27014 * manual/memory.texi: Likewise.
27015 * manual/message.texi: Likewise.
27016 * manual/nss.texi: Likewise.
27017 * manual/pattern.texi: Likewise.
27018 * manual/process.texi: Likewise.
27019 * manual/resource.texi: Likewise.
27020 * manual/search.texi: Likewise.
27021 * manual/setjmp.texi: Likewise.
27022 * manual/signal.texi: Likewise.
27023 * manual/socket.texi: Likewise.
27024 * manual/startup.texi: Likewise.
27025 * manual/stdio.texi: Likewise.
27026 * manual/string.texi: Likewise.
27027 * manual/sysinfo.texi: Likewise.
27028 * manual/syslog.texi: Likewise.
27029 * manual/terminal.texi: Likewise.
27030 * manual/time.texi: Likewise.
27031 * manual/users.texi: Likewise.
27032 * INSTALL: Regenerated.
27033 * NOTES: Regenerated.
d40c5d54 27034 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27035
450bf206
AS
270362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27037
27038 * include/dirent.h: Include <dirstream.h> before
27039 <dirent/dirent.h>.
27040
741a235b
DM
270412012-02-28 David S. Miller <davem@davemloft.net>
27042
27043 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27044 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27045 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27046 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27047
d6b5aa58
DM
270482012-02-27 David S. Miller <davem@davemloft.net>
27049
1aff59a3
DM
27050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27052 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27053 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27054
d6b5aa58
DM
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27056 frame pointer instead of stack pointer relative arg slot.
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27058 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27059 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27060
433f48bf
CD
270612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27062
27063 [BZ #3992]
27064 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27065
d674b76d
DM
270662012-02-27 David S. Miller <davem@davemloft.net>
27067
27068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27072 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27073 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27074 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27075 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27076
0e7727f7
JM
270772012-02-27 Joseph Myers <joseph@codesourcery.com>
27078
27079 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27080 later. Allow versions 5-9.
43be4ca2 27081 * configure: Regenerated.
0e7727f7
JM
27082 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27083 required minimum version and 4.6 as recommended version. Do not
27084 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27085 * INSTALL: Regenerated.
0e7727f7 27086
a78bc654
DM
270872012-02-27 David S. Miller <davem@davemloft.net>
27088
428d5830
DM
27089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27093 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27094 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27095 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27096 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27097
a78bc654
DM
27098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27099 manipulate bits before adding and subtracting TWO112[sx].
27100 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27101
4579f81c
RM
271022012-02-27 Roland McGrath <roland@hack.frob.com>
27103
36c8acb4
RM
27104 [BZ #13775]
27105 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27106 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27107 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27108 being in POSIX, because they are in 1003.1-2008.
27109
84ad622b
RM
27110 * rt/tst-aio.c: Include <fcntl.h>.
27111 * rt/tst-aio7.c: Likewise.
27112 * rt/tst-aio64.c: Likewise.
27113
4579f81c
RM
27114 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27115
abd923db
JM
271162012-02-27 Joseph Myers <joseph@codesourcery.com>
27117
27118 * manual/install.texi (--with-headers): Describe headers as
27119 interface headers, not private headers.
27120 (Specific advice for GNU/Linux systems): Describe use of headers
27121 from "make headers_install", not private headers from older
27122 kernels.
43be4ca2 27123 * INSTALL: Regenerated.
abd923db
JM
27124 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27125 Change to 2.6.19.
27126 * sysdeps/unix/sysv/linux/configure: Regenerated.
27127
6664049b
JM
27128 * manual/llio.texi (fclean): Remove documentation.
27129
bb8b6697
JM
27130 * manual/Makefile (libc-texi-generated): New variable. Include
27131 version.texi.
27132 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27133 $(libc-texi-generated), not duplicated list of files.
27134 (version.texi, stamp-version): New rules.
27135 (realclean): Remove $(libc-texi-generated), not individual files
27136 from that list. Do not remove dir-add.texinfo.
27137 * manual/libc.texinfo: Comment out uses of edition numbers and
27138 references to printed manual. Remove last-updated dates.
27139 (EDITION): Comment out.
27140 (ISBN): Likewise.
27141 (VERSION, UPDATED): Remove.
27142 (version.texi): Include.
27143
12e5c3b9
AS
271442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27145
27146 * sysdeps/posix/spawni.c: Include <signal.h>.
27147 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27148 * sysdeps/pthread/aio_fsync.c: Likewise.
27149
4efeffc1 271502012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27151
ba63ba08
UD
27152 * conform/Makefile (tests): Run only when not cross-compiling and
27153 when fast-check is not defined.
27154
d94a4670
UD
27155 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27156 * conform/data/limits.h-data: Fixes for POSIX2008.
27157 * conform/run-conformtest.sh: Run all tests.
27158 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27159 headers.
27160 * include/bits/dlfcn.h: Likewise.
27161 * include/langinfo.h: Likewise.
27162 * include/monetary.h: Likewise.
27163 * include/sys/poll.h: Likewise.
27164
27165 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27166 for __USE_GNU.
27167 * posix/spawn.h: Define __need_sigset_t.
27168 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27169 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27170 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27171 to get sigevent_t only.
27172 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27173 only for __USE_GNU.
27174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27175 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27176 process_vm_writev only for __USE_GNU.
27177 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27178
27179 * conform/Makefile: For now ignore errors from run-conformtest.
27180 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27181 POSIX to avoid namespace pollution. Don't prepend headers.
27182 * conform/data/aio.h-data: Fixes for POSIX testing.
27183 * conform/data/fcntl.h-data: Likewise.
27184 * conform/data/glob.h-data: Likewise.
27185 * conform/data/grp.h-data: Likewise.
27186 * conform/data/pthread.h-data: Likewise.
27187 * conform/data/pwd.h-data: Likewise.
27188 * conform/data/signal.h-data: Likewise.
27189 * conform/data/spawn.h-data: Likewise.
27190 * conform/data/stdio.h-data: Likewise.
27191 * conform/data/stdlib.h-data: Likewise.
27192 * conform/data/stropts.h-data: Likewise.
27193 * conform/data/sys/mman.h-data: Likewise.
27194 * conform/data/sys/stat.h-data: Likewise.
27195 * conform/data/sys/types.h-data: Likewise.
27196 * conform/data/sys/wait.h-data: Likewise.
27197 * conform/data/time.h-data: Likewise.
27198 * conform/data/unistd.h-data: Likewise.
27199 * conform/data/utime.h-data: Likewise.
27200
27201 * io/sys/stat.h: fchmod was always in POSIX.
27202 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27203 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27204 * rt/aio.h: Define __need_timespec before including <time.h>.
27205 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27206 struct. Add forward declaration of pthread_attr_t and use it in
27207 sigevent.
27208 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27210 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27211 always remove CLK_TCK definition.
27212
c20105c3
AS
272132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27214
27215 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27216
7a270350
UD
272172012-02-25 Ulrich Drepper <drepper@gmail.com>
27218
31341567
UD
27219 * conform/run-conformtest.sh: New file.
27220 * conform/Makefile: Run run-conformtest for tests.
27221 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27222 support.
27223
27224 * conform/data/uchar.h-data: New file.
27225 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27226 * conform/data/arpa/inet.h-data: Likewise.
27227 * conform/data/assert.h-data: Likewise.
27228 * conform/data/complex.h-data: Likewise.
27229 * conform/data/cpio.h-data: Likewise.
27230 * conform/data/ctype.h-data: Likewise.
27231 * conform/data/dirent.h-data: Likewise.
27232 * conform/data/dlfcn.h-data: Likewise.
27233 * conform/data/errno.h-data: Likewise.
27234 * conform/data/fcntl.h-data: Likewise.
27235 * conform/data/float.h-data: Likewise.
27236 * conform/data/fmtmsg.h-data: Likewise.
27237 * conform/data/fnmatch.h-data: Likewise.
27238 * conform/data/ftw.h-data: Likewise.
27239 * conform/data/glob.h-data: Likewise.
27240 * conform/data/grp.h-data: Likewise.
27241 * conform/data/iconv.h-data: Likewise.
27242 * conform/data/inttypes.h-data: Likewise.
27243 * conform/data/langinfo.h-data: Likewise.
27244 * conform/data/libgen.h-data: Likewise.
27245 * conform/data/limits.h-data: Likewise.
27246 * conform/data/locale.h-data: Likewise.
27247 * conform/data/math.h-data: Likewise.
27248 * conform/data/monetary.h-data: Likewise.
27249 * conform/data/mqueue.h-data: Likewise.
27250 * conform/data/ndbm.h-data: Likewise.
27251 * conform/data/net/if.h-data: Likewise.
27252 * conform/data/netdb.h-data: Likewise.
27253 * conform/data/netinet/in.h-data: Likewise.
27254 * conform/data/nl_types.h-data: Likewise.
27255 * conform/data/poll.h-data: Likewise.
27256 * conform/data/pthread.h-data: Likewise.
27257 * conform/data/pwd.h-data: Likewise.
27258 * conform/data/regex.h-data: Likewise.
27259 * conform/data/sched.h-data: Likewise.
27260 * conform/data/search.h-data: Likewise.
27261 * conform/data/semaphore.h-data: Likewise.
27262 * conform/data/setjmp.h-data: Likewise.
27263 * conform/data/signal.h-data: Likewise.
27264 * conform/data/spawn.h-data: Likewise.
27265 * conform/data/stdarg.h-data: Likewise.
27266 * conform/data/stdio.h-data: Likewise.
27267 * conform/data/stdlib.h-data: Likewise.
27268 * conform/data/string.h-data: Likewise.
27269 * conform/data/strings.h-data: Likewise.
27270 * conform/data/stropts.h-data: Likewise.
27271 * conform/data/sys/ipc.h-data: Likewise.
27272 * conform/data/sys/mman.h-data: Likewise.
27273 * conform/data/sys/msg.h-data: Likewise.
27274 * conform/data/sys/resource.h-data: Likewise.
27275 * conform/data/sys/select.h-data: Likewise.
27276 * conform/data/sys/sem.h-data: Likewise.
27277 * conform/data/sys/shm.h-data: Likewise.
27278 * conform/data/sys/socket.h-data: Likewise.
27279 * conform/data/sys/stat.h-data: Likewise.
27280 * conform/data/sys/statvfs.h-data: Likewise.
27281 * conform/data/sys/time.h-data: Likewise.
27282 * conform/data/sys/timeb.h-data: Likewise.
27283 * conform/data/sys/times.h-data: Likewise.
27284 * conform/data/sys/types.h-data: Likewise.
27285 * conform/data/sys/uio.h-data: Likewise.
27286 * conform/data/sys/un.h-data: Likewise.
27287 * conform/data/sys/utsname.h-data: Likewise.
27288 * conform/data/sys/wait.h-data: Likewise.
27289 * conform/data/syslog.h-data: Likewise.
27290 * conform/data/tar.h-data: Likewise.
27291 * conform/data/termios.h-data: Likewise.
27292 * conform/data/utime.h-data: Likewise.
27293 * conform/data/utmpx.h-data: Likewise.
27294 * conform/data/varargs.h-data: Likewise.
27295 * conform/data/wchar.h-data: Likewise.
27296 * conform/data/wctype.h-data: Likewise.
27297 * conform/data/wordexp.h-data: Likewise.
27298
27299 * include/stropts.h: New file.
27300 * include/uchar.h: New file.
27301 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27302 * include/assert.h: Likewise.
27303 * include/ctype.h: Likewise.
27304 * include/dirent.h: Likewise.
27305 * include/dlfcn.h: Likewise.
27306 * include/fcntl.h: Likewise.
27307 * include/fnmatch.h: Likewise.
27308 * include/glob.h: Likewise.
27309 * include/grp.h: Likewise.
27310 * include/libio.h: Likewise.
27311 * include/locale.h: Likewise.
27312 * include/math.h: Likewise.
27313 * include/net/if.h: Likewise.
27314 * include/netdb.h: Likewise.
27315 * include/netinet/in.h: Likewise.
27316 * include/pthread.h: Likewise.
27317 * include/pwd.h: Likewise.
27318 * include/regex.h: Likewise.
27319 * include/sched.h: Likewise.
27320 * include/search.h: Likewise.
27321 * include/setjmp.h: Likewise.
27322 * include/signal.h: Likewise.
27323 * include/stdio.h: Likewise.
27324 * include/stdlib.h: Likewise.
27325 * include/string.h: Likewise.
27326 * include/sys/cdefs.h: Likewise.
27327 * include/sys/mman.h: Likewise.
27328 * include/sys/msg.h: Likewise.
27329 * include/sys/resource.h: Likewise.
27330 * include/sys/select.h: Likewise.
27331 * include/sys/socket.h: Likewise.
27332 * include/sys/stat.h: Likewise.
27333 * include/sys/statvfs.h: Likewise.
27334 * include/sys/time.h: Likewise.
27335 * include/sys/times.h: Likewise.
27336 * include/sys/uio.h: Likewise.
27337 * include/sys/utsname.h: Likewise.
27338 * include/sys/wait.h: Likewise.
27339 * include/termios.h: Likewise.
27340 * include/time.h: Likewise.
27341 * include/ulimit.h: Likewise.
27342 * include/unistd.h: Likewise.
27343 * include/utime.h: Likewise.
27344 * include/wchar.h: Likewise.
27345 * include/wctype.h: Likewise.
27346 * include/wordexp.h: Likewise.
27347
27348 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27349
7a270350
UD
27350 * time/time.h: TIME_UTC must be a macro.
27351 Make timespec_get available for ISO C11 only as well.
27352
7724defc
UD
273532012-02-24 Ulrich Drepper <drepper@gmail.com>
27354
27355 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27356 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27357
6b1d1d46
JM
273582012-02-24 Joseph Myers <joseph@codesourcery.com>
27359
27360 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27361
0f8bbd69
JM
273622012-02-24 Joseph Myers <joseph@codesourcery.com>
27363
27364 * manual/texinfo.tex: Update to version 2012-01-19.16.
27365
66ab80bc
JM
273662012-02-24 Joseph Myers <joseph@codesourcery.com>
27367
27368 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27369
74981cc5
RM
273702012-02-24 Roland McGrath <roland@hack.frob.com>
27371
ee968201
RM
27372 [BZ #13738]
27373 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27374 * manual/fdl-1.3.texi: New file.
27375 * manual/fdl-1.1.texi: File removed.
27376
74981cc5
RM
27377 [BZ #13738]
27378 * manual/libc.texinfo (FDL_VERSION): New @set.
27379 Use it for mention of FDL in cover text.
27380 (Documentation License): Use it in @include file name.
27381
7bb764bc
JM
273822012-02-22 Joseph Myers <joseph@codesourcery.com>
27383 Roland McGrath <roland@hack.frob.com>
27384
27385 [BZ #5461]
27386 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27387 not LONG_LONG_MAX and LONG_LONG_MIN.
27388 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27389 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27390 name.
27391 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27392
6cbeae47
JM
273932012-02-22 Joseph Myers <joseph@codesourcery.com>
27394
27395 [BZ #2547]
27396 [BZ #11365]
27397 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27398 manipulate bits before adding and subtracting TWO23[sx].
27399 * math/libm-test.inc (nearbyint_test): Add more tests.
27400
fe45ce09
JM
274012012-02-22 Joseph Myers <joseph@codesourcery.com>
27402
27403 [BZ #2548]
27404 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27405 bits before adding and subtracting TWO23[sx].
27406 * math/libm-test.inc (rint_test): Add more tests.
27407 (rint_test_tonearest): Likewise.
27408 (rint_test_towardzero): Likewise.
27409 (rint_test_downward): Likewise.
27410 (rint_test_upward: Likewise.
27411
ff3b3d82
JM
274122012-02-22 Joseph Myers <joseph@codesourcery.com>
27413
27414 [BZ #10110]
27415 * include/stdc-predef.h: New file. Extracted from features.h.
27416 * include/features.h: Include stdc-predef.h.
27417 * Makefile (headers): Add stdc-predef.h.
27418 * CONFORMANCE (Compiler limitations): Update.
27419
ef0aab35
JM
274202012-02-22 Joseph Myers <joseph@codesourcery.com>
27421
27422 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27423
58639409
DM
274242012-02-21 David S. Miller <davem@davemloft.net>
27425
27426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27427 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27428
c0e70b25
DM
274292012-02-20 David S. Miller <davem@davemloft.net>
27430
27431 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27432 using a normal save/restore sequence, rather than allocating a
27433 dummy stack frame just to store a frame pointer and restore.
27434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27435
fb06851d
JM
274362012-02-21 Joseph Myers <joseph@codesourcery.com>
27437
27438 * manual/install.texi: Fix stray word in line-wrapped comment.
27439
7a8b71c3
DM
274402012-02-20 David S. Miller <davem@davemloft.net>
27441
d510c123
DM
27442 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27443 both binutils and gcc support GOTDATA.
27444
0722d7c2
DM
27445 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27446 "rd %pc" in the PIC register setup sequences.
27447
3d2b3019
DM
27448 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27449 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27450 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27451 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27452 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27454 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27457 (SYSCALL_ERROR_HANDLER): Likewise.
27458 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27459 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27461 (SYSCALL_ERROR_HANDLER): Likewise.
27462
c80098a9
DM
27463 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27464 (HAVE_GCC_GOTDATA): New.
27465 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27466 relocation support in both binutils and gcc.
27467 * sysdeps/sparc/elf/configure: Regenerate.
27468
3a2545a0
DM
27469 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27470 * sysdeps/sparc/sparc32/elf/configure: Delete.
27471 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27472 * sysdeps/sparc/sparc64/elf/configure: Delete.
27473 * sysdeps/sparc/elf/configure.in: New file.
27474 * sysdeps/sparc/elf/configure: Generate.
27475
7a8b71c3
DM
27476 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27477 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27478 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27479 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27480 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27481
f1e86fca
JM
274822012-02-21 Joseph Myers <joseph@codesourcery.com>
27483
27484 * manual/install.texi: Do not mention specific glibc version
27485 numbers.
27486 * manual/libc.texinfo (VERSION, UPDATED): Update.
27487 (@copying): Use @copyright{} and range of years.
27488
0e7dfaef
JM
274892012-02-21 Joseph Myers <joseph@codesourcery.com>
27490
27491 [BZ #13695]
27492 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27493 [crti.S not in sysdirs] (generated): Do not append.
27494 [crti.S not in sysdirs] (omit-deps): Likewise.
27495 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27496 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27497 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27498 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27499 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27500 Likewise.
27501 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27502 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27503 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27504 * csu/defs.awk: Remove file.
27505 * sysdeps/generic/initfini.c: Likewise.
27506 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27507 variable.
27508 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27509 Likewise.
27510
599af3ca
JM
275112012-02-20 Joseph Myers <joseph@codesourcery.com>
27512
27513 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27514 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27515 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27518 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27519 <bits/epoll.h>.
27520 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27521 (__EPOLL_PACKED): Define to empty if not defined by
27522 <bits/epoll.h>.
27523 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27525 bits/epoll.h.
27526
0e499750
JM
275272012-02-20 Joseph Myers <joseph@codesourcery.com>
27528
27529 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27530 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27531 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27532 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27533 <bits/timerfd.h>.
27534 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27536 bits/timerfd.h.
27537
5ad91f6e
JM
275382012-02-20 Joseph Myers <joseph@codesourcery.com>
27539
27540 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27541 in C locale.
27542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27543 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27546
06b99b02
AJ
275472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27548
27549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27550 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27551
7638c0fd
AS
275522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27553
27554 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27555 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27556 defined.
27557 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27558 Likewise.
27559 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27560 entry for 2.16.
27561
92221550
AJ
275622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27563
27564 * math/w_acos.c: Use non-signaling floating-point comparisons.
27565 * math/w_acosf.c: Likewise.
27566 * math/w_acosh.c: Likewise.
27567 * math/w_acoshf.c: Likewise.
27568 * math/w_acoshl.c: Likewise.
27569 * math/w_acosl.c: Likewise.
27570 * math/w_asin.c: Likewise.
27571 * math/w_asinf.c: Likewise.
27572 * math/w_asinl.c: Likewise.
27573 * math/w_atanh.c: Likewise.
27574 * math/w_atanhf.c: Likewise.
27575 * math/w_atanhl.c: Likewise.
27576 * math/w_exp2.c: Likewise.
27577 * math/w_exp2f.c: Likewise.
27578 * math/w_exp2l.c: Likewise.
27579 * math/w_j0.c: Likewise.
27580 * math/w_j0f.c: Likewise.
27581 * math/w_j0l.c: Likewise.
27582 * math/w_j1.c: Likewise.
27583 * math/w_j1f.c: Likewise.
27584 * math/w_j1l.c: Likewise.
27585 * math/w_jn.c: Likewise.
27586 * math/w_jnf.c: Likewise.
27587 * math/w_log.c: Likewise.
27588 * math/w_log10.c: Likewise.
27589 * math/w_log10f.c: Likewise.
27590 * math/w_log10l.c: Likewise.
27591 * math/w_log2.c: Likewise.
27592 * math/w_log2f.c: Likewise.
27593 * math/w_log2l.c: Likewise.
27594 * math/w_logf.c: Likewise.
27595 * math/w_logl.c: Likewise.
27596 * math/w_sqrt.c: Likewise.
27597 * math/w_sqrtf.c: Likewise.
27598 * math/w_sqrtl.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27601 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27602 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27603 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27604
ebaf36eb
JM
276052012-02-19 Joseph Myers <joseph@codesourcery.com>
27606
27607 [BZ #9739]
27608 * manual/string.texi (strnlen): Use correct parameter name in
27609 equivalent expression.
27610
71c254a6
JM
276112012-02-19 Joseph Myers <joseph@codesourcery.com>
27612
27613 [BZ #11174]
27614 * manual/users.texi (seteuid): Consistently use neweuid for
27615 argument name.
27616
16d2c631
JM
276172012-02-19 Joseph Myers <joseph@codesourcery.com>
27618
27619 [BZ #13704]
27620 * manual/nss.texi (Services in the NSS configuration): Correct
27621 list of services in example configuration file.
27622
cd837b09
NB
276232012-02-19 Nick Bowler <nbowler@draconx.ca>
27624
27625 [BZ #11322]
27626 * manual/arith.texi: Remove statements about negative zero
27627 behaving identically to zero.
27628
02c4bbad
JM
276292012-02-18 Joseph Myers <joseph@codesourcery.com>
27630
27631 [BZ #5993]
27632 * manual/install.texi: Do not document upgrading from libc5.
27633
366842e7
JM
276342012-02-18 Joseph Myers <joseph@codesourcery.com>
27635
27636 [BZ #4596]
27637 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27638
dd54084d
DM
276392012-02-18 David S. Miller <davem@davemloft.net>
27640
27641 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27642 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27643 %o7 across the call.
27644 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27645 instead.
27646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27647 SETUP_PIC_REG_LEAF.
27648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27649 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27650 * sysdeps/sparc/crtn.S: Likewise.
27651
2bcc53a3
UD
276522012-02-17 Ulrich Drepper <drepper@gmail.com>
27653
27654 * aout/Makefile: Remove.
27655
09c093b5
RK
276562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27657
27658 [BZ #13058]
27659 * manual/examples/argp-ex1.c (main): Format definition in GNU
27660 style.
27661 * manual/examples/argp-ex2.c (main): Likewise.
27662 * manual/examples/argp-ex3.c (main): Likewise.
27663 * manual/examples/argp-ex4.c (main): Likewise.
27664 * manual/examples/longopt.c (main): Use new-style prototype
27665 definition.
27666 * manual/examples/strncat.c (main): Specify return type and use
27667 (void) for arguments.
27668 * manual/examples/subopt.c (main): Use char **argv argument.
27669
2ee633a2
JM
276702012-02-17 Joseph Myers <joseph@codesourcery.com>
27671
27672 [BZ #5077]
27673 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27674 rounding modes.
27675
0520adde
FB
276762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27677
27678 [BZ #6907]
27679 * manual/string.texi (strchr): Change when strchrnul is
27680 recommended.
27681
3f4081cd
DGM
276822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27683
27684 [BZ #174]
27685 * manual/locale.texi (setlocale): Document LOCPATH.
27686
d1b10e78
JM
276872012-02-17 Joseph Myers <joseph@codesourcery.com>
27688
27689 [BZ #10210]
27690 * manual/process.texi (execle): Move @dots{} before last argument.
27691
79c6869c
PB
276922012-02-17 Paul Bolle <pebolle@tiscali.nl>
27693
27694 [BZ #12047]
27695 * manual/charset.texi (Generic Charset Conversion): Fix typo
27696 (LC_TYPE -> LC_CTYPE).
27697
cc6e48bc
NB
276982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27699
27700 [BZ #5805]
27701 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27702 (scalbnf): Likewise.
27703 (scalbnl): Likewise.
27704 (scalbln): Likewise.
27705 (scalblnf): Likewise.
27706 (scalblnl): Likewise.
27707 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27708 (vwarnx): Likewise.
27709 (verr): Likewise.
27710 (verrx): Likewise.
27711 * manual/filesys.texi (telldir): Use braces around return type.
27712 * manual/llio.texi (mmap): Add space after comma.
27713 (mmap64): Likewise.
27714 * manual/math.texi (jn): Use @var{} on parameter names.
27715 (jnf): Likewise.
27716 (jnl): Likewise.
27717 (yn): Likewise.
27718 (ynf): Likewise.
27719 (ynl): Likewise.
27720 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27721 line.
27722 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27723 "...".
27724 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27725 (sched_get_priority_max): Likewise.
27726 * manual/signal.texi (sigvec): Add space after comma.
27727 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27728 names.
27729 (if_indextoname): Likewise.
27730 (if_freenameindex): Likewise.
27731 (sendto): Use ',' instead of '.' in prototype.
27732 * manual/startup.texi (syscall): Use @dots{} instead of literal
27733 "...".
27734 * manual/stdio.texi (__fpending): Separate initial words of
27735 paragraph from @deftypefun line.
27736 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27737 "...".
27738 (vsyslog): Use @var{} on parameter names.
27739 * manual/terminal.texi (stty): Use @var{} on parameter names.
27740 * manual/users.texi (getutmp): Use @var{} on parameter names.
27741 (getutmpx): Likewise.
27742
5b23062f
JM
277432012-02-17 Joseph Myers <joseph@codesourcery.com>
27744
27745 [BZ #6884]
27746 * manual/stdio.texi (fopen): Fix typos in description of
27747 ",ccs=STRING".
27748
8dee4833
AJ
277492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27750
27751 [BZ #4026]
27752 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27753 get clock_id definition.
27754
9078ce93
TS
277552012-02-17 Thomas Schwinge <thomas@schwinge.name>
27756
27757 [BZ #4822]
27758 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27759 (madvise): Cast every argument to void on its own.
27760
3835c55f
JM
277612012-02-17 Joseph Myers <joseph@codesourcery.com>
27762
27763 [BZ #9902]
27764 * manual/startup.texi (Exit Status): Fix typo.
27765
35c47e37
JM
277662012-02-17 Joseph Myers <joseph@codesourcery.com>
27767
27768 [BZ #10140]
27769 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27770 * manual/examples/argp-ex2.c: Likewise.
27771 * manual/examples/argp-ex3.c: Likewise.
27772
e3b69ca7
RH
277732012-02-16 Richard Henderson <rth@redhat.com>
27774
27775 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27776 * sysdeps/s390/s390-32/initfini.c: Remove.
27777 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27778 * sysdeps/s390/s390-64/initfini.c: Remove.
27779
df83af67
KK
277802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27781
27782 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27783 compiler output for sysdeps/generic/initfini.c.
27784 * sysdeps/sh/elf/initfini.c: Remove file.
27785
f63f3380
DM
277862012-02-16 David S. Miller <davem@davemloft.net>
27787
fb59b3a4
DM
27788 [BZ #11494]
27789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27790
f63f3380
DM
27791 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27792 * sysdeps/sparc/crti.S: New file.
27793 * sysdeps/sparc/crtn.S: New file.
27794 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27795 * sysdeps/sparc/sparc64/Makefile: Likewise.
27796
df6a4a4a
MF
277972012-02-15 Mike Frysinger <vapier@gentoo.org>
27798
6dd8f3dc 27799 [BZ #3335]
df6a4a4a
MF
27800 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27801
1cac7236
RM
278022012-02-15 Roland McGrath <roland@hack.frob.com>
27803
d2c736f8
RM
27804 [BZ #4822]
27805 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27806
1cac7236
RM
27807 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27808 (write, read, close): Likewise.
27809 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27810
8e475601
JM
278112012-02-15 Joseph Myers <joseph@codesourcery.com>
27812
27813 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27814 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27815 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27816 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27817 <bits/signalfd.h>.
27818 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27820 bits/signalfd.h.
27821
ed656b40
MP
278222012-02-14 Marek Polacek <polacek@redhat.com>
27823
27824 * sysdeps/x86_64/crti.S: New file.
27825 * sysdeps/x86_64/crtn.S: New file.
27826 * sysdeps/x86_64/elf/initfini.c: Remove file.
27827
2a979d3a
JM
278282012-02-13 Joseph Myers <joseph@codesourcery.com>
27829
27830 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27831 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27832 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27833 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27834 <bits/inotify.h>.
27835 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27837 bits/inotify.h.
27838
2a418ac3
JM
278392012-02-13 Joseph Myers <joseph@codesourcery.com>
27840
27841 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27842 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27843 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27844 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27845 <bits/eventfd.h>.
27846 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27848 bits/eventfd.h.
27849
fb779be7
TS
278502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27851
e19e83c5
RM
27852 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27853 __feraiseexcept instead of feraiseexcept.
7c35ffed 27854
fb779be7
TS
27855 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27856 nanosleep invocations.
27857 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27858 strings, and add error checking for a nanosleep invocations.
27859
59ba27a6
PE
278602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27861
27862 Replace FSF snail mail address with URLs, as per GNU coding standards.
27863 Most of the snail mail addresses were wrong anyway, and omitting
27864 them makes the source code easier to maintain. Almost all of the
27865 changes are to license notices and to locale LC_IDENTIFICATION
27866 addresses, except for this one:
27867 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27868 not its snail mail address.
27869
57b957eb
RH
278702012-02-09 Richard Henderson <rth@twiddle.net>
27871
af850b1c
RH
27872 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27873 of kernel-features.h.
27874
57b957eb
RH
27875 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27876
6b73181a
MP
278772012-02-08 Marek Polacek <polacek@redhat.com>
27878
27879 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27880 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27881 * sysdeps/gnu/_G_config.h: Likewise.
27882 * sysdeps/generic/_G_config.h: Likewise.
27883
26ecc33a
AS
278842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27885
6c6dbc63
AS
27886 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27887 tests.
27888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27889
e216c012
AS
27890 * sysdeps/powerpc/powerpc32/crti.S: New file.
27891 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27892 * sysdeps/powerpc/powerpc64/crti.S: New file.
27893 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27894
26ecc33a
AS
27895 * Makeconfig (have-initfini): Don't set.
27896 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27897 * configure.in (nopic_initfini): Don't substitute.
27898 * config.h.in (HAVE_INITFINI): Don't #undef.
27899 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27900 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27901
3add8e13
JM
279022012-02-08 Joseph Myers <joseph@codesourcery.com>
27903
27904 Support crti.S and crtn.S provided directly by architectures.
27905 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27906 [crti.S in sysdirs] (omit-deps): Likewise.
27907 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27908 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27909 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27910 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27911 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27912 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27913 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27914 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27915 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27916 compiler output for sysdeps/generic/initfini.c.
27917 * sysdeps/i386/elf/Makefile: Remove file.
27918 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27919
a22f12b4
MP
279202012-02-07 Marek Polacek <polacek@redhat.com>
27921
27922 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27923 * sysdeps/gnu/_G_config.h: Likewise.
27924 * sysdeps/mach/hurd/_G_config.h: Likewise.
27925
148cf100
MP
279262012-02-07 Marek Polacek <polacek@redhat.com>
27927
27928 * math/Makefile (tests): Add tst-CMPLX2.
27929 * math/tst-CMPLX2.c: New file.
27930
cfdc0dd7
AS
279312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27932
84ba42c4
AS
27933 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27934
cfdc0dd7
AS
27935 * math/libm-test.inc (jn_test): Add missing L suffix.
27936
622c86f4
MP
279372012-02-06 Marek Polacek <polacek@redhat.com>
27938
27939 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27940 * sysdeps/i386/fpu/e_powf.S: Likewise.
27941 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27942 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27943 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27944 * sysdeps/i386/fpu/e_pow.S: Likewise.
27945 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27946 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27947 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27948 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27949 * sysdeps/i386/fpu/e_log2.S: Likewise.
27950 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27951 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27952 * sysdeps/i386/fpu/e_powl.S: Likewise.
27953 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27954 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27955 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27956 * sysdeps/i386/fpu/e_logl.S: Likewise.
27957 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27958 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27959 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27960 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27962 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27963 * sysdeps/i386/fpu/e_log.S: Likewise.
27964 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27965 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27966 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27967 * sysdeps/i386/fpu/e_logf.S: Likewise.
27968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27969 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27970 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27971 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27972 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27973 * sysdeps/i386/fpu/e_log10.S: Likewise.
27974 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27976 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27977 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27978 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27979 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27980 * sysdeps/i386/asm-syntax.h: Likewise.
27981 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27983 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27984 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27985 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27986 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27987 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27988 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27989 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27990 * sysdeps/powerpc/sysdep.h: Likewise.
27991 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27992 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27993
d4a54ac6
JM
279942012-02-06 Joseph Myers <joseph@codesourcery.com>
27995
27996 [BZ #411]
27997 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27998
314054ea
JM
279992012-02-06 Joseph Myers <joseph@codesourcery.com>
28000
28001 * sysdeps/i386/sysdep.h: Include <features.h>.
28002 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28003 version.
28004
d8e0ca50
JM
280052012-02-05 Joseph Myers <joseph@codesourcery.com>
28006
28007 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28008 Define.
28009 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28010 LOAD_PIC_REG_STR.
28011
b1da7dd9
JM
280122012-02-03 Joseph Myers <joseph@codesourcery.com>
28013
28014 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28015 (SETUP_PIC_REG): Use GET_PC_THUNK.
28016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28017 macro.
28018
9a1d9254
JM
280192012-02-03 Joseph Myers <joseph@codesourcery.com>
28020
28021 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28022 for non-PIC compilation.
28023 (SETUP_PIC_REG): Add .p2align directive.
28024 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28025 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28028 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28029 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28032 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28033 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28034 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28035 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28036 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28037 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28038 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28039 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28040 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28041 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28042 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28043 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28044 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28046 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28050 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28051 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28052 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28053 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28054 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28055 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28056 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28057 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28058 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28059 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28060 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28061 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28062 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28063 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28064 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28065
65dc3b75
JM
280662012-02-03 Joseph Myers <joseph@codesourcery.com>
28067
28068 * math/tst-CMPLX.c: Include <stdio.h>.
28069
d55bf177
JM
280702012-01-31 Joseph Myers <joseph@codesourcery.com>
28071
28072 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28073 float.
28074 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28075 * sysdeps/sparc/bits/mathdef.h: Likewise.
28076
69db4f8f
MP
280772012-01-31 Marek Polacek <polacek@redhat.com>
28078
28079 * libio/libio.h: Don't define _PARAMS.
28080 * locale/programs/config.h: Don't define PARAMS.
28081 * stdlib/strtol_l.c: Likewise.
28082 (__strtol_l): Remove PARAMS from the prototype.
28083
41b81892
UD
280842012-01-31 Ulrich Drepper <drepper@gmail.com>
28085
3b49edc0
UD
28086 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28087 names. Just use the correct names. Remove unnecessary wrapper
28088 functions.
28089 * malloc/arena.c: Likewise.
28090 * malloc/hooks.c: Likewise.
28091
41b81892
UD
28092 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28093 ARENA_TEST says not to. Simplify test for creation of a new arena.
28094 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28095
27a25b6e
UD
280962012-01-30 Ulrich Drepper <drepper@gmail.com>
28097
28098 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28099 into tail calls.
28100 (update_get_addr): New function.
28101 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28102 GET_ADDR_MODULE parameter.
28103
c8a89e7d
JM
281042012-01-30 Joseph Myers <joseph@codesourcery.com>
28105
28106 * crypt/cert.c: Remove __STDC__ conditionals.
28107 * crypt/crypt-entry.c: Likewise.
28108 * crypt/crypt_util.c: Likewise.
28109 * libio/filedoalloc.c: Likewise.
28110 * libio/fileops.c: Likewise.
28111 * libio/genops.c: Likewise.
28112 * libio/iofclose.c: Likewise.
28113 * libio/iofdopen.c: Likewise.
28114 * libio/iofopen.c: Likewise.
28115 * libio/iofopen64.c: Likewise.
28116 * libio/iogetdelim.c: Likewise.
28117 * libio/iopopen.c: Likewise.
28118 * libio/obprintf.c: Likewise.
28119 * libio/oldfileops.c: Likewise.
28120 * libio/oldiofclose.c: Likewise.
28121 * libio/oldiofdopen.c: Likewise.
28122 * libio/oldiofopen.c: Likewise.
28123 * libio/oldiopopen.c: Likewise.
28124 * libio/wfiledoalloc.c: Likewise.
28125 * libio/wgenops.c: Likewise.
28126 * locale/programs/xmalloc.c: Likewise.
28127 * misc/syslog.c: Likewise.
28128 * stdio-common/xbug.c: Likewise.
28129 * string/memchr.c: Likewise.
28130 * string/memcmp.c: Likewise.
28131 * string/memrchr.c: Likewise.
28132 * string/rawmemchr.c: Likewise.
28133 * sysdeps/posix/getcwd.c: Likewise.
28134 * time/strftime_l.c: Likewise.
28135
3b100462
JM
281362012-01-30 Joseph Myers <joseph@codesourcery.com>
28137
28138 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28139 * config.make.in (config-cflags-sse2avx): Define.
28140 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28141 Fix typo.
28142
607998af
CM
281432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28144
28145 * scripts/config.guess: Update from upstream config git repository.
28146 * scripts/config.sub: Likewise.
28147
3601428f
CM
281482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28149
3ac8b282
CM
28150 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28151 (EM_NUM): Update.
28152 (R_TILEPRO_*, R_TILEGX_*): New macros.
28153
e034841e
CM
28154 * scripts/firstversions.awk: Fix bug in version range handling.
28155
540d7568
CM
28156 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28157
3601428f
CM
28158 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28159
463de862
CM
28160 * include/sys/epoll.h: New file.
28161 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28162 libc_hidden_def.
28163
73139a76
UD
281642012-01-28 Ulrich Drepper <drepper@gmail.com>
28165
96bc5b45
UD
28166 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28167 Avoid unnecessary __WORDSIZE == 64 test.
28168 (fmaxf): Use VEX format if possible.
28169 (fmax): Likewise.
28170 (fminf): Likewise.
28171 (fmin): Likewise.
28172
56f6f6a2
UD
28173 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28174 * math/math_private.h: Remove libc_fegetround* and
28175 libc_fesetround*.
28176 * sysdeps/i386/configure.in: Check for -msse2avx.
28177 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28178 also if SSE2AVX is defined.
28179 Remove libc_fegetround* and libc_fesetround*.
28180 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28181 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28182 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28183 of HAS_YMM_USABLE.
28184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28185 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28186 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28187 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28189
73139a76
UD
28190 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28191
d73f93a4
AZ
281922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28193
28194 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28195 size is not set.
28196 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28197
6ee65ed6
UD
281982012-01-27 Ulrich Drepper <drepper@gmail.com>
28199
28200 [BZ #13618]
28201 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28202 relocation.
28203 * Makeconfig (libm): Define.
28204 * elf/Makefile: Add rules to build and run tst-relsort1.
28205 * elf/tst-relsort1.c: New file.
28206 * elf/tst-relsort1mod1.c: New file.
28207 * elf/tst-relsort1mod2.c: New file.
28208
8db21882
JM
282092012-01-27 Joseph Myers <joseph@codesourcery.com>
28210
28211 * math/s_ldexp.c: Remove __STDC__ conditionals.
28212 * math/s_ldexpf.c: Likewise.
28213 * math/s_ldexpl.c: Likewise.
28214 * math/s_nextafter.c: Likewise.
28215 * math/s_nexttowardf.c: Likewise.
28216 * math/s_significand.c: Likewise.
28217 * math/s_significandf.c: Likewise.
28218 * math/s_significandl.c: Likewise.
28219 * math/w_jnl.c: Likewise.
28220 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28221 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28222 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28223 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28224 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28226 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28227 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28229 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28241 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28246 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28248 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28249 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28250 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28251 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28252 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28254 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28255 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28256 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28257 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28258 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28259 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28260 * sysdeps/ieee754/k_standard.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28263 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28322 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28327 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28336 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28340 * sysdeps/ieee754/s_matherr.c: Likewise.
28341 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28342 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28345
965a54a4
JM
283462012-01-26 Joseph Myers <joseph@codesourcery.com>
28347
28348 * crypt/md5.h: Remove __STDC__ conditionals.
28349 * libio/libioP.h: Likewise.
28350 * locale/programs/config.h: Likewise.
28351 * sysdeps/generic/sysdep.h: Likewise.
28352 * sysdeps/i386/asm-syntax.h: Likewise.
28353 * sysdeps/s390/asm-syntax.h: Likewise.
28354 * sysdeps/unix/sysdep.h: Likewise.
28355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28357
7071ad79
JM
283582012-01-26 Joseph Myers <joseph@codesourcery.com>
28359
28360 * libio/libio.h: Remove __STDC__ conditionals.
28361 * malloc/obstack.h: Likewise.
28362 * math/complex.h: Likewise.
28363 * math/math.h: Likewise.
28364 * sysdeps/generic/_G_config.h: Likewise.
28365 * sysdeps/gnu/_G_config.h: Likewise.
28366 * sysdeps/mach/hurd/_G_config.h: Likewise.
28367 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28368 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28369 * sysdeps/sparc/bits/mathdef.h: Likewise.
28370
afc5ed09
UD
283712012-01-26 Ulrich Drepper <drepper@gmail.com>
28372
28373 [BZ #13583]
28374 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28375 Clean up HAS_* macros.
afc5ed09 28376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28377 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28378 possible.
28379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28380 HAS_AVX.
28381 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28382 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28383 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28384 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28385 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28386
bdb6de1d
JM
283872012-01-25 Joseph Myers <joseph@codesourcery.com>
28388
28389 * elf/tst-unique3.cc (gets): Remove declaration.
28390 * elf/tst-unique3lib.cc (gets): Likewise.
28391 * elf/tst-unique3lib2.cc (gets): Likewise.
28392 * elf/tst-unique4.cc (gets): Likewise.
28393
b15549e6
UD
283942012-01-24 Ulrich Drepper <drepper@gmail.com>
28395
28396 * include/stdio.h: Add C++ protection. Add gets declarations and
28397 definitions.
28398 * debug/tst-chk1.c: Don't declare gets here.
28399 * stdio-common/tst-gets.c: Likewise.
28400
a037381f
JM
284012012-01-24 Joseph Myers <joseph@codesourcery.com>
28402
28403 * posix/glob: Remove directory.
28404
f1d4aa75
JM
284052012-01-24 Joseph Myers <joseph@codesourcery.com>
28406
28407 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28408
81c0c964
PT
284092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28410
28411 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28412 of the non-standard EPFNOSUPPORT.
28413
0ea698ae
ST
284142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28415
28416 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28417 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28418 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28419
d220b117
UD
284202012-01-21 Ulrich Drepper <drepper@gmail.com>
28421
28422 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28423
3e1aa84e
UD
284242012-01-20 Ulrich Drepper <drepper@gmail.com>
28425
28426 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28427 transient errors.
28428 * nscd/grpcache.c (cache_addgr): Likewise.
28429 * nscd/hstcache.c (cache_addhst): Likewise.
28430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28431 * nscd/pwdcache.c (cache_addpw): Likewise.
28432 * nscd/servicescache.c (cache_addserv): Likewise.
28433
400aa020
UD
284342012-01-16 Ulrich Drepper <drepper@gmail.com>
28435
d77e7869
UD
28436 * malloc/malloc.c: Various cleanups.
28437 * malloc/hooks.c: Likewise.
28438
400aa020
UD
28439 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28440 * stdlib/bug-fmtmsg1.c: New file.
28441
28442 * stdlib/fmtmsg.c (init): Add missing unlock.
28443 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28444
e0a309cf
MP
284452012-01-12 Marek Polacek <polacek@redhat.com>
28446
28447 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28448 and _GNU_SOURCE.
28449
929d11c7
WS
284502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28451
28452 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28454 macro to ensure uniqueness of label name.
28455 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28456 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28457
41d0e869
UD
284582012-01-11 Ulrich Drepper <drepper@gmail.com>
28459
0cc5ed3b
UD
28460 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28461
41d0e869
UD
28462 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28463 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28466
a47a831a
UD
284672012-01-10 Ulrich Drepper <drepper@gmail.com>
28468
daa891c0
UD
28469 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28470
28471 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28472 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28473 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28474
e58ef0f2
UD
28475 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28476
a47a831a 28477 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28479 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28481
28482 * math/bits/math-finite.h: Add ldexp support.
28483
a0bfc9c7
MP
284842012-01-10 Marek Polacek <polacek@redhat.com>
28485
28486 * locale/programs/localedef.h (show_archive_content): Add noreturn
28487 attribute.
28488
d6e97a1d
UD
284892012-01-09 Ulrich Drepper <drepper@gmail.com>
28490
28491 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28492
d5835c26
UD
284932012-01-08 Ulrich Drepper <drepper@gmail.com>
28494
e5f484c6
UD
28495 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28496
d5835c26
UD
28497 * io/Makefile (headers): Add bits/poll2.h.
28498
d1f741e9
WS
284992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28500
28501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28502 typo #include statement.
28503
ec09c1c4
UD
285042012-01-08 Ulrich Drepper <drepper@gmail.com>
28505
28506 * include/sys/cdefs.h: Define __attribute_alloc_size.
28507 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28508 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28509 * elf/pldd.c: Likewise.
28510 * iconv/iconv_charmap.c: Likewise.
28511 * iconv/iconvconfig.c: Likewise.
28512 * iconv/strtab.c: Likewise.
28513 * locale/programs/locale.c: Likewise.
28514 * locale/programs/localedef.h: Likewise.
28515 * locale/programs/simple-hash.c: Likewise.
28516 * nscd/nscd.h: Likewise.
28517 * nss/makedb.c: Likewise.
28518 * sysdeps/generic/ldconfig.h: Likewise.
28519 * locale/programs/localedef.c: Remove xmalloc prototype.
28520 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28521
20b38e03
PP
285222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28523
28524 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28525 appropriate.
28526
a0da5fe1
UD
285272012-01-08 Ulrich Drepper <drepper@gmail.com>
28528
1d5a644a 28529 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28530 * math/tst-CMPLX.c: New file.
1d5a644a 28531
8784a6db
UD
28532 * math/complex.h (CMPLXL): Fix typo.
28533
d9a216c0
UD
28534 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28535 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28536 GLIBC_2.16.
28537 * debug/tst-chk1.c: Add poll and ppoll tests.
28538 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28539 * include/sys/poll.h: Add hidden proto for ppoll.
28540 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28541 * sysdeps/mach/hurd/ppoll.c: Likewise.
28542 * io/ppoll.c: Likewise.
28543 * debug/poll_chk.c: New file.
28544 * debug/ppoll_chk.c: New file.
28545 * include/bits/poll2.h: New file.
28546 * io/bits/poll2.h: New file.
28547
ac097f5c
UD
28548 [BZ #1350]
28549 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28550
2119dcfa
UD
28551 * configure.in: static is always set to yes. Remove.
28552 * config.make.in: Don't set build-static.
28553 * Makeconfig: Remove use of build-static.
28554 * dlfcn/Makefile: Likewise.
28555 * elf/Makefile: Likewise.
28556 * math/Makefile: Likewise.
28557 * misc/Makefile: Likewise.
28558 * nptl/Makefile: Likewise.
28559 * sysdeps/mach/hurd/Makefile: Likewise.
28560
121766a9
UD
28561 * configure.in: PWD_P is not used anymore.
28562 * config.make.in: Remove PWD_P entry.
28563
51a1d39c 28564 * configure.in: Remove last remnants of RANLIB.
8720d066 28565 No need to check for signed size_t anymore.
215f4bdc
UD
28566 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28567 and IA-64.
3857022a 28568 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28569 * aclocal.m4: Likewise.
28570
d3ed7225
UD
28571 * wcsmbs/mbrtoc16.c: Implement using towc function.
28572 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28573 * wcsmbs/wcsmbsload.c: Likewise.
28574 * iconv/gconv_simple.c: Likewise.
28575 * iconv/gconv_int.h: Likewise.
28576 * iconv/gconv_builtin.h: Likewise.
28577 * iconv/iconv_prog.c: Remove CHAR16 handling.
28578
28579 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28580
28581 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28582
a0da5fe1
UD
28583 * configure.in: Remove --with-elf and --enable-bounded options.
28584 Dont set base_machine for ia64. More non-ELF conditions removed.
28585 Remove testing and setting of leading underscore information.
28586 * config.make.in (build-bounded): Set to no.
28587 * config.h.in: Remove NO_UNDERSCORES entry.
28588 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28589 them.
28590 * csu/start.c: Remove !NO_UNDERSCORE code.
28591 * locale/localeinfo.h: Likewise.
28592 * sysdeps/generic/machine-gmon.h: Likewise.
28593 * sysdeps/generic/sysdep.h: Likewise.
28594 * sysdeps/i386/sysdep.h: Likewise.
28595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28596 * sysdeps/mach/sysdep.h: Likewise.
28597 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28598 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28599 * sysdeps/sh/sysdep.h: Likewise.
28600 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28601 * sysdeps/unix/i386/sysdep.S: Likewise.
28602 * sysdeps/unix/sparc/start.c: Likewise.
28603 * sysdeps/unix/sparc/sysdep.S: Likewise.
28604 * sysdeps/unix/sparc/sysdep.h: Likewise.
28605 * sysdeps/unix/start.c: Likewise.
28606 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28607 * sysdeps/x86_64/sysdep.h: Likewise.
28608
df78418a
UD
286092012-01-07 Ulrich Drepper <drepper@gmail.com>
28610
a784e502
UD
28611 [BZ #13553]
28612 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28613 for non-gcc.
28614 * argp/argp-fmtstream.h: Use const instead __const.
28615 * argp/argp.h: Likewise.
28616 * assert/assert.h: Likewise.
28617 * bits/fenv.h: Likewise.
28618 * bits/sched.h: Likewise.
28619 * bits/sigset.h: Likewise.
28620 * bits/sigthread.h: Likewise.
28621 * catgets/nl_types.h: Likewise.
28622 * conform/data/pthread.h-data: Likewise.
28623 * crypt/crypt-private.h: Likewise.
28624 * crypt/crypt.h: Likewise.
28625 * crypt/crypt_util.c: Likewise.
28626 * ctype/ctype.h: Likewise.
28627 * debug/execinfo.h: Likewise.
28628 * debug/mbsnrtowcs_chk.c: Likewise.
28629 * debug/mbsrtowcs_chk.c: Likewise.
28630 * debug/wcsnrtombs_chk.c: Likewise.
28631 * debug/wcsrtombs_chk.c: Likewise.
28632 * debug/wcstombs_chk.c: Likewise.
28633 * dirent/dirent.h: Likewise.
28634 * dlfcn/dlfcn.h: Likewise.
28635 * elf/neededtest4.c: Likewise.
28636 * grp/grp.h: Likewise.
28637 * gshadow/gshadow.h: Likewise.
28638 * iconv/gconv.h: Likewise.
28639 * iconv/gconv_int.h: Likewise.
28640 * iconv/gconv_simple.c: Likewise.
28641 * iconv/iconv.h: Likewise.
28642 * iconv/loop.c: Likewise.
28643 * iconv/skeleton.c: Likewise.
28644 * include/aio.h: Likewise.
28645 * include/aliases.h: Likewise.
28646 * include/argz.h: Likewise.
28647 * include/arpa/inet.h: Likewise.
28648 * include/assert.h: Likewise.
28649 * include/dirent.h: Likewise.
28650 * include/dlfcn.h: Likewise.
28651 * include/execinfo.h: Likewise.
28652 * include/fcntl.h: Likewise.
28653 * include/fenv.h: Likewise.
28654 * include/glob.h: Likewise.
28655 * include/grp.h: Likewise.
28656 * include/libintl.h: Likewise.
28657 * include/mntent.h: Likewise.
28658 * include/netdb.h: Likewise.
28659 * include/pwd.h: Likewise.
28660 * include/rpc/netdb.h: Likewise.
28661 * include/sched.h: Likewise.
28662 * include/search.h: Likewise.
28663 * include/shadow.h: Likewise.
28664 * include/signal.h: Likewise.
28665 * include/stdio.h: Likewise.
28666 * include/stdlib.h: Likewise.
28667 * include/string.h: Likewise.
28668 * include/sys/socket.h: Likewise.
28669 * include/sys/stat.h: Likewise.
28670 * include/sys/statfs.h: Likewise.
28671 * include/sys/statvfs.h: Likewise.
28672 * include/sys/syslog.h: Likewise.
28673 * include/sys/time.h: Likewise.
28674 * include/sys/uio.h: Likewise.
28675 * include/time.h: Likewise.
28676 * include/unistd.h: Likewise.
28677 * include/utmp.h: Likewise.
28678 * include/wchar.h: Likewise.
28679 * include/wctype.h: Likewise.
28680 * inet/aliases.h: Likewise.
28681 * inet/arpa/inet.h: Likewise.
28682 * inet/netinet/ether.h: Likewise.
28683 * inet/netinet/in.h: Likewise.
28684 * intl/libintl.h: Likewise.
28685 * io/bits/fcntl2.h: Likewise.
28686 * io/fcntl.h: Likewise.
28687 * io/ftw.h: Likewise.
28688 * io/sys/poll.h: Likewise.
28689 * io/sys/stat.h: Likewise.
28690 * io/sys/statfs.h: Likewise.
28691 * io/sys/statvfs.h: Likewise.
28692 * io/utime.h: Likewise.
28693 * libio/bits/stdio.h: Likewise.
28694 * libio/bits/stdio2.h: Likewise.
28695 * libio/libio.h: Likewise.
28696 * libio/libioP.h: Likewise.
28697 * libio/stdio.h: Likewise.
28698 * locale/lc-ctype.c: Likewise.
28699 * locale/locale.h: Likewise.
28700 * login/utmp.h: Likewise.
28701 * malloc/arena.c: Likewise.
28702 * malloc/malloc.c: Likewise.
28703 * malloc/malloc.h: Likewise.
28704 * malloc/mcheck.c: Likewise.
28705 * malloc/mtrace.c: Likewise.
28706 * math/bits/mathcalls.h: Likewise.
28707 * math/fenv.h: Likewise.
28708 * math/math_private.h: Likewise.
28709 * misc/bits/error.h: Likewise.
28710 * misc/bits/syslog.h: Likewise.
28711 * misc/err.h: Likewise.
28712 * misc/error.h: Likewise.
28713 * misc/fstab.h: Likewise.
28714 * misc/mntent.h: Likewise.
28715 * misc/regexp.h: Likewise.
28716 * misc/search.h: Likewise.
28717 * misc/sgtty.h: Likewise.
28718 * misc/sys/mman.h: Likewise.
28719 * misc/sys/syslog.h: Likewise.
28720 * misc/sys/uio.h: Likewise.
28721 * misc/sys/xattr.h: Likewise.
28722 * misc/ttyent.h: Likewise.
28723 * nis/rpcsvc/ypclnt.h: Likewise.
28724 * nss/nss.h: Likewise.
28725 * posix/bits/unistd.h: Likewise.
28726 * posix/fnmatch.h: Likewise.
28727 * posix/glob.h: Likewise.
28728 * posix/sched.h: Likewise.
28729 * posix/spawn.h: Likewise.
28730 * posix/sys/wait.h: Likewise.
28731 * posix/unistd.h: Likewise.
28732 * posix/wordexp.h: Likewise.
28733 * pwd/pwd.h: Likewise.
28734 * resolv/netdb.h: Likewise.
28735 * resource/sys/resource.h: Likewise.
28736 * rt/aio.h: Likewise.
28737 * rt/bits/mqueue2.h: Likewise.
28738 * rt/mqueue.h: Likewise.
28739 * shadow/shadow.h: Likewise.
28740 * signal/signal.h: Likewise.
28741 * socket/send.c: Likewise.
28742 * socket/sendto.c: Likewise.
28743 * socket/sys/socket.h: Likewise.
28744 * stdio-common/printf.h: Likewise.
28745 * stdlib/bits/stdlib.h: Likewise.
28746 * stdlib/fmtmsg.h: Likewise.
28747 * stdlib/monetary.h: Likewise.
28748 * stdlib/stdlib.h: Likewise.
28749 * stdlib/ucontext.h: Likewise.
28750 * streams/stropts.h: Likewise.
28751 * string/argz.h: Likewise.
28752 * string/bits/string2.h: Likewise.
28753 * string/string.h: Likewise.
28754 * string/strings.h: Likewise.
28755 * sunrpc/rpc/auth.h: Likewise.
28756 * sunrpc/rpc/auth_des.h: Likewise.
28757 * sunrpc/rpc/clnt.h: Likewise.
28758 * sunrpc/rpc/netdb.h: Likewise.
28759 * sunrpc/rpc/pmap_clnt.h: Likewise.
28760 * sunrpc/rpc/xdr.h: Likewise.
28761 * sysdeps/generic/inttypes.h: Likewise.
28762 * sysdeps/generic/net/if.h: Likewise.
28763 * sysdeps/generic/sys/swap.h: Likewise.
28764 * sysdeps/gnu/net/if.h: Likewise.
28765 * sysdeps/gnu/utmpx.h: Likewise.
28766 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28767 * sysdeps/i386/i486/bits/string.h: Likewise.
28768 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28769 * sysdeps/s390/bits/string.h: Likewise.
28770 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28771 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28772 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28773 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28774 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28775 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28776 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28777 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28778 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28779 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28780 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28781 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28782 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28783 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28784 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28785 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28786 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28788 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28789 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28791 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28792 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28793 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28794 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28795 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28796 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28797 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28798 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28799 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28800 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28801 * sysvipc/sys/ipc.h: Likewise.
28802 * sysvipc/sys/msg.h: Likewise.
28803 * sysvipc/sys/sem.h: Likewise.
28804 * sysvipc/sys/shm.h: Likewise.
28805 * termios/termios.h: Likewise.
28806 * time/sys/time.h: Likewise.
28807 * time/time.h: Likewise.
28808 * wcsmbs/bits/wchar2.h: Likewise.
28809 * wcsmbs/uchar.h: Likewise.
28810 * wcsmbs/wchar.h: Likewise.
28811 * wctype/wctype.h: Likewise.
28812
0269750c
UD
28813 [BZ #13551]
28814 * Makeconfig: Remove all but ELF support including AIX support.
28815 * Makerules: Likewise.
28816 * config.h.in: Likewise.
28817 * config.make.in: Likewise.
28818 * configure: Likewise.
28819 * configure.in: Likewise.
28820 * csu/Makefile: Likewise.
28821 * csu/version.c: Likewise.
28822 * debug/Makefile: Likewise.
28823 * dlfcn/Makefile: Likewise.
28824 * elf/Makefile: Likewise.
28825 * extra-lib.mk: Likewise.
28826 * iconv/Makefile: Likewise.
28827 * include/libc-symbols.h: Likewise.
28828 * include/shlib-compat.h: Likewise.
28829 * resolv/Makefile: Likewise.
28830 * resolv/res_libc.c: Likewise.
28831 * rt/Makefile: Likewise.
28832 * sysdeps/i386/asm-syntax.h: Likewise.
28833 * sysdeps/i386/sysdep.h: Likewise.
28834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28835 * sysdeps/mach/sysdep.h: Likewise.
28836 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28837 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28838 * sysdeps/s390/asm-syntax.h: Likewise.
28839 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28841 * sysdeps/sh/sysdep.h: Likewise.
28842 * sysdeps/unix/sparc/sysdep.h: Likewise.
28843 * sysdeps/wordsize-32/divdi3.c: Likewise.
28844 * sysdeps/x86_64/sysdep.h: Likewise.
28845
00bbd29b
UD
28846 * argp/Versions: Remove _argp_unlock_xxx.
28847
28848 [BZ #13559]
28849 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28850 * abilist/libBrokenLocale.abilist: Likewise.
28851 * abilist/libanl.abilist: Likewise.
28852 * abilist/libc.abilist: Likewise.
28853 * abilist/libcrypt.abilist: Likewise.
28854 * abilist/libdl.abilist: Likewise.
28855 * abilist/libm.abilist: Likewise.
28856 * abilist/libnsl.abilist: Likewise.
28857 * abilist/libpthread.abilist: Likewise.
28858 * abilist/libresolv.abilist: Likewise.
28859 * abilist/librt.abilist: Likewise.
28860 * abilist/libthread_db.abilist: Likewise.
28861 * abilist/libutil.abilist: Likewise.
28862 * abilist/libnss_db.abilist: New file.
28863
28864 * scripts/abilist.awk: Add support for indirect functions.
28865
a2693a0e
UD
28866 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28867
3f05895f
UD
28868 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28869
ecb6fb48
UD
28870 * shlib-versions: Remove entries for ports architectures.
28871
664f8cb9
UD
28872 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28873 files in ports.
28874 * elf/stackguard-macros.h: Remove support for IA-64.
28875 * elf/tst-auditmod1.c: Likewise.
28876 * sysdeps/generic/ldsodefs.h: Likewise.
28877
7ae81d88
UD
28878 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28879 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28880 configure files.
28881
bdeba135
UD
28882 [BZ #13552]
28883 * configure.in: Remove --enable-omitfp support.
28884 * FAQ.in: Adjust.
28885 * config.make.in: Likewise.
28886 * Makeconfig: Likewise.
28887 * manual/install.texi: Likewise.
28888
d75a0a62
UD
28889 In case anyone cares, the IA-64 architecture could move to ports.
28890 * sysdeps/ia64/*: Removed.
28891 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28892 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28893
dcc9756b
UD
28894 [BZ #13555]
28895 * configure.in: Remove entries for unsupported architectures.
28896
d3761ebc 28897 [BZ #13533]
9954432e
UD
28898 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28899 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28900 routines.
28901 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28902 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28903 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28904 fall back to using wcrtomb.
28905 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28906 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28907 renaming.
28908 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28909 * wcsmbs/tst-c16c32-1.c: New file.
28910
28911 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28912 local variable.
28913
c3a87236
UD
28914 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28915
28926a1b
UD
28916 * elf/tst-unique3.cc: Add explicit declaration of gets.
28917 * elf/tst-unique3lib.cc: Likewise.
28918 * elf/tst-unique3lib2.cc: Likewise.
28919 * elf/tst-unique4.cc: Likewise.
28920
df78418a
UD
28921 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28922
8ecd6b2a
JM
289232012-01-06 Joseph Myers <joseph@codesourcery.com>
28924
28925 [BZ #13566]
28926 * assert/assert.h (static_assert): Don't define for C++.
28927 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28928 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28929
9f115170
UD
289302012-01-03 Ulrich Drepper <drepper@gmail.com>
28931
5e0d0300
UD
28932 * iconv/loop.c (single loop): Fix assertion in storing of
28933 remaining bytes.
28934
9f115170
UD
28935 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28936
81fb02b0
UD
289372012-01-01 Ulrich Drepper <drepper@gmail.com>
28938
28939 * posix/getconf.c: Update copyright year.
28940 * nss/getent.c: Likewise.
a316c1f6 28941 * nss/makedb.c: Likewise.
81fb02b0
UD
28942 * iconv/iconvconfig.c: Likewise.
28943 * iconv/iconv_prog.c: Likewise.
28944 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28945 * elf/pldd.c: Likewise.
28946 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28947 * catgets/gencat.c: Likewise.
28948 * csu/version.c: Likewise.
28949 * elf/ldd.bash.in: Likewise.
28950 * elf/sprof.c (print_version): Likewise.
28951 * locale/programs/locale.c: Likewise.
28952 * locale/programs/localedef.c: Likewise.
a316c1f6 28953 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28954 * nscd/nscd.c (print_version): Likewise.
28955 * debug/xtrace.sh: Likewise.
28956 * malloc/memusage.sh: Likewise.
28957 * malloc/mtrace.pl: Likewise.
28958 * debug/catchsegv.sh: Likewise.
28959
2ba92745
JJ
289602011-12-30 Jakub Jelinek <jakub@redhat.com>
28961
28962 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28963 pure attribute.
28964
dadebdae
UD
289652011-12-24 Ulrich Drepper <drepper@gmail.com>
28966
d3761ebc 28967 [BZ #13533]
db6af3eb
UD
28968 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28969 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28970 transformations.
28971 * iconv/gconv_int.h: Likewise.
28972 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28973 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28974 from libc for GLIBC_2.16.
28975 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28976 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28977 * wcsmbs/uchar.h: Really define mbstate_t.
28978 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28979 * wcsmbs/c16rtomb.c: New file.
28980 * wcsmbs/mbrtoc16.c: New file.
28981 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28982 for C/POSIX locale.
28983 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28984 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28985
dadebdae
UD
28986 * wcsmbs/wchar.h: Add missing __restrict.
28987
67371b56
UD
289882011-12-23 Ulrich Drepper <drepper@gmail.com>
28989
74033a25
UD
28990 [BZ #13532]
28991 * time/Makefile (routines): Add timespec_get.
28992 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28993 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28994 timespec for ISO C11.
28995 * time/timespec_get.c: New file.
28996 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28997 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28998
380d7e87
UD
28999 [BZ #13531]
29000 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29001 * stdlib/stdlib.h: Declare aligned_alloc.
29002 * Versions.def: Add GLIBC_2.16 for libc.
29003 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29004
4e9e7a35
UD
29005 [BZ 13527]
29006 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29007 ISO C11.
29008
380d7e87 29009 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29010 code.
29011
03a71829
UD
29012 [BZ #13528]
29013 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29014
839e283e
UD
29015 [BZ #13529]
29016 * assert/assert.h (static_assert): Define.
29017
ce5294e2 29018 * version.h: Update for 2.16 development version.
90fa7312 29019
8d44e150 29020 [BZ #13526]
d7809905
UD
29021 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29022 _ISOC11_SOURCE.
29023
c0da14cd
UD
29024 * version.h (RELEASE): Bump for 2.15 release.
29025 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29026
530a3249
MP
29027 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29028 Patch by Marek Polacek <mpolacek@redhat.com>.
29029
67371b56
UD
29030 * bits/byteswap.h: Protect long long constants with __extension__.
29031 * sysdeps/i386/bits/byteswap.h: Likewise.
29032 * sysdeps/ia64/bits/byteswap.h: Likewise.
29033 * sysdeps/s390/bits/byteswap.h: Likewise.
29034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29035
15db4de1
LD
290362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29037
29038 [BZ #13540]
bbe315ea
LD
29039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29040 destination buffer.
15db4de1
LD
29041 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29042
2b2596b1
MP
290432011-12-23 Marek Polacek <polacek@redhat.com>
29044
29045 * elf/dl-addr.c (determine_info): Add inline keyword.
29046 * elf/tst-auditmod4b.c (check_avx): Likewise.
29047 * elf/tst-auditmod6b.c (check_avx): Likewise.
29048 * elf/tst-auditmod6c.c (check_avx): Likewise.
29049 * elf/tst-auditmod7b.c (check_avx): Likewise.
29050
70c6c246
UD
290512011-12-23 Ulrich Drepper <drepper@gmail.com>
29052
29053 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29054 !__SSE_MATH__.
29055
c044cf14
LD
290562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29057
15db4de1 29058 [BZ #13540]
c044cf14
LD
29059 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29060 processing for last bytes.
29061
6b13d9d9
BH
290622011-08-06 Bruno Haible <bruno@clisp.org>
29063
d455f537
BH
29064 [BZ #13061]
29065 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29066 U+0385, not to U+1FEE.
29067
6b13d9d9
BH
29068 [BZ #13062]
29069 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29070 entry for U+00A5 U+0301.
29071
db910efd
UD
290722011-12-22 Ulrich Drepper <drepper@gmail.com>
29073
27deeafc
UD
29074 [BZ #13166]
29075 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29076 buffer for the output is too small.
29077
aed9d171
UD
29078 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29079 optimization.
29080
db910efd
UD
29081 [BZ #13185]
29082 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29083 SSE flags if possible.
29084
2bd779ae
LD
290852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29086
e7f9dac3 29087 [BZ #13540]
2bd779ae
LD
29088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29089 processing for last bytes.
29090
154bfc16
JM
290912011-12-22 Joseph Myers <joseph@codesourcery.com>
29092
29093 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29094 (syscall-list-default-options, syscall-list-default-condition)
29095 (syscall-list-includes): Define.
29096 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29097 list of ABIs and options and #if conditions for each ABI. Do not
29098 handle common syscalls between ABIs specially.
29099 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29100 Remove.
29101 (syscall-list-variants, syscall-list-32bit-options)
29102 (syscall-list-32bit-condition, syscall-list-64bit-options)
29103 (syscall-list-64bit-condition): Define.
29104 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29105 (syscall-list-variants, syscall-list-32bit-options)
29106 (syscall-list-32bit-condition, syscall-list-64bit-options)
29107 (syscall-list-64bit-condition): Define.
29108 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29109 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/x86_64/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
21eaf3a5
UD
291192011-12-22 Ulrich Drepper <drepper@gmail.com>
29120
16c6f992
UD
29121 * locale/iso-639.def: Add brx entry.
29122
41043168
UD
29123 [BZ #13328]
29124 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29125 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29126
21eaf3a5
UD
29127 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29128 __feraiseexcept_renamed.
29129
e3a851a2
UD
291302011-12-21 Ulrich Drepper <drepper@gmail.com>
29131
4920765e
UD
29132 [BZ #13538]
29133 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29134 EPOLLET with unsigned values.
29135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29136 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29137
e3a851a2
UD
29138 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29139 to large cancellation.
29140 * math/s_cacoshf.c: Likewise.
29141 * math/s_cacoshl.c: Likewise.
29142
b27e24b8
RK
291432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29144
29145 [BZ #13305]
aebefeee 29146 [BZ #12786]
b27e24b8
RK
29147 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29148 * math/s_cacoshf.c: Likewise.
29149 * math/s_cacoshl.c: Likewise.
29150
ee190f67
UD
291512011-12-21 Ulrich Drepper <drepper@gmail.com>
29152
29153 [BZ #13439]
29154 * iconv/gconv.h: Define __GCONV_SWAP.
29155 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29156 * iconvdata/utf-16.c: Likewise.
29157 * iconvdata/utf-32.c: Likewise.
29158
707f25df
AS
291592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29160
29161 [BZ #13524]
29162 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29163 numerator after shifting it by one limb.
29164
d2daaa1e
RÁE
291652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29166
29167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29168 under [__USE_EXTERN_INLINES].
29169
a4647e72
UD
291702011-12-17 Ulrich Drepper <drepper@gmail.com>
29171
29172 [BZ #13446]
29173 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29174
f0b264f1
AZ
291752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29176
29177 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29178 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29179 optimized code.
29180 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29181 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29182 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29183 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29184 for strncasecmp/strncasecmp_l compilation.
29185 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29186 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29187
8ef4f244
MP
291882011-12-08 Marek Polacek <mpolacek@redhat.com>
29189
29190 [BZ #13484]
29191 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29192 of __asm__.
29193
97ac2654
UD
291942011-12-17 Ulrich Drepper <drepper@gmail.com>
29195
29196 [BZ #13506]
29197 * time/tzfile.c (__tzfile_read): Check values from file header.
29198
91d2a845
WS
291992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29200
29201 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29202 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29203 * powerpc/powerpc32/dl-start.S: Likewise.
29204 * powerpc/powerpc32/elf/start.S: Likewise.
29205 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29206 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29207 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29208 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29209 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29210 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29211 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29212 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29213 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29214 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29215 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29216 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29217 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29218 * powerpc/powerpc32/memset.S: Likewise.
29219 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29220 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29221 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29222 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29223 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29224 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29225 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29226 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29227 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29228 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29229 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29230 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29231 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29232
a1267ba1
AZ
292332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29234
29235 * math/libm-test.inc: Added more nearbyint tests.
29236 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29239 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29240
ad8ac1bd
RL
292412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29242
29243 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29244 FD_CLOEXEC.
29245
1d3e4b61
UD
292462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29247
29248 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29249 Add wcscpy-ssse3 wcscpy-c.
29250 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29251 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29252 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29253 * sysdeps/x86_64/wcschr.S: New file.
29254 * sysdeps/x86_64/wcsrchr.S: New file.
29255 * string/test-strcmp.c: Remove checking of wcscmp function for
29256 wrong alignments.
29257 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29258 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29259 wcsrchr-sse2 wcsrchr-c.
29260 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29261 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29262 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29263 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29264 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29265 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29266 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29267 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29268 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29269 * wcsmbc/wcschr.c (WCSCHR): New macro.
29270
5b330a2d
UD
292712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29272
29273 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29274 * wcsmbs/test-wcsrchr.c: New file.
29275 * string/test-strrchr.c: Add wcsrchr support.
29276 (WIDE): New macro.
29277 * wcsmbs/test-wcscpy.c: New file.
29278 * string/test-strcpy.c: Add wcscpy support.
29279 (WIDE): New macro.
26428b7c 29280
f039c043
UD
292812011-12-10 Ulrich Drepper <drepper@gmail.com>
29282
29283 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29284 the inner loop.
29285
850fb039
AS
292862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29287
29288 [BZ #13472]
29289 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29290
4efbd5cb
UD
292912011-12-04 Ulrich Drepper <drepper@gmail.com>
29292
52ff5dd0 29293 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29294 Minor optimizations.
52ff5dd0 29295
4efbd5cb
UD
29296 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29297 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29298 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29299
8a426e12
UD
293002011-12-03 Ulrich Drepper <drepper@gmail.com>
29301
aff2453d
UD
29302 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29303 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29304 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29305 for gcc to avoid warnings.
29306 * inet/Makefile (tests): Add tst-checks.
29307 * inet/tst-checks.c: New file.
29308
29309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29310 warning.
29311
29312 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29313 __wmemcmp_sse2.
29314
29315 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29316 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29317
8a426e12
UD
29318 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29319
9bea3473
UD
293202011-12-02 Ulrich Drepper <drepper@gmail.com>
29321
3a965496
UD
29322 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29323 problem.
29324
9bea3473
UD
29325 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29326
f101631b
UD
293272011-11-29 Joseph Myers <joseph@codesourcery.com>
29328
29329 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29330 conditional on GCC version.
29331 (__arch_compare_and_exchange_val_8_acq)
29332 (__arch_compare_and_exchange_val_16_acq)
29333 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29334 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29335 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29336
a98275aa
UD
293372011-12-02 Joseph Myers <joseph@codesourcery.com>
29338
29339 * sysdeps/sh/backtrace.c: New file.
29340
d4cc29a2
AS
293412011-12-02 Andreas Schwab <schwab@redhat.com>
29342
29343 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29344 parenthesis.
29345
6257af2d
AS
293462011-12-01 Andreas Schwab <schwab@redhat.com>
29347
29348 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29349 falling back to utime.
29350
b5f44c1a
AS
293512011-11-30 Andreas Schwab <schwab@redhat.com>
29352
29353 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29354 expectations for float.
29355
f3a6cc0a
AS
293562011-11-29 Andreas Schwab <schwab@redhat.com>
29357
29358 * locale/weight.h (findidx): Add parameter len.
29359 * locale/weightwc.h (findidx): Likewise.
29360 * posix/fnmatch_loop.c (FCT): Adjust caller.
29361 * posix/regcomp.c (build_equiv_class): Likewise.
29362 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29363 * posix/regexec.c (check_node_accept_bytes): Likewise.
29364 * string/strcoll_l.c (STRCOLL): Likewise.
29365 * string/strxfrm_l.c (STRXFRM): Likewise.
29366
9d65ea3a
UD
293672011-11-17 Ulrich Drepper <drepper@gmail.com>
29368
29369 * Makefile.in: Remove CVSOPT handling.
29370 * configure.in: Remove use of AC_REVISION.
29371 * iconvdata/Makefile (distribute): No need to filter out CVS.
29372 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29373 handling.
29374
5583a086
AS
293752011-11-16 Andreas Schwab <schwab@redhat.com>
29376
29377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29378 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29379 [USE_AS_STRNCASECMP_L]: Likewise.
29380 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29381 NO_TLS_DIRECT_SEG_REFS.
29382 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29383 Fix argument offsets for non-PIC.
29384 [USE_AS_STRNCASECMP_L]: Likewise.
29385 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29386 NO_TLS_DIRECT_SEG_REFS.
29387
d62a8200
UD
293882011-11-15 Ulrich Drepper <drepper@gmail.com>
29389
9d65ea3a 29390 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29391 O_CLOEXEC.
29392 * locale/loadlocale.c (_nl_load_locale): Likewise.
29393
09f93bd3
AS
293942011-11-15 Andreas Schwab <schwab@redhat.com>
29395
446514f9
AS
29396 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29397 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29399 (SYSCALL_GETTIME): Set errno on error.
29400
09f93bd3
AS
29401 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29402 count references to noai6ai_cached.
29403
312be3f9
UD
294042011-11-15 Ulrich Drepper <drepper@gmail.com>
29405
29406 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29407
29408 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29409 FD_CLOEXEC for /proc/self/maps.
29410
29411 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29412 FD_CLOEXEC for /proc/meminfo.
29413
29414 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29415 gai.conf.
29416
29417 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29418 FD_CLOEXEC for given file.
29419
29420 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29421
29422 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29423 FD_CLOEXEC for /etc/hosts.
29424 (_gethtent): Likewise.
29425
29426 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29427
29428 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29429 cancellation and set FD_CLOEXEC for /etc/netgroup.
29430
29431 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29432 reading /etc/publickey.
29433
29434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29435 allow cancellation when reading /etc/group.
29436
29437 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29438 cancellation.
29439 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29440
29441 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29442 when using data file.
29443
29444 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29445
29446 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29447 (write_nis_obj): Use "c" and "e" in fopen.
29448
29449 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29450
29451 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29452
29453 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29454
29455 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29456
29457 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29458 locale.alias.
29459
29460 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29461
29462 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29463
29464 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29465
29466 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29467 file parsing and set FD_CLOEXEC.
29468
82af0fa8
UD
294692011-11-14 Ulrich Drepper <drepper@gmail.com>
29470
29471 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29472
a5fb313c
AS
294732011-11-14 Andreas Schwab <schwab@redhat.com>
29474
29475 * malloc/arena.c (arena_get2): Don't call reused_arena when
29476 _int_new_arena failed.
29477
6abf3465
UD
294782011-11-14 Ulrich Drepper <drepper@gmail.com>
29479
29480 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29481 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29483 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29484 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29486 to compile strcasecmp and strncasecmp.
29487 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29488 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29489
29490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29491
76e3966e
UD
294922011-11-13 Ulrich Drepper <drepper@gmail.com>
29493
29494 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29495 locale-defines.sym to gen-as-const-headers.
29496 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29497 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29499 to compile strcasecmp and strncasecmp.
29500 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29501 strcasecmp_l and strncasecmp_l.
29502 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29503 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29504 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29505 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29506 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29507 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29508 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29509 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29510 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29511 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29512 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29513
ab26144e
UD
295142011-11-12 Ulrich Drepper <drepper@gmail.com>
29515
7edb22ef
UD
29516 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29517 result of SYSDEP_GETTIME_CPU to retval.
29518 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29519 parameter list to macro. Remove trailing semicolon. Adjust users.
29520
9694fc44
UD
29521 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29522 variable.
29523
8ad89ef8
UD
29524 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29525 mantissa words.
29526 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29527
0c822ef9
UD
29528 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29529 from unused variable.
29530
874e0564
UD
29531 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29532 DWARF definitions.
29533 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29534 for assembling.
29535
3a2edc79
UD
29536 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29537 over namespaces.
29538
f3c2577f
UD
29539 * sunrpc/rpc_prot.c (rejected): Fix case value.
29540
294ce126
UD
29541 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29542 unsigned long long int to avoid warnings in shift.
29543
5e2b63c6
UD
29544 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29545 of use of trans.
29546 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29547 variable tmp.
29548
e7f4b08e
UD
29549 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29550 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29551 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29552
ab26144e
UD
29553 * nis/nis_table.c (nis_list): Use variable of correct type for
29554 result of __follow_path call.
29555
8a6d5255
AZ
295562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29557
29558 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29559 of math functions ceil, trunc, floor, round, and sqrt, when
29560 avaliable on the platform.
29561 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29562 name clash.
29563 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29564 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29565 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29566
aaddc98c
MP
295672011-10-30 Marek Polacek <mpolacek@redhat.com>
29568
29569 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29570 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29571
95b7042b
RM
295722011-11-11 Roland McGrath <roland@hack.frob.com>
29573
29574 * include/unistd.h: Fix __readlink return type.
29575 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29576
57769839
UD
295772011-11-11 Ulrich Drepper <drepper@gmail.com>
29578
29579 * stdlib/ucontext.h: Undo last change for makecontext.
29580
edc5984d
AS
295812011-11-11 Andreas Schwab <schwab@redhat.com>
29582
98591e58
AS
29583 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29584
edc5984d
AS
29585 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29586 * setjmp/setjmp.h: Mark functions as non-leaf.
29587 * setjmp/bits/setjmp2.h: Likewise.
29588 * stdlib/ucontext.h: Likewise.
29589
77cdc054
AS
295902011-11-10 Andreas Schwab <schwab@redhat.com>
29591
29592 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29593 (reused_arena): Don't check arena limit.
29594 (arena_get2): Atomically check arena limit.
29595
fe72eebd
UD
295962011-11-08 Ulrich Drepper <drepper@gmail.com>
29597
5f078c32
UD
29598 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29599 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29600
fe72eebd
UD
29601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29602 instructions.
29603
ae1bc2fa
AS
296042011-11-07 Andreas Schwab <schwab@redhat.com>
29605
7583a88d
AS
29606 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29607 handler when locking.
29608
ae1bc2fa
AS
29609 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29610 Fix size of allocated buffer.
29611
10fb0bfa
AS
296122011-11-04 Andreas Schwab <schwab@redhat.com>
29613
998832a4
AS
29614 [BZ #10103]
29615 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29616 declarations for long double functions.
29617 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29618
10fb0bfa
AS
29619 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29620
3d7ba52b
AS
296212011-11-03 Andreas Schwab <schwab@redhat.com>
29622
a9ae54a1
AS
29623 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29624 installed.
29625
3d7ba52b
AS
29626 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29627 is disabled.
29628
bc8db248
ST
296292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29630
29631 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29632
45b96dd6
AS
296332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29634
647776f6
AS
29635 * include/alloca.h (stackinfo_alloca_round): Define.
29636 (extend_alloca): Use it.
29637 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29638 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29639 here.
29640
d91a8b93
AS
29641 * scripts/check-local-headers.sh: Ignore libaudit.h.
29642
45b96dd6
AS
29643 * nscd/Makefile (extra-objs): Make recursively expanded.
29644
432d41ce
UD
296452011-11-01 Ulrich Drepper <drepper@gmail.com>
29646
34372fc6
UD
29647 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29649
fadb59f8
UD
29650 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29651 * posix/tst-rfc3484-2.c: Likewise.
29652 * posix/tst-rfc3484-3.c: Likewise.
29653
78239589
UD
29654 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29655 process_vm_writev.
29656 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29657 process_vm_writev.
29658 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29659 process_vm_writev from libc using GLIBC_2.15 version.
29660
432d41ce
UD
29661 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29662
02f9c6cf
PP
296632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29664
29665 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29666 stack usage.
29667
3a2c0242
UD
296682011-10-31 Ulrich Drepper <drepper@gmail.com>
29669
f4ec4833
UD
29670 [BZ #13367]
29671 * nss/getent.c (initgroups_keys): Show error message in case no group
29672 names are given.
29673
3a2c0242
UD
29674 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29675 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29676 __bump_nl_timestamp.
29677 * nscd/connections (nscd_init): When host database is served open
29678 netlink socket and request notification about configuration changes.
29679 (main_loop_poll): Track netlink file descriptor and bump timestamp
29680 in case data becomes available.
29681 (main_loop_epoll): Likewise.
29682 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29683 (database_pers_head): Add extra_data fileds.
29684 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29685 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29686 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29687 Adjust caller.
29688 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29689 in6ai data, call __free_in6ai.
29690 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29691 Add -DHAVE_NETLINK.
29692 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29693 interface information. Reuse previous data if netlink timestamp
29694 is not changed.
29695 (__bump_nl_timestamp): New function.
29696 (__free_in6ai): New function.
29697
636064eb
UD
296982011-10-30 Ulrich Drepper <drepper@gmail.com>
29699
29700 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29701 close_not_cancel_no_status here.
29702 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29703
9beb2334
UD
297042011-10-29 Ulrich Drepper <drepper@gmail.com>
29705
6ef76f3b
UD
29706 [BZ #13276]
29707 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29708 return value.
29709
0ffc4f3e 29710 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29711 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29712 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29713
cb95113e
UD
297142011-07-03 Andreas Jaeger <aj@suse.de>
29715
29716 [BZ #10709]
29717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29718 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29719 * math/libm-test.inc (sin_test): Add test case.
29720
a1b560ff
UD
297212011-10-29 Ulrich Drepper <drepper@gmail.com>
29722
c9aaface
UD
29723 [BZ #13337]
29724 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29725 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29726
d272e7f1
UD
29727 * elf/chroot_canon.c (chroot_canon): Cleanups.
29728
1bc33071
UD
29729 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29730
1760874d
TJ
29731 [BZ #13335]
29732 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29733 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29734
51d91b18
UD
29735 * string/test-strchr.c: Make usable for strchrnul testing.
29736 * string/test-strchrnul.c: New file.
29737 * string/Makefile (strop-tests): Add strchrnul.
29738
a1b560ff 29739 * po/it.po: Update from translation team.
b611fb81 29740 * po/es.po: Likewise.
a1b560ff 29741
a5b81e1f
UD
297422011-10-28 Ulrich Drepper <drepper@gmail.com>
29743
fd52bc6d
UD
29744 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29745 the three constants needed as parameters. Drop the others.
29746 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29747 __m128i_strloadu_tolower.
52e4b9eb
UD
29748 Create and initialize variable zero and use it in all the places
29749 where _mm_setzero_si128 was used.
fd52bc6d 29750
a5b81e1f
UD
29751 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29752 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29753 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29754 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29755 anymore.
29756 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29757 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29758 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29759 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29760 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29761 __mpranred, __mptan.
29762 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29763 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29764 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29765 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29766 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29767 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29769 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29770 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29771
b4343346
AS
297722011-10-28 Andreas Schwab <schwab@redhat.com>
29773
0c92d8a8
AS
29774 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29775 redefine if SHARED.
29776 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29777
b4343346
AS
29778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29779 wide char related routines to wcsmbs subdir.
29780
3871f58f
AS
297812011-10-27 Andreas Schwab <schwab@redhat.com>
29782
29783 [BZ #13344]
29784 * misc/sys/cdefs.h (__THROWNL): Define.
29785 * posix/unistd.h: Use __THREADNL instead of __THREAD
29786 for memory synchronization functions.
29787
94d44d9f
RM
297882011-10-26 Roland McGrath <roland@hack.frob.com>
29789
21b64b15 29790 [BZ #13349]
94d44d9f
RM
29791 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29792 doesn't exist.
29793 * manual/stdio.texi (Obstack Streams): Node removed.
29794
f6ce9294
AS
297952011-10-26 Andreas Schwab <schwab@redhat.com>
29796
80479147
AS
29797 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29798 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29799 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29800
f6ce9294
AS
29801 * math/math_private.h (math_force_eval): Allow non-addressable
29802 arguments.
29803 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29804
618280a1
UD
298052011-10-25 Ulrich Drepper <drepper@gmail.com>
29806
e0016b11
UD
29807 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29808 file is not needed.
29809
29810 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29813 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29817 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29818 Add AVX variants.
29819 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29820 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29821 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29822 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29823 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29824 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29825 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29826 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29829 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29830 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29832 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29833 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29834 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29835 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29836 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29837 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29838
29839 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29840 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29841
618280a1
UD
29842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29843 place. Use VEX encoding when compiling for AVX.
29844
37822576
AS
298452011-10-25 Andreas Schwab <schwab@redhat.com>
29846
1f1e1947
AS
29847 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29848 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29849
37822576
AS
29850 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29851
31ea014d
UD
298522011-10-25 Ulrich Drepper <drepper@gmail.com>
29853
d7826aa1 29854 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29855 useless if() expression.
d7826aa1
UD
29856 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29861 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29868 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29869 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29870 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29871 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29872 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29873 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29874 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29875
31ea014d
UD
29876 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29877
16437fec
AS
298782011-10-25 Andreas Schwab <schwab@redhat.com>
29879
29880 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29881 condition.
29882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29883
31d3cc00
UD
298842011-10-25 Ulrich Drepper <drepper@gmail.com>
29885
29886 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29887 .text section. Avoid duplicate constants.
29888 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29898 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29900 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29905 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29911 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29912 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29913 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29914 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29915 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29916 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29917 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29918 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29919 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29921 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29922 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29923 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29924 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29925 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29926 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29927 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29928 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29930 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29933
58985aa9
UD
299342011-10-24 Ulrich Drepper <drepper@gmail.com>
29935
202c9deb
UD
29936 * sysdeps/x86_64/dla.h: Move to ...
29937 * sysdeps/x86_64/fpu/dla.h: ...here.
29938 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29939 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29940
af968f62
UD
29941 * config.make.in: Add have-mfma4 entry.
29942 * configure.in: Substitute libc_cv_cc_fma4.
29943 * math/Makefile (dbl-only-routines): Add sincostab.
29944 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29945 Use __sincostab not sincos.
29946 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29947 name is a macro.
29948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29952 using __copysign.
29953 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29954 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29955 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29956 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29957 and __inv.
29958 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29959 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29960 __copysign.
29961 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29962 define aliases when function name is a macro.
29963 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29964 sysdeps/ieee754/dbl-64/sincos.tbl.
29965 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29966 fma4-enabled routines.
29967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29968 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29972 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29974 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29976 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29977 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29979 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29989 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29992 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29994 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29995 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29996 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29997
58985aa9
UD
29998 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29999 rename.
30000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30008
a201fbcf
AS
300092011-10-24 Andreas Schwab <schwab@redhat.com>
30010
30011 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30012
fc2ee42a
LD
300132011-10-23 Ulrich Drepper <drepper@gmail.com>
30014
bb3129bd
UD
30015 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30016
0275fff8
UD
30017 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30018 prediction.
30019 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30020
2fa2ae85
UD
30021 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30022 Remove unused variable magic_bits.
30023 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30024
fc2ee42a
LD
30025 * string/strnlen.c: Define and use STRNLEN macro.
30026 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30027 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30029 * wcsmbs/wcslen.c: Define and use WCSLEN.
30030 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30031 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30032 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30033 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30034 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30035 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30037
ce7dd29f
LD
300382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30039
30040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30041 strnlen-sse2-no-bsf.
30042 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30044 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30045 Add strnlen support.
30046 (USE_AS_STRNLEN): New macro.
30047 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30049 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30050 * sysdeps/x86_64/wcslen.S: New file.
30051
979c70a3
MZ
300522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30053
30054 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30055 XMM-moves are used for copying on small sizes.
30056
2d09f82f
LD
300572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30058
30059 * wcsmbs/Makefile (strop-tests): Add wcschr.
30060 * wcsmbs/test-wcschr.c: New file.
30061 * string/test-strchr.c: Update.
30062 Add wcschr support.
30063 (WIDE): New macro.
30064
619fccca
LD
300652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30066
2d09f82f 30067 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30068 * wcsmbs/test-wcslen.c: New file.
30069 * string/test-strlen.c: Update.
30070 Add wcslen support.
30071 (WIDE): New macro.
30072
09f699ea
UD
300732011-10-23 Ulrich Drepper <drepper@gmail.com>
30074
30075 * po/it.po: Update from translation team.
30076
95584d3b
LD
300772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30078
30079 * sysdeps/x86_64/wcscmp.S: Update.
30080 Fix wrong comparison semantics.
30081 wcscmp shall use signed comparison not unsigned.
30082 Don't use substraction to avoid overflow bug.
30083 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30084 * wcsmbc/wcscmp.c: Likewise.
30085 * string/test-strcmp.c: Likewise.
30086 Add new tests to check cases with negative values.
30087
c8b3296b
UD
300882011-10-23 Ulrich Drepper <drepper@gmail.com>
30089
30090 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30091 * sysdeps/x86_64/dla.h: ...here. New file.
30092 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30097 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30101
246ad57a
AS
301022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30103
30104 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30105 __ynl_finite aliases.
30106
a1a87169
UD
301072011-10-22 Ulrich Drepper <drepper@gmail.com>
30108
0d355eb7
UD
30109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30110
a1a87169
UD
30111 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30112 define DLA_FMA.
30113 [DLA_FMA] (EMULV): Use DLA_FMA.
30114 [DLA_FMA] (MUL12): Use EMULV.
30115 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30116 that are not needed.
30117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30124
ee2aafe0
AS
301252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30126
30127 * math/s_nan.c: Undef __nan.
30128 * math/s_nanf.c: Undef __nanf.
30129 * math/s_nanl.c: Undef __nanl.
30130 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30131 "math_private.h".
30132
bc62c2fb
UD
301332011-10-22 Ulrich Drepper <drepper@gmail.com>
30134
77425c63
UD
30135 * math/s_catan.c: Add branch predictions.
30136 * math/s_catanf.c: Likewise.
30137 * math/s_catanh.c: Likewise.
30138 * math/s_catanhf.c: Likewise.
30139 * math/s_catanhl.c: Likewise.
30140 * math/s_catanl.c: Likewise.
30141 * math/s_cexp.c: Likewise.
30142 * math/s_cexpf.c: Likewise.
30143 * math/s_cexpl.c: Likewise.
30144 * math/s_clog.c: Likewise.
30145 * math/s_clog10.c: Likewise.
30146 * math/s_clog10f.c: Likewise.
30147 * math/s_clog10l.c: Likewise.
30148 * math/s_clogf.c: Likewise.
30149 * math/s_clogl.c: Likewise.
30150 * math/s_csqrt.c: Likewise.
30151 * math/s_csqrtf.c: Likewise.
30152 * math/s_csqrtl.c: Likewise.
30153 * math/s_ctanf.c: Likewise.
30154 * math/s_ctanh.c: Likewise.
30155 * math/s_ctanhf.c: Likewise.
30156 * math/s_ctanhl.c: Likewise.
30157 * math/s_ctanl.c: Likewise.
30158
bc62c2fb
UD
30159 * math/math_private.h: Define __nan, __nanf, __nanl.
30160 * math/s_cacosh.c: Include <math_private.h>.
30161 * math/s_cacoshl.c: Likewise.
30162 * math/s_casinh.c: Likewise.
30163 * math/s_casinhf.c: Likewise.
30164 * math/s_casinhl.c: Likewise.
30165 * math/s_ccos.c: Rely entire on ccosh.
30166 * math/s_ccosf.c: Rely entire on ccoshf.
30167 * math/s_ccosl.c: Rely entirely on ccoshl.
30168 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30169 Remove tests for FE_INVALID.
30170 * math/s_ccoshf.c: Likewise.
30171 * math/s_ccoshl.c: Likewise.
30172 * math/s_csin.c: Likewise.
30173 * math/s_csinf.c: Likewise.
30174 * math/s_csinh.c Likewise.
30175 * math/s_csinhf.c: Likewise.
30176 * math/s_csinhl.c: Likewise.
30177 * math/s_csinl.c: Likewise.
30178 * math/s_ctan.c: Likewise.
30179 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30180 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30182
8ec250a4
UD
301832011-10-21 Ulrich Drepper <drepper@gmail.com>
30184
c196fed8
UD
30185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30186 compilation problems.
30187
8ec250a4
UD
30188 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30189 __builtin_expect.
30190
8d4f46c6
UD
301912011-10-20 Ulrich Drepper <drepper@gmail.com>
30192
ed72b654
UD
30193 * sysdeps/i386/configure.in: Test for -mfma4 option.
30194 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30195 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30196 COMMON_CPUID_INDEX_80000001.
30197 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30198 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30199 use it if FMA3 is not supported.
30200 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30201
8d4f46c6
UD
30202 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30203 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30204
d45c60c2
AS
302052011-10-20 Andreas Schwab <schwab@redhat.com>
30206
30207 [BZ #12892]
30208 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30209 it would create a cycle with a link time dependency.
30210
d9a4d2ab
UD
302112011-10-19 Ulrich Drepper <drepper@gmail.com>
30212
855d1560
UD
30213 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30214 instruction.
30215 * string/Makefile (strop-tests): Add rawmemchr.
30216 * string/test-rawmemchr.c: New file.
30217
d9a4d2ab
UD
30218 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30220 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30221 when compiling str{,n}casecmp and when AVX is available. Hook up
30222 new optimized code in initializers.
30223
8f3b1ffe
AS
302242011-10-19 Andreas Schwab <schwab@redhat.com>
30225
30226 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30227 __feraiseexcept instead of feraiseexcept.
30228
d38f1dba
UD
302292011-10-18 Ulrich Drepper <drepper@gmail.com>
30230
d9a8d0ab
UD
30231 * math/math_private.h: Define defaults for libc_fetestexcept and
30232 libc_feupdateenv.
30233 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30234 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30236 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30238 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30239 libc_fetestexcept and libc_feupdateenv.
30240
4855e3dd
UD
30241 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30242 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30243 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30244 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30245 libc_feholdexcept_setround.
30246
581d30e3
UD
30247 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30248 Add s_nearbyint-c and s_nearbyintf-c.
30249 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30250 nearbyintf inlines.
30251 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30252 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30253 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30254 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30255
d38f1dba
UD
30256 * math/math_private.h: Define defaults for libc_fegetround,
30257 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30258 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30259 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30260 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30261 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30262 standard functions.
30263 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30264 Remove comments and hacks for old compiler versions.
30265 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30266 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30267 libc_feholdexceptl.
30268
caa6c9d8
AS
302692011-10-18 Andreas Schwab <schwab@redhat.com>
30270
30271 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30272 (__feraiseexcept_renamed): Add __NTH.
30273 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30274 namespace violations.
30275
97c066e6
UD
302762011-10-17 Ulrich Drepper <drepper@gmail.com>
30277
99ce7b04
UD
30278 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30279
1004d182
UD
30280 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30281
228a984d
UD
30282 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30283 recently added interfaces.
30284 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30285
c8553a6a
UD
30286 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30287 about macro parameter expansion.
30288
ed22dcf6
UD
30289 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30290 __NO_MATH_INLINES is defined. Cleanups.
30291
30292 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30293 and __floorf is target has SSE4.1.
30294 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30295 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30296 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30298
b171c137
UD
30299 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30300 name.
30301 (floorf): Likewise.
30302
97c066e6
UD
30303 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30304
629f62ef
AS
303052011-10-17 Andreas Schwab <schwab@redhat.com>
30306
49a43d80
AS
30307 * misc/sys/cdefs.h: Fix last change.
30308
629f62ef
AS
30309 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30310 database lookup.
30311
e453f6cd
UD
303122011-10-16 Ulrich Drepper <drepper@gmail.com>
30313
aa78043a
UD
30314 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30315
ad0f5cad
UD
30316 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30318 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30319 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30321 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30322 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30323 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30324 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30325 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30326 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30327 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30328 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30329 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30330 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30331 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30332 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30333 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30334 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30335 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30336 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30337 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30338
30339 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30340 ceil, ceilf, floor, floorf.
30341
30342 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30343 Perform IRELATIVE relocations last.
30344
e453f6cd
UD
30345 * elf/do-rel.h: Add another parameter nrelative, replacing the
30346 local variable with the same name. Change name of the function
30347 to end in Rel or Rela (uppercase).
30348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30349 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30350 elf_dynamic_do_##reloc function.
30351
fd5bdc09
UD
303522011-10-15 Ulrich Drepper <drepper@gmail.com>
30353
79b195b5
UD
30354 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30355 is sufficient, at least on modern CPUs.
30356
d4a28569
UD
30357 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30358
b61099b5
UD
30359 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30360 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30361
bcf01e6d
UD
30362 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30363 __expl_finite.
30364 * math/bits/math-finite.h: Add entries for exp.
30365 * math/e_expl.c: Add __*_finite alias.
30366 * sysdeps/i386/fpu/e_exp.S: Likewise.
30367 * sysdeps/i386/fpu/e_expf.S: Likewise.
30368 * sysdeps/i386/fpu/e_expl.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30370 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30374 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30375 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30376
ba1a0d59
UD
30377 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30378 is sufficient, at least on modern CPUs.
30379
fd5bdc09
UD
30380 * ctype/ctype-info.c (__ctype_init): Define.
30381 * include/ctype.h (__ctype_init): Declare.
30382 (__ctype_b_loc): The variable is always initialized.
30383 (__ctype_toupper_loc): Likewise.
30384 (__ctype_tolower_loc): Likewise.
30385 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30386 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30387
7872cfb0
AS
303882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30389
b468825a
AS
30390 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30391
7872cfb0
AS
30392 * configure.in: Also look in $cxxmachine/include for C++ system
30393 headers.
30394
be13f7bf
LD
303952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30396
30397 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30398 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30399 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30400 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30402 (USE_AS_WMEMCMP): New macro.
30403 Fixing indents.
30404 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30405 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30406 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30407 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30409 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30410 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30411 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30412 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30413 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30414 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30415 (USE_AS_WMEMCMP): New macro.
30416 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30417 * sysdeps/string/test-memcmp.c: Update.
30418 Fix simple_wmemcmp.
30419 Add new tests.
30420 * wcsmbs/wmemcmp.c: Update.
30421 (WMEMCMP): New macro.
30422 Fix overflow bug.
30423
556a2007
AJ
304242011-10-12 Andreas Jaeger <aj@suse.de>
30425
30426 [BZ #13268]
30427 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30428
538faaa7
UD
304292011-10-15 Ulrich Drepper <drepper@gmail.com>
30430
ab6737ff
UD
30431 * libio/iofwide.c (do_length): Avoid warning.
30432
538faaa7
UD
30433 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30434
396a21b1
UD
304352011-10-14 Ulrich Drepper <drepper@gmail.com>
30436
cdf2901f
UD
30437 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30438
38ad40ce
UD
30439 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30440 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30441 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30442 * sysdeps/i386/i686/fpu/e_log.S: New file.
30443 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30444 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30445
396a21b1
UD
30446 * ctype/ctype.h: Add support for inlined isXXX functions when
30447 compiling C++ code.
30448
6b1f68c9
AS
304492011-10-14 Andreas Schwab <schwab@redhat.com>
30450
349290c0
AS
30451 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30452
6b1f68c9
AS
30453 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30454
f2282d42
RM
304552011-10-13 Roland McGrath <roland@hack.frob.com>
30456
30457 [BZ #13291]
30458 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30459
5298ffa8
AS
304602011-10-13 Andreas Schwab <schwab@redhat.com>
30461
714fad23
AS
30462 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30463 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30464 feraiseexcept.
30465
81dcc7fb
AS
30466 * sysdeps/x86_64/memrchr.S: Check for zero size.
30467
5298ffa8
AS
30468 * string/stratcliff.c: Add memrchr tests.
30469
951fbcec
LD
304702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30471
30472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30473 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30474 rawmemchr-sse2 rawmemchr-sse2-bsf.
30475 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30476 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30477 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30478 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30479 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30480 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30481 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30482 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30483 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30484 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30485 * string/memrchr.c (MEMRCHR): New macro.
30486
0ac5ae23
UD
304872011-10-12 Ulrich Drepper <drepper@gmail.com>
30488
30489 Add integration with gcc's -ffinite-math-only and optimize wrapper
30490 functions in libm.
30491 * Versions.def: Define GLIBC_2.15 version for libm.
30492 * math/Makefile (headers): Add bits/math-finite.h.
30493 * math/bits/math-finite.h: New file.
30494 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30495 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30496 * math/e_acoshl.c: Add __*_finite alias.
30497 * math/e_acosl.c: Likewise.
30498 * math/e_asinl.c: Likewise.
30499 * math/e_atan2l.c: Likewise.
30500 * math/e_atanhl.c: Likewise.
30501 * math/e_coshl.c: Likewise.
30502 * math/e_exp10.c: Likewise.
30503 * math/e_exp10f.c: Likewise.
30504 * math/e_exp10l.c: Likewise.
30505 * math/e_exp2l.c: Likewise.
30506 * math/e_fmodl.c: Likewise.
30507 * math/e_gammal_r.c: Likewise.
30508 * math/e_hypotl.c: Likewise.
30509 * math/e_j0l.c: Likewise.
30510 * math/e_j1l.c: Likewise.
30511 * math/e_jnl.c: Likewise.
30512 * math/e_lgammal_r.c: Likewise.
30513 * math/e_log10l.c: Likewise.
30514 * math/e_log2l.c: Likewise.
30515 * math/e_logl.c: Likewise.
30516 * math/e_powl.c: Likewise.
30517 * math/e_sinhl.c: Likewise.
30518 * math/e_sqrtl.c: Likewise.
30519 * math/e_scalb.c: Completely rewritten and optimized.
30520 * math/e_scalbf.c: Likewise.
30521 * math/e_scalbl.c: Likewise.
30522 * math/w_acos.c: Likewise.
30523 * math/w_acosf.c: Likewise.
30524 * math/w_acosl.c: Likewise.
30525 * math/w_acosh.c: Likewise.
30526 * math/w_acoshf.c: Likewise.
30527 * math/w_acoshl.c: Likewise.
30528 * math/w_asin.c: Likewise.
30529 * math/w_asinf.c: Likewise.
30530 * math/w_asinl.c: Likewise.
30531 * math/w_atan2.c: Likewise.
30532 * math/w_atan2f.c: Likewise.
30533 * math/w_atan2l.c: Likewise.
30534 * math/w_atanh.c: Likewise.
30535 * math/w_atanhf.c: Likewise.
30536 * math/w_atanhl.c: Likewise.
30537 * math/w_exp10.c: Likewise.
30538 * math/w_exp10f.c: Likewise.
30539 * math/w_exp10l.c: Likewise.
30540 * math/w_fmod.c: Likewise.
30541 * math/w_fmodf.c: Likewise.
30542 * math/w_fmodl.c: Likewise.
30543 * math/w_j0.c: Likewise.
30544 * math/w_j0f.c: Likewise.
30545 * math/w_j0l.c: Likewise.
30546 * math/w_j1.c: Likewise.
30547 * math/w_j1f.c: Likewise.
30548 * math/w_j1l.c: Likewise.
30549 * math/w_jn.c: Likewise.
30550 * math/w_jnf.c: Likewise.
30551 * math/w_log.c: Likewise.
30552 * math/w_logf.c: Likewise.
30553 * math/w_logl.c: Likewise.
30554 * math/w_log10.c: Likewise.
30555 * math/w_log10f.c: Likewise.
30556 * math/w_log10l.c: Likewise.
30557 * math/w_log2.c: Likewise.
30558 * math/w_log2f.c: Likewise.
30559 * math/w_log2l.c: Likewise.
30560 * math/w_pow.c: Likewise.
30561 * math/w_powf.c: Likewise.
30562 * math/w_powl.c: Likewise.
30563 * math/w_remainder.c: Likewise.
30564 * math/w_remainderf.c: Likewise.
30565 * math/w_remainderl.c: Likewise.
30566 * math/w_scalb.c: Likewise.
30567 * math/w_scalbf.c: Likewise.
30568 * math/w_scalbl.c: Likewise.
30569 * math/w_sqrt.c: Likewise.
30570 * math/w_sqrtf.c: Likewise.
30571 * math/w_sqrtl.c: Likewise.
30572 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30573 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30574 used.
30575 * math/math_private.h: Declare __kernel_standard_f.
30576 * math/w_cosh.c: Remove cruft and optimize a bit.
30577 * math/w_coshf.c: Likewise.
30578 * math/w_coshl.c: Likewise.
30579 * math/w_exp2.c: Likewise.
30580 * math/w_exp2f.c: Likewise.
30581 * math/w_exp2l.c: Likewise.
30582 * math/w_hypot.c: Likewise.
30583 * math/w_hypotf.c: Likewise.
30584 * math/w_hypotl.c: Likewise.
30585 * math/w_lgamma.c: Likewise.
30586 * math/w_lgamma_r.c: Likewise.
30587 * math/w_lgammaf.c: Likewise.
30588 * math/w_lgammaf_r.c: Likewise.
30589 * math/w_lgammal.c: Likewise.
30590 * math/w_lgammal_r.c: Likewise.
30591 * math/w_sinh.c: Likewise.
30592 * math/w_sinhf.c: Likewise.
30593 * math/w_sinhl.c: Likewise.
30594 * math/w_tgamma.c: Likewise.
30595 * math/w_tgammaf.c: Likewise.
30596 * math/w_tgammal.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30599 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30600 Minor optimizations. Pretty printing. Remove cruft.
30601 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30602 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30603 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30604 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30605 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30606 * sysdeps/i386/fpu/e_asin.S: Likewise.
30607 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30608 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30609 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30610 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30611 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30612 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30613 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30614 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30615 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30616 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30617 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30618 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30619 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30620 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30621 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30622 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30623 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30624 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30625 * sysdeps/i386/fpu/e_log.S: Likewise.
30626 * sysdeps/i386/fpu/e_log10.S: Likewise.
30627 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30628 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30629 * sysdeps/i386/fpu/e_log2.S: Likewise.
30630 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30632 * sysdeps/i386/fpu/e_logf.S: Likewise.
30633 * sysdeps/i386/fpu/e_logl.S: Likewise.
30634 * sysdeps/i386/fpu/e_pow.S: Likewise.
30635 * sysdeps/i386/fpu/e_powf.S: Likewise.
30636 * sysdeps/i386/fpu/e_powl.S: Likewise.
30637 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30638 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30639 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30641 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30642 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30643 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30644 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30645 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30659 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30660 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30663 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30666 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30667 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30668 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30669 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30670 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30671 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30672 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30673 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30674 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30684 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30685 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30686 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30687 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30726 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30729 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30731 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30732 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30734 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30737 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30738 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30739 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30740 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30741 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30742 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30743 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30744 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30745 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30746 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30747 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30748 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30749 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30750 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30751 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30754 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30755 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30756 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30757 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30758 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30759 (__isnanf): Likewise.
30760 (__isinf_ns): Likewise.
30761 (__isinf_nsf): Likewise.
30762 (__finite): Likewise.
30763 (__finitef): Likewise.
30764 (__ieee754_sqrt): Define as macro.
30765 (__ieee754_sqrtf): Define as macro.
30766 (__ieee754_sqrtl): Define as macro.
30767 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30768 inlined copy.
30769 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30770 __FINITE_MATH_ONLY__ consistent.
30771 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30772
12cc2fcd
AS
307732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30774
a843a204
AS
30775 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30776 of rawmemchr.
30777
12cc2fcd
AS
30778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30779
c853acd5
UD
307802011-10-09 Ulrich Drepper <drepper@gmail.com>
30781
30782 * po/ja.po: Update from translation team.
30783
c658d255
RM
307842011-10-08 Roland McGrath <roland@hack.frob.com>
30785
110946e4
RM
30786 * locale/programs/locarchive.c (prepare_address_space): New function.
30787 (create_archive, enlarge_archive, open_archive): Use it.
30788
50604220
RM
30789 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30790 inside [SHARED], where it is used.
30791
c658d255
RM
30792 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30793
30794 * nss/getent.c (netgroup_keys): Remove unused variable.
30795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30796
6a621eb7
UD
307972011-10-08 Ulrich Drepper <drepper@gmail.com>
30798
7edb55ce
UD
30799 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30800 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30802 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30803 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30804 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30805 * math/Makefile (libm-calls): Add s_isinf_ns.
30806 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30807 * math/multc3.c: Likewise.
30808 * math/s_casin.c: Likewise.
30809 * math/s_casinf.c: Likewise.
30810 * math/s_casinl.c: Likewise.
30811 * math/s_ccos.c: Likewise.
30812 * math/s_ccosf.c: Likewise.
30813 * math/s_ccosl.c: Likewise.
30814 * math/s_ctan.c: Likewise.
30815 * math/s_ctanf.c: Likewise.
30816 * math/s_ctanh.c: Likewise.
30817 * math/s_ctanhf.c: Likewise.
30818 * math/s_ctanhl.c: Likewise.
30819 * math/s_ctanl.c: Likewise.
30820 * math/w_fmod.c: Likewise.
30821 * math/w_fmodf.c: Likewise.
30822 * math/w_fmodl.c: Likewise.
30823 * math/w_remainder.c: Likewise.
30824 * math/w_remainderf.c: Likewise.
30825 * math/w_remainderl.c: Likewise.
30826 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30827 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30828 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30830 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30831 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30832 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30833 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30834
187da0ae
UD
30835 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30836 of the number.
30837 * stdio-common/printf_fphex.c: Likewise.
30838 * stdio-common/printf_size.c: Likewise.
30839
9277c064
UD
30840 * math/e_exp10.c: Include math_private.h using <...> not "...".
30841 * math/e_exp10f.c: Likewise.
30842 * math/e_exp10l.c: Likewise.
30843 * math/e_exp2l.c: Likewise.
30844 * math/e_j0l.c: Likewise.
30845 * math/e_j1l.c: Likewise.
30846 * math/e_jnl.c: Likewise.
30847 * math/e_lgammal_r.c: Likewise.
30848 * math/e_rem_pio2l.c: Likewise.
30849 * math/e_scalb.c: Likewise.
30850 * math/e_scalbf.c: Likewise.
30851 * math/e_scalbl.c: Likewise.
30852 * math/k_cosl.c: Likewise.
30853 * math/k_sinl.c: Likewise.
30854 * math/k_tanl.c: Likewise.
30855 * math/s_cacoshf.c: Likewise.
30856 * math/s_catan.c: Likewise.
30857 * math/s_catanf.c: Likewise.
30858 * math/s_catanh.c: Likewise.
30859 * math/s_catanhf.c: Likewise.
30860 * math/s_catanhl.c: Likewise.
30861 * math/s_catanl.c: Likewise.
30862 * math/s_ccosh.c: Likewise.
30863 * math/s_ccoshf.c: Likewise.
30864 * math/s_ccoshl.c: Likewise.
30865 * math/s_cexp.c: Likewise.
30866 * math/s_cexpf.c: Likewise.
30867 * math/s_cexpl.c: Likewise.
30868 * math/s_clog.c: Likewise.
30869 * math/s_clog10.c: Likewise.
30870 * math/s_clog10f.c: Likewise.
30871 * math/s_clog10l.c: Likewise.
30872 * math/s_clogf.c: Likewise.
30873 * math/s_clogl.c: Likewise.
30874 * math/s_csin.c: Likewise.
30875 * math/s_csinf.c: Likewise.
30876 * math/s_csinh.c: Likewise.
30877 * math/s_csinhf.c: Likewise.
30878 * math/s_csinhl.c: Likewise.
30879 * math/s_csinl.c: Likewise.
30880 * math/s_csqrt.c: Likewise.
30881 * math/s_csqrtf.c: Likewise.
30882 * math/s_csqrtl.c: Likewise.
30883 * math/s_ctan.c: Likewise.
30884 * math/s_ctanf.c: Likewise.
30885 * math/s_ctanh.c: Likewise.
30886 * math/s_ctanhf.c: Likewise.
30887 * math/s_ctanhl.c: Likewise.
30888 * math/s_ctanl.c: Likewise.
30889 * math/s_ldexp.c: Likewise.
30890 * math/s_ldexpf.c: Likewise.
30891 * math/s_ldexpl.c: Likewise.
30892 * math/s_significand.c: Likewise.
30893 * math/s_significandf.c: Likewise.
30894 * math/s_significandl.c: Likewise.
30895 * math/w_acos.c: Likewise.
30896 * math/w_acosf.c: Likewise.
30897 * math/w_acosh.c: Likewise.
30898 * math/w_acoshf.c: Likewise.
30899 * math/w_acoshl.c: Likewise.
30900 * math/w_acosl.c: Likewise.
30901 * math/w_asin.c: Likewise.
30902 * math/w_asinf.c: Likewise.
30903 * math/w_asinl.c: Likewise.
30904 * math/w_atan2.c: Likewise.
30905 * math/w_atan2f.c: Likewise.
30906 * math/w_atan2l.c: Likewise.
30907 * math/w_atanh.c: Likewise.
30908 * math/w_atanhf.c: Likewise.
30909 * math/w_atanhl.c: Likewise.
30910 * math/w_cosh.c: Likewise.
30911 * math/w_coshf.c: Likewise.
30912 * math/w_coshl.c: Likewise.
30913 * math/w_dremf.c: Likewise.
30914 * math/w_exp10.c: Likewise.
30915 * math/w_exp10f.c: Likewise.
30916 * math/w_exp10l.c: Likewise.
30917 * math/w_exp2.c: Likewise.
30918 * math/w_exp2f.c: Likewise.
30919 * math/w_fmod.c: Likewise.
30920 * math/w_fmodf.c: Likewise.
30921 * math/w_fmodl.c: Likewise.
30922 * math/w_hypot.c: Likewise.
30923 * math/w_hypotf.c: Likewise.
30924 * math/w_hypotl.c: Likewise.
30925 * math/w_j0.c: Likewise.
30926 * math/w_j0f.c: Likewise.
30927 * math/w_j0l.c: Likewise.
30928 * math/w_j1.c: Likewise.
30929 * math/w_j1f.c: Likewise.
30930 * math/w_j1l.c: Likewise.
30931 * math/w_jn.c: Likewise.
30932 * math/w_jnf.c: Likewise.
30933 * math/w_jnl.c: Likewise.
30934 * math/w_lgamma.c: Likewise.
30935 * math/w_lgamma_r.c: Likewise.
30936 * math/w_lgammaf.c: Likewise.
30937 * math/w_lgammaf_r.c: Likewise.
30938 * math/w_lgammal.c: Likewise.
30939 * math/w_lgammal_r.c: Likewise.
30940 * math/w_log.c: Likewise.
30941 * math/w_log10.c: Likewise.
30942 * math/w_log10f.c: Likewise.
30943 * math/w_log10l.c: Likewise.
30944 * math/w_log2.c: Likewise.
30945 * math/w_log2f.c: Likewise.
30946 * math/w_log2l.c: Likewise.
30947 * math/w_logf.c: Likewise.
30948 * math/w_logl.c: Likewise.
30949 * math/w_pow.c: Likewise.
30950 * math/w_powf.c: Likewise.
30951 * math/w_powl.c: Likewise.
30952 * math/w_remainder.c: Likewise.
30953 * math/w_remainderf.c: Likewise.
30954 * math/w_remainderl.c: Likewise.
30955 * math/w_scalb.c: Likewise.
30956 * math/w_scalbf.c: Likewise.
30957 * math/w_scalbl.c: Likewise.
30958 * math/w_sinh.c: Likewise.
30959 * math/w_sinhf.c: Likewise.
30960 * math/w_sinhl.c: Likewise.
30961 * math/w_sqrt.c: Likewise.
30962 * math/w_sqrtf.c: Likewise.
30963 * math/w_sqrtl.c: Likewise.
30964 * math/w_tgamma.c: Likewise.
30965 * math/w_tgammaf.c: Likewise.
30966 * math/w_tgammal.c: Likewise.
30967
6a621eb7
UD
30968 * po/ja.po: Update from translation team.
30969
bf582445
AJ
309702011-09-29 Andreas Jaeger <aj@suse.de>
30971
f9efbf3a
AJ
30972 [BZ #13179]
30973 * sunrpc/netname.c (netname2host): Fix logic.
30974
bf582445
AJ
30975 [BZ #6779]
30976 [BZ #6783]
30977 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30978 correctly.
30979 * math/w_remainder.c (__remainder): Likewise.
30980 * math/w_remainderf.c (__remainderf): Likewise.
30981 * math/libm-test.inc (remainder_test): Add test cases.
30982
48693bea
AK
309832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30984
30985 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30986 sdiv_qrnnd.
30987
42622229
LD
309882011-10-07 Ulrich Drepper <drepper@gmail.com>
30989
30990 * string/test-memcmp.c: Avoid unncessary #defines.
30991 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30992
093ecf92
LD
309932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30994
30995 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30996 Use new sse2 version for core i3 - i7 as it's faster
30997 than sse42 version.
30998 (bit_Prefer_PMINUB_for_stringop): New.
30999 * sysdeps/x86_64/rawmemchr.S: Update.
31000 Replace with faster SSE2 version.
31001 * sysdeps/x86_64/memrchr.S: New file.
31002 * sysdeps/x86_64/memchr.S: Update.
31003 Replace with faster SSE2 version.
31004
fde56e5c
MP
310052011-09-12 Marek Polacek <mpolacek@redhat.com>
31006
31007 * elf/dl-load.c (lose): Add cast to avoid warning.
31008
21fd49a9
UD
310092011-10-07 Ulrich Drepper <drepper@gmail.com>
31010
5a06e643
UD
31011 * po/ca.po: Update from translation team.
31012
684ae515
UD
31013 * inet/getnetgrent_r.c: Hook up nscd.
31014 * nscd/Makefile (routines): Add nscd_netgroup.
31015 (nscd-modules): Add netgroupcache.
31016 (CFLAGS-netgroupcache.c): Define.
31017 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31018 (cache_search): Add const to second parameter.
31019 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31020 INNETGR.
31021 (dbs): Add netgrdb entry.
31022 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31023 (verify_persistent_db): Handle netgrdb.
31024 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31025 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31026 GETFDNETGR.
31027 (netgroup_response_header): Define.
31028 (innetgroup_response_header): Define.
31029 (datahead): Add netgroup_response_header and innetgroup_response_header
31030 elements.
31031 * nscd/nscd.conf: Add entries for netgroup cache.
31032 * nscd/nscd.h (dbtype): Add netgrdb.
31033 (_PATH_NSCD_NETGROUP_DB): Define.
31034 (netgroup_iov_disabled): Declare.
31035 (xmalloc, xcalloc, xrealloc): Move declarations here.
31036 (cache_search): Adjust prototype.
31037 Add netgroup-related prototypes.
31038 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31039 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31040 (__nscd_innetgr): Declare.
31041 * nscd/selinux.c (perms): Use access_vector_t as element type and
31042 add netgroup-related initializers.
31043 * nscd/netgroupcache.c: New file.
31044 * nscd/nscd_netgroup.c: New file.
31045 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31046 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31047 For four parameters use innetgr.
31048 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31049 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31050 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31051 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31052
21fd49a9
UD
31053 * nscd/connections.c (register_traced_file): Don't register file
31054 for disabled databases.
31055
054c0457
UD
310562011-10-06 Ulrich Drepper <drepper@gmail.com>
31057
32b63198
UD
31058 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31059
054c0457
UD
31060 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31061 from tree and freeing node.
31062
64031225
JO
310632011-09-25 Jiri Olsa <jolsa@redhat.com>
31064
31065 * nss/nsswitch.c (__nss_database_lookup): Handle
31066 nss_parse_service_list out of memory case.
31067
0490345c
JO
310682011-09-15 Jiri Olsa <jolsa@redhat.com>
31069
31070 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31071 out of memory case.
31072
3a62d00d
AS
310732011-10-04 Andreas Schwab <schwab@redhat.com>
31074
31075 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31076 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31077 pass it down.
31078 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31079 elf_machine_rela, elf_machine_lazy_rel.
31080 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31081 (ELF_DYNAMIC_DO_REL): Likewise.
31082 (ELF_DYNAMIC_DO_RELA): Likewise.
31083 (ELF_DYNAMIC_RELOCATE): Likewise.
31084 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31085 to ELF_DYNAMIC_DO_REL.
31086 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31087 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31088 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31089 elf_machine_rela.
31090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31091 skip_ifunc, don't call ifunc function if non-zero.
31092 (elf_machine_rela): Likewise.
31093 (elf_machine_lazy_rel): Likewise.
31094 (elf_machine_lazy_rela): Likewise.
31095 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31096 (elf_machine_lazy_rel): Likewise.
31097 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31098 Likewise.
31099 (elf_machine_lazy_rel): Likewise.
31100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31101 Likewise.
31102 (elf_machine_lazy_rel): Likewise.
31103 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31104 (elf_machine_lazy_rel): Likewise.
31105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31106 (elf_machine_lazy_rel): Likewise.
31107 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31108 (elf_machine_lazy_rel): Likewise.
31109 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31110 (elf_machine_lazy_rel): Likewise.
31111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31112 (elf_machine_lazy_rel): Likewise.
31113 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31114 (elf_machine_lazy_rel): Likewise.
31115
68577918
UD
311162011-09-28 Ulrich Drepper <drepper@gmail.com>
31117
31118 * nss/nss_files/files-init.c (_nss_files_init): Use static
31119 initialization for all the *_traced_file variables.
31120
68822d74
AS
311212011-09-28 Andreas Schwab <schwab@redhat.com>
31122
31123 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31124
2056100b
RM
311252011-09-27 Roland McGrath <roland@hack.frob.com>
31126
31127 [BZ #13226]
31128 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31129
32c76b63
AS
311302011-09-27 Andreas Schwab <schwab@redhat.com>
31131
31132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31133 Reread the line before reparsing it.
31134
bf972c9d
AS
311352011-09-26 Andreas Schwab <schwab@redhat.com>
31136
31137 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31138
e057a1b5
JM
311392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31140 Maxim Kuvyrkov <maxim@codesourcery.com>
31141 Joseph Myers <joseph@codesourcery.com>
31142
31143 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31144 if needed for __stack_chk_guard.
31145
bc7e1c36
RM
311462011-09-19 Roland McGrath <roland@hack.frob.com>
31147
ecb1482f
RM
31148 * sysdeps/posix/spawni.c (script_execute): Always define it.
31149 It will be optimized away if unused.
31150 (maybe_script_execute): New function.
31151 (__spawni): Call it.
31152
bc7e1c36
RM
31153 * Makerules: Don't include tls.make.
31154 (config-tls): Always set to thread.
31155 * tls.make.c: File removed.
31156
1c3b002b
MF
311572011-09-19 Mike Frysinger <vapier@gentoo.org>
31158
31159 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31160 * config.make.in (CPPFLAGS-config): New substituted variable.
31161
2840865d
UD
311622011-09-15 Ulrich Drepper <drepper@gmail.com>
31163
88738eb6
UD
31164 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31165
cbf645a6 31166 [BZ #13192]
2840865d
UD
31167 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31168 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31169
b402e91a
RM
311702011-09-15 Roland McGrath <roland@hack.frob.com>
31171
31172 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31173 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31175 (CALL_FAIL): Likewise.
31176 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31177 (CALL_FAIL): Macro removed.
31178 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31179
4c1a1f71
UD
311802011-09-15 Ulrich Drepper <drepper@gmail.com>
31181
31182 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31183 for __FINITE_MATH_ONLY__ == 1.
31184
edc121be
AS
311852011-09-15 Andreas Schwab <schwab@redhat.com>
31186
31187 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31188 __ieee754_sqrt instead of sqrt.
31189 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31190 __ieee754_sqrtf instead of sqrtf.
31191 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31192 __floorf instead of floorf.
31193 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31194 __floorf, __truncf instead of floorf, truncf.
31195
cd205654
UD
311962011-09-14 Ulrich Drepper <drepper@gmail.com>
31197
ee4d0315
UD
31198 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31199
cd205654
UD
31200 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31201 __extern_always_inline.
31202 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31203 32-bit.
31204
48b67d71
AS
312052011-09-14 Andreas Schwab <schwab@redhat.com>
31206
31207 * elf/rtld.c (dl_main): Also relocate in dependency order when
31208 doing symbol dependency testing.
31209
1ae12c75
AS
312102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31211
31212 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31213 Always define `refsym'.
31214
995a80df
AS
312152011-09-13 Andreas Schwab <schwab@redhat.com>
31216
e529793b
AS
31217 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31218 (__FD_ELT): Renamed from __FDELT.
31219 * misc/bits/select2.h (__FD_ELT): Likewise.
31220 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31221 __FD_MASK instead of __FDELT, __FDMASK.
31222 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31223 Likewise.
31224 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31225 Likewise.
31226
52d4fef8
AS
31227 * elf/Makefile (gen-ldd): Fix pattern.
31228
995a80df
AS
31229 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31230 (init_tls): Likewise.
31231
8682f8b0
UD
312322011-09-12 Ulrich Drepper <drepper@gmail.com>
31233
31234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31235
de82006d
AS
312362011-09-12 Andreas Schwab <schwab@redhat.com>
31237
a7c8e6a1
AS
31238 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31239 `struct cmsghdr *' instead of `void *'.
31240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31241 Likewise.
31242
0f31fe77
AS
312432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31244
31245 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31246 if non-absolute.
31247 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31248 ldd_rewrite_script.
0f31fe77 31249
32b4c839
UD
312502011-09-11 Ulrich Drepper <drepper@gmail.com>
31251
83cd1420
UD
31252 * configure.in: Remove --with-tls option.
31253 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31254 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31255 out in case it is missing.
31256 * sysdeps/ia64/elf/configure.in: Likewise.
31257 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31258 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31259 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31260 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31261 * sysdeps/sh/elf/configure.in: Likewise.
31262 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31263 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31264 * sysdeps/x86_64/elf/configure.in: Likewise.
31265 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31266 * sysdeps/mach/hurd/tls.h: Likewise.
31267
633f745d
UD
31268 [BZ #13067]
31269 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31270
f318beb8
UD
31271 [BZ #13090]
31272 * configure.in: Fix use of AC_INIT.
31273
32b4c839
UD
31274 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31275
3ce1f295
UD
312762011-09-10 Ulrich Drepper <drepper@gmail.com>
31277
bb016596
UD
31278 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31279 __set_errno.
8e58439c
UD
31280 * malloc/hooks.c: Likewise.
31281
aebae053 31282 [BZ #11929]
02d46fc4
UD
31283 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31284 variables statically.
31285 (narenas): Initialize.
31286 (list_lock): Initialize.
bb016596
UD
31287 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31288 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31289 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31290 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31291 Add initializers to main_arena and mp_.
31292 (malloc_state): Remove pagesize member. Change all users to use
31293 GLRO(dl_pagesize).
31294
31295 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31296 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31297 is always initialized.
31298
22a89187
UD
31299 * malloc/malloc.c: Removed unused configurations and dead code.
31300 * malloc/arena.c: Likewise.
31301 * malloc/hooks.c: Likewise.
02d46fc4 31302 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31303
d063d164
UD
31304 * include/tls.h: Removed. USE___THREAD must always be defined.
31305 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31306 * elf/dl-libc.c: Likewise.
31307 * elf/dl-tsd.c: Likewise.
31308 * include/errno.h: Likewise.
31309 * include/netdb.h: Likewise.
31310 * include/resolv.h: Likewise.
31311 * inet/herrno-loc.c: Likewise.
31312 * inet/herrno.c: Likewise.
31313 * malloc/arena.c: Likewise.
31314 * malloc/hooks.c: Likewise.
31315 * malloc/malloc.c: Likewise.
31316 * resolv/res-state.c: Likewise.
31317 * resolv/res_libc.c: Likewise.
31318 * sysdeps/i386/dl-machine.h: Likewise.
31319 * sysdeps/ia64/dl-machine.h: Likewise.
31320 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31321 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31322 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31323 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31324 * sysdeps/sh/dl-machine.h: Likewise.
31325 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31327 * sysdeps/unix/i386/sysdep.S: Likewise.
31328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31329 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31330 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31331 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31334 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31338 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31339 * sysdeps/x86_64/dl-machine.h: Likewise.
31340 * tls.make.c: Likewise.
31341
3ce1f295
UD
31342 * configure.in: Remove --with-__thread option. Make tests for
31343 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31344 tls_model attribute fail if no support is available. Remove
31345 USE_IN_LIBIO.
31346 * Makeconfig: Adjust for dropped configure option. All features are
31347 now mandatory.
31348 * Makerules: Likewise.
31349 * Versions.def: Likewise.
31350 * argp/argp-fmtstream.c: Likewise.
31351 * argp/argp-fmtstream.h: Likewise.
31352 * argp/argp-help.c: Likewise.
31353 * assert/assert.c: Likewise.
31354 * config.h.in: Likewise.
31355 * config.make.in: Likewise.
31356 * configure: Likewise.
31357 * configure.in: Likewise.
31358 * csu/Versions: Likewise.
31359 * csu/init.c: Likewise.
31360 * elf/tst-audit2.c: Likewise.
31361 * elf/tst-tls10.c: Likewise.
31362 * elf/tst-tls10.h: Likewise.
31363 * elf/tst-tls11.c: Likewise.
31364 * elf/tst-tls12.c: Likewise.
31365 * elf/tst-tls14.c: Likewise.
31366 * elf/tst-tlsmod11.c: Likewise.
31367 * elf/tst-tlsmod12.c: Likewise.
31368 * elf/tst-tlsmod13.c: Likewise.
31369 * elf/tst-tlsmod13a.c: Likewise.
31370 * elf/tst-tlsmod14a.c: Likewise.
31371 * elf/tst-tlsmod15b.c: Likewise.
31372 * elf/tst-tlsmod16a.c: Likewise.
31373 * elf/tst-tlsmod16b.c: Likewise.
31374 * elf/tst-tlsmod7.c: Likewise.
31375 * elf/tst-tlsmod8.c: Likewise.
31376 * elf/tst-tlsmod9.c: Likewise.
31377 * gmon/gmon.c: Likewise.
31378 * grp/fgetgrent_r.c: Likewise.
31379 * grp/putgrent.c: Likewise.
31380 * hurd/fopenport.c: Likewise.
31381 * include/libc-symbols.h: Likewise.
31382 * include/tls.h: Likewise.
31383 * intl/gettextP.h: Likewise.
31384 * intl/loadinfo.h: Likewise.
31385 * locale/global-locale.c: Likewise.
31386 * locale/localeinfo.h: Likewise.
31387 * mach/devstream.c: Likewise.
31388 * malloc/arena.c: Likewise.
31389 * malloc/set-freeres.c: Likewise.
31390 * misc/err.c: Likewise.
31391 * misc/getttyent.c: Likewise.
31392 * misc/mntent_r.c: Likewise.
31393 * posix/getopt.c: Likewise.
31394 * posix/wordexp.c: Likewise.
31395 * pwd/fgetpwent_r.c: Likewise.
31396 * resolv/Versions: Likewise.
31397 * resolv/res_hconf.c: Likewise.
31398 * shadow/fgetspent_r.c: Likewise.
31399 * shadow/putspent.c: Likewise.
31400 * stdio-common/printf_fphex.c: Likewise.
31401 * stdio-common/tmpfile.c: Likewise.
31402 * stdlib/abort.c: Likewise.
31403 * stdlib/fmtmsg.c: Likewise.
31404 * sunrpc/auth_unix.c: Likewise.
31405 * sunrpc/clnt_perr.c: Likewise.
31406 * sunrpc/clnt_tcp.c: Likewise.
31407 * sunrpc/clnt_udp.c: Likewise.
31408 * sunrpc/clnt_unix.c: Likewise.
31409 * sunrpc/openchild.c: Likewise.
31410 * sunrpc/svc_simple.c: Likewise.
31411 * sunrpc/svc_tcp.c: Likewise.
31412 * sunrpc/svc_udp.c: Likewise.
31413 * sunrpc/svc_unix.c: Likewise.
31414 * sunrpc/xdr.c: Likewise.
31415 * sunrpc/xdr_array.c: Likewise.
31416 * sunrpc/xdr_rec.c: Likewise.
31417 * sunrpc/xdr_ref.c: Likewise.
31418 * sunrpc/xdr_stdio.c: Likewise.
31419
1248c1c4
PB
314202011-09-09 Ulrich Drepper <drepper@gmail.com>
31421
31422 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31423
314242011-07-03 Andreas Jaeger <aj@suse.de>
31425
31426 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31427 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31428 regenerate with gen-libm-tests.pl.
31429
314302010-05-12 Petr Baudis <pasky@suse.cz>
31431
31432 [BZ #11589]
31433 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31434 around j0() zero points by switching to j1().
31435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31438 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31439
f22e1074
UD
314402011-09-09 Ulrich Drepper <drepper@gmail.com>
31441
f19009c1
UD
31442 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31443 instead of 0.
31444 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31445 instead of 0.
f19009c1
UD
31446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31447 Patch in part by Pavel Roskin <proski@gnu.org>.
31448
3f8cc204
UD
31449 [BZ #13138]
31450 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31451 realloc.
31452 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31453 Free memory block if necessary.
31454
f22e1074
UD
31455 [BZ #12847]
31456 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31457 be NULL. Don't lock in this case.
31458
0a2349f9
RM
314592011-09-09 Roland McGrath <roland@hack.frob.com>
31460
31461 * elf/elf.h (ELFOSABI_GNU): New macro.
31462 (ELFOSABI_LINUX): Define to that.
31463
f3cdd467
DZ
314642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31465
31466 * string/strncat.c (strncat): Undef the symbol in case it has been
31467 defined in bits/string.h.
31468
74718d13
UD
314692011-09-09 Ulrich Drepper <drepper@gmail.com>
31470
633e9e0f
UD
31471 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31472
0a2349f9 31473 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31474 link map.
31475
f9924780
AJ
314762011-08-17 Andreas Jaeger <aj@suse.de>
31477
31478 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31479
7f5517aa
PP
314802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31481 Ian Lance Taylor <iant@google.com>
31482
31483 * math/libm-test.inc (lround_test): New testcase.
31484 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31485
762011fe
UD
314862011-09-08 Ulrich Drepper <drepper@gmail.com>
31487
92963737
UD
31488 * Makefile: Remove support for automatic cvs check-ins.
31489 * Makerules: Likewise.
31490 * config.make.in: Likewise.
31491 * configure.in: Likewise.
31492 * intl/Makefile: Likewise.
31493 * locale/Makefile: Likewise.
31494 * po/Makefile: Likewise.
31495 * posix/Makefile: Likewise.
31496 * sysdeps/gnu/Makefile: Likewise.
31497 * sysdeps/mach/hurd/Makefile: Likewise.
31498 * sysdeps/sparc/sparc32/Makefile: Likewise.
31499
b0727fd8
JS
31500 [BZ #13118]
31501 * posix/Makefile (bug-regex32-ENV): Define.
31502 Patch by John Stanley <jpsinthemix@verizon.net>.
31503
a0f33f99
UD
31504 * misc/Makefile (headers): Add bits/select2.h.
31505 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31506 * misc/bits/select2.h: New file.
31507 * include/bits/select2.h: New file.
31508 * debug/Makefile (routines): Add fdelt_chk.
31509 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31510 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31511 FD_ISSET.
31512 * debug/fdelt_chk.c: New file.
31513
762011fe
UD
31514 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31515 * wcsmbs/test-wmemcmp.c: Likewise.
31516 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31517 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31518
315192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31520
31521 * string/Makefile (strop-tests): Add memcmp.
31522 * string/test-wmemcmp.c: New file.
31523 * string/test-memcmp.c: Add wmemcmp support.
31524
7f513ec8
RM
315252011-09-08 Roland McGrath <roland@hack.frob.com>
31526
0442afb4
RM
31527 [BZ #13153]
31528 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31529 2011-07-19 change.
31530
7f513ec8
RM
31531 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31532 garbage value in a __mach_port_mod_refs call in the cases of the
31533 task-self and thread-self ports.
31534
a12b2239
ST
315352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31536
31537 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31538
610f9ab4
AS
315392011-09-08 Andreas Schwab <schwab@redhat.com>
31540
7f513ec8 31541 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31542
48882a1a
LD
315432011-09-07 Ulrich Drepper <drepper@gmail.com>
31544
b49865be
UD
31545 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31546
fdc86bc9
UD
31547 * elf/dl-libc.c (dlerror_run): Pass back error code from
31548 dl_catch_error.
31549
c966526a
UD
31550 [BZ #13123]
31551 * elf/dl-load.c (lose): Free l_origin if it is valid.
31552
48882a1a
LD
31553 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31554 names.
31555 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31556 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31557 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31558 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31559 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31560 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31561
77a2a8b4
AZ
315622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31563
31564 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31565 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31566 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31567 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31568 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31569 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31570 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31571 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31572 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31573 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31574
24f579d8
AM
315752011-08-15 Alan Modra <amodra@gmail.com>
31576
31577 [BZ #13092]
31578 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31579 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31580 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31581 ppc_mcount to static-only-routines.
31582 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31583 __mcount_internal.
31584 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31585 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31586
3d4837df
UD
315872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31588
31589 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31590 for finite and infinity parameters.
31591
22700377
WS
315922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31593
31594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31595 and add nop instructions for throughput optimization.
31596 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31597
5025581e
WS
315982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31599
31600 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31601 aligned copy for power7 with vector-scalar instructions.
31602 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31603
08a300c9
L
316042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31607 AVX check.
31608
59178ef9
AS
316092011-09-07 Andreas Schwab <schwab@redhat.com>
31610
31611 [BZ #13144]
31612 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31613 last change.
31614
e38ba7ab
UD
316152011-09-07 Ulrich Drepper <drepper@gmail.com>
31616
31617 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31618 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31619 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31620 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31621 clock_gettime.
31622
d53a73ac
UD
316232011-09-06 Ulrich Drepper <drepper@gmail.com>
31624
fc8bffcc
UD
31625 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31626 Forgot to demangle the pointer.
31627
ceaa0c5d
UD
31628 * sysdeps/i386/sysdep.h: Define atom_text_section.
31629 * sysdeps/x86_64/sysdep.h: Likewise.
31630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31631 section with atom_text_section.
31632 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31633 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31634 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31636 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31637
a77d3c17
UD
31638 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31640 already be defined. Change to take two parameters and don't assign
31641 result to variable. Adjust all users.
31642 Define INTERNAL_GETTIME if not already defined.
31643 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31644 call.
31645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31646 HAVE_CLOCK_GETTIME_VSYSCALL.
31647 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31648
d53a73ac
UD
31649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31650 gettimeofday vsyscall, just use time.
31651
a8f84144
AS
316522011-09-06 Andreas Schwab <schwab@redhat.com>
31653
31654 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31655 <errno.h>.
31656
ef606249
UD
316572011-09-06 Ulrich Drepper <drepper@gmail.com>
31658
31659 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31660 syscall on x86-64.
31661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31662 syscall.
31663 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31664 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31665 syscall if possible.
31666
6585cb60
UD
316672011-09-05 Ulrich Drepper <drepper@gmail.com>
31668
31669 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31670 e_ident. Don't pass to find_mapsXX.
31671 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31672
a5f524e4
LD
316732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31674
31675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31676 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31677 * sysdeps/x86_64/multiarch/strchr.S: Update.
31678 Check bit_slow_BSF bit.
31679 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31680 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31682
554881ef
UD
316832011-09-05 Ulrich Drepper <drepper@gmail.com>
31684
d96de963
UD
31685 [BZ #13134]
31686 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31687 before glibc 2.15.
31688 (tryshell): Define.
31689 (__spawni): Change last parameter to be flag. Test
31690 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31691 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31692 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31693 * posix/spawni.c: Likewise.
31694 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31695 * posix/spawnp.c: Likewise. Change normal version to use
31696 SPAWN_XFLAGS_USE_PATH.
31697 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31698 SPAWN_XFLAGS_TRY_SHELL.
31699
d48e5868
UD
31700 [BZ #13150]
31701 * posix/glob.h: Remove gcc 1.x support.
31702
554881ef
UD
31703 [BZ #13068]
31704 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31705
693fb948
LD
317062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31707
31708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31709 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31710 strrchr-sse2-bsf
31711 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31712 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31713 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31715 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31716 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31717
1b48c537
UD
317182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31719
49d42c37
UD
31720 * sysdeps/x86_64/wcscmp.S: New file.
31721
1b48c537
UD
31722 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31723 wcscmp-c wcscmp-sse2
31724 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31725 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31726 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31727 * wcsmbs/wcscmp.c: Allow renaming.
31728
15c95c5d
DM
317292011-09-05 David S. Miller <davem@davemloft.net>
31730
31731 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31732 stack slot, rather than the struct return pointer slot.
31733 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31734 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31736 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31737
2f0ad8f3
UD
317382011-09-05 Ulrich Drepper <drepper@gmail.com>
31739
d88ae418
UD
31740 * po/ja.po: Update from translation team.
31741
2f0ad8f3
UD
31742 [BZ #13144]
31743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31744 kernel in 64-bit binaries.
31745
5f4318d1
DM
317462011-09-01 David S. Miller <davem@davemloft.net>
31747
31748 * elf/elf.h (HWCAP_SPARC_*): Move to..
31749 * sysdeps/sparc/sysdep.h: this new file and add new values.
31750 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31751 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31752 _DL_HWCAP_COUNT to 24.
31753 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31754 entries.
31755 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31756 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31757 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31759 instead of magic constants.
31760 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31761
3ba57516
DM
317622011-08-31 David S. Miller <davem@davemloft.net>
31763
31764 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31766 Reimplement to do errno handling inline.
31767 (SYSCALL_ERROR_HANDLER): New macro.
31768 (__SYSCALL_STRING): Do not do errno handling in asm.
31769 (__CLONE_SYSCALL_STRING): Delete.
31770 (__INTERNAL_SYSCALL_STRING): Delete.
31771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31772 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31773 (PSEUDO): Reimplement to do errno handling inline.
31774 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31775 (SYSCALL_ERROR_HANDLER): New macro.
31776 (__SYSCALL_STRING): Do not do errno handling in asm.
31777 (__CLONE_SYSCALL_STRING): Delete.
31778 (__INTERNAL_SYSCALL_STRING): Delete.
31779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31780 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31781 i386.
31782 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31783 (inline_syscall*): Add 'err' argument.
31784 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31785 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31786 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31787 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31788
31789 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31790 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31791
2bc17433
AS
317922011-08-30 Andreas Schwab <schwab@redhat.com>
31793
31794 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31795
fbeb5f4d
JO
317962011-08-29 Jiri Olsa <jolsa@redhat.com>
31797
31798 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31799 directive.
31800
ad69cc26
DM
318012011-08-24 David S. Miller <davem@davemloft.net>
31802
31803 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31804
39dd69df
AS
318052011-08-24 Andreas Schwab <schwab@redhat.com>
31806
31807 * elf/Makefile: Add rules to build and run unload8 test.
31808 * elf/unload8.c: New file.
31809 * elf/unload8mod1.c: New file.
31810 * elf/unload8mod1x.c: New file.
31811 * elf/unload8mod2.c: New file.
31812 * elf/unload8mod3.c: New file.
31813
31814 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31815 it wasn't used.
31816
2c0b250a
DM
318172011-08-23 David S. Miller <davem@davemloft.net>
31818
31819 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31820 subtract stack bias.
31821 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31822 %sp not %fp in calculations.
31823 (_JMPBUF_UNWINDS_ADJ): Likewise.
31824
22044b48
DM
31825 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31826 (aio_suspend): Call it to force an exception region around the
31827 AIO_MISC_WAIT() invocation.
31828
2cae4995
AS
318292011-08-23 Andreas Schwab <schwab@redhat.com>
31830
31831 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31832 backslash.
31833
873a772e
AJ
318342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31835
31836 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31837 protection macro.
31838 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31839 and <dl-machine.h>.
31840 (Elf64_FuncDesc): Remove.
31841
25ad0df1
DM
318422011-08-22 David S. Miller <davem@davemloft.net>
31843
31844 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31845 sigaltstack check, add missing cfi directives.
31846 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31847 missing cfi directives, and sigaltstack handling.
31848
e888bcbe
AS
318492011-08-16 Andreas Schwab <schwab@redhat.com>
31850
31851 [BZ #11724]
31852 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31853 object is seen twice.
31854 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31855
31856 * elf/Makefile (distribute): Add tst-initorder2.c.
31857 (tests): Add tst-initorder2.
31858 (modules-names): Add tst-initorder2a tst-initorder2b
31859 tst-initorder2c tst-initorder2d. Add rules to build them.
31860 ($(objpfx)tst-initorder2.out): New rule.
31861 * elf/tst-initorder2.c: New file.
31862 * elf/tst-initorder2.exp: New file.
31863
87162f46
AS
318642011-08-22 Andreas Schwab <schwab@redhat.com>
31865
70538b7f
AS
31866 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31867
f55ffe58
AS
31868 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31869 dependencies back to end of function.
31870
87162f46
AS
31871 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31872 $(elfobjdir)/ld.so.
31873
91b392a4
UD
318742011-08-21 Ulrich Drepper <drepper@gmail.com>
31875
31876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31877 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31879 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31880 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31881 of __vdso_gettimeofday.
31882 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31883 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31884 attribute_hidden.
31885 (_libc_vdso_platform_setup): Remove initialization of
31886 __vdso_gettimeofday and __vdso_time.
31887
5c43483f
UD
318882011-08-20 Ulrich Drepper <drepper@gmail.com>
31889
775a77e7
UD
31890 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31891 and fgetc_unlocked.
31892 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31893 getc_unlocked.
89f447ed 31894
49c74ba9
UD
31895 * elf/dl-open.c (add_to_global): Report additions to the global scope
31896 for LD_DEBUG=scopes.
31897 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31898 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31899
5c43483f
UD
31900 [BZ #13114]
31901 * stdio-common/Makefile (tests): Add bug24.
31902 * stdio-common/bug24.c: New file.
31903
a101b025
AJ
319042011-08-19 Andreas Jaeger <aj@suse.de>
31905
31906 [BZ #13114]
31907 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31908 non-existant file when using close-on-exec mode.
31909
c88f1766
UD
319102011-08-20 Ulrich Drepper <drepper@gmail.com>
31911
0276a718
UD
31912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31913 the very first instruction.
31914
c88f1766
UD
31915 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31916 the CFI state in the end.
31917 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31918 inclusion of dl-trampoline.h.
31919 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31920
51ccffa0
AS
319212011-08-19 Andreas Schwab <schwab@redhat.com>
31922
94d7165f
AS
31923 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31924 expectations for long double.
31925
51ccffa0
AS
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31927 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31928
fd708658 319292011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31930
31931 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31932 artificual limit depends upon the system page size.
31933
44f0a71e
UD
319342011-08-17 Ulrich Drepper <drepper@gmail.com>
31935
31936 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31937 * resolv/Makefile: Define CFLAGS-libresolv.
31938
8de79a24
AS
319392011-08-17 Andreas Schwab <schwab@redhat.com>
31940
31941 * nss/makedb.c (compute_tables): Make variables used in nested
31942 function static.
31943
27724598
UD
319442011-08-17 Ulrich Drepper <drepper@gmail.com>
31945
c5305d88
UD
31946 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31947 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31948 if buffer was too small.
31949
27724598
UD
31950 * elf/pldd.c (main): Attach to all threads in the process.
31951 Rewrite /proc handling to use *at functions.
31952
076fe015
UD
319532011-08-16 Ulrich Drepper <drepper@gmail.com>
31954
174baab3
UD
31955 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31956 specifies first scope to show.
31957 (dl_open_worker): Update callers. Move printing scope of new
31958 object to before the relocation.
44f0a71e 31959 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31960 * sysdeps/generic/ldsodefs.h: Update declaration.
31961
076fe015
UD
31962 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31963 string for the scope number.
31964
a60df2c3
UD
319652011-08-14 Ulrich Drepper <drepper@gmail.com>
31966
31967 * nscd/servicescache.c (cache_addserv): Make sure written is always
31968 initialized.
31969
5e4287d1
RM
319702011-08-14 Roland McGrath <roland@hack.frob.com>
31971
85ae0589
RM
31972 * sysdeps/i386/i486/bits/atomic.h
31973 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31974 statement expression, so as to suppress "set but not used" warning.
31975 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31976
69f63097
RM
31977 * string/strncat.c (STRNCAT): Use prototype definition.
31978
675456ef
RM
31979 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31980 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31981 -Iprograms here.
31982 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31983 (localedef-modules): Add localedef.
31984 (locale-modules): Add locale.
31985
5e4287d1
RM
31986 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31987 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31988 to avoid a warning.
31989
9c96ff23
DM
319902011-08-14 David S. Miller <davem@davemloft.net>
31991
31992 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31993 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31994
f9ddf089
UD
319952011-08-13 Ulrich Drepper <drepper@gmail.com>
31996
44f0a71e 31997 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31998 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31999 * elf/rtld.c (dl_main): Set l_name of vDSO.
32000 Call _dl_show_scope when DL_DEBUG_SCOPES.
32001 (process_dl_debug): Recognize scopes flag and also set it for all.
32002 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32003 Declare _dl_show_scope.
32004
1dc27704
UD
32005 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32006 (do_dlopen): Pass caller_dlopen to dl_open.
32007 (__libc_dlopen_mode): Initialize caller_dlopen.
32008
f9ddf089
UD
32009 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32010 of libc. Make tolower call locale-independent. Optimize a bit by
32011 using isdigit instead of isalnum.
32012 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32013
9ac533d3
UD
320142011-08-12 Ulrich Drepper <drepper@gmail.com>
32015
32016 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32017 was a dependency or dynamically loaded.
32018
89edf2e9
UD
320192011-08-11 Ulrich Drepper <drepper@gmail.com>
32020
8e999d29
UD
32021 * intl/l10nflist.c: Allow architecture-specific pop function.
32022 * sysdeps/x86_64/l10nflist.c: New file.
32023
89edf2e9
UD
32024 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32025 classification.
32026
14d96785
AS
320272011-08-10 Andreas Schwab <schwab@redhat.com>
32028
32029 * include/dirent.h: Add libc_hidden_proto for scandirat and
32030 scandirat64. Don't declare __scandirat64.
32031 * dirent/scandirat.c: Add libc_hidden_def.
32032 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32033 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32034
6761ac04
DM
320352011-08-10 David S. Miller <davem@davemloft.net>
32036
32037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32038 enum.
32039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32041 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32042
c55fbd1e
UD
320432011-08-09 Ulrich Drepper <drepper@gmail.com>
32044
32045 * Versions.def [libc]: Add GLIBC_2.15.
32046 * dirent/Makefile (routines): Add scandirat and scandirat64.
32047 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32048 GLIBC_2.15.
32049 * dirent/dirent.h: Declare scandirat and scandirat64.
32050 * dirent/scandirat.c: New file.
32051 * dirent/scandirat64.c: New file.
32052 * sysdeps/wordsize-64/scandirat.c: New file.
32053 * sysdeps/wordsize-64/scandirat64.c: New file.
32054 * dirent/opendir.c: Define opendirat.
32055 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32056 using scandirat.
32057 * dirent/scandir64.c: Adjust for scandir.c change.
32058 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32059 __scandirat64, and __scandir_cancel_handler.
32060 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32061 additional parameter and use openat instead of open (outside of ld.so).
32062 Add new __opendir as wrapper around __opendirat.
32063 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32064 here without requiring old scandirat implementation.
32065
879165f2
UD
320662011-08-08 Ulrich Drepper <drepper@gmail.com>
32067
32068 * dirent/scandir.c (cancel_handler): Renamed to
32069 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32070 defined. Adjust users.
32071 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32072 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32073
cb7e923b
UD
320742011-08-04 Ulrich Drepper <drepper@gmail.com>
32075
16292edd
UD
32076 * string/test-string.h (IMPL): Use __STRING to expand name and then
32077 stringify it.
32078
cb7e923b
UD
32079 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32080 of cleanups.
32081
cff82933
LD
320822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32083
32084 * string/Makefile: Update.
32085 (strop-tests): Append strncat.
32086 * string/test-wcscmp.c: New file.
32087 New comprehensive test for wcscmp.
32088 * string/test-strcmp.c: Update.
32089 (WIDE): New define.
32090
9be9bfcc
AS
320912011-07-22 Andreas Schwab <schwab@redhat.com>
32092
32093 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32094 line.
32095
2e96f1c7
AS
320962011-07-26 Andreas Schwab <schwab@redhat.com>
32097
32098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32099 encoding to ACE if AI_IDN.
32100
85188888
JJ
321012011-08-01 Jakub Jelinek <jakub@redhat.com>
32102
32103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32104 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32105
5fa16e9b
LD
321062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32107
32108 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32109 Fix overflow bug in strncat.
32110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32111
32112 * string/test-strncat.c: Update.
32113 Add new tests for checking overflow bugs.
32114
321152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32116
32117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32118 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32119 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32120 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32121 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32122 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32123 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32124 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32125 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32126
32127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32128 (USE_AS_STRCAT): Define.
32129 Add strcat and strncat support.
32130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32131
8c1a459f
AS
321322011-07-25 Andreas Schwab <schwab@redhat.com>
32133
32134 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32135 __n bigger than INT_MAX+1.
32136 (__strncmp_g): Likewise.
32137
bba33c28
UD
321382011-07-23 Ulrich Drepper <drepper@gmail.com>
32139
798be72d
UD
32140 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32141 * libio/stido.h: Likewise.
32142
8accd4dc
UD
32143 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32144 (AF_NFC): Define.
32145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32146 (AF_NFC): Define.
32147
cbff0d96
UD
32148 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32151 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32153
9191c04a
UD
32154 [BZ #13021]
32155 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32156 installed.
32157
bba33c28
UD
32158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32159 typo.
32160 (_dl_x86_64_save_sse): Likewise.
32161
90f139dd
UD
321622011-07-22 Ulrich Drepper <drepper@gmail.com>
32163
1aae088a
UD
32164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32165 OSXSAVE.
32166 (_dl_x86_64_save_sse): Likewise.
32167
8e2045f5
UD
32168 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32169
90f139dd
UD
32170 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32171
1d002f25
AS
321722011-07-21 Andreas Schwab <schwab@redhat.com>
32173
32174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32175 change.
32176 (_dl_x86_64_save_sse): Use correct AVX check.
32177
21137f89
UD
321782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32179
32180 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32181 bug in strncpy/strncat.
32182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32183
a65c0b7a
UD
321842011-07-21 Ulrich Drepper <drepper@gmail.com>
32185
32186 * string/tester.c (test_strcat): Add tests for different alignments
32187 of source and destination.
32188 (test_strncat): Likewise.
32189
6986b98a
UD
321902011-07-20 Ulrich Drepper <drepper@gmail.com>
32191
90bb2039
UD
32192 [BZ #12852]
32193 * posix/glob.c (glob): Check passed in values before using them in
32194 expressions to avoid some overflows.
32195 (glob_in_dir): Likewise.
32196
5644ef54
UD
32197 [BZ #13007]
32198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32199 check for AVX enablement so that we don't crash with old kernels and
32200 new hardware.
32201 * elf/tst-audit4.c: Add same checks here.
32202 * elf/tst-audit6.c: Likewise.
32203
32204 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32205
bfc9dc9b
AS
322062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32207
32208 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32209
702e64bb
UD
322102011-07-20 Ulrich Drepper <drepper@gmail.com>
32211
32212 * po/cs.po: Update from translation team.
32213 * po/bg.po: Likewise.
32214
295e904f
MP
322152011-07-12 Marek Polacek <mpolacek@redhat.com>
32216
32217 * misc/sys/cdefs.h: Add support for const attribute.
32218 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32219 to gnu_dev_{major,minor,makedev} functions.
32220
3ff94596
MP
322212011-07-20 Marek Polacek <mpolacek@redhat.com>
32222
32223 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32224
28b59fca
AS
322252011-07-20 Andreas Schwab <schwab@redhat.com>
32226
32227 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32228 strlen results.
32229
19df733e
AK
322302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32231
32232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32233 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32234 register in order to avoid conflicts with the soft frame pointer
32235 being held in r11 when necessary.
32236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32237 (INTERNAL_VSYSCALL_NCS): Likewise.
32238
c8835729
MP
322392011-07-14 Marek Polacek <mpolacek@redhat.com>
32240
32241 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32242 * elf/dl-fini.c (_dl_fini): Adjust caller.
32243 * elf/dl-close.c (_dl_close_worker): Likewise.
32244 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32245
b902330c
MP
322462011-07-15 Marek Polacek <mpolacek@redhat.com>
32247
8991e135
MP
32248 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32249 "aux_cache->nlibs < 0".
32250
b902330c
MP
32251 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32252 in the reload-count case.
32253
99710781
LD
322542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32255
32256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32257 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32258 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32259 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32260 * sysdeps/x86_64/multiarch/strcat.S: New file.
32261 * sysdeps/x86_64/multiarch/strncat.S: New file.
32262 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32264 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32265 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32267 (USE_AS_STRCAT): Define.
32268 Add strcat and strncat support.
32269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32270 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32271 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32272 * string/strncat.c: Update.
32273 (USE_AS_STRNCAT): Define.
32274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32275 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32276 and i7.
32277 * sysdeps/x86_64/multiarch/init-arch.h
32278 (bit_Prefer_PMINUB_for_stringop): New.
32279 (index_Prefer_PMINUB_for_stringop): Likewise.
32280 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32281 bit_Prefer_PMINUB_for_stringop.
32282
7dc6bd90
UD
322832011-07-19 Ulrich Drepper <drepper@gmail.com>
32284
32285 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32286 buffer64.
32287 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32288 of casting of buffer.
32289 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32290 buffer32 and buffer64.
32291 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32292 writes instead of casting of buffer.
32293 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32294 buffer32.
32295 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32296 casting of buffer.
32297
e0e72284
AS
322982011-07-19 Andreas Schwab <schwab@redhat.com>
32299
32300 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32301
feb1eb0b
UD
323022011-07-19 Ulrich Drepper <drepper@gmail.com>
32303
32304 * nscd/nscd.c (termination_handler): Don't do anything for a database
32305 if it has not yet been initialized.
32306
298711ff
UD
323072011-07-18 Ulrich Drepper <drepper@gmail.com>
32308
32309 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32310
323112011-07-15 Marek Polacek <mpolacek@redhat.com>
32312
32313 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32314
f9d68389
UD
323152011-07-18 Ulrich Drepper <drepper@gmail.com>
32316
32317 * po/nl.po: Update from translation team.
32318 * po/sv.po: Likewise.
32319
db290cf5
RM
323202011-07-16 Roland McGrath <roland@hack.frob.com>
32321
32322 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32323 now disallowed by GCC.
5c550700 32324
fd5e21c7
RM
32325 * configure.in (use-default-link): Default to yes if a test -shared
32326 link meets our qualifications.
32327 * configure: Regenerated.
32328
5c550700
RM
32329 * config.make.in (output-format): New variable.
32330 * configure.in: Check for ld --print-output-format support.
32331 * configure: Regenerated.
32332 * Makerules ($(common-objpfx)format.lds)
32333 [$(output-format) != unknown]: Just use $(output-format),
32334 instead of the linker-script munging.
32335
9fa2c032
RM
323362011-07-14 Roland McGrath <roland@hack.frob.com>
32337
a6928d51
RM
32338 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32339 of $(common-objpfx)shlib.lds.
32340 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32341
661607b3
RM
32342 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32343 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32344
9fa2c032
RM
32345 * configure.in (-z relro check): Adjust test code to add a large
32346 writable data section after it.
32347 * configure: Regenerated.
32348
defe9061
RM
323492011-07-11 Roland McGrath <roland@hack.frob.com>
32350
32351 * configure.in (-z relro check): Fix test code to make the variable
32352 truly const.
32353 * configure: Regenerated.
32354
319b9ad4
UD
323552011-07-11 Ulrich Drepper <drepper@gmail.com>
32356
32357 * nscd/nscd.h (struct traced_file): Define.
32358 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32359 elements. Add traced_files.
32360 (inotify_fd): Declare.
32361 (register_traced_file): Declare.
32362 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32363 (inotify_fd): Export.
32364 (resolv_conf_descr): Remove.
32365 (nscd_init): Move inotify descriptor creation to main.
32366 Don't register files for notification here.
32367 (register_traced_file): New function.
32368 (invalidate_cache): Don't use reset_res to determine whether to call
32369 res_init, go through the list of registered files.
32370 (main_loop_poll): The inotify descriptors are now stored in the
32371 structures for the traced files.
32372 (main_loop_epoll): Likewise
32373 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32374 to __nss_disable_nscd.
32375 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32376 for a database anymore. Check the records for all the registered
32377 files instead.
32378 * nss/Makefile (libnss_files-routines): Add files-init.
32379 (libnss_db-routines): Add db-init.
32380 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32381 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32382 * nss/nss_db/db-init.c: New file.
32383 * nss/nss_files/files-init.c: New file.
32384 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32385 __nss_lookup_function.
32386 (__nss_lookup_function): Call nss_load_library.
32387 (nss_load_all_libraries): New function.
32388 (__nss_disable_nscd): Take parameter with callback function for files
32389 to register. Set is_nscd. Load all the DSOs for the NSS modules
32390 used for the cached services.
32391 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32392 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32393 options for features to all the files in nscd.
32394
32395 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32396
23bee3e8
RM
323972011-07-10 Roland McGrath <roland@hack.frob.com>
32398
32399 * csu/elf-init.c (__libc_csu_init): Comment typo.
32400
46a5b7f0
UD
324012011-07-09 Ulrich Drepper <drepper@gmail.com>
32402
32403 * po/pl.po: Update from translation team.
32404 * po/ja.po: Likewise.
32405 * po/ru.po: Likewise.
32406 * po/ko.po: Likewise.
32407 * po/fr.po: Likewise.
32408
d30cf5bb
RM
324092011-07-09 Roland McGrath <roland@hack.frob.com>
32410
113ddea4
RM
32411 * configure.in (.ctors/.dtors header and trailer check):
32412 Use an empirical test on a built program.
32413 * configure: Regenerated.
32414
574920b4
RM
32415 * configure.in (-z relro check): Use an empirical test on a built DSO.
32416 Detect, but do not require, on ia64.
32417 * configure: Regenerated.
32418
d30cf5bb
RM
32419 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32420 Update tests that use readelf to use $READELF instead.
32421 * configure: Regenerated.
32422
8538fdb3
UD
324232011-07-08 Ulrich Drepper <drepper@gmail.com>
32424
32425 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32426 if the result is not used.
32427
04d08991
AJ
324282011-07-05 Andreas Jaeger <aj@suse.de>
32429
32430 [BZ#9696]
32431 * stdlib/tst-strtod.c: Add testcase.
32432
de283087
AD
324332011-07-07 Ulrich Drepper <drepper@gmail.com>
32434
4e5f31c8 32435 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32436 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32437 The latter has a higher limit. Take additional parameter to pass to
32438 the new function.
32439 (__pathconf): Pass file to __statfs_link_max.
32440 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32441 __statfs_link_max.
32442 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32443 __statfs_link_max.
32444
de283087
AD
32445 [BZ #12868]
32446 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32448 Handle Lustre.
32449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32450 (__statfs_filesize_max): Likewise.
32451 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32452
c75fa153
AJ
324532011-07-05 Andreas Jaeger <aj@suse.de>
32454
32455 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32456
1a544854
UD
324572011-07-06 Marek Polacek <mpolacek@redhat.com>
32458
32459 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32460 `status' variable.
32461 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32462 Likewise.
32463
6f0eec67
UD
324642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32465
32466 * Makefile (strop-tests): Add strncat.
32467 * string/test-strncat.c: New file.
32468
aae30307
UD
324692011-06-30 Marek Polacek <mpolacek@redhat.com>
32470
32471 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32472
c0cfb5eb
UD
324732011-06-21 Andreas Jaeger <aj@suse.de>
32474
32475 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32476 Copy rule from iconvdata/Makefile.
32477
01636b21
UD
324782011-07-06 Ulrich Drepper <drepper@gmail.com>
32479
32480 [BZ #12922]
32481 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32482 but no long options are defined, just return 'W'.
32483
9895c8bc
UD
324842011-06-22 Marek Polacek <mpolacek@redhat.com>
32485
32486 [BZ #9696]
32487 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32488
5d4cf042
UD
324892011-07-06 Ulrich Drepper <drepper@gmail.com>
32490
32491 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32492 netgroups to read.
960e5535 32493 (innetgr): Likewise.
5d4cf042 32494
751eb97e
RM
324952011-07-05 Roland McGrath <roland@hack.frob.com>
32496
32497 * config.make.in (install_root): Default to $(DESTDIR).
32498
f15f1e45
UD
324992011-07-05 Ulrich Drepper <drepper@gmail.com>
32500
32501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32502
4e34ac6a
RM
325032011-07-02 Roland McGrath <roland@hack.frob.com>
32504
5e9b6af4
RM
32505 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32506
84f9ea0f
RM
32507 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32508 containing directory rather than embedding absolute directory names.
32509
ea5ee9f7
RM
32510 * scripts/check-local-headers.sh: Rewritten using awk.
32511 Match by word, not by line. Print error messages for matches.
32512 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32513
1b74661a
RM
32514 * Makerules [shlib-lds-flags empty]:
32515 ($(common-objpfx)libc_pic.opts): New target.
32516 ($(common-objpfx)libc_pic.os.clean): New target.
32517 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32518
32519 * config.make.in (OBJCOPY): New variable.
32520 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32521 * configure: Regenerated.
32522
f781ef40
RM
32523 * config.make.in (use-default-link): New variable.
32524 * configure.in (use_default_link): Grok --with-default-link to set it.
32525 * configure: Regenerated.
32526 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32527 (shlib-lds, shlib-lds-flags): Define to empty.
32528
2d4fa81e
RM
32529 * Makerules (shlib-lds): New variable.
32530 (shlib-lds-flags): New variable.
32531 (build-shlib, build-moduile, build-module-asneeded): Use it.
32532 ($(common-objpfx)libc.so): Use $(shlib-lds).
32533 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32534 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32535
31fffa6b
RM
32536 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32537 DT_FLAGS/DT_FLAGS_1 with zero flags.
32538
4e34ac6a
RM
32539 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32540 linker script munging.
32541
fcfc776b
UD
325422011-07-02 Ulrich Drepper <drepper@gmail.com>
32543
32544 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32545 as 128-bit value.
32546 * crypt/sha512.c (sha512_process_block): Perform total addition using
32547 128-bit if possible.
32548 (__sha512_finish_ctx): Likewise.
32549 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32550 as 64-bit value.
32551 * crypt/sha256.c (SWAP64): Define.
32552 (sha256_process_block): Perform total addition using 64-bit if
32553 possible.
32554 (__sha256_finish_ctx): Likewise.
32555
99231d9a
UD
325562011-07-01 Ulrich Drepper <drepper@gmail.com>
32557
32558 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32560 * nscd/hstcache.c (cache_addhst): Likewise.
32561 * nscd/grpcache.c (cache_addgr): Likewise.
32562 * nscd/aicache.c (addhstaiX): Likewise
32563 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32564
445b4a53
TK
325652011-07-01 Thorsten Kukuk <kukuk@suse.de>
32566
32567 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32568 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32569 * nscd/hstcache.c (cache_addhst): Likewise.
32570 * nscd/grpcache.c (cache_addgr): Likewise.
32571 * nscd/aicache.c (addhstaiX): Likewise
32572
6d4d8e8e
AS
325732011-07-01 Andreas Schwab <schwab@redhat.com>
32574
32575 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32576 domain only when needed.
32577
89f654c5
AS
325782011-06-30 Andreas Schwab <schwab@redhat.com>
32579
32580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32581 is always restored.
32582
cf3b23ff
UD
325832011-06-29 Ulrich Drepper <drepper@gmail.com>
32584
32585 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32586 are re-adding the entry.
32587 * nscd/servicescache.c (cache_addserv): Likewise.
32588
751626f9
AJ
325892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32590
32591 * sysdeps/generic/dl-irel.h: fix protection against multiple
32592 inclusions.
32593 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32594
9113ea1f
UD
325952011-06-28 Ulrich Drepper <drepper@gmail.com>
32596
5c0b8d90
UD
32597 [BZ #12935]
32598 * malloc/memusage.sh: Fix quoting in message.
32599 * debug/xtrace.sh: Likewise.
32600
9113ea1f
UD
32601 * configure.in: Remove support for --experimental-malloc option, make
32602 it the default.
32603 * config.make.in: Likewise.
32604 * malloc/Makefile: Likewise.
32605
a4172181
AS
326062011-06-27 Andreas Schwab <schwab@redhat.com>
32607
32608 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32609 two-byte characters.
32610
78a7eee7
RM
326112011-06-27 Roland McGrath <roland@hack.frob.com>
32612
62bede13
RM
32613 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32614 AC_CACHE_CHECK invocation.
32615 * configure: Regenerated.
32616
78a7eee7
RM
32617 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32618
5ce33a62
UD
326192011-06-27 Ulrich Drepper <drepper@gmail.com>
32620
034807a9
UD
32621 [BZ #12350]
32622 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32623 bit from old_res_options.
32624
4902da17
UD
32625 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32626
5ce33a62
UD
32627 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32628 value type for setfct.
32629
c2344f56
L
326302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32633 __gettimeofday instead of gettimeofday.
32634
68468076
UD
326352011-06-26 Ulrich Drepper <drepper@gmail.com>
32636
32637 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32638
acb0d739
L
326392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32640
32641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32642
32643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32644 info.
32645
8912479f
L
326462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32647
32648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32649 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32650 strcpy-sse2-unaligned strncpy-sse2-unaligned
32651 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32652 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32653 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32654 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32655 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32656 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32657 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32658 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32659 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32660 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32661 (STRCPY): Support SSE2 and SSSE3 versions.
32662
d5495a11
UD
326632011-06-24 Ulrich Drepper <drepper@gmail.com>
32664
32665 [BZ #12874]
32666 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32667 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32668 kernels which artificially limit size of requests.
32669
0b1cbaae
L
326702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32671
32672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32673 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32674 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32675 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32676 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32677 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32678 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32679 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32680 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32682 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32683 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32684 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32685 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32686 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32688 Enable unaligned load optimization for Intel Core i3, i5 and i7
32689 processors.
32690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32691 Define.
32692 (index_Fast_Unaligned_Load): Define.
32693 (HAS_FAST_UNALIGNED_LOAD): Define.
32694
07f494a0
MP
326952011-06-23 Marek Polacek <mpolacek@redhat.com>
32696
32697 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32698
fa3fc0fe
UD
326992011-06-22 Ulrich Drepper <drepper@gmail.com>
32700
32701 [BZ #12907]
32702 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32703 until it is clear that the information is realy needed.
32704 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32705
e12df166
AS
327062011-06-22 Andreas Schwab <schwab@redhat.com>
32707
32708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32709
852eb34d
UD
327102011-06-22 Ulrich Drepper <drepper@gmail.com>
32711
84e2a551
UD
32712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32713 /sys/devices/system/cpu/online if it is usable.
32714
852eb34d
UD
32715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32716 reading the information from the /proc filesystem to once a second.
32717
6e502e19
UD
327182011-06-21 Andreas Jaeger <aj@suse.de>
32719
32720 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32721 NULL after inclusion of kernel headers.
32722
75d39ff2
UD
327232011-06-21 Ulrich Drepper <drepper@gmail.com>
32724
51f9aa6a
UD
32725 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32726 calls to internal_setent.
32727
c0244a9d
UD
32728 [BZ #12885]
32729 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32730 addresses using gethostbyname4_r ignore IPv4 addresses.
32731
c5e3c2ae
UD
32732 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32733 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32734
75d39ff2
UD
32735 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32736
42675c6f
DM
327372011-06-20 David S. Miller <davem@davemloft.net>
32738
32739 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32740 inclusions.
32741 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32742
32743 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32744 (elf_irel): Use it.
32745 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32746 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32747 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32748 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32749 * sysdeps/x86_64/dl-irel.h: Likewise.
32750
32751 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32752 * elf/dl-sym.c: Likewise.
32753
57912a71
UD
327542011-06-15 Ulrich Drepper <drepper@gmail.com>
32755
32756 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32757 need to dereference resplen2.
32758
ee22793d
AS
327592011-06-14 Andreas Schwab <schwab@redhat.com>
32760
32761 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32762
a9e836b0
UD
327632011-06-15 Ulrich Drepper <drepper@gmail.com>
32764
77fb9117
UD
32765 * Makeconfig: Define vardbdir and inst_vardbdir.
32766 * nss/Makefile: Add rules to install db-Makefile.
32767
40c1b22c
UD
32768 * nss/nss_db/db-XXX.c: Cleanup.
32769
9f2da732
UD
32770 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32771 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32772 GLIBC_PRIVATE.
32773 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32774 * nss/makedb.c: Implement -g option to specify that value strings
32775 are generated and should not be added to table iterated over for
32776 get*ent calls.
32777 * nss/nss_db/db-initgroups.c: New file.
32778
82e9a1f7
UD
32779 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32780 interface.
32781
c41af17e
UD
32782 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32783 (internal_getgrouplist): Adjust to name change.
32784 Update use_initgroups_entry if this is not the first call.
32785 * nss/databases.def: Add initgroups entry.
32786
a9e836b0
UD
32787 * nss/makedb.c (compute_tables): Check result of multiple hash table
32788 sizes to minimize maximum chain length.
32789
2666d441
UD
327902011-06-14 Ulrich Drepper <drepper@gmail.com>
32791
32792 * Versions.def: Add entry for libnss_db.
32793 * shlib-versions: Likewise.
32794 * nss/Makefile: Add rules to build libnss_db.
32795 * nss/Versions: Add libnss_db information. Organize libnss_files
32796 entries better.
32797 * nss/db-Makefile: Add gshadow support. Change rules for the new
32798 makedb progra. Some minor improvements to generate smaller files.
32799 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32800 here from...
32801 * nss/makedb.c: ...here.
32802 Improve database format to be smaller and require less memory at
32803 runtime.
32804 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32805 db anymore.
32806 * nss/nss_db/db-netgrp.c: Likewise.
32807 * nss/nss_db/db-open.c: Likewise.
32808 * nss/nss_files/flies-XXX.x: Adjust comments.
32809 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32810 * nss/nss_files/files-grp.c: Likewise.
32811 * nss/nss_files/files-hosts.c: Likewise.
32812 * nss/nss_files/files-network.c: Likewise.
32813 * nss/nss_files/files-proto.c: Likewise.
32814 * nss/nss_files/files-pwd.c: Likewise.
32815 * nss/nss_files/files-rpc.c: Likewise.
32816 * nss/nss_files/files-service.c: Likewise.
32817 * nss/nss_files/files-sgrp.c: Likewise.
32818 * nss/nss_files/files-spwd.c: Likewise.
32819 * nss/nss_db/db-alias.c: Removed.
32820 * nss/nss_db/dummy-db.h: Removed.
32821
9ee76b5a
UD
328222011-06-02 Ulrich Drepper <drepper@gmail.com>
32823
32824 * nss/makedb.c: Rewritten to not use database library.
32825 * nss/Makefile: Update to build new makedb program.
32826
c71ca1f8
AJ
328272011-06-14 Andreas Jaeger <aj@suse.de>
32828
32829 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32830 memset declaration.
32831
3154bfb8
UD
328322011-06-10 Andreas Schwab <schwab@redhat.com>
32833
32834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32835 tmpbuf.
32836
b350afab
RM
328372011-06-10 Roland McGrath <roland@hack.frob.com>
32838
decd4e50
RM
32839 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32840 * elf/Makefile ($(objpfx)ld.so): Likewise.
32841
5615eaf2
RM
32842 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32843 Don't list ld.so twice in dependencies.
32844
32845 * posix/bug-regex31.c: Include <stdlib.h>.
32846
32847 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32848
32849 * nis/nss_compat/compat-spwd.c
32850 (getspent_next_nss_netgr): Remove unused variable.
32851 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32852
32853 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32854 nonmembers" output to use the right array.
32855
32856 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32857
32858 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32859
32860 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32861 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32862 * catgets/gencat.c (read_input_file): Likewise.
32863 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32864
32865 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32866 variable definition inside #if's controlling its use.
32867
32868 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32869
32870 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32871
32872 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32873
32874 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32875 unreachable code.
32876
32877 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32878
b68e08db
RM
32879 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32880 * configure: Regenerated.
32881
b350afab
RM
32882 * Makerules: Revert last change.
32883 * elf/Makefile: Likewise.
32884
28368601
RM
328852011-06-09 Roland McGrath <roland@hack.frob.com>
32886
32887 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32888 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32889 (reloc-link): Likewise.
32890
11988f8f
UD
328912011-06-09 Ulrich Drepper <drepper@gmail.com>
32892
32893 * elf/Makefile: Add rules to build pldd.
32894 * elf/pldd.c: New file.
32895 * elf/pldd-xx.c: New file.
32896
e80fab37
UD
328972011-06-07 Ulrich Drepper <drepper@gmail.com>
32898
32899 * version.h: Update for 2.15 development version.
32900
9b849836
DM
329012011-06-07 David S. Miller <davem@davemloft.net>
32902
32903 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32904 ifuncs.
32905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32906 elf_machine_lazy_rel): Likewise.
32907 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32909 elf_machine_lazy_rel): Likewise.
32910 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32911 dl_hwcap via passed in argument.
32912 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32913 Likewise.
32914
5a31b283
AK
329152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32916
32917 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32918
069e52f8
RM
329192011-06-06 Roland McGrath <roland@hack.frob.com>
32920
32921 [BZ #12849]
32922 * manual/fdl-1.1.texi: New file, verbatim from:
32923 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32924 * manual/lgpl-2.1.texi: New file, verbatim from:
32925 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32926 * manual/Makefile (licenses): New variable, list those new file names.
32927 (texis): Use it.
32928 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32929
32930 * manual/fdl.texi: File removed.
32931 * manual/lesser.texi: File removed.
32932 * manual/libc.texinfo (Copying, Documentation License):
32933 Use new @include file names, put @appendix directive before @include.
32934
f16846a5
JJ
329352011-06-04 Jakub Jelinek <jakub@redhat.com>
32936
32937 [BZ #12841]
32938 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32939 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32940 (mq_open): Add __NTH.
32941
3d29045b
L
329422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32943
32944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32945 Assume Intel Core i3/i5/i7 processor if AVX is available.
32946
8c297311
UD
329472011-05-31 Ulrich Drepper <drepper@gmail.com>
32948
32949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32950 typo.
32951
c8fc0c91
UD
329522011-05-31 Andreas Schwab <schwab@redhat.com>
32953
32954 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32955 memory. Use alloca_account. Fix memory leak when retrying.
32956
5b27a807
UD
329572011-05-31 Ulrich Drepper <drepper@gmail.com>
32958
356f8bc6
UD
32959 * version.h (RELEASE): Bump for 2.14 release.
32960 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32961
5b27a807
UD
32962 * config.make.in (RANLIB): Remove entry.
32963
01f16ab0
UD
329642011-05-30 Ulrich Drepper <drepper@gmail.com>
32965
41fce8bd
UD
32966 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32967 (libc.pot): Work around missing support for .ksh extension in xgettext.
32968
4769ae77
UD
32969 [BZ #12684]
32970 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32971 if both request failed.
32972 (send_dg): In case of server errors clear resplen or *resplen2.
32973
6b1e7d19
UD
32974 [BZ #12454]
32975 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32976 when there are multiple maps.
32977 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32978 (_dl_fini): Remove test here.
32979
01f16ab0
UD
32980 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32981
b1ebd700
UD
329822011-05-29 Ulrich Drepper <drepper@gmail.com>
32983
7ae22829
UD
32984 [BZ #12350]
32985 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32986 bit from old_res_options.
32987 (gaih_inet): Likewise.
32988
553149f6 32989 [BZ #11099]
18a84741 32990 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32991 as signed.
32992
652ffab1
UD
32993 * resolv/res_init.c (res_setoptions): Make the code more compact.
32994
16985fd0
UD
32995 [BZ #11558]
32996 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32997 set RES_USEVC.
32998
0464f746
UD
32999 [BZ #11634]
33000 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33001
7d17596c
UD
33002 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33003
cf6bbbd7
UD
33004 [BZ #11781]
33005 * malloc/malloc.h: Declare malloc hook variables as volatile.
33006
13f1ab36
UD
33007 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33008 in last patch.
33009
b1ebd700
UD
33010 [BZ #11799]
33011 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33012 raise in the comment.
80e2212d
UD
33013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33015 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33016
ce67228d
UD
330172011-05-28 Ulrich Drepper <drepper@gmail.com>
33018
8887a920
UD
33019 [BZ #12811]
33020 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33021 grow the buffers more if it already has to be sufficient.
33022 (build_wcs_upper_buffer): Likewise.
33023 * posix/regexec.c (check_matching): Likewise.
33024 (clean_state_log_if_needed): Likewise.
33025 (extend_buffers): Don't enlarge buffers beyond size of the input
33026 buffer.
33027 Patches mostly by Emil Wojak <emil@wojak.eu>.
33028 * posix/bug-regex32.c: New file.
33029 * posix/Makefile (tests): Add bug-regex32.
33030
4f031072
UD
33031 * locale/findlocale.c (_nl_find_locale): Return right away if
33032 _nl_explode_name failed.
33033 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33034
d0478f0c
UD
33035 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33036
de81b246
UD
33037 * debug/xtrace.sh: Unify messages.
33038 * malloc/memusage.sh: Likewise.
33039
c738465a
UD
33040 [BZ #12813]
33041 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33042 time symbol from vDSO. Substitute with vsyscall if not available.
33043 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33044 __vdso_time.
33045
f1f929d7
UD
33046 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33047 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33048 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33049 Add sendmmsg and internal_sendmmsg.
33050 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33051 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33052 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33053
ce67228d
UD
33054 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33055 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33056 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33057
e57420c6
UD
330582011-05-27 Ulrich Drepper <drepper@gmail.com>
33059
a8509ca5
UD
33060 [BZ #12813]
33061 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33062 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33063 available.
33064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33065 __vdso_getcpu.
33066
e57420c6
UD
33067 [BZ #12814]
33068 * iconvdata/Makefile (tests): Add bug-iconv9.
33069 * iconvdata/bug-iconv9.c: New file.
33070
4d07db15
AS
330712011-05-27 Andreas Schwab <schwab@redhat.com>
33072
33073 [BZ #12814]
33074 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33075
ea486f69
JJ
330762011-05-25 Jakub Jelinek <jakub@redhat.com>
33077
33078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33079 (struct user_regs_struct): Change intcs field back to cs.
33080
6f038433
UD
330812011-05-25 Ulrich Drepper <drepper@gmail.com>
33082
33083 * po/ja.po: Update from translation team.
33084
67f86a25
UD
330852011-05-23 Ulrich Drepper <drepper@gmail.com>
33086
33087 [BZ #12795]
33088 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33090
def7fbd6
AS
330912011-05-20 Andreas Schwab <schwab@redhat.com>
33092
33093 * stdlib/longlong.h: Update from GCC.
33094
f50ef8f1
AS
330952011-05-23 Andreas Schwab <schwab@redhat.com>
33096
33097 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33098 parameter name.
33099 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33100 Add parameter name.
33101 (__sysconf): Pass it down.
33102
de7ce8f1
UD
331032011-05-22 Ulrich Drepper <drepper@gmail.com>
33104
f2962a71
UD
33105 [BZ #12671]
33106 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33107 some situations.
33108 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33109 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33110 add in in __libc_use_alloca calls. Adjust callers.
33111 (glob): Use malloc in some situations.
33112
de7ce8f1
UD
33113 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33114 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33115 pltexit.
33116
aec84f53
UD
331172011-05-21 Ulrich Drepper <drepper@gmail.com>
33118
05bb4a68
UD
33119 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33120 and CLOCK_BOOTTIME_ALARM.
33121
7ea72f99
UD
33122 [BZ #12782]
33123 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33124 is returned.
33125
7e4afad5
UD
33126 * string/_strerror.c (__strerror_r): Print negative errors as signed
33127 numbers.
33128
8e211fec
UD
33129 [BZ #12777]
33130 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33131 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33132 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33133
f7d82dc9
UD
33134 * configure.in: Fix typo in redirection and correct removal of test
33135 files in two cases.
33136
cc9e536d
UD
33137 [BZ #12788]
33138 * locale/setlocale.c (new_composite_name): Fix test to check for
33139 identical name of all categories.
33140
aec84f53
UD
33141 [BZ #12792]
33142 * libio/filedoalloc.c (local_isatty): New function.
33143 (_IO_file_doallocate): Use local_isatty.
33144 * stdio-common/perror.c (perror): In case a new stream is used
33145 forward the stream error.
33146 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33147 error flag.
33148
78e64fdc
RT
331492011-05-20 Ulrich Drepper <drepper@gmail.com>
33150
34a9094f
UD
33151 [BZ #11869]
33152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33153 alloca.
33154 * include/alloca.h (extend_alloca_account): Define.
33155
78e64fdc
RT
33156 [BZ #11857]
33157 * posix/regex.h: Fix comments with documentation of user-accessible
33158 fields after compilation and describe correct free'ing of pattern
33159 after re_compile_pattern.
33160 Patch by Reuben Thomas <rrt@sc3d.org>.
33161
457bddfc
RA
331622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33163
33164 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33165 and -mno-altivec to prevent the compiler from using Altivec and/or
33166 VSX instructions when the corresponding registers are not available.
33167
a4527b51
AS
331682011-05-19 Andreas Schwab <schwab@redhat.com>
33169
33170 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33171
ed690b2f
UD
331722011-05-19 Ulrich Drepper <drepper@gmail.com>
33173
33174 * libio/freopen.c (freopen): Use __dup2, not dup2.
33175 * libio/freopen64.c (freopen64): Likewise.
33176
8db73634
L
331772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33178
33179 [BZ #12775]
33180 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33181 * math/Makefile (tests): Add test-powl.
33182 (CFLAGS-test-powl.c): Define.
33183 * math/test-powl.c: New file.
33184
0a197a9d
L
331852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33186
33187 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33188
ee30c380
UD
331892011-05-17 Ulrich Drepper <drepper@gmail.com>
33190
33191 [BZ #11837]
33192 * iconvdata/gb18030.c: Update to GB18020-2005.
33193
6ce75379
UD
331942011-05-16 Ulrich Drepper <drepper@gmail.com>
33195
a4b89fd8
AR
33196 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33197 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33198 Patch by Aharon Robbins <arnold@skeeve.com>.
33199
ea389b12
UD
33200 [BZ #11892]
33201 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33202 on the stack.
33203
68a3f91f
UD
33204 [BZ #11895]
33205 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33206 through underflows.
33207
15cc7dd1
UD
33208 [BZ #12766]
33209 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33210 point to strings before performing equality test for error_one_per_line
33211 mode.
33212
f3799213
UD
33213 [BZ #11697]
33214 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33215
d79a9c94
UD
33216 [BZ #11820]
33217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33218 (struct user_fpregs_struct): Avoid __uint*_t types.
33219
56e5eb46
UD
33220 [BZ #6420]
33221 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33222 symbol info. Use it instead of calling _dl_addr locally.
33223 (lock_and_info): New function.
33224 (tr_freehook): Call lock_and_info and pass symbol info as additional
33225 parameter to tr_where.
33226 (tr_mallochook): Likewise.
33227 (tr_reallochook): Likewise.
33228 (tr_memalignhook): Likewise.
33229
6ce75379
UD
33230 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33231 used and couldn't be at all thread-safe.
33232
f8a3b5bf
UD
332332011-05-15 Ulrich Drepper <drepper@gmail.com>
33234
94b7cc37
UD
33235 * libio/freopen.c (freopen): Don't close old file descriptor
33236 before the new one is opened. Instead dup the new file descriptor
33237 to the old one after the new stream is created.
33238 * libio/freopen64.c (freopen64): Likewise.
33239 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33240 * libio/fileops.c (_IO_new_file_close_it): Handle new
33241 _IO_FLAGS2_NOCLOSE flag.
33242 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33243 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33244 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33245 _IO_FLAGS2_NOCLOSE flag.
33246 * include/unistd.h: Add hidden_proto for dup3.
33247 Define __have_dup3.
33248 * io/dup3.c: Define hidden symbol.
33249 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33250
bd25564e
UD
33251 [BZ #7101]
33252 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33253 when an incomplete long option is used.
33254 * posix/tst-getopt_long1.c: New file.
33255 * posix/Makefile (tests): Add tst-getopt_long1.
33256
c84cfef4
UD
33257 [BZ #10138]
33258 * scripts/config.guess: Update from autoconf-2.68.
33259 * scripts/config.sub: Likewise.
33260
3b85df27
UD
33261 [BZ #10157]
33262 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33263 tests into ...
33264 (has_cpuclock): ...this. New function.
33265 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33266 macro here based on has_cpuclock code.
33267
15a856b1
UD
33268 [BZ #10149]
33269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33270 First byte (not low byte) is now always NUL.
33271 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33272
05f399e6
UD
33273 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33274 Use non-cancelable interfaces.
33275
10a52685 33276 [BZ #9809]
94ecc67d
UD
33277 * locale/iso-639.def: Add entry for Sorani.
33278
f8a3b5bf
UD
33279 [BZ #11901]
33280 * include/stdlib.h: Move include protection to the right place.
33281 Define abort_msg_s. Declare __abort_msg with it.
33282 * stdlib/abort.c (__abort_msg): Adjust type.
33283 * assert/assert.c (__assert_fail_base): New function. Majority
33284 of code from __assert_fail. Allocate memory for __abort_msg with
33285 mmap.
33286 (__assert_fail): Now call __assert_fail_base.
33287 * assert/assert-perr.c: Remove bulk of implementation. Use
33288 __assert_fail_base.
33289 * include/assert.hL Declare __assert_fail_base.
33290 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33291 mmap.
33292 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33293
1af4e298
UD
332942011-05-14 Ulrich Drepper <drepper@gmail.com>
33295
f8a3b5bf 33296 [BZ #11952]
d26dfc60
MG
33297 [BZ #12453]
33298 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33299 until all modules are registered in the DTV.
33300 * elf/Makefile: Add rules to build and run tst-tls19.
33301 * elf/tst-tls19.c: New file.
33302 * elf/tst-tls19mod1.c: New file.
33303 * elf/tst-tls19mod2.c: New file.
33304 * elf/tst-tls19mod3.c: New file.
33305 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33306
2fc54d6f
UD
33307 [BZ #12083]
33308 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33309 correctly.
33310
98d76b46
UD
33311 [BZ #12601]
33312 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33313 two-byte sequence errors.
33314 * iconvdata/Makefile (tests): Add bug-iconv8.
33315 * iconvdata/bug-iconv8.c: New file.
33316
da3c19ef
UD
33317 [BZ #12626]
33318 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33319 buf2 definition.
33320
ca408c15
UD
33321 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33322
d6f67f7d
UD
33323 [BZ #12432]
33324 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33325 (dummy_getcfa): New function.
33326 (init): Get _Unwind_GetCFA address, use dummy if not found.
33327 (backtrace_helper): In recursion check, also check whether CFA changes.
33328 (__backtrace): Completely initialize arg.
33329
1af4e298 33330 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33331 storing incomplete byte sequence in state object. Avoid testing for
33332 guaranteed too small input if we know there is enough data available.
1af4e298 33333
da62f81b
AS
333342011-05-11 Andreas Schwab <schwab@redhat.com>
33335
33336 * Makeconfig (+link-pie): Indent.
33337 * Rules (binaries-pie): Define if $(have-fpie) and
33338 $(build-shared).
33339 (binaries-shared): Also filter out $(binaries-pie).
33340 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33341 * nscd/Makefile (others-pie): Add nscd.
33342 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33343 ($(objpfx)nscd): Remove command override.
33344 * login/Makefile (others-pie): Add pt_chown.
33345 ($(objpfx)pt_chown): Remove command override.
33346 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33347 remove command overrides.
33348
fcabc0f8
UD
333492011-05-13 Ulrich Drepper <drepper@gmail.com>
33350
20030ae6
UD
33351 * libio/tst_putwc.c: Fix error messages.
33352
fcabc0f8
UD
33353 [BZ #12724]
33354 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33355 currently writing and seek to current position when not.
33356 * libio/Makefile (tests): Add bug-fclose1.
33357 * libio/bug-fclose1.c: New file.
33358
320a5dc0
PB
333592011-05-12 Ulrich Drepper <drepper@gmail.com>
33360
33361 [BZ #12511]
33362 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33363 don't set DF_1_NODELETE here.
33364 (do_lookup_x): When entering new entry test for copy relocation
33365 and if necessary set DF_1_NODELETE flag.
33366 * elf/tst-unique4.cc: New file.
33367 * elf/tst-unique4.h: New file.
33368 * elf/tst-unique4lib.cc: New file.
33369 * elf/Makefile: Add rules to build and run tst-unique4.
33370 Patch by Piotr Bury <pbury@goahead.com>.
33371
22836f52
UD
333722011-05-11 Ulrich Drepper <drepper@gmail.com>
33373
f574184a
UD
33374 [BZ #12052]
33375 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33376
e1fb097f
UD
33377 [BZ #12625]
33378 * misc/mntent_r.c (addmntent): Flush the stream after the output
33379
22836f52
UD
33380 [BZ #12393]
33381 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33382 (is_trusted_path_normalize): Skip initial colon. Append slash
33383 to empty buffer. Duplicate is_trusted_path code but allow
33384 constructed patch to be prefix.
33385 (is_dst): Allow $ORIGIN followed by /.
33386 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33387 Correct testing of result of is_trusted_path_normalize
33388 (decompose_rpath): Fix warning.
33389
7b3b0b2a
UD
333902011-05-10 Ulrich Drepper <drepper@gmail.com>
33391
33392 [BZ #11257]
33393 * grp/initgroups.c (internal_getgrouplist): When we found the service
33394 list through the initgroups entry in nsswitch.conf do not always
33395 continue on a successful lookup. Don't always use the
eac80ce2 33396 __nss_group_database value if it is set.
7b3b0b2a
UD
33397 * nss/nsswitch.conf (initgroups): Change action for successful db
33398 lookup to continue for compatibility.
33399
2a81eaa5
UD
334002011-05-09 Ulrich Drepper <drepper@gmail.com>
33401
be97a69e
UD
33402 [BZ #11532]
33403 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33404 and CP774 modules.
33405 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33406 and CP774 modules.
33407 * iconvdata/tst-tables.sh: Likewise.
33408 * iconvdata/cp770.c: New file.
33409 * iconvdata/cp771.c: New file.
33410 * iconvdata/cp772.c: New file.
33411 * iconvdata/cp773.c: New file.
33412 * iconvdata/cp774.c: New file.
33413 * iconvdata/testdata/CP770: New file.
33414 * iconvdata/testdata/CP770..UTF8: New file.
33415 * iconvdata/testdata/CP771: New file.
33416 * iconvdata/testdata/CP771..UTF8: New file.
33417 * iconvdata/testdata/CP772: New file.
33418 * iconvdata/testdata/CP772..UTF8: New file.
33419 * iconvdata/testdata/CP773: New file.
33420 * iconvdata/testdata/CP773..UTF8: New file.
33421 * iconvdata/testdata/CP774: New file.
33422 * iconvdata/testdata/CP774..UTF8: New file.
33423
33424 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33425 END CHARMAP line.
33426 * iconvdata/gen-8bit-gap.sh: Likewise.
33427 * iconvdata/gen-8bit.sh: Likewise.
33428
c1e9e399
UD
33429 * locale/iso-639.def: Add ary entry.
33430
24c55fb3 33431 [BZ #11258]
96b4b1b0
UD
33432 * locale/C-translit.h.in: Add U20A1 transliteration.
33433
bdc2f971
KB
33434 [BZ #12178]
33435 * locale/iso-639.def: Add wae entry.
33436 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33437
2952b117
UD
33438 [BZ #12545]
33439 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33440 for n.
33441
2a81eaa5
UD
33442 [BZ #12711]
33443 * locale/C-translit.h.in: Add entry for U20B9.
33444 Patch by pravin.d.s@gmail.com.
33445
28377d1b
UD
334462011-05-08 Ulrich Drepper <drepper@gmail.com>
33447
7fb90fb8
UD
33448 [BZ #12713]
33449 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33450 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33451 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33452 in rtld. Use *stat64.
7fb90fb8 33453 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33454 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33455 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33456 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33457 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33458 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33459 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33460 __fstatat64 macros.
7fb90fb8
UD
33461 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33462 * dirent/rewinddir.c: Add libc_hidden_def.
33463 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33464 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33465
28377d1b
UD
33466 * include/dirent.h (__alloc_dir): Add flags parameter.
33467 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33468 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33469 __alloc_dir.
33470 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33471 from fdopendir if O_CLOEXEC is already set.
33472
66bdbaa4
AM
334732011-03-15 Alan Modra <amodra@gmail.com>
33474
33475 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33476 l_tls_firstbyte_offset non-zero. Save padding offset in
33477 l_tls_firstbyte_offset for later use.
33478 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33479 freeing static tls block.
33480
95721191
JN
334812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33482
33483 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33484 where #ifdef was intended. The intent is to prevent ARG_MAX from
33485 being defined by the kernel headers.
33486
f87dfb1f
UD
334872011-05-07 Ulrich Drepper <drepper@gmail.com>
33488
33489 [BZ #12734]
33490 * resolv/resolv.h: Define RES_NOTLDQUERY.
33491 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33492 no-tld-query and set RES_NOTLDQUERY.
33493 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33494 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33495 modern BIND to search name as TLD unless forbidden.
33496
47c3cd7a
UD
334972011-05-07 Petr Baudis <pasky@suse.cz>
33498 Ulrich Drepper <drepper@gmail.com>
33499
33500 [BZ #12393]
33501 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33502 (is_trusted_path): ...to here.
c1e9ea35 33503 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33504 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33505 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33506
8a35c912
PP
335072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33508
33509 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33510 __BEGIN/__END_DECLS.
33511
acd41f47
UD
335122011-05-06 Ulrich Drepper <drepper@gmail.com>
33513
33514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33515 NSS_STATUS_NOTFOUND if no record was found.
33516
597df647
AS
335172011-05-05 Andreas Schwab <schwab@redhat.com>
33518
33519 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33520 (headers-not-in-tirpc): Remove rpc/netdb.h
33521 * resolv/netdb.h: Revert last change.
33522
b9af1301
PP
335232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33524
33525 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33526 circular dependency between libgcc.a and libc.a.
33527
4e34d5f5
AS
335282011-05-05 Andreas Schwab <schwab@redhat.com>
33529
33530 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33531 * nis/Makefile: Don't install rpcsvc/*.
33532 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33533 instead of <rpc/types.h>.
33534 (MAXHOSTNAMELEN): Define.
33535
00ee369c
AS
335362011-05-03 Andreas Schwab <schwab@redhat.com>
33537
33538 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33539
0b592a30
MB
335402011-04-28 Maciej Babinski <mbabinski@google.com>
33541
33542 [BZ #12714]
33543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33544 gethostbyname4_r when IPv6 results are possible.
33545
6e04cbbe
UD
335462011-05-02 Ulrich Drepper <drepper@gmail.com>
33547
33548 [BZ #12723]
33549 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33550 _PC_PIPE_BUF handling.
33551
e4ecafe0
BH
335522011-04-30 Bruno Haible <bruno@clisp.org>
33553
33554 [BZ #12717]
33555 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33556 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33557 to 'int'.
33558 * inet/getnameinfo.c (getnameinfo): Likewise.
33559
125ee683
UD
335602011-04-29 Ulrich Drepper <drepper@gmail.com>
33561
33562 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33563 to groups setting in database lookup.
33564 * nss/nsswitch.conf: Add initgroups entry.
33565
b722481a
EB
335662011-04-22 Ulrich Drepper <drepper@gmail.com>
33567
33568 [BZ #12685]
33569 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33570 mode string.
33571 Patch by Eric Blake <eblake@redhat.com>.
33572
4df46dbd
L
335732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33574
33575 * sunrpc/Makefile (need-export-routines): Add svc_run.
33576 (routines): Remove svc_run.
33577 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33578 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33579 * sunrpc/svc_run.c (svc_run): Likewise.
33580 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33581
e84142d2
UD
335822011-04-21 Ulrich Drepper <drepper@gmail.com>
33583
33584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33585 problem in reallocation in last patch.
33586
877175d8
UD
335872011-04-20 Ulrich Drepper <drepper@gmail.com>
33588
33589 * sunrpc/Makefile: Move inclusion of Rules.
33590
ab8eed78
UD
335912011-04-19 Ulrich Drepper <drepper@gmail.com>
33592
33593 * nss/nss_files/files-initgroups.c: New file.
33594 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33595 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33596 _nss_files_initgroups_dyn.
33597
e3d8f584
RS
335982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33599
33600 * elf/elf.h (R_ARM_IRELATIVE): Define.
33601
af190f45
UD
336022011-04-19 Ulrich Drepper <drepper@gmail.com>
33603
33604 * po/ru.po: Update from translation team.
33605
53cf59ef
UD
336062011-04-17 Ulrich Drepper <drepper@gmail.com>
33607
33608 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33609 dependencies.
33610
4c559bcd
MF
336112011-02-06 Mike Frysinger <vapier@gentoo.org>
33612
33613 [BZ #12653]
33614 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33615 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33618 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33619
4420675c
AS
336202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33621
33622 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33623 differing bytes.
33624 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33627
75ea32ab
UD
336282011-04-17 Ulrich Drepper <drepper@gmail.com>
33629
33630 [BZ #12420]
33631 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33632 storing it.
33633 * stdlib/bug-getcontext.c: New file.
33634 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33635
27390476
AK
336362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33637
33638 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33639 instructions into .machine "z9-109".
33640 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33641 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33642
10442705
AK
336432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33644
33645 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33646 between environment variables and auxiliary vector.
33647
7b57bfe5
UD
336482011-04-16 Ulrich Drepper <drepper@gmail.com>
33649
33650 * Makefile: Add rules to build linkobj/libc.so.
33651 * include/libc-symbols.h: Define libc_hidden_nolink.
33652 * include/rpc/auth.h: Mark functions which are to be hidden.
33653 * include/rpc/auth_des.h: Likewise.
33654 * include/rpc/auth_unix.h: Likewise.
33655 * include/rpc/clnt.h: Likewise.
33656 * include/rpc/des_crypt.h: Likewise.
33657 * include/rpc/key_prot.h: Likewise.
33658 * include/rpc/pmap_clnt.h: Likewise.
33659 * include/rpc/pmap_prot.h: Likewise.
33660 * include/rpc/pmap_rmt.h: Likewise.
33661 * include/rpc/rpc_msg.h: Likewise.
33662 * include/rpc/svc.h: Likewise.
33663 * include/rpc/svc_auth.h: Likewise.
33664 * include/rpc/xdr.h: Likewise.
33665 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33666 * nss/Makefile: Likewise.
33667 * sunrpc/Makefile: Don't install headers. Build library with normal
33668 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33669 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33670 for the compat linking library. Remove use of INTDEF/INTUSE.
33671 * sunrpc/auth_none.c: Likewise.
33672 * sunrpc/auth_unix.c: Likewise.
33673 * sunrpc/authdes_prot.c: Likewise.
33674 * sunrpc/authuxprot.c: Likewise.
33675 * sunrpc/clnt_gen.c: Likewise.
33676 * sunrpc/clnt_perr.c: Likewise.
33677 * sunrpc/clnt_raw.c: Likewise.
33678 * sunrpc/clnt_simp.c: Likewise.
33679 * sunrpc/clnt_tcp.c: Likewise.
33680 * sunrpc/clnt_udp.c: Likewise.
33681 * sunrpc/clnt_unix.c: Likewise.
33682 * sunrpc/des_crypt.c: Likewise.
33683 * sunrpc/des_soft.c: Likewise.
33684 * sunrpc/get_myaddr.c: Likewise.
33685 * sunrpc/key_call.c: Likewise.
33686 * sunrpc/key_prot.c: Likewise.
33687 * sunrpc/netname.c: Likewise.
33688 * sunrpc/pm_getmaps.c: Likewise.
33689 * sunrpc/pm_getport.c: Likewise.
33690 * sunrpc/pmap_clnt.c: Likewise.
33691 * sunrpc/pmap_prot.c: Likewise.
33692 * sunrpc/pmap_prot2.c: Likewise.
33693 * sunrpc/pmap_rmt.c: Likewise.
33694 * sunrpc/publickey.c: Likewise.
33695 * sunrpc/rpc_cmsg.c: Likewise.
33696 * sunrpc/rpc_common.c: Likewise.
33697 * sunrpc/rpc_dtable.c: Likewise.
33698 * sunrpc/rpc_prot.c: Likewise.
33699 * sunrpc/rpc_thread.c: Likewise.
33700 * sunrpc/rtime.c: Likewise.
33701 * sunrpc/svc.c: Likewise.
33702 * sunrpc/svc_auth.c: Likewise.
33703 * sunrpc/svc_authux.c: Likewise.
33704 * sunrpc/svc_raw.c: Likewise.
33705 * sunrpc/svc_run.c: Likewise.
33706 * sunrpc/svc_simple.c: Likewise.
33707 * sunrpc/svc_tcp.c: Likewise.
33708 * sunrpc/svc_udp.c: Likewise.
33709 * sunrpc/svc_unix.c: Likewise.
33710 * sunrpc/svcauth_des.c: Likewise.
33711 * sunrpc/xcrypt.c: Likewise.
33712 * sunrpc/xdr.c: Likewise.
33713 * sunrpc/xdr_array.c: Likewise.
33714 * sunrpc/xdr_float.c: Likewise.
33715 * sunrpc/xdr_intXX_t.c: Likewise.
33716 * sunrpc/xdr_mem.c: Likewise.
33717 * sunrpc/xdr_rec.c: Likewise.
33718 * sunrpc/xdr_ref.c: Likewise.
33719 * sunrpc/xdr_sizeof.c: Likewise.
33720 * sunrpc/xdr_stdio.c: Likewise.
33721
e6c61494
UD
337222011-04-10 Ulrich Drepper <drepper@gmail.com>
33723
33724 [BZ #12650]
33725 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33726 * sysdeps/ia64/dl-tls.h: Likewise.
33727 * sysdeps/powerpc/dl-tls.h: Likewise.
33728 * sysdeps/s390/dl-tls.h: Likewise.
33729 * sysdeps/sh/dl-tls.h: Likewise.
33730 * sysdeps/sparc/dl-tls.h: Likewise.
33731 * sysdeps/x86_64/dl-tls.h: Likewise.
33732 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33733
34fe483e
AS
337342011-03-14 Andreas Schwab <schwab@redhat.com>
33735
33736 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33737 rpath element also skip the following colon.
33738 (expand_dynamic_string_token): Add is_path parameter and pass
33739 down to DL_DST_REQUIRED and _dl_dst_substitute.
33740 (decompose_rpath): Call expand_dynamic_string_token with
33741 non-zero is_path. Ignore empty rpaths.
33742 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33743 with zero is_path.
33744
f12a32e6
AS
337452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33746
33747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33748 Make cancelable.
33749
38a7d692
UD
337502011-04-09 Ulrich Drepper <drepper@gmail.com>
33751
33752 [BZ #12655]
33753 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33754 Patch by Filipe David Manana <fdmanana@apache.org>.
33755
e451d22b
AS
337562011-04-07 Andreas Schwab <schwab@redhat.com>
33757
33758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33759 Maintain aligned stack.
33760 (CHECK_RSP): Remove unused macro.
33761
dedc7c7b
UD
337622011-04-03 Ulrich Drepper <drepper@gmail.com>
33763
33764 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33766
94521213
UD
337672011-04-02 Ulrich Drepper <drepper@gmail.com>
33768
33769 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33770
8cb700c0 33771 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33772
0354e355
L
337732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33774
33775 [BZ #12518]
33776 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33777 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33778 * sysdeps/x86_64/memmove.c: New file.
33779 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33780 (memcpy): Renamed to ...
33781 (__new_memcpy): This.
33782 (memcpy): Provide GLIBC_2_14 memcpy.
33783 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33784 (memcpy): Provide GLIBC_2_2_5 memcpy.
33785
8593482f
UD
337862011-04-01 Ulrich Drepper <drepper@gmail.com>
33787
33788 [BZ #12631]
33789 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33790
81a5726b
AS
337912011-03-30 Andreas Schwab <schwab@redhat.com>
33792
33793 * misc/syncfs.c: New file.
33794 * misc/Makefile (routines): Add syncfs.
33795 * posix/unistd.h: Declare syncfs.
33796 * sysdeps/unix/syscalls.list: Add syncfs.
33797
00e5419f
AS
337982011-04-01 Andreas Schwab <schwab@redhat.com>
33799
33800 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33801 open_by_handle_at.
33802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33803 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33807 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33809
748876bf
UD
338102011-04-01 Ulrich Drepper <drepper@gmail.com>
33811
658e451d
UD
33812 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33813 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33814 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33819
748876bf
UD
33820 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33821 sync_file_range.c with -fexceptions.
33822 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33823 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33824 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33825 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33826 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33827 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33829 sync_file_range as cancellation point
33830 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33831 now a wrapper around __call_sync_file_range with cancellation handling.
33832 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33833 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33834 function name to __call_sync_file_range.
33835 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33836 Add call_sync_file_range.
748876bf 33837
6e63d5e1
AS
338382011-04-01 Andreas Schwab <schwab@redhat.com>
33839
33840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33841 bits/timex.h.
6e63d5e1 33842
46998f74
UD
338432011-04-01 Ulrich Drepper <drepper@gmail.com>
33844
4c1423ed
UD
33845 * iconv/iconv.h: Fix typo in comment.
33846 * io/fcntl.h: Likewise.
33847 * libio/stdio.h: Likewise.
33848 * posix/spawn.h: Likewise.
33849 * posix/unistd.h: Likewise.
33850 * stdlib/stdlib.h: Likewise.
33851 * time/time.h: Likewise.
33852 * wcsmbs/wchar.h: Likewise.
33853
158648c0
UD
33854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33855 open_by_handle): Add.
33856 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33857 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33858 Augment a few comments.
33859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33864 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33865 open_by_handle.
33866
46998f74
UD
33867 * io/fcntl.h (AT_EMPTY_PATH): Define.
33868
83fe108b
UD
338692011-03-30 Ulrich Drepper <drepper@gmail.com>
33870
33871 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33872 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33873 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33874 to...
33875 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33876 * Versions.def: Add GLIBC_2.14.
33877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33878 Export.
83fe108b 33879
bb242059
UD
338802011-03-22 Ulrich Drepper <drepper@gmail.com>
33881
33882 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33883 round counter.
33884 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33885
c97a1282
L
338862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33887
33888 [BZ #12597]
33889 * string/test-strncmp.c (do_page_test): New function.
33890 (check2): Likewise.
33891 (test_main): Call check2.
33892 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33893
2a115601
UD
338942011-03-20 Ulrich Drepper <drepper@gmail.com>
33895
33896 [BZ #12587]
33897 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33898 Handle cache information in CPU leaf 4.
33899 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33900
8126d904
UD
339012011-03-18 Ulrich Drepper <drepper@gmail.com>
33902
042c49c6 33903 [BZ #12583]
8126d904
UD
33904 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33905 character representation.
33906 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33907
ccfe366e
RA
339082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33909
33910 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33911 END(__isnan) to END(__isnanf) to match function entry point/label
33912 EALIGN(__isnanf,...).
33913
c6e13027
JJ
339142011-03-10 Jakub Jelinek <jakub@redhat.com>
33915
33916 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33917
33f85a3f
UD
339182011-03-10 Ulrich Drepper <drepper@gmail.com>
33919
028478fa
UD
33920 [BZ #12510]
33921 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33922 copy from the symbol referenced in the relocation to initialize the
33923 used variable.
33924 Patch by Piotr Bury <pbury@goahead.com>.
33925 * elf/Makefile: Add rules to build and tst-unique3.
33926 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33927 * elf/tst-unique3.cc: New file.
33928 * elf/tst-unique3.h: New file.
33929 * elf/tst-unique3lib.cc: New file.
33930 * elf/tst-unique3lib2.cc: New file.
33931
33f85a3f
UD
33932 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33933
03592fc7
MF
339342011-03-10 Mike Frysinger <vapier@gentoo.org>
33935
33936 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33937 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33938 to _start.
03592fc7 33939
6a5ee102
UD
339402011-03-06 Ulrich Drepper <drepper@gmail.com>
33941
33942 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33943 to-be-loaded object along a path to loader is ld.so.
33944
7e4ba49c
HJ
339452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33946 Ulrich Drepper <drepper@gmail.com>
33947
33948 * sysdeps/x86_64/memset.S: After aligning destination, code
33949 branches to different locations depending on the value of
33950 misalignment, when multiarch is enabled. Fix this.
33951
339522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33953
33954 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33955 Set _x86_64_preferred_memory_instruction for AMD processsors.
33956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33957 Set bit_Prefer_SSE_for_memop for AMD processors.
33958
13a804de
UD
339592011-03-04 Ulrich Drepper <drepper@gmail.com>
33960
33961 * libio/fmemopen.c (fmemopen): Optimize a bit.
33962
9d25c392
AS
339632011-03-03 Andreas Schwab <schwab@redhat.com>
33964
33965 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33966
a5543c6a
RM
339672011-03-03 Roland McGrath <roland@redhat.com>
33968
33969 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33970
012d35f7
DM
339712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33972
7e4ba49c 33973 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33974 __bzero_ultra1 instead of __memset_ultra1.
33975
4bff6e01
AS
339762011-02-23 Andreas Schwab <schwab@redhat.com>
33977 Ulrich Drepper <drepper@gmail.com>
33978
33979 [BZ #12509]
33980 * include/link.h (struct link_map): Add l_orig_initfini.
33981 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33982 returning unsuccessfully.
33983 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33984 close of a file loaded at startup, restore the original l_initfini
33985 list.
33986 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33987 list, store the pointer.
33988 * elf/Makefile ($(objpfx)noload-mem): New rule.
33989 (noload-ENV): Define.
33990 (tests): Add $(objpfx)noload-mem.
33991 * elf/noload.c: Include <memcheck.h>.
33992 (main): Call mtrace. Close all opened handles.
33993
f2092faf
AS
339942011-02-17 Andreas Schwab <schwab@redhat.com>
33995
33996 [BZ #12454]
33997 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33998 dependencies are missing.
33999
6c8a2e88
ST
340002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34001
f2092faf 34002 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34003 Hurd needs munmap.
34004 * sysdeps/mach/hurd/ifreq.h: New file.
34005
84a42118
PB
340062011-01-27 Petr Baudis <pasky@suse.cz>
34007 Ulrich Drepper <drepper@gmail.com>
34008
071f805e 34009 [BZ 12445]#
84a42118
PB
34010 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34011 to extend_alloca().
34012 * stdio-common/bug23.c: New file.
34013 * stdio-common/Makefile (tests): Add bug23.
34014
e23fe25b
AS
340152010-09-28 Andreas Schwab <schwab@redhat.com>
34016 Ulrich Drepper <drepper@gmail.com>
34017
34018 [BZ #12489]
34019 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34020 before performing relro protection. At old place add assertion
34021 to make sure nothing changed.
34022
d3f02e10
NS
340232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34024 Glauber de Oliveira Costa <glommer@gmail.com>
34025
34026 * elf/elf.h: Add new ARM TLS relocs.
34027
d55fd7a5
RA
340282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34029
34030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34031 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34032 cast from r3.
34033 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34034 'tests' variable.
34035 * sysdeps/wordsize-64/tst-writev.c: New file.
34036
2206397e
RA
340372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34038
34039 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34040 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34041 insns in _dl_start to prevent a TOC reference before relocs are
34042 resolved.
34043
e9433893
UD
340442011-02-15 Ulrich Drepper <drepper@gmail.com>
34045
34046 [BZ #12469]
34047 * Makeconfig: Remove RANLIB definition.
34048 * Makerules: Don't use RANLIB.
34049 * aclocal.m4: Remove ranlib test.
34050 * configure.in: No need to check for ranlib.
34051 * elf/rtld-Rules: Don't use RANLIB.
34052
f75286c6
ST
340532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34054
8e31c82d
ST
34055 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34056 protection macro.
34057 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34058 inclusion protection macro.
34059
f75286c6
ST
34060 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34061 SIGRTMIN and SIGRTMAX and print information in that case only when
34062 SIGRTMIN is defined.
34063
c1d0e639
JJ
340642011-02-11 Jakub Jelinek <jakub@redhat.com>
34065
34066 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34067 arginfo fn returning -1.
34068
34069 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34070 and thousands string is zero terminated.
34071
edf9294e
AS
340722011-02-03 Andreas Schwab <schwab@redhat.com>
34073
34074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34075 sysdeps/unix/sysv/linux/bits/socket.h.
34076
2b7e92df
ST
340772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34078
edf9294e
AS
34079 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34080 (__CPU_COUNT): Remove old macros.
34081 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34082 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34083 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34084 (__sched_cpualloc, __sched_cpufree): Add declarations.
34085
a4c7ea7b
UD
340862011-02-05 Ulrich Drepper <drepper@gmail.com>
34087
34088 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34089 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34090 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34091 (readdhstai): Return value of addhstaiX call.
34092 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34093 (addgrbyX): Return value returned by cache_addgr.
34094 (readdgrbyname): Return value returned by addgrbyX.
34095 (readdgrbygid): Likewise.
34096 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34097 (addpwbyX): Return value returned by cache_addpw.
34098 (readdpwbyname): Return value returned by addhstbyX.
34099 (readdpwbyuid): Likewise.
34100 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34101 (addservbyX): Return value returned by cache_addserv.
34102 (readdservbyname): Return value returned by addservbyX:
34103 (readdservbyport): Likewise.
34104 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34105 (addhstbyX): Return value returned by cache_addhst.
34106 (readdhstbyname): Return value returned by addhstbyX.
34107 (readdhstbyaddr): Likewise.
34108 (readdhstbynamev6): Likewise.
34109 (readdhstbyaddrv6): Likewise.
34110 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34111 (readdinitgroups): Return value returned by addinitgroupsX.
34112 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34113 (prune_cache): Keep track of timeout value of re-added entries.
34114 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34115 * nscd/nscd.h: Adjust prototypes of readd* functions.
34116
a0bf67cc
RM
341172011-02-04 Roland McGrath <roland@redhat.com>
34118
34119 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34120 (nis_stats): Likewise.
34121 * nis/nis_modify.c (nis_modify): Likewise.
34122 * nis/nis_remove.c (nis_remove): Likewise.
34123 * nis/nis_add.c (nis_add): Likewise.
34124
34125 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34126
34127 * posix/fnmatch_loop.c: Add some consts.
34128
34129 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34130
435b95eb
L
341312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34132
34133 [BZ #12460]
34134 * config.make.in (config-cflags-novzeroupper): Define.
34135 * configure.in: Substitute libc_cv_cc_novzeroupper.
34136 * elf/Makefile (AVX-CFLAGS): Define.
34137 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34138 (CFLAGS-tst-auditmod4a.c): Likewise.
34139 (CFLAGS-tst-auditmod4b.c): Likewise.
34140 (CFLAGS-tst-auditmod6b.c): Likewise.
34141 (CFLAGS-tst-auditmod6c.c): Likewise.
34142 (CFLAGS-tst-auditmod7b.c): Likewise.
34143 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34144
8517b15e
UD
341452011-02-02 Ulrich Drepper <drepper@gmail.com>
34146
34147 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34148 function to the callback.
34149 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34150
10a656fe
AS
341512011-02-02 Andreas Schwab <schwab@redhat.com>
34152
34153 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34154 of errno.
34155
968dad0a
UD
341562011-01-19 Ulrich Drepper <drepper@gmail.com>
34157
9f94d2ea 34158 [BZ #11724]
968dad0a
UD
34159 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34160 of constructors.
34161 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34162 of destructors.
34163 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34164
34165 [BZ #11724]
34166 * elf/Makefile: Add rules to build and run new test.
34167 * elf/tst-initorder.c: New file.
34168 * elf/tst-initorder.exp: New file.
34169 * elf/tst-initordera1.c: New file.
34170 * elf/tst-initordera2.c: New file.
34171 * elf/tst-initordera3.c: New file.
34172 * elf/tst-initordera4.c: New file.
34173 * elf/tst-initorderb1.c: New file.
34174 * elf/tst-initorderb2.c: New file.
34175 * elf/tst-order-a1.c: New file.
34176 * elf/tst-order-a2.c: New file.
34177 * elf/tst-order-a3.c: New file.
34178 * elf/tst-order-a4.c: New file.
34179 * elf/tst-order-b1.c: New file.
34180 * elf/tst-order-b2.c: New file.
34181 * elf/tst-order-main.c: New file.
34182 New test case by George Gensure <werkt0@gmail.com>.
34183
86e92359
UD
341842010-10-01 Andreas Schwab <schwab@redhat.com>
34185
34186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34187 decoding ACE if AI_CANONIDN.
34188
5d5732b0
UD
341892011-01-18 Ulrich Drepper <drepper@gmail.com>
34190
34191 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34192
a77e8cbc
UD
341932011-01-17 Ulrich Drepper <drepper@gmail.com>
34194
6392473f
UD
34195 * version.h (RELEASE): Bump for 2.13 release.
34196 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34197
620a0529
UD
34198 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34199
18ba70a5
UD
34200 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34201 MADV_NOHUGEPAGE.
32465c3e
UD
34202 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34203 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34207 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34208
c0dafcf1
UD
34209 * posix/getconf.c: Update copyright year.
34210 * catgets/gencat.c: Likewise.
34211 * csu/version.c: Likewise.
34212 * debug/catchsegv.sh: Likewise.
34213 * debug/xtrace.sh: Likewise.
34214 * elf/ldconfig.c: Likewise.
34215 * elf/ldd.bash.in: Likewise.
34216 * elf/sprof.c (print_version): Likewise.
34217 * iconv/iconv_prog.c: Likewise.
34218 * iconv/iconvconfig.c: Likewise.
34219 * locale/programs/locale.c: Likewise.
34220 * locale/programs/localedef.c: Likewise.
34221 * malloc/memusage.sh: Likewise.
34222 * malloc/mtrace.pl: Likewise.
34223 * nscd/nscd.c (print_version): Likewise.
34224 * nss/getent.c: Likewise.
34225
a77e8cbc
UD
34226 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34227 PF_CAIF, and PF_ALG.
34228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34229
77e8bddf
AS
342302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34231
1f20b93a
AS
34232 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34233 (modules-names): Use them.
34234 (ifunc-test-modules, ifunc-pie-tests): Define.
34235 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34236 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34237 (test-extras): Likewise.
34238 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34239 $(compile-command.c).
34240 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34241 (all-built-dso): Define.
34242 (check-textrel.out, check-execstack.out): Depend on it.
34243
77e8bddf
AS
34244 * configure.in: Don't override --enable-multi-arch.
34245
bc425b33
UD
342462011-01-15 Ulrich Drepper <drepper@gmail.com>
34247
34248 [BZ #6812]
34249 * nscd/hstcache.c (tryagain): Define.
34250 (cache_addhst): Return tryagain not notfound for temporary errors.
34251 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34252 failed.
34253
794c3ad3
UD
342542011-01-14 Ulrich Drepper <drepper@gmail.com>
34255
70181fdd
UD
34256 [BZ #10563]
34257 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34258 to make the syscall.
34259 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34260
794c3ad3
UD
34261 [BZ #12378]
34262 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34263 and fall back to matching as normal character if the string ends before
34264 the matching ']' is found. This is what POSIX requires.
34265 * posix/testfnm.c: Adjust test result.
34266 * posix/globtest.sh: Adjust test result. Add new test.
34267 * posix/tst-fnmatch.input: Likewise.
34268 * posix/tst-fnmatch2.c: Add new test.
34269
68dc9497
AS
342702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34271
34272 * elf/Makefile (check-execstack): Revert last change. Depend on
34273 check-execstack.h.
34274 (check-execstack.h): New target.
34275 (generated): Add check-execstack.h.
34276 * elf/check-execstack.c: Include "check-execstack.h".
34277 (main): Revert last change.
34278 (handle_file): Return zero if GNU_STACK is absent and
34279 DEFAULT_STACK_PERMS doesn't include PF_X.
34280
451f001b
UD
342812011-01-13 Ulrich Drepper <drepper@gmail.com>
34282
cfa28e56
UD
34283 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34284 in child fails because the descriptor is already closed.
8cf8ce17
UD
34285 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34286 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34287 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34288
1086d70d
UD
34289 [BZ #12397]
34290 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34291 syscall.
34292
451f001b
UD
34293 [BZ #10484]
34294 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34295 temporary buffer used to handle multi lookups locally.
a85b5cb4 34296 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34297
08769175
UD
342982011-01-12 Ulrich Drepper <drepper@gmail.com>
34299
34300 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34301 loader is ld.so.
34302
5e49c52e
UD
343032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34304
34305 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34306 alignment for SSE2.
34307
60522a5f
UD
343082011-01-12 Ulrich Drepper <drepper@gmail.com>
34309
34310 [BZ #12394]
34311 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34312 characters. When rounding increased number of integer digits recompute
34313 number of groups.
34314 * stdio-common/tst-grouping.c: New file.
34315 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34316
f257bbd7
UD
343172011-01-09 Ulrich Drepper <drepper@gmail.com>
34318
34319 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34320 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34321
34322 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34323 void.
34324 * bits/select.h: Likewise.
34325
fa9c15cb
UD
343262011-01-08 Ulrich Drepper <drepper@gmail.com>
34327
34328 * po/ja.po: Update from translation team.
34329
16c2895f
DM
343302011-01-04 David S. Miller <davem@sunset.davemloft.net>
34331
34332 [BZ #11155]
34333 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34334 implementation just like for lxstat, fxstatat, et al.
34335
2543fef2
JM
343362010-12-27 Jim Meyering <meyering@redhat.com>
34337
34338 [BZ #12348]
34339 * posix/regexec.c (build_trtable): Return failure indication upon
34340 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34341
98727dbe
UD
343422010-12-25 Ulrich Drepper <drepper@gmail.com>
34343
5bd6dc5c
UD
34344 [BZ #12201]
34345 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34346 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34347 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34348 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34349
97983464
UD
34350 [BZ #12207]
34351 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34352
98727dbe
UD
34353 [BZ #12204]
34354 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34355 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34356
4a531bb0
L
343572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34358
34359 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34360 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34361 script has SORT_BY_INIT_PRIORITY.
34362 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34363 NO_CTORS_DTORS_SECTIONS is defined.
34364 * elf/soinit.c: Likewise.
34365 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34366 NO_CTORS_DTORS_SECTIONS is defined.
34367 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34368 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34369 * sysdeps/sh/init-first.c: Likewise.
34370 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34371
07eb4b71
UD
343722010-12-24 Ulrich Drepper <drepper@gmail.com>
34373
34374 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34375 always use the slow path.
34376
30950a5f
RA
343772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34378
34379 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34380 similar rule which adds the sysdep directories to the header search in
34381 order to pick up the correct platform stackinfo.h.
34382 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34383 perform test if it is, otherwise return successfully without testing.
34384 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34385 DEFAULT_STACK_PERMS define in stackinfo.h.
34386 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34387 defined in stackinfo.h.
34388 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34389 DEFAULT_STACK_PERMS defined in stackinfo.h.
34390 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34391 * sysdeps/ia64/stackinfo.h: Likewise.
34392 * sysdeps/s390/stackinfo.h: Likewise.
34393 * sysdeps/sh/stackinfo.h: Likewise.
34394 * sysdeps/sparc/stackinfo.h: Likewise.
34395 * sysdeps/x86_64/stackinfo.h: Likewise.
34396 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34397 PF_X for powerpc64. Retain PF_X for powerpc32.
34398
db753e2c
UD
343992010-12-19 Ulrich Drepper <drepper@gmail.com>
34400
14b697f7
UD
34401 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34402 accurately.
db753e2c
UD
34403 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34404 GETDENTS_64BIT_ALIGNED.
34405
28300719
UD
344062010-12-14 Ulrich Drepper <dreper@gmail.com>
34407
14b697f7 34408 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34409
4f197237
AS
344102010-12-10 Andreas Schwab <schwab@redhat.com>
34411
dbb0472f
AS
34412 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34413 _GNU_SOURCE.
34414
4f197237
AS
34415 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34416 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34417 Remove __restrict.
34418 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34419 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34420
fb88ac72
UD
344212010-12-09 Ulrich Drepper <drepper@gmail.com>
34422
34423 [BZ #11655]
34424 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34425 are initialized.
34426
42acbb92
JJ
344272010-12-09 Jakub Jelinek <jakub@redhat.com>
34428
34429 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34430
c038d98d
UD
344312010-12-03 Ulrich Drepper <drepper@gmail.com>
34432
34433 * po/it.po: Update from translation team.
34434
3a4a2499
L
344352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34436
34437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34438 unused codes.
34439
1e24cf6e
UD
344402010-11-30 Ulrich Drepper <drepper@gmail.com>
34441
34442 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34443
a7690819
AS
344442010-11-24 Andreas Schwab <schwab@redhat.com>
34445
34446 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34447 specially.
34448 (gaih_getanswer_slice): Likewise.
34449
3bf8d1b1
JJ
344502010-10-20 Jakub Jelinek <jakub@redhat.com>
34451
34452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34453
6db52fbb
PB
344542010-05-31 Petr Baudis <pasky@suse.cz>
34455
34456 [BZ #11149]
34457 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34458 silently even in the chroot mode.
34459
eaca7569
UD
344602010-11-22 Ulrich Drepper <drepper@gmail.com>
34461
34462 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34463 last patch a bit. Pretty printing
34464
3056dcdb
UD
344652010-05-31 Petr Baudis <pasky@suse.cz>
34466
34467 [BZ #10085]
34468 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34469 initialization of skip_initgroups_dyn.
34470
cf7c9078
UD
344712010-11-19 Ulrich Drepper <drepper@gmail.com>
34472
34473 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34475
a1fb5e3e
UD
344762010-11-16 Ulrich Drepper <drepper@gmail.com>
34477
34478 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34479
3540d66b
AS
344802010-11-11 Andreas Schwab <schwab@redhat.com>
34481
34482 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34483 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34484 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34485 ($(objpfx)tst-fnmatch-mem): New rule.
34486 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34487 * posix/tst-fnmatch.c (main): Call mtrace.
34488
13b69574
L
344892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34490
34491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34492 Support Intel processor model 6 and model 0x2c.
34493
da93d214
LM
344942010-11-10 Luis Machado <luisgpm@br.ibm.com>
34495
34496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34497 signed comparison.
34498
8ca52c6e
L
344992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34500
34501 [BZ #12205]
34502 * string/test-strncasecmp.c (check_result): New function.
34503 (do_one_test): Use it.
34504 (check1): New function.
34505 (test_main): Use it.
34506 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34507 Support strcasecmp and strncasecmp.
34508
69da074d
UD
345092010-11-08 Ulrich Drepper <drepper@gmail.com>
34510
34511 [BZ #12194]
34512 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34513 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34514
ff02d528
L
345152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34516
34517 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34518 IFUNC support.
34519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34520 memset-x86-64.
34521 * sysdeps/x86_64/multiarch/bzero.S: New file.
34522 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34523 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34524 * sysdeps/x86_64/multiarch/memset.S: New file.
34525 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34527 Set bit_Prefer_SSE_for_memop for Intel processors.
34528 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34529 Define.
34530 (index_Prefer_SSE_for_memop): Define.
34531 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34532
344d0b54
LM
345332010-11-04 Luis Machado <luisgpm@br.ibm.com>
34534
34535 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34536 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34537
c0dde15b
UD
345382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 [BZ #12191]
34541 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34542 (__x86_64_raw_data_cache_size_half): Likewise.
34543 (__x86_64_raw_shared_cache_size): Likewise.
34544 (__x86_64_raw_shared_cache_size_half): Likewise.
34545
34546 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34547 (__x86_64_raw_data_cache_size_half): Likewise.
34548 (__x86_64_raw_shared_cache_size): Likewise.
34549 (__x86_64_raw_shared_cache_size_half): Likewise.
34550 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34551 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34552 and __x86_64_raw_shared_cache_size_half. Round
34553 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34554 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34555 to multiple of 256 bytes.
34556
0e516e0e
MS
345572010-11-03 Ulrich Drepper <drepper@gmail.com>
34558
34559 [BZ #12167]
34560 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34561 of inacessible symlinks. Verify result of symlink before returning it.
34562 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34563 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34564
0e012e87
ER
345652010-10-28 Erich Ritz <erichritz@gmail.com>
34566
34567 * math/math.h (isinf): Fix typo in comment.
34568
de0ff7bc
UD
345692010-11-01 Ulrich Drepper <drepper@gmail.com>
34570
34571 * po/da.po: Update from translation team.
34572
fa41c84d
UD
345732010-10-26 Ulrich Drepper <drepper@gmail.com>
34574
34575 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34576 is added to the list.
34577
f0967738
AK
345782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34579 Ulrich Drepper <drepper@gmail.com>
34580
34581 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34582 the global list here. Move code to...
34583 (_dl_add_to_namespace_list): ...here. New function.
34584 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34585 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34586 * elf/dl-load.c (lose): Don't remove the element from the list.
34587 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34588 (_dl_map_object): Likewise.
34589
345902010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34591
34592 [BZ #12159]
34593 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34594 into all bytes of SSE register.
34595 Patch by Richard Li <richardpku@gmail.com>.
34596
f0967738 345972010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34598
34599 [BZ #12140]
34600 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34601 perturbing.
34602
d0b9e94f
MB
346032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34604
34605 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34606 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34607 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34608 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34610 submachine.
34611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34612
8e9f92e9
AS
346132010-10-22 Andreas Schwab <schwab@redhat.com>
34614
34615 * include/dlfcn.h (__RTLD_SECURE): Define.
34616 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34617 mode & __RTLD_SECURE instead.
34618 (open_path): Rename preloaded parameter to secure.
34619 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34620 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34621 * elf/dl-deps.c (openaux): Likewise.
34622 * elf/rtld.c (struct map_args): Remove is_preloaded.
34623 (map_doit): Don't use it.
34624 (dl_main): Likewise.
34625 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34626 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34627
bc96fbda
AS
346282010-09-09 Andreas Schwab <schwab@redhat.com>
34629
34630 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34631 (sysd-rules-targets): Remove duplicates.
34632 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34633 rtld-%.$o dependency.
34634
22cd1c9b
AS
346352010-10-18 Andreas Schwab <schwab@redhat.com>
34636
34637 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34638 _dl_map_object do it.
34639
18edac48
UD
346402010-10-19 Ulrich Drepper <drepper@gmail.com>
34641
34642 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34643 fast fma builtins, define the macros in the C99 standard.
34644 (FP_FAST_FMAF): Likewise.
34645 (FP_FAST_FMAL): Likewise.
34646 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34647
34648 * bits/mathdef.h: Update copyright year.
34649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34650
d2050124
MM
346512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34652
34653 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34654 builtins, define the macros in the C99 standard.
34655 (FP_FAST_FMAF): Likewise.
34656 (FP_FAST_FMAL): Likewise.
34657 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34658 multiply/add.
34659 (FP_FAST_FMAF): Likewise.
34660
475facd1
JJ
346612010-10-15 Jakub Jelinek <jakub@redhat.com>
34662
34663 [BZ #3268]
34664 * math/libm-test.inc (fma_test): Some new testcases.
34665 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34666 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34667 y and infinite z. Do multiplication by C already in long double.
34668 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34670 y and infinite z. Do bitwise or of inexact bit into u.d.
34671 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34672 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34673 * sysdeps/i386/fpu/s_fma.S: Removed.
34674 * sysdeps/i386/fpu/s_fmal.S: Removed.
34675
7c08a05c
JJ
346762010-10-16 Jakub Jelinek <jakub@redhat.com>
34677
34678 [BZ #3268]
34679 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34681 computation is not scheduled after fetestexcept. Fix value
34682 of minimum denormal long double.
34683
f3f7372d
JJ
346842010-10-14 Jakub Jelinek <jakub@redhat.com>
34685
34686 [BZ #3268]
34687 * math/libm-test.inc (fma_test): Add some more tests.
34688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34689 correctly.
34690
14d43591
AS
346912010-10-15 Andreas Schwab <schwab@redhat.com>
34692
34693 * scripts/data/localplt-s390-linux-gnu.data: New file.
34694 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34695
5e908464
JJ
346962010-10-13 Jakub Jelinek <jakub@redhat.com>
34697
34698 [BZ #3268]
34699 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34700 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34701 instead of dbl-64.
34702 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34703 inlines.
34704 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34706 if one of x and y is very large and the other is subnormal.
34707 * sysdeps/s390/fpu/s_fmaf.c: New file.
34708 * sysdeps/s390/fpu/s_fma.c: New file.
34709 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34710 * sysdeps/powerpc/fpu/s_fma.S: New file.
34711 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34712 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34713 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34714
347152010-10-12 Jakub Jelinek <jakub@redhat.com>
34716
34717 [BZ #3268]
34718 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34719 fma tests.
34720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34721 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34722 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34723 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34724 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34725 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34726 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34727
b833d51f
UD
347282010-10-12 Ulrich Drepper <drepper@redhat.com>
34729
34730 [BZ #12078]
34731 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34732 * posix/bug-regex31.input: Add test case.
34733
1751705d
UD
347342010-10-11 Ulrich Drepper <drepper@gmail.com>
34735
e9b9cbf5
UD
34736 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34737 * posix/bug-regex31.input: New file.
34738
34739 [BZ #12078]
34740 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34741 (parse_sub_exp): Fix last change, use postorder.
34742
ef06edbe
UD
34743 * posix/bug-regex31.c: New file.
34744 * posix/Makefile: Add rules to build and run bug-regex31.
34745
a129c80d
UD
34746 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34747
34748 [BZ #12078]
34749 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34750
b76b818e
UD
34751 [BZ #12108]
34752 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34753 to have entries in sys_siglist.
34754
1751705d
UD
34755 [BZ #12093]
34756 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34757 be NULL.
34758
9ff8d36f
JJ
347592010-10-07 Jakub Jelinek <jakub@redhat.com>
34760
34761 [BZ #3268]
34762 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34763 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34764 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34765 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34767 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34768 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34769 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34770 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34771 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34772 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34773 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34774 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34775 * math/ftestexcept.c (fetestexcept): Likewise.
34776 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34777 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34778 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34779 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34780 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34781 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34782 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34783
af325969
UD
347842010-10-11 Ulrich Drepper <drepper@gmail.com>
34785
c579b202 34786 [BZ #12107]
af325969
UD
34787 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34788 newline.
34789
67a67b95
UD
347902010-10-06 Ulrich Drepper <drepper@gmail.com>
34791
34792 * string/bug-strstr1.c: New file.
34793 * string/Makefile: Add rules to build and run bug-strstr1.
34794
5fb308bc
EB
347952010-10-05 Eric Blake <eblake@redhat.com>
34796
34797 [BZ #12092]
34798 * string/str-two-way.h (two_way_long_needle): Always clear memory
34799 when skipping input due to the shift table.
34800
45db99c7
UD
348012010-10-03 Ulrich Drepper <drepper@gmail.com>
34802
3b111893
UD
34803 [BZ #12005]
34804 * malloc/mcheck.c: Handle large requests.
34805
45db99c7
UD
34806 [BZ #12077]
34807 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34808 for strncmp and strncasecmp.
34809 * string/stratcliff.c: Add tests for strcmp and strncmp.
34810 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34811
cf7a1eb8
NI
348122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34813
34814 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34815 __set_fpscr.
34816
6484ba5e
AJ
348172010-09-30 Andreas Jaeger <aj@suse.de>
34818
34819 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34820 (CGROUP_SUPER_MAGIC): Define.
34821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34822 Handle btrfs and cgroup file systems.
34823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34824 Likewise.
34825
91c42559
LM
348262010-09-27 Luis Machado <luisgpm@br.ibm.com>
34827
34828 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34829 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34830
87a97932
AK
348312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34832
34833 [BZ #12067]
34834 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34835 trying to locate the ELF header.
34836
c21cc9bc
AS
348372010-09-27 Andreas Schwab <schwab@redhat.com>
34838
34839 [BZ #11611]
34840 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34841 Mask out sign-bit copies when constructing f_fsid.
34842
315970f6
PB
348432010-09-24 Petr Baudis <pasky@suse.cz>
34844
34845 * debug/stack_chk_fail_local.c: Add missing licence exception.
34846 * debug/warning-nop.c: Likewise.
34847
1ac7a2c7
JM
348482010-09-15 Joseph Myers <joseph@codesourcery.com>
34849
34850 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34851 implementing getdents64 using getdents syscall, set d_type if
34852 __ASSUME_GETDENTS32_D_TYPE.
34853
56801c50
AS
348542010-09-16 Andreas Schwab <schwab@redhat.com>
34855
34856 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34857 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34858
dda51327
UD
348592010-09-21 Ulrich Drepper <drepper@redhat.com>
34860
34861 [BZ #12037]
34862 * posix/unistd.h: Undo change of feature selection for ftruncate from
34863 2010-01-11.
34864
8ffcee4a
UD
348652010-09-20 Ulrich Drepper <drepper@redhat.com>
34866
a545ecd9 34867 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34868 detection.
34869
e24f0a8b
AS
348702010-09-20 Andreas Schwab <schwab@redhat.com>
34871
34872 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34873 fanotify_mark.
34874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34875
7291c56f
AS
348762010-09-14 Andreas Schwab <schwab@redhat.com>
34877
34878 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34879 variables after CHECK_SP call.
34880 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34881
bc5fb037
AS
348822010-09-13 Andreas Schwab <schwab@redhat.com>
34883 Ulrich Drepper <drepper@redhat.com>
34884
34885 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34886 re-relocationg ld.so.
34887 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34888 _dl_init_paths call.
34889 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34890 here anymore.
34891
e66e7419
UD
348922010-09-14 Ulrich Drepper <drepper@redhat.com>
34893
34894 * resolv/res_init.c (__res_vinit): Count the default server we added.
34895
c044aa75
CLT
348962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34897 Ulrich Drepper <drepper@redhat.com>
34898
34899 [BZ #11968]
34900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34901 (____longjmp_chk): Use %ebx for saving value across system call.
34902 Add unwind info.
34903
32cf4069
AS
349042010-09-06 Andreas Schwab <schwab@redhat.com>
34905
34906 * manual/Makefile: Don't mix pattern rules with normal rules.
34907
817328ee
AS
349082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34909
34910 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34911 operation.
34912 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34913 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34914 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34915 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34917 Likewise.
34918
29fddf61
UD
349192010-09-04 Ulrich Drepper <drepper@redhat.com>
34920
34921 [BZ #11979]
34922 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34923 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34924
0959ffc9
UD
349252010-09-02 Ulrich Drepper <drepper@redhat.com>
34926
34927 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34928 * sysdeps/x86_64/addmul_1.S: Likewise.
34929 * sysdeps/x86_64/lshift.S: Likewise.
34930 * sysdeps/x86_64/mul_1.S: Likewise.
34931 * sysdeps/x86_64/rshift.S: Likewise.
34932 * sysdeps/x86_64/sub_n.S: Likewise.
34933 * sysdeps/x86_64/submul_1.S: Likewise.
34934
ece29840
ST
349352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34936
0959ffc9
UD
34937 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34938 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34939 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34940 * bits/sched.h [__need_schedparam]
ece29840 34941 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34942 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34943 (__defined_schedparam): Define to 1.
ece29840
ST
34944 (__sched_param): New structure, identical to sched_param.
34945 (__need_schedparam): Undefine.
34946
e53a31fe
MF
349472010-08-31 Mike Frysinger <vapier@gentoo.org>
34948
fdc0c10d
MF
34949 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34950 (epoll_create1): Declare.
34951
e53a31fe
MF
34952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34953
a726d796
AS
349542010-08-31 Andreas Schwab <schwab@redhat.com>
34955
34956 [BZ #7066]
34957 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34958 shifting retval into place.
34959
2f3e3dc7
UD
349602010-09-01 Ulrich Drepper <drepper@redhat.com>
34961
f2933da9
UD
34962 * nis/rpcsvc/nis.h: Update copyright notice.
34963 * nis/rpcsvc/nis.x: Likewise.
34964 * nis/rpcsvc/nis_callback.h: Likewise.
34965 * nis/rpcsvc/nis_callback.x: Likewise.
34966 * nis/rpcsvc/nis_object.x: Likewise.
34967 * nis/rpcsvc/nis_tags.h: Likewise.
34968 * nis/rpcsvc/yp.h: Likewise.
34969 * nis/rpcsvc/yp.x: Likewise.
34970 * nis/rpcsvc/ypupd.h: Likewise.
34971 * nis/yp_xdr.c: Likewise.
34972 * nis/ypupdate_xdr.c: Likewise.
34973
2f3e3dc7
UD
34974 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34975 mainly the body of pmap_getport. Add parameters to specify timeouts.
34976 (pmap_getport): Use __libc_rpc_getport.
34977 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34978 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34979 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34980
f3dcc2f9
AS
349812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34982
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34984 fanotify_mark.
34985
6d34eb5b
RM
349862010-08-27 Roland McGrath <roland@redhat.com>
34987
34988 * sysdeps/i386/i686/multiarch/Makefile
34989 (CFLAGS-varshift.c): New variable.
34990
9ea3de11
UD
349912010-08-27 Ulrich Drepper <drepper@redhat.com>
34992
c96d23fc
UD
34993 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34994 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34995
9ea3de11
UD
34996 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34997
34998 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34999
623aac7f
L
350002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35001
35002 * sysdeps/x86_64/strlen.S: Unroll the loop.
35003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35004 strlen-sse2 strlen-sse2-bsf.
35005 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35006 __strlen_no_bsf if bit_Slow_BSF is set.
35007 (__strlen_sse42): Removed.
35008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35009 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35010
8b2b7715
RM
350112010-08-25 Roland McGrath <roland@redhat.com>
35012
35013 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35014 * sysdeps/x86_64/multiarch/varshift.c: New file.
35015 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35016 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35017 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35018 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35019
e73015f2
L
350202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35021
35022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35023 strlen-sse2 strlen-sse2-bsf.
35024 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35025 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35026 (__strlen_sse2): Removed.
35027 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35030 bit_Slow_BSF for Atom.
35031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35032 (index_Slow_BSF): Define.
35033 (HAS_SLOW_BSF): Define.
35034
df24a73e
UD
350352010-08-25 Ulrich Drepper <drepper@redhat.com>
35036
35037 [BZ #10851]
35038 * resolv/res_init.c (__res_vinit): When no server address at all
35039 is given default to loopback.
35040
f2ac4868
RM
350412010-08-24 Roland McGrath <roland@redhat.com>
35042
09055553
RM
35043 * configure.in: Remove config-name.h generation.
35044 * configure: Regenerated.
35045 * config-name.in: File removed.
35046 * scripts/config-uname.sh: New file.
35047 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35048 ($(objdir)config-name.h): New target.
35049
f2ac4868
RM
35050 * sunrpc/rpc_parse.h: Avoid nested comment.
35051
73f27d5e
RH
350522010-08-24 Richard Henderson <rth@redhat.com>
35053 Ulrich Drepper <drepper@redhat.com>
35054 H.J. Lu <hongjiu.lu@intel.com>
35055
35056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35058 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35059 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35060 _mm_alignr_epi8 with _mm_loadu_si128.
35061 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35062 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35063 (__m128i_shift_right): Removed.
35064 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35065 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35066 * sysdeps/x86_64/multiarch/varshift.h: New file.
35067 * sysdeps/x86_64/multiarch/varshift.S: New file.
35068
84b9230c
MF
350692010-08-21 Mike Frysinger <vapier@gentoo.org>
35070
35071 * configure.in: Move assembler checks to before sysdep dir checking.
35072
9bbd0ddc
PB
350732010-08-20 Petr Baudis <pasky@suse.cz>
35074
35075 * LICENSES: Sync the sunrpc license.
35076
9da4bb31
UD
350772010-08-19 Ulrich Drepper <drepper@redhat.com>
35078
a7ab6ec8
UD
35079 * sunrpc/auth_des.c: Update copyright notice once again.
35080 * sunrpc/auth_none.c: Likewise.
35081 * sunrpc/auth_unix.c: Likewise.
35082 * sunrpc/authdes_prot.c: Likewise.
35083 * sunrpc/authuxprot.c: Likewise.
35084 * sunrpc/bindrsvprt.c: Likewise.
35085 * sunrpc/clnt_gen.c: Likewise.
35086 * sunrpc/clnt_perr.c: Likewise.
35087 * sunrpc/clnt_raw.c: Likewise.
35088 * sunrpc/clnt_simp.c: Likewise.
35089 * sunrpc/clnt_tcp.c: Likewise.
35090 * sunrpc/clnt_udp.c: Likewise.
35091 * sunrpc/clnt_unix.c: Likewise.
35092 * sunrpc/des_crypt.c: Likewise.
35093 * sunrpc/des_soft.c: Likewise.
35094 * sunrpc/get_myaddr.c: Likewise.
35095 * sunrpc/getrpcport.c: Likewise.
35096 * sunrpc/key_call.c: Likewise.
35097 * sunrpc/key_prot.c: Likewise.
35098 * sunrpc/openchild.c: Likewise.
35099 * sunrpc/pm_getmaps.c: Likewise.
35100 * sunrpc/pm_getport.c: Likewise.
35101 * sunrpc/pmap_clnt.c: Likewise.
35102 * sunrpc/pmap_prot.c: Likewise.
35103 * sunrpc/pmap_prot2.c: Likewise.
35104 * sunrpc/pmap_rmt.c: Likewise.
35105 * sunrpc/rpc/auth.h: Likewise.
35106 * sunrpc/rpc/auth_unix.h: Likewise.
35107 * sunrpc/rpc/clnt.h: Likewise.
35108 * sunrpc/rpc/des_crypt.h: Likewise.
35109 * sunrpc/rpc/key_prot.h: Likewise.
35110 * sunrpc/rpc/netdb.h: Likewise.
35111 * sunrpc/rpc/pmap_clnt.h: Likewise.
35112 * sunrpc/rpc/pmap_prot.h: Likewise.
35113 * sunrpc/rpc/pmap_rmt.h: Likewise.
35114 * sunrpc/rpc/rpc.h: Likewise.
35115 * sunrpc/rpc/rpc_des.h: Likewise.
35116 * sunrpc/rpc/rpc_msg.h: Likewise.
35117 * sunrpc/rpc/svc.h: Likewise.
35118 * sunrpc/rpc/svc_auth.h: Likewise.
35119 * sunrpc/rpc/types.h: Likewise.
35120 * sunrpc/rpc/xdr.h: Likewise.
35121 * sunrpc/rpc_clntout.c: Likewise.
35122 * sunrpc/rpc_cmsg.c: Likewise.
35123 * sunrpc/rpc_common.c: Likewise.
35124 * sunrpc/rpc_cout.c: Likewise.
35125 * sunrpc/rpc_dtable.c: Likewise.
35126 * sunrpc/rpc_hout.c: Likewise.
35127 * sunrpc/rpc_main.c: Likewise.
35128 * sunrpc/rpc_parse.c: Likewise.
35129 * sunrpc/rpc_parse.h: Likewise.
35130 * sunrpc/rpc_prot.c: Likewise.
35131 * sunrpc/rpc_sample.c: Likewise.
35132 * sunrpc/rpc_scan.c: Likewise.
35133 * sunrpc/rpc_scan.h: Likewise.
35134 * sunrpc/rpc_svcout.c: Likewise.
35135 * sunrpc/rpc_tblout.c: Likewise.
35136 * sunrpc/rpc_util.c: Likewise.
35137 * sunrpc/rpc_util.h: Likewise.
35138 * sunrpc/rpcinfo.c: Likewise.
35139 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35140 * sunrpc/rpcsvc/key_prot.x: Likewise.
35141 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35142 * sunrpc/rpcsvc/mount.x: Likewise.
35143 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35144 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35145 * sunrpc/rpcsvc/rex.x: Likewise.
35146 * sunrpc/rpcsvc/rstat.x: Likewise.
35147 * sunrpc/rpcsvc/rusers.x: Likewise.
35148 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35149 * sunrpc/rpcsvc/spray.x: Likewise.
35150 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35151 * sunrpc/rtime.c: Likewise.
35152 * sunrpc/svc.c: Likewise.
35153 * sunrpc/svc_auth.c: Likewise.
35154 * sunrpc/svc_authux.c: Likewise.
35155 * sunrpc/svc_raw.c: Likewise.
35156 * sunrpc/svc_run.c: Likewise.
35157 * sunrpc/svc_simple.c: Likewise.
35158 * sunrpc/svc_tcp.c: Likewise.
35159 * sunrpc/svc_udp.c: Likewise.
35160 * sunrpc/svc_unix.c: Likewise.
35161 * sunrpc/svcauth_des.c: Likewise.
35162 * sunrpc/xcrypt.c: Likewise.
35163 * sunrpc/xdr.c: Likewise.
35164 * sunrpc/xdr_array.c: Likewise.
35165 * sunrpc/xdr_float.c: Likewise.
35166 * sunrpc/xdr_mem.c: Likewise.
35167 * sunrpc/xdr_rec.c: Likewise.
35168 * sunrpc/xdr_ref.c: Likewise.
35169 * sunrpc/xdr_sizeof.c: Likewise.
35170 * sunrpc/xdr_stdio.c: Likewise.
35171
9da4bb31
UD
35172 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35173 handling.
35174
bdaa77bc
AS
351752010-08-19 Andreas Schwab <schwab@redhat.com>
35176
35177 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35178
fe2f79db
LM
351792010-08-19 Luis Machado <luisgpm@br.ibm.com>
35180
35181 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35182 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35183 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35184 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35186 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35187 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35188 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35189 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35190 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35191 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35192 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35193 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35195
b9b42ee0
AB
351962010-07-26 Anton Blanchard <anton@samba.org>
35197
35198 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35199 * malloc/arena.c (heap_trim): Likewise.
35200
1c06ba31
UD
352012010-08-16 Ulrich Drepper <drepper@redhat.com>
35202
35203 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35204 here. Not...
35205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35206 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35207
f8392f40
L
352082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35209
35210 * sysdeps/i386/elf/Makefile: New file.
35211
3162f12e
AS
352122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35213
35214 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35215 from fanotify_init.
35216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35218
28c90b2c
UD
352192010-08-15 Ulrich Drepper <drepper@redhat.com>
35220
35221 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35222 of strncasecmp_l.
1feccb6c 35223 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35224
ca6bb004
UD
352252010-08-14 Ulrich Drepper <drepper@redhat.com>
35226
e9f82e0d
UD
35227 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35228 strncase_l-nonascii.
35229 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35230 Add strncase_l-ssse3.
35231 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35232 * sysdeps/x86_64/strcmp.S: Likewise.
35233 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35234 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35235 * sysdeps/x86_64/strncase.S: New file.
35236 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35237 * sysdeps/x86_64/strncase_l.S: New file.
35238 * string/Makefile (strop-tests): Add strncasecmp.
35239 * string/test-strncasecmp.c: New file.
35240
35241 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35242 warning.
35243
ca6bb004
UD
35244 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35245 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35246
052fa7b3
AS
352472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35248
35249 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35250
962dba78
UD
352512010-08-12 Ulrich Drepper <drepper@redhat.com>
35252
35253 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35254 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35256
bebff237
AM
352572010-05-01 Alan Modra <amodra@gmail.com>
35258
35259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35260 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35261 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35262 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35263 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35264 tidying. Don't tail-call __sigjmp_save for static lib.
35265 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35266 save location.
35267 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35268 (CALL_MCOUNT): Add eh info, and nop after bl.
35269 (TAIL_CALL_SYSCALL_ERROR): New macro.
35270 (PSEUDO_RET): Use it.
35271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35272 Correct save location of integer regs and cr.
35273 (_dl_profile_resolve): Correct cr save location. Delete nops
35274 after bl when SHARED. Reduce cfi size a little by better
35275 placement of cfi directives.
35276 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35277 make a stack frame. Instead use parm save area as a temp.
35278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35279 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35281 Don't make a stack frame for parent, use parm save area.
35282 Increase child stack frame to 112 bytes. Don't save unused reg,
35283 and adjust reg usage. Set up cfi on error recovery and
35284 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35286 (__makecontext): Add dummy nop after jump to exit.
35287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35288 Use correct parm save area and cr save, reduce stack frame.
35289 Correct cfi for possible PSEUDO_RET frame setup.
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35291 Branch to local label emitted by PSEUDO_RET rather than
35292 __syscall_error.
35293
02637374
AS
352942010-08-12 Andreas Schwab <schwab@redhat.com>
35295
35296 [BZ #11904]
35297 * locale/programs/locale.c (print_assignment): New function.
35298 (show_locale_vars): Use it.
35299
c3e2f19b
UD
353002010-08-11 Ulrich Drepper <drepper@redhat.com>
35301
3cdaa6ad
UD
35302 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35303 field.
35304 (struct statfs64): Likewise.
35305 (_STATFS_F_FLAGS): Define.
35306 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35307 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35308 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35309 (ST_VALID): Define locally.
35310 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35311 __statvfs_getflags, use the provided value.
35312 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35313 __ASSUME_STATFS_F_FLAGS.
35314
754f7da3
UD
35315 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35316
10b3bedc
UD
35317 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35318 Add sys/fanotify.h.
35319 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35320 fanotify_mask for GLIBC_2.13.
35321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35322 fanotify_init and fanotify_mark.
35323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35324 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35325
c08fb0d7
UD
35326 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35327 Add prlimit.
35328 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35329 prlimit64 for GLIBC_2.13.
35330 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35331 prlimit64.
35332 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35333 syscall.
35334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35335 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35336 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35337 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35339 add prlimit alias.
35340 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35341
15bac72b
UD
35342 [BZ #11903]
35343 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35344 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35345
c3e2f19b
UD
35346 * nss/Makefile: Add rules to build and run tst-nss-test1.
35347 * shlib-versions: Add entry for libnss_test1.
35348 * nss/nss_test1.c: New file.
35349 * nss/tst-nss-test1.c: New file.
35350
35351 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35352 (__nss_configure_lookup): Set appropriate entry in
35353 __nss_configure_lookup to true.
35354 * nss/nsswitch.h: Define enum with indeces of databases in
35355 databases and __nss_database_custom arrays. Declare
35356 __nss_database_custom.
35357 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35358 to avoid using nscd when custom rules are installed.
35359 * nss/getXXbyYY_r.c: Likewise.
35360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35361
35362 * nss/nss_files/files-parse.c: Whitespace fixes.
35363
f15ce4d8
UD
353642010-08-09 Ulrich Drepper <drepper@redhat.com>
35365
35366 [BZ #11883]
35367 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35368 * posix/fnmatch_loop.c: Likewise.
35369
d22e4cc9
AK
353702010-07-17 Andi Kleen <ak@linux.intel.com>
35371
35372 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35373 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35374 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35375 * Versions.def [GLIBC_2.13]: Add.
35376
805bc17d
UD
353772010-08-06 Ulrich Drepper <drepper@redhat.com>
35378
35379 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35380 Also fail if tpwd after pwuid call is NULL.
35381
5a42321d
ST
353822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35383
35384 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35385 when converting to ms.
35386
fd3ebeda
ST
353872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35388
35389 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35390 EOPNOTSUPP errors with ENOTTY.
35391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35392 EOPNOTSUPP errors with ENOTTY.
35393
73507d3a
UD
353942010-07-31 Ulrich Drepper <drepper@redhat.com>
35395
35396 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35397 Add strcasecmp_l-ssse3.
35398 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35399 strcasecmp.
35400 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35401 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35402 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35403
fe36dd02
UD
354042010-07-30 Ulrich Drepper <drepper@redhat.com>
35405
66f6765a
UD
35406 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35407
42e08a54
UD
35408 * string/Makefile (strop-tests): Add strcasecmp.
35409 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35410 strcasecmp_l-nonascii.
35411 (gen-as-const-headers): Add locale-defines.sym.
35412 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35413 * sysdeps/x86_64/strcasecmp.S: New file.
35414 * sysdeps/x86_64/strcasecmp_l.S: New file.
35415 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35416 * sysdeps/x86_64/locale-defines.sym: New file.
35417 * string/test-strcasecmp.c: New file.
35418
fe36dd02
UD
35419 * string/test-strcasestr.c: Test both ends of the range of characters.
35420 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35421
48cbc0d6
RM
354222010-07-29 Roland McGrath <roland@redhat.com>
35423
76e6d6bc 35424 [BZ #11856]
48cbc0d6
RM
35425 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35426
880113d9
UD
354272010-07-27 Ulrich Drepper <drepper@redhat.com>
35428
35429 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35430 for ld.so.
35431
deb9cabb
AS
354322010-07-27 Andreas Schwab <schwab@redhat.com>
35433
35434 * manual/memory.texi (Malloc Tunable Parameters): Document
35435 M_PERTURB.
35436
1c7570ff
RM
354372010-07-26 Roland McGrath <roland@redhat.com>
35438
35439 [BZ #11840]
35440 * configure.in (-fgnu89-inline check): Set and substitute
35441 gnu89_inline, not libc_cv_gnu89_inline.
35442 * configure: Regenerated.
35443 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35444
24fb0f88
UD
354452010-07-26 Ulrich Drepper <drepper@redhat.com>
35446
35447 * string/test-strnlen.c: New file.
35448 * string/Makefile (strop-tests): Add strnlen.
35449 * string/tester.c (test_strnlen): Add a few more test cases.
35450 * string/tst-strlen.c: Better error reporting.
35451
35452 * sysdeps/x86_64/strnlen.S: New file.
35453
8e96b93a
UD
354542010-07-24 Ulrich Drepper <drepper@redhat.com>
35455
35456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35457 lower-latency instructions.
35458
dbc676d4
UD
354592010-07-23 Ulrich Drepper <drepper@redhat.com>
35460
35461 * string/test-strcasestr.c: New file.
35462 * string/test-strstr.c: New file.
35463 * string/Makefile (strop-tests): Add strstr and strcasestr.
35464 * string/str-two-way.h: Don't undefine MAX.
35465 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35466
f6a31e0e
AS
354672010-07-21 Andreas Schwab <schwab@redhat.com>
35468
35469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35470 strcasestr-nonascii.
35471 (CFLAGS-strcasestr-nonascii.c): Define.
35472 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35474 Remove unused attribute.
35475
5dbc3b6c
RM
354762010-07-20 Roland McGrath <roland@redhat.com>
35477
35478 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35479 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35480 ld.so.cache was broken. With it, there is no way to disable dsocaps
35481 like LD_HWCAP_MASK can disable hwcaps.
35482
23d101d8
EPM
354832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35484
35485 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35486
cc9f2e47
UD
354872010-07-16 Ulrich Drepper <drepper@redhat.com>
35488
35489 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35490 call in strcasestr.
35491 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35492 __strcasestr_sse42_nonascii.
35493 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35494 strcasestr-nonascii.c.
35495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35496
77c1b069
LM
354972010-06-15 Luis Machado <luisgpm@br.ibm.com>
35498
35499 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35500 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35501 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35502 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35503
440566c3
UD
355042010-07-09 Ulrich Drepper <drepper@redhat.com>
35505
35506 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35507 fcntl.
35508
5be9d05d
AS
355092010-07-06 Andreas Schwab <schwab@redhat.com>
35510
c30b7ee2 35511 [BZ #11577]
5be9d05d
AS
35512 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35513 dl_signal_cerror.
35514
8a492a67
UD
355152010-07-06 Ulrich Drepper <drepper@redhat.com>
35516
35517 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35518 _PC_PIPE_BUF using F_GETPIPE_SZ.
35519
713df3d5
RM
355202010-07-05 Roland McGrath <roland@redhat.com>
35521
35522 * manual/arith.texi (Rounding Functions): Fix rint description
35523 implicit in round description.
35524
702e8f14
UD
355252010-07-02 Ulrich Drepper <drepper@redhat.com>
35526
35527 * elf/Makefile: Fix linking for a few tests to make recent linker
35528 happy.
35529
52ed8be9
AS
355302010-06-30 Andreas Schwab <schwab@redhat.com>
35531
35532 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35533 $(common-objpfx)libc_nonshared.a.
35534
f47c9a11
LM
355352010-06-21 Luis Machado <luisgpm@br.ibm.com>
35536
35537 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35538 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35539 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35540 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35541 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35542 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35543 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35544 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35559 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35560 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35561 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35562 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35563 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35564 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35565 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35566 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35567 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35568 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35569 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35570 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35585
6fb8cbcb
L
355862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35587
35588 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35589 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35590 * string/memmove.c (memmove): Renamed to ...
35591 (MEMMOVE): ...this. Default to memmove.
35592 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35593 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35594 (END_CHK): Define.
35595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35596 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35597 mempcpy-ssse3-back memmove-ssse3-back.
35598 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35601 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35602 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35603 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35604 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35605 * sysdeps/x86_64/multiarch/memmove.c: New file.
35606 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35607 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35608 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35609 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35610 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35612 Define.
35613 (index_Fast_Copy_Backward): Define.
35614 (HAS_ARCH_FEATURE): Define.
35615 (HAS_FAST_REP_STRING): Define.
35616 (HAS_FAST_COPY_BACKWARD): Define.
35617
4e733bac 356182010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35619
35620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35621 Restore proper fallback handling.
35622
63c4ed22
UD
356232010-06-19 Ulrich Drepper <drepper@redhat.com>
35624
ac2b484c
UD
35625 [BZ #11701]
35626 * posix/group_member.c (__group_member): Correct checking loop.
35627
63c4ed22
UD
35628 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35629 OOM in getpwuid_r correctly. Return error number when the caller
35630 should return, otherwise -1.
35631 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35632 call returning > 0 value.
35633 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35634
765ade4b
AS
356352010-06-07 Andreas Schwab <schwab@redhat.com>
35636
35637 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35638 libc_nonshared.a from targets in modules-names.
35639
80da2e09
KS
356402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35641
35642 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35643 requires it.
35644
158db122
LM
356452010-06-10 Luis Machado <luisgpm@br.ibm.com>
35646
35647 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35648 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35649 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35650 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35651
caa78cf8
AS
356522010-06-02 Andreas Schwab <schwab@redhat.com>
35653
35654 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35655
b2ef2c01
UD
356562010-06-14 Ulrich Drepper <drepper@redhat.com>
35657
35658 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35659 and F_GETPIPE_SZ.
35660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35666
fbd643b6
RM
356672010-06-14 Roland McGrath <roland@redhat.com>
35668
35669 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35670
f32f2869
JJ
356712010-06-07 Jakub Jelinek <jakub@redhat.com>
35672
35673 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35674 __REDIRECT followed by __THROW.
35675 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35676 * posix/getopt.h (getopt): Likewise.
35677
2a50c078
EPM
356782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35679
35680 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35681 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35682 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35683 in AT_FLAGS.
35684 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35685 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35686
eb5ad2eb
LM
356872010-05-28 Luis Machado <luisgpm@br.ibm.com>
35688
35689 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35690
3c88fe1e
L
356912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35692
35693 [BZ #11640]
35694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35695 Properly check family and model.
35696
d2f73151
TY
356972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35698
35699 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35700
ebd2e13d
LM
357012010-05-24 Luis Machado <luisgpm@br.ibm.com>
35702
35703 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35704
b32b8b45
UD
357052010-05-21 Ulrich Drepper <drepper@redhat.com>
35706
35707 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35708 symbol reference.
35709
9acbe24d
AS
357102010-05-19 Andreas Schwab <schwab@redhat.com>
35711
35712 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35713 symbol reference.
35714
f0ccf6ea
AS
357152010-05-21 Andreas Schwab <schwab@redhat.com>
35716
3d04ff3a
AS
35717 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35718 and internal_recvmmsg.
35719 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35720 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35721 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35722 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35723
f0ccf6ea
AS
35724 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35725 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35726 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35727
5b08ac57
AS
357282010-05-20 Andreas Schwab <schwab@redhat.com>
35729
35730 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35731
4828935d
LM
357322010-05-17 Luis Machado <luisgpm@br.ibm.com>
35733
35734 POWER7 optimizations.
35735 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35736 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35737
373d545e
UD
357382010-05-19 Ulrich Drepper <drepper@redhat.com>
35739
35740 * version.h: Update for 2.13 development version.
35741
21a2b1ae
AS
357422010-05-12 Andrew Stubbs <ams@codesourcery.com>
35743
35744 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35745 exceptions. Return 0.
35746
3f7dcb2b
RM
357472010-05-07 Roland McGrath <roland@redhat.com>
35748
35749 * elf/ldconfig.c (main): Add a const.
35750
5f24d53a 357512010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35752
a160f8d8
UD
35753 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35754 (args_options): Add no-idn option.
35755 (ahosts_keys_int): Add idn_flags to ai_flags.
35756 (parse_option): Handle 'i' option to clear idn_flags.
35757
5f24d53a
UD
35758 * malloc/malloc.c (_int_free): Possible race in the most recently
35759 added check. Only act on the data if no current modification
35760 happened.
265bb1ce
UD
35761
35762See ChangeLog.17 for earlier changes.